#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
241648 |
|
17-Oct-2012 |
emaste |
Avoid potential bad pointer dereference.
Previously RuleAdd would leave entry->la unset for the first entry in the proxyList.
Sponsored by: ADARA Networks MFC After: 1 week
|
#
199208 |
|
12-Nov-2009 |
attilio |
Move inet_aton() (specular to inet_ntoa(), already present in libkern) into libkern in order to made it usable by other modules than alias_proxy.
Obtained from: Sandvine Incorporated Sponsored by: Sandvine Incorporated MFC: 1 week
|
#
176884 |
|
06-Mar-2008 |
piso |
MFP4: restrict the utilization of direct pointers to the content of ip packet. These modifications are functionally nop()s thus can be merged with no side effects.
|
#
169149 |
|
30-Apr-2007 |
maxim |
o Kill EOLWS while I'm here.
|
#
169148 |
|
30-Apr-2007 |
maxim |
o Fix strtoul() error conditions check.
PR: kern/108211 Submitted by: Yong Tang MFC after: 2 weeks
|
#
168342 |
|
04-Apr-2007 |
kan |
Do not assign result of (char *) cast to u_char * variable.
|
#
165243 |
|
15-Dec-2006 |
piso |
o made in kernel libalias mpsafe o fixed a comment o made in kernel libalias a bit less verbose (disabled automatic logging everytime a new link is added or deleted)
Approved by: glebius (mentor)
|
#
162674 |
|
26-Sep-2006 |
piso |
Summer of Code 2005: improve libalias - part 1 of 2
With the first part of my previous Summer of Code work, we get:
-made libalias modular:
-support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime
-modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*)
-protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia
-added logging support for kernel side
-cleanup
After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it.
During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load.
User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference.
The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp).
General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'.
NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit.
Approved by: glebius Reviewed by: glebius, ru
|
#
147623 |
|
27-Jun-2005 |
glebius |
Disable checksum processing in LibAlias, when it works as a kernel module. LibAlias is not aware about checksum offloading, so the caller should provide checksum calculation. (The only current consumer is ng_nat(4)). When TCP packet internals has been changed and it requires checksum recalculation, a cookie is set in th_x2 field of TCP packet, to inform caller that it needs to recalculate checksum. This ugly hack would be removed when LibAlias is made more kernel friendly.
Incremental checksum updates are left as is, since they don't conflict with offloading.
Approved by: re (scottl)
|
#
145963 |
|
06-May-2005 |
glebius |
Add a workaround for 64-bit archs: store unsigned long return value in temporary variable, check it and then cast to in_addr_t.
|
#
145961 |
|
06-May-2005 |
glebius |
s/DEBUG/LIBALIAS_DEBUG/, since DEBUG is defined in LINT and not supported for kernel build.
|
#
145933 |
|
05-May-2005 |
glebius |
More bits for kernel version: - copy inet_aton() from libc - disable getservbyname() lookup and accept only numeric port
|
#
145932 |
|
05-May-2005 |
glebius |
Always include alias.h before alias_local.h
|
#
145930 |
|
05-May-2005 |
glebius |
Fix argument order for bcopy() in last commit.
Noticed by: njl Pointy hat to: glebius
|
#
145929 |
|
05-May-2005 |
glebius |
Use bcopy() instead of memmove().
|
#
145921 |
|
05-May-2005 |
glebius |
Play with includes so that libalias can be compiled both as userland library and kernel module.
|
#
131699 |
|
06-Jul-2004 |
des |
Introduce inline {ip,udp,tcp}_next() functions which take a pointer to an {ip,udp,tcp} header and return a void * pointing to the payload (i.e. the first byte past the end of the header and any required padding). Use them consistently throughout libalias to a) reduce code duplication, b) improve code legibility, c) get rid of a bunch of alignment warnings.
|
#
131614 |
|
05-Jul-2004 |
des |
Make libalias WARNS?=6-clean. This mostly involves renaming variables named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing signed / unsigned comparisons, and shoving unused function arguments under the carpet.
I was hoping WARNS?=6 might reveal more serious problems, and perhaps the source of the -O2 breakage, but found no smoking gun.
|
#
131613 |
|
05-Jul-2004 |
des |
Parenthesize return values.
|
#
131612 |
|
05-Jul-2004 |
des |
Mechanical whitespace cleanup.
|
#
127094 |
|
16-Mar-2004 |
des |
Run through indent(1) so I can read the code without getting a headache. The result isn't quite knf, but it's knfer than the original, and far more consistent.
|
#
124621 |
|
17-Jan-2004 |
phk |
Mostly mechanical rework of libalias:
Makes it possible to have multiple packet aliasing instances in a single process by moving all static and global variables into an instance structure called "struct libalias".
Redefine a new API based on s/PacketAlias/LibAlias/g
Add new "instance" argument to all functions in the new API.
Implement old API in terms of the new API.
|
#
108533 |
|
01-Jan-2003 |
schweikh |
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, especially in troff files.
|
#
99207 |
|
01-Jul-2002 |
brian |
Remove trailing whitespace
|
#
85964 |
|
03-Nov-2001 |
brian |
cmott@scientech.com -> cm@linktel.net
Requested by: Charles Mott <cmott@scientech.com>
|
#
84195 |
|
30-Sep-2001 |
dillon |
Add __FBSDID's to libalias
|
#
77701 |
|
04-Jun-2001 |
brian |
Add BSD-style copyright headers
Approved by: Charles Mott <cmott@scientech.com>
|
#
74768 |
|
25-Mar-2001 |
brian |
Remove an extraneous declaration.
|
#
71763 |
|
29-Jan-2001 |
brian |
Ignore leading witespace in the string given to PacketAliasProxyRule().
|
#
65221 |
|
29-Aug-2000 |
ache |
strtok -> strsep (no strtok allowed in libraries) add unsigned char cast to ctype macro
|
#
50597 |
|
29-Aug-1999 |
billf |
Add $FreeBSD$ and spell Eklund properly.
Approved by: brian (well, he approved adding $Id$)
|
#
45008 |
|
24-Mar-1999 |
brian |
Add a ``const'' and remove some inconsistent prototype args.
|
#
44616 |
|
09-Mar-1999 |
brian |
Remove all diagnostics to stdout/stderr with #ifdef DEBUG Statify functions in alias_nbt.c
|
#
44307 |
|
27-Feb-1999 |
brian |
Version 3.0: January 1, 1999 - Transparent proxying support added. - PPTP redirecting support added based on patches contributed by Dru Nelson <dnelson@redwoodsoft.com>.
Submitted by: Charles Mott <cmott@srv.net>
|