summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/nat_cmd.h
Commit message (Collapse)AuthorAgeFilesLines
* cmott@scientech.com -> cm@linktel.netbrian2001-11-031-1/+1
| | | | Requested by: Charless Mott <cmott@scientech.com>
* Add a ``nat punch_fw'' command for punching FTP and IRC DCC holes throughbrian2001-08-021-0/+3
| | | | the firewall.
* Add a ``nat proto'' command -- similar to natd(8)'s -redirect_proto switch.brian2001-07-091-0/+1
| | | | MFC after: 3 weeks
* Add BSD style copyrights (with permission from Charles Mott where appropriate)brian2001-06-041-2/+24
| | | | Deprecate -alias further (after a repo-copy)
* Remove ``nat pptp'' as this is now done transparently by libalias.brian2000-06-201-1/+0
|
* Add the ``nat target'' command.brian2000-03-311-0/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* o Add the -foreground switch. This switch behaves like -background exceptbrian1999-08-191-6/+6
| | | | | | | | | that ppp stays in the foreground. o Add the -quiet switch to quieten ppps startup o Add the -nat flag and discourage the use of the -alias flag. Both do the same thing. o Correct some nat usage strings. o Change the internal ``alias'' command to ``nat''.
* o Redesign the layering mechanism and make the aliasing code part ofbrian1999-05-081-1/+3
| | | | | | | | | | | | | | | | | | | | | the layering. We now ``stack'' layers as soon as we open the device (when we figure out what we're dealing with). A static set of `dispatch' routines are also declared for dealing with incoming packets after they've been `pulled' up through the stacked layers. Physical devices are now assigned handlers based on the device type when they're opened. For the moment there are three device types; ttys, execs and tcps. o Increment version number to 2.2 o Make an entry in [uw]tmp for non-tty -direct invocations (after pap/chap authentication). o Make throughput counters quad_t's o Account for the absolute number of mbuf malloc()s and free()s in ``show mem''. o ``show modem'' becomes ``show physical''.
* Support PPTP via libalias (``alias pptp addr'').brian1999-03-071-1/+2
|
* Support proxying & transparent proxying curtesy of libalias(3).brian1999-03-071-1/+2
| | | | | Order the alias command descriptions. Order the SEE ALSO entries.
* MFMP: Make ppp multilink capable.brian1998-05-211-3/+5
| | | | See the file README.changes, and re-read the man page.
* Correct copyright.brian1997-12-241-24/+3
| | | | Requested by: Eivind Eklund <perhaps@yes.no>
* Charles Mott created these (and told me via email thatbrian1997-12-211-2/+2
| | | | they were BSD copyright). Use his name, not mine.
* Add (BSD) copyright headers.brian1997-12-211-2/+26
|
* Fix prototypes.brian1997-11-221-3/+3
| | | | | | | | | | | | | | Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary. We can now survive a compile with -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts (although the Makefile just contains -Wall).
* Cosmetic (no functional changes):brian1997-10-261-4/+5
| | | | | | | | | | | | | | | o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bzero -> memset bcmp -> memcmp index -> strchr rindex -> strrchr o Move timeout.h -> timer.h (making it consistent w/ timer.c) o Add -Wmissing-prototypes
* Make the code format more in line with style(9).brian1997-08-251-2/+2
| | | | | Update loadalias to use the new libalias api. Update to version 1.1.
* Finish updating for the latest alias code.brian1997-05-231-0/+5
Submitted by: Charles Mott <cmott@srv.net>
OpenPOWER on IntegriCloud