History log of /freebsd/sys/netinet/libalias/alias_local.h (Results 76 – 100 of 104)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 9fa0fd26 06-Jul-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

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 requi

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.

show more ...


# ed01a582 05-Jul-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

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 a

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.

show more ...


Revision tags: release/4.10.0_cvs, release/4.10.0
# 2871c501 31-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Deal with aliasing warnings.

Reviewed by: ru
Approved by: silence on the lists


# f0f93429 16-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

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.


Revision tags: release/5.2.1_cvs, release/5.2.1
# 5e289f9e 17-Jan-2004 Poul-Henning Kamp <phk@FreeBSD.org>

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 "st

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.

show more ...


Revision tags: release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# b07fbc17 23-Sep-2003 Joe Marcus Clarke <marcus@FreeBSD.org>

Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call
Managers. With this code, one can use a Cisco IP phone behi

Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call
Managers. With this code, one can use a Cisco IP phone behind a FreeBSD
NAT gateway.

Currently, having the Call Manager behind the NAT gateway is not supported.
More information on enabling Skinny support in libalias, natd, and ppp
can be found in those applications' manpages.

PR: 55843
Reviewed by: ru
Approved by: ru
MFC after: 30 days

show more ...


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# 27cc91fb 01-Jul-2002 Brian Somers <brian@FreeBSD.org>

Remove trailing whitespace


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# e83aaae3 03-Nov-2001 Brian Somers <brian@FreeBSD.org>

cmott@scientech.com -> cm@linktel.net

Requested by: Charles Mott <cmott@scientech.com>


# f987e1bd 04-Jun-2001 Brian Somers <brian@FreeBSD.org>

Add BSD-style copyright headers

Approved by: Charles Mott <cmott@scientech.com>


# 79ec1c50 30-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Add an integer field to keep protocol-specific flags with links.

For FTP control connection, keep the CRLF end-of-line termination
status in there.

Fixed the bug when the first FTP command in a ses

Add an integer field to keep protocol-specific flags with links.

For FTP control connection, keep the CRLF end-of-line termination
status in there.

Fixed the bug when the first FTP command in a session was ignored.

PR: 24048
MFC after: 1 week

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0
# 71593f95 25-Mar-2001 Brian Somers <brian@FreeBSD.org>

Make header files conform to style(9).

Reviewed by (*): bde

(*) alias_local.h only got a cursory glance.


Revision tags: release/4.2.0
# 642cd09f 30-Oct-2000 Ruslan Ermilov <ru@FreeBSD.org>

Added boolean argument to link searching functions, indicating
whether they should create a link if lookup has failed or not.


# 03453c5e 30-Oct-2000 Ruslan Ermilov <ru@FreeBSD.org>

A significant rewrite of PPTP aliasing code.

PPTP links are no longer dropped by simple (and inappropriate in this
case) "inactivity timeout" procedure, only when requested through the
control conne

A significant rewrite of PPTP aliasing code.

PPTP links are no longer dropped by simple (and inappropriate in this
case) "inactivity timeout" procedure, only when requested through the
control connection.

It is now possible to have multiple PPTP servers running behind NAT.
Just redirect the incoming TCP traffic to port 1723, everything else
is done transparently.

Problems were reported and the fix was tested by:
Michael Adler <Michael.Adler@compaq.com>,
David Andersen <dga@lcs.mit.edu>

show more ...


Revision tags: release/4.1.1_cvs
# 642e43b3 27-Jul-2000 Archie Cobbs <archie@FreeBSD.org>

Add address translation support for RTSP/RTP used by RealPlayer and
Quicktime streaming media applications.

Add a BUGS section to the man page.

Submitted by: Erik Salander <erik@whistle.com>


Revision tags: release/4.1.0, release/3.5.0_cvs
# 55a39fc5 20-Jun-2000 Ruslan Ermilov <ru@FreeBSD.org>

Added true support for PPTP aliasing. Some nice features include:

- Multiple PPTP clients behind NAT to the same or different servers.

- Single PPTP server behind NAT -- you just need to redirect

Added true support for PPTP aliasing. Some nice features include:

- Multiple PPTP clients behind NAT to the same or different servers.

- Single PPTP server behind NAT -- you just need to redirect TCP
port 1723 to a local machine. Multiple servers behind NAT is
possible but would require a simple API change.

- No API changes!

For more information on how this works see comments at the start of
the alias_pptp.c.

PacketAliasPptp() is no longer necessary and will be removed soon.

Submitted by: Erik Salander <erik@whistle.com>
Reviewed by: ru
Rewritten by: ru
Reviewed by: Erik Salander <erik@whistle.com>

show more ...


# 76525129 14-Jun-2000 Ruslan Ermilov <ru@FreeBSD.org>

- Added support for passive mode FTP by aliasing 227 replies.
It does mean that it is now possible to run passive-mode FTP
server behind NAT.

- SECURITY: FTP aliasing engine now ensures that:

- Added support for passive mode FTP by aliasing 227 replies.
It does mean that it is now possible to run passive-mode FTP
server behind NAT.

- SECURITY: FTP aliasing engine now ensures that:
o the segment preceding a PORT/227 segment terminates with a \r\n;
o the IP address in the PORT/227 matches the source IP address of
the packet;
o the port number in the PORT command or 277 reply is greater than
or equal to 1024.

Submitted by: Erik Salander <erik@whistle.com>
Reviewed by: ru

show more ...


# 80607605 28-Apr-2000 Ruslan Ermilov <ru@FreeBSD.org>

Replace PacketAliasRedirectPptp() (which had nothing specific
to PPTP) with more generic PacketAliasRedirectProto().

Major number is not bumped because it is believed that noone
has started using Pa

Replace PacketAliasRedirectPptp() (which had nothing specific
to PPTP) with more generic PacketAliasRedirectProto().

Major number is not bumped because it is believed that noone
has started using PacketAliasRedirectPptp() yet.

show more ...


# 483d2f22 18-Apr-2000 Ruslan Ermilov <ru@FreeBSD.org>

Add support for multiple PPTP sessions:

- new API function: PacketAliasRedirectPptp()
- new mode bit: PKT_ALIAS_DENY_PPTP

Please see manual page for details.


# 79eef4b6 05-Apr-2000 Ruslan Ermilov <ru@FreeBSD.org>

- Moved NULL definition into private include file.
- Minor spelling fixes.


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# a5a388c7 30-Aug-1999 Bill Fumerola <billf@FreeBSD.org>

Add $FreeBSD$ and spell Eklund properly.

Approved by: brian (well, he approved adding $Id$)


Revision tags: release/3.2.0
# 942759e7 24-Mar-1999 Brian Somers <brian@FreeBSD.org>

Add a ``const'' and remove some inconsistent prototype args.


# 7d96f4ef 27-Feb-1999 Brian Somers <brian@FreeBSD.org>

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:

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>

show more ...


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8
# 374fad8b 14-Dec-1998 Matthew Dillon <dillon@FreeBSD.org>

Reviewed by: freebsd-current

Add bounds checking to netbios NS packet resolving code. This should
prevent natd from crashing on badly formed netbios packets (as might be
heard when the

Reviewed by: freebsd-current

Add bounds checking to netbios NS packet resolving code. This should
prevent natd from crashing on badly formed netbios packets (as might be
heard when the machine is sitting on a cable modem or certain DSL
networks), and also closes potential security holes that might have
exploited the lack of bounds checking in the previous version of the
code.

show more ...


Revision tags: release/2.2.7
# 0579bd71 24-Jun-1998 Brian Somers <brian@FreeBSD.org>

Add CUSEEME support. This has *not* been tested, nor
could I find anyone to test it, so please report any
problems to me.


# b5ce85fe 06-Jun-1998 Brian Somers <brian@FreeBSD.org>

Don't call PunchFWHole() ifdef NO_FW_PUNCH
Pointed out by: "Steve Sims" <SimsS@IBM.Net>


12345