aboutsummaryrefslogtreecommitdiff
path: root/sbin/natd
Commit message (Collapse)AuthorAgeFilesLines
...
* New option: -redirect_proto.Ruslan Ermilov2000-05-032-1/+91
| | | | Notes: svn path=/head/; revision=59921
* Fixes a potential buffer overflow with the command line arguments.Josef Karthauser2000-04-301-7/+11
| | | | | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org Notes: svn path=/head/; revision=59798
* Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).Ruslan Ermilov2000-04-272-18/+106
| | | | Notes: svn path=/head/; revision=59703
* Correct Charles Mott's email addressBrian Somers2000-04-022-7/+4
| | | | | | | Requested by: cmott@scientech.com Notes: svn path=/head/; revision=58946
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-12/+23
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57668
* Suggest ppp -nat, not ppp -aliasBrian Somers2000-02-261-1/+1
| | | | Notes: svn path=/head/; revision=57512
* Remove the config file line length restriction.Ruslan Ermilov2000-02-251-13/+10
| | | | | | | | | PR: 16900 Reviewed by: "Crist J. Clark" <cjclark@home.com>, jkh Approved by: jkh Notes: svn path=/head/; revision=57480
* Now that kernel is capable of notifying user processes aboutRuslan Ermilov2000-01-251-8/+6
| | | | | | | | | | the interface MTU change (src/sys/net/if_sl.c,v 1.83), track interface MTU with -dynamic option as well. PR: 15494 Notes: svn path=/head/; revision=56587
* Minor grammar fix.Mike Pritchard1999-10-301-1/+1
| | | | Notes: svn path=/head/; revision=52683
* ioctl -> sysctl for interface address changes.Ruslan Ermilov1999-10-131-74/+83
| | | | | | | | PR: 14169 Reviewed by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=52200
* Fixed the description of how packets re-enter IP firewall filter.Ruslan Ermilov1999-10-061-3/+6
| | | | | | | Suggested by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=51963
* Do not defer setting of the aliasing address fromRuslan Ermilov1999-09-281-19/+15
| | | | | | | | | interface name if not operating in dynamic mode. Reviewed by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=51751
* `permanent_link' is obsolete; update examples.Ruslan Ermilov1999-09-131-9/+7
| | | | Notes: svn path=/head/; revision=51242
* Add Ari Suutari as a maintainer.Ruslan Ermilov1999-09-131-0/+3
| | | | | | | Approved by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=51241
* Config file parser changes:Ruslan Ermilov1999-09-072-9/+15
| | | | | | | | | | - Trailing spaces and empty lines are ignored. - A `#' sign will mark the remaining of the line as a comment. Reviewed by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=51063
* Allow signals to interrupt system calls.Ruslan Ermilov1999-09-021-1/+3
| | | | | | | | | | | Remove redundant signal() call. PR: 6676 Submitted by: luoqi Reviewed by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=50810
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
| | | | Notes: svn path=/head/; revision=50476
* Bad cross-reference of getservbyname(2) changed to getservbyname(3)Chris Costello1999-08-181-2/+2
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=49994
* Become a maintainer.Ruslan Ermilov1999-07-281-0/+1
| | | | | | | Approved by: brian Notes: svn path=/head/; revision=49166
* Back out previous commit.Ruslan Ermilov1999-07-281-8/+1
| | | | Notes: svn path=/head/; revision=49164
* Mention that data going from one internal address to another willBrian Somers1999-06-211-4/+11
| | | | | | | | not be processed by natd. Requested by: Ludwig Pummer <ludwigp@bigfoot.com> Notes: svn path=/head/; revision=48063
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofArchie Cobbs1999-06-051-1/+3
| | | | | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism. Notes: svn path=/head/; revision=47754
* Oops - missing parenthesisBrian Somers1999-05-131-2/+2
| | | | Notes: svn path=/head/; revision=47122
* /sbin/natd portrange documentation and bugfixBrian Somers1999-05-132-8/+20
| | | | | | | | | | Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> PR: 11690 3.2 candidate ? Notes: svn path=/head/; revision=47121
* More egcs warning fixes:Warner Losh1999-04-251-5/+5
| | | | | | | | | | | | | | o main returns int not void o use braces to avoid potentially ambiguous else Note: The fix to natd is potentially functional in nature since I used the indentation as the right thing rather than the struct semantics. Someone more familiar with the code should double check me on this one. Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46080
* Typo of `same_ports' directive.SADA Kenji1999-04-241-2/+2
| | | | | | | Submitted by: Masaki Nohtomi <noutomi@jbm-net.or.jp> Notes: svn path=/head/; revision=45970
* Add a comment that natd is made for use with NICs, not PPP links - I'mEivind Eklund1999-04-081-4/+4
| | | | | | | | tired of the five people each day that ask me how to set up natd for use with PPP. Notes: svn path=/head/; revision=45498
* Disable reads on our ICMP socket. We only use it for sending.Brian Somers1999-03-301-1/+8
| | | | | | | PR: 9253 Notes: svn path=/head/; revision=45143
* Add `const's that I forgot to commit. Not bad - I brokeBrian Somers1999-03-261-3/+3
| | | | | | | | | the -stable and -current builds in the space of 1 day ! Pointed out by: jdp Notes: svn path=/head/; revision=45047
* Add some const-cleanliness and avoid some warnings.Brian Somers1999-03-241-43/+43
| | | | Notes: svn path=/head/; revision=45011
* Allow port ranges when specifying -redirect_port.Brian Somers1999-03-241-32/+127
| | | | | | | | Submitted by: Wes Santee <wes@bogon.net> PR: 9696 Notes: svn path=/head/; revision=45010
* Fix a diagnostic typoBrian Somers1999-03-111-4/+4
| | | | | | | Submitted by: Martin Machacek <mm@i.cz> Notes: svn path=/head/; revision=44654
* Upgrade (almost) to natd 2.0b1Brian Somers1999-03-076-122/+282
| | | | | | | | | | | | | | | | | - Transparent proxy support. - PERMANENT_LINK IS NOW OBSOLETE, use redirect_port instead. - Drop support for early FreeBSD 2.2 versions - If separate input & output sockets are being used use them to find out packet direction instead of normal mechanism. This can be handy in complex environments with multiple interfaces. - PPTP redirect support by Dru Nelson <dnelson@redwoodsoft.com> added. - Logging enhancements from Martin Machacek <mm@i.cz> added. Obtained from: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=44558
* Make this work with the new alias library since, evidently, we'reJordan K. Hubbard1999-02-271-4/+6
| | | | | | | | not providing the backwards-compatability routines in libalias anymore (which I think may have been a mistake). Notes: svn path=/head/; revision=44320
* Fix inconsistent port numbering in man page.Joseph Koshy1998-07-151-2/+2
| | | | | | | | PR: 7250 Submitted-by: Norihiro Kumagai <kuma@jp.freebsd.org> Notes: svn path=/head/; revision=37650
* Add $Id$.Joseph Koshy1998-07-141-0/+1
| | | | | | | PR: 7249 Notes: svn path=/head/; revision=37633
* Make things clearer.Brian Somers1998-07-041-7/+49
| | | | | | | Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com> Notes: svn path=/head/; revision=37374
* Suggest port 8668 rather than 6668 for natd.Brian Somers1998-07-041-1/+1
| | | | | | | 6668 is IRC. Notes: svn path=/head/; revision=37368
* Fix incorrect flag specBrian Somers1998-04-181-1/+1
| | | | | | | | PR: 6339 (part of) Submitted by: Chris Dillon <cdillon@wolves.k12.mo.us> Notes: svn path=/head/; revision=35266
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-5/+10
| | | | Notes: svn path=/head/; revision=34809
* Make it clear that aliasing is done on the public interface, notBrian Somers1998-01-291-2/+21
| | | | | | | the private one. Notes: svn path=/head/; revision=32856
* Added copyright (taken from natd.c).Alexander Langer1997-12-301-1/+9
| | | | | | | Approved by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=32107
* Typo/$Id$ police.Alexander Langer1997-12-272-1/+6
| | | | Notes: svn path=/head/; revision=32026
* natd 1_10 => 1_11Brian Somers1997-12-102-61/+70
| | | | | | | | | Cosmetic style changes Use u_short for port values. Submitted by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=31660
* Reverse my previous change and use htons() on an intBrian Somers1997-12-061-1/+1
| | | | | | | | | | | | | | | | instead of htonl() ! This results in the int a,b,c,d changing to b,a,c,d, but as it's subsequently coerced to a u_short, the ultimate answer is correct. If this isn't fixed properly soon (by the author) I'll have a look at it again. Noted by: eivind & ari@suutari.iki.fi Notes: svn path=/head/; revision=31576
* Use htonl() rather than htons().Brian Somers1997-11-131-1/+1
| | | | Notes: svn path=/head/; revision=31148
* Add -redirect_port and -redirect_address to theBrian Somers1997-10-181-0/+2
| | | | | | | synopsis. Notes: svn path=/head/; revision=30554
* Use err(3). Change firewall to firewall_enable in man page according toPhilippe Charnier1997-10-022-147/+70
| | | | | | | /etc/rc.conf. Notes: svn path=/head/; revision=30059
* Sort cross refereces in section SEE ALSO.Wolfram Schneider1997-09-291-1/+1
| | | | Notes: svn path=/head/; revision=29988
* Typo.Philippe Charnier1997-09-181-1/+1
| | | | Notes: svn path=/head/; revision=29562