summaryrefslogtreecommitdiffstats
path: root/lib/libalias/alias_pptp.c
Commit message (Collapse)AuthorAgeFilesLines
* Mostly mechanical rework of libalias:phk2004-01-171-10/+12
| | | | | | | | | | | | 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.
* Add __FBSDID's to libaliasdillon2001-09-301-2/+3
|
* Make header files conform to style(9).brian2001-03-251-0/+2
| | | | | | Reviewed by (*): bde (*) alias_local.h only got a cursory glance.
* A significant rewrite of PPTP aliasing code.ru2000-10-301-52/+128
| | | | | | | | | | | | | | 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>
* - Do not modify Peer's Call ID in outgoing Incoming-Call-Connectedru2000-08-091-18/+25
| | | | | | | | PPTP control messages. - Cosmetics: replace `GRE link' with `PPTP link'. Reviewed by: Erik Salander <erik@whistle.com>
* Adjust TCP checksum rather than compute it afresh.ru2000-08-071-4/+8
| | | | Submitted by: Erik Salander <erik@whistle.com>
* Added true support for PPTP aliasing. Some nice features include:ru2000-06-201-0/+279
- 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>
OpenPOWER on IntegriCloud