CVS log for src/sbin/natd/natd.c
Up to [FreeBSD] / src / sbin / natd
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.59.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.59.2.1: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Nov 4 13:36:02 2011 UTC (3 months ago) by ed
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
SVN rev 227081 on 2011-11-04 13:36:02Z by ed Add missing static keywords for global variables to tools in sbin/. These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 24 18:03:02 2011 UTC (6 months, 2 weeks ago) by sobomax
Branches: RELENG_8
Diff to: previous 1.54.2.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.2: +33 -9 lines
SVN rev 224292 on 2011-07-24 18:03:02Z by sobomax MFC: 220736, 220806, 220808 If we can retrieve interface address sleep for one second and try again. This can happen during start-up, when natd starts before dhclient has a chance to receive IP address from the upstream provider. Do this only in background, dynamic mode. Reminded by: brian
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Apr 18 23:45:50 2011 UTC (9 months, 3 weeks ago) by sobomax
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -4 lines
SVN rev 220808 on 2011-04-18 23:45:50Z by sobomax Furthermore condition IP waiting behaviour also on -dynamic flag. This should preserve POLA in all other cases (foreground || non-dynamic). MFC after: 2 weeks
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Apr 18 23:15:29 2011 UTC (9 months, 3 weeks ago) by sobomax
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -5 lines
SVN rev 220806 on 2011-04-18 23:15:29Z by sobomax Only wait for the IP to appear on the interface if natd is running in the background. Suggested by: Garrett Cooper <yanegomi@gmail.com> Use EAGAIN instead of magic value of -2 to report this condition from the SetAliasAddressFromIfName routine. MFC after: 2 weeks
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Apr 17 06:05:37 2011 UTC (9 months, 3 weeks ago) by sobomax
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +29 -9 lines
SVN rev 220736 on 2011-04-17 06:05:37Z by sobomax If we can retrieve interface address sleep for one second and try again. This can happen during start-up, when natd starts before dhclient has a chance to receive IP address from the upstream provider. MFC after: 2 weeks
Revision 1.50.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.50.2.2: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.2: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.54.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.54.2.2: preferred, colored; next MAIN 1.54.2.3: preferred, colored
Changes since revision 1.54.2.2: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 25 21:42:36 2010 UTC (14 months, 2 weeks ago) by brian
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +1 -1 lines
SVN rev 215842 on 2010-11-25 21:42:36Z by brian MF8: Don't abend if we get ENOMEM from sysctl(3). The data returned is sufficient
Revision 1.54.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.54.2.2: preferred, colored; next MAIN 1.54.2.3: preferred, colored
Changes since revision 1.54.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.50.2.1.6.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.50.2.1: preferred, colored; next MAIN 1.50.2.2: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 30 12:11:21 2010 UTC (2 years ago) by antoine
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP
Branch point for: RELENG_8_2, RELENG_8_1
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.1: +1 -1 lines
SVN rev 203184 on 2010-01-30 12:11:21Z by antoine MFC r201145 to stable/8: (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version)
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jan 17 21:53:41 2010 UTC (2 years ago) by ed
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
SVN rev 202531 on 2010-01-17 21:53:41Z by ed Mute some (hidden) warnings about old-style function definitions. Submitted by: Marius NĂ¼nnerich <marius nuenneri ch>
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Dec 28 22:56:30 2009 UTC (2 years, 1 month ago) by antoine
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1 lines
SVN rev 201145 on 2009-12-28 22:56:30Z by antoine (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
Revision 1.54.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.54.2.1: preferred, colored; next MAIN 1.54.2.2: preferred, colored
Changes since revision 1.54.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.50.2.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.50.2.1: preferred, colored; next MAIN 1.50.2.2: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.50.2.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.50.2.1: preferred, colored; next MAIN 1.50.2.2: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.49.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 23 10:36:37 2008 UTC (3 years, 4 months ago) by rik
Branches: RELENG_7
CVS tags: RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +24 -0 lines
SVN rev 183293 on 2008-09-23 10:36:37Z by rik MFH: 182818, 182823, 182825, 183012 - IPFW_DEFAULT_RULE related fixes. New Revision: 182818 URL: http://svn.freebsd.org/changeset/base/182818 Log: Export the IPFW_DEFAULT_RULE outside ip_fw2.c. This number in not only the default rule number but also the maximum rule number. User space software such as ipfw and natd should be aware of its value. The software that already includes ip_fw.h should use the defined value. All other a expected to use sysctl (as discussed on net@). MFC after: 5 days. Discussed on: net@ Modified: head/sys/netinet/ip_fw.h head/sys/netinet/ip_fw2.c New Revision: 182823 URL: http://svn.freebsd.org/changeset/base/182823 Log: Use IPFW_DEFAULT_RULE instead of hardcoded value since now it is available. MFC after: 5 days. Modified: head/sbin/ipfw/ipfw2.c New Revision: 182825 URL: http://svn.freebsd.org/changeset/base/182825 Log: Check rule numbers against maximum value to avoid rules cleanup due to overflow. MFC after: 5 days. Modified: head/sbin/natd/natd.c New Revision: 183012 URL: http://svn.freebsd.org/changeset/base/183012 Log: Make the commet for the default rule number more clear. Submitted by: yar@ Modified: head/sys/netinet/ip_fw.h Approved by: re (kensmith)
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Sep 6 17:26:52 2008 UTC (3 years, 5 months ago) by rik
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +24 -0 lines
SVN rev 182825 on 2008-09-06 17:26:52Z by rik Check rule numbers against maximum value to avoid rules cleanup due to overflow. MFC after: 5 days.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jun 22 22:14:02 2008 UTC (3 years, 7 months ago) by mav
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +22 -3 lines
SVN rev 179937 on 2008-06-22 22:14:02Z by mav Add exit_delay parameter to control daemon exit delay after signal. PR: bin/58696 Submitted by: sp@alkor.ru
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jun 22 21:22:25 2008 UTC (3 years, 7 months ago) by mav
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +18 -6 lines
SVN rev 179935 on 2008-06-22 21:22:25Z by mav Use strdup() instead of static buffer allocation to avoid 128 bytes limit on -redirect_XXX arguments length. PR: bin/86647 Submitted by: Stephen Hurd <shurd@sasktel.net>
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Jun 6 08:59:55 2008 UTC (3 years, 8 months ago) by brian
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -1 lines
SVN rev 179607 on 2008-06-06 08:59:55Z by brian Don't abend if we get ENOMEM from sysctl(3). The data returned is sufficient MFC after: 2 weeks
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Sep 26 23:26:51 2006 UTC (5 years, 4 months ago) by piso
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1 lines
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
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon May 2 10:13:38 2005 UTC (6 years, 9 months ago) by delphij
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6
Branch point for: RELENG_6_4
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -15 lines
WARNS=6 and gcc4 cleanup: - Use const where necessary - Use __unused where applicable - Rename variables that is conflicit with global definations
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Jan 8 22:47:10 2005 UTC (7 years, 1 month ago) by trhodes
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +0 -1 lines
Remove unused variable.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jul 4 12:53:54 2004 UTC (7 years, 7 months ago) by phk
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +414 -180 lines
Give natd multi-instance capabilities. This makes it possible to do load-sharing on two xDSL lines etc.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon May 10 22:33:12 2004 UTC (7 years, 9 months ago) by hmp
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Use strlcpy(3) instead of strcpy(3). PR: 46761 Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Apr 13 11:23:13 2004 UTC (7 years, 9 months ago) by luigi
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -5 lines
Replace ROUNDUP/ADVANCE with SA_SIZE
Revision 1.25.2.9: download - view: text, markup, annotated - select for diffs
Sat Nov 1 03:50:03 2003 UTC (8 years, 3 months ago) by marcus
Branches: RELENG_4
CVS tags: RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.25.2.8: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.8: +25 -0 lines
MFC: Add Cisco Skinny Station Protocol translation support to libalias and supporting applications (ppp and natd). Approved by: ru
Revision 1.25.2.8: download - view: text, markup, annotated - select for diffs
Wed Oct 29 20:39:46 2003 UTC (8 years, 3 months ago) by ru
Branches: RELENG_4
Diff to: previous 1.25.2.7: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.7: +18 -3 lines
MFC: The -P option.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Sep 23 07:41:55 2003 UTC (8 years, 4 months ago) by marcus
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +25 -0 lines
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
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Aug 13 13:16:19 2003 UTC (8 years, 5 months ago) by ru
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +18 -3 lines
Added an option to specify an alternate PID file. PR: bin/37159 Submitted by: "Aleksandr A. Babaylov" <.@babolo.ru>
Revision 1.25.2.7: download - view: text, markup, annotated - select for diffs
Fri Jun 27 10:05:32 2003 UTC (8 years, 7 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9
Diff to: previous 1.25.2.6: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.6: +4 -2 lines
MFC: If the natd(8) -proxy_only option is used, the -alias_address/-interface options are not required.
Revision 1.25.2.6: download - view: text, markup, annotated - select for diffs
Fri Jun 27 09:31:27 2003 UTC (8 years, 7 months ago) by ru
Branches: RELENG_4
Diff to: previous 1.25.2.5: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.5: +6 -5 lines
MFC: Non-functional changes for diff reduction.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jun 13 22:15:42 2003 UTC (8 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -2 lines
If the -proxy_only option is used, the -alias_address/-interface options are not required. Suggested by: Vaclav Petricek MFC after: 2 weeks
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Feb 5 20:08:39 2003 UTC (9 years ago) by charnier
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -4 lines
Use a more standard error message. Add FBSDID. Reviewed by: ru
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jan 1 18:48:45 2003 UTC (9 years, 1 month ago) by schweikh
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -1 lines
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, especially in troff files.
Revision 1.25.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 1 09:18:32 2002 UTC (10 years ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.25.2.4: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.4: +28 -73 lines
MFC: 1.39: sendto(2) can't return ENOBUFS for unreliable protocols.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jan 15 17:07:56 2002 UTC (10 years ago) by ru
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +28 -73 lines
Back out part of the revision 1.2 changes -- sendto(2) can not return ENOBUFS for unreliable protocols like divert. This should fix an issue when natd(8) keeps spamming already full dummynet(4) queues with the same packet forever. Spotted by: chkno@dork.com Explained by: luigi Reviewed by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 2 weeks
Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Thu Dec 20 12:21:46 2001 UTC (10 years, 1 month ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.25.2.3: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.3: +25 -5 lines
MFC: new option, -log_ipfw_denied.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Nov 27 11:06:02 2001 UTC (10 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -1 lines
Make -log_ipfw_denied active by default with -verbose. Discussed with: phk
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Nov 27 11:00:16 2001 UTC (10 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -5 lines
Fixed (local) style bugs in previous revision.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Oct 31 16:08:49 2001 UTC (10 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +17 -4 lines
Do not uselessly whine in syslog about packets denied by ipfw rules. Set 'log_ipfw_denied' option if you want the old behaviour. PR: 30255 Submitted by: Flemming "F3" Jacobsen <fj@batmule.dk> Reviewed by: phk MFC after: 4 weeks
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jun 21 12:32:36 2001 UTC (10 years, 7 months ago) by joe
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -4 lines
Revert the previous commit on objection from the maintainer. I missed that natd has a -v option that will give similar functionality. Requested by: ru
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jun 21 10:28:40 2001 UTC (10 years, 7 months ago) by joe
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -3 lines
When reporting that a packet can't be written back, usually because of a restrictive firewall rule, also report detail on the packet that caused the failure. MFC after: 3 days
Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 11 20:00:57 2000 UTC (11 years, 7 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4, RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.2: +2 -2 lines
MFC: (rev 1.33) Don't call warn() with no format string.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jul 10 08:14:18 2000 UTC (11 years, 7 months ago) by kris
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Don't call warn() with no format string.
Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 27 16:54:20 2000 UTC (11 years, 7 months ago) by ru
Branches: RELENG_4
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +176 -51 lines
MFC: - new options: -redirect_proto, -target_addr, -punch_fw - obsoleted option: -pptpalias - LSNAT support
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jun 27 15:26:24 2000 UTC (11 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +28 -3 lines
Added new option (-punch_fw) which allows to `punch holes' in the ipfirewall(4) for incoming FTP/IRC DCC connections. Submitted by: Rene de Vries <rene@canyon.demon.nl> Rewritten by: ru
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Jun 20 12:52:27 2000 UTC (11 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -34 lines
Remove ``pptpalias'' since this is now done transparently by libalias(3).
Revision 1.11.2.10: download - view: text, markup, annotated - select for diffs
Fri Jun 16 09:50:42 2000 UTC (11 years, 7 months ago) by ru
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.11.2.9: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.9: +16 -12 lines
MFC: - rev 1.27: fix buffer overflow with the command line arguments. - rev 1.30: remove unused parameter.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 16 09:49:56 2000 UTC (11 years, 7 months ago) by ru
Branches: RELENG_4
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +16 -12 lines
MFC: - rev 1.27: fix buffer overflow with the command line arguments. - rev 1.30: remove unused parameter.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jun 16 09:41:57 2000 UTC (11 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -7 lines
Remove unused parameter.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu May 18 10:31:10 2000 UTC (11 years, 8 months ago) by ru
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +14 -1 lines
Add new option (-target_addr) to control how to deal with incoming packets not associated with any pre-existing link. Submitted by: brian
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed May 3 15:06:45 2000 UTC (11 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +71 -1 lines
New option: -redirect_proto.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Apr 30 20:53:54 2000 UTC (11 years, 9 months ago) by joe
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +12 -8 lines
Fixes a potential buffer overflow with the command line arguments. Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Apr 27 17:55:17 2000 UTC (11 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +67 -17 lines
Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).
Revision 1.11.2.9: download - view: text, markup, annotated - select for diffs
Fri Feb 25 11:42:44 2000 UTC (11 years, 11 months ago) by ru
Branches: RELENG_3
Diff to: previous 1.11.2.8: preferred, colored
Changes since revision 1.11.2.8: +11 -14 lines
MFC: (rev 1.25) remove config line length restriction.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Feb 25 11:34:38 2000 UTC (11 years, 11 months ago) by ru
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +11 -14 lines
Remove the config file line length restriction. PR: 16900 Reviewed by: "Crist J. Clark" <cjclark@home.com>, jkh Approved by: jkh
Revision 1.11.2.8: download - view: text, markup, annotated - select for diffs
Thu Jan 27 17:02:52 2000 UTC (12 years ago) by ru
Branches: RELENG_3
Diff to: previous 1.11.2.7: preferred, colored
Changes since revision 1.11.2.7: +7 -9 lines
MFC: (rev 1.24) Track interface MTU with -dynamic option. PR: 15494
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jan 25 12:24:06 2000 UTC (12 years ago) by ru
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -9 lines
Now that kernel is capable of notifying user processes about the interface MTU change (src/sys/net/if_sl.c,v 1.83), track interface MTU with -dynamic option as well. PR: 15494
Revision 1.11.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 28 18:55:35 1999 UTC (12 years, 3 months ago) by ru
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE
Diff to: previous 1.11.2.6: preferred, colored
Changes since revision 1.11.2.6: +113 -104 lines
MFC: - add maintainership - allow signals to interrupt system calls (PR bin/6676) - configuration file parser improvements - ioctl -> sysctl for interface address changes (PR bin/14169) - update description of how packets re-enter IP firewall filter - remove reference to obsoleted permanent_link
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Oct 13 09:00:16 1999 UTC (12 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +84 -75 lines
ioctl -> sysctl for interface address changes. PR: 14169 Reviewed by: Ari Suutari <ari@suutari.iki.fi>
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Sep 28 08:01:46 1999 UTC (12 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +16 -20 lines
Do not defer setting of the aliasing address from interface name if not operating in dynamic mode. Reviewed by: Ari Suutari <ari@suutari.iki.fi>
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Sep 7 15:34:12 1999 UTC (12 years, 5 months ago) by ru
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -9 lines
Config file parser changes: - 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>
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 2 15:17:25 1999 UTC (12 years, 5 months ago) by ru
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -2 lines
Allow signals to interrupt system calls. Remove redundant signal() call. PR: 6676 Submitted by: luoqi Reviewed by: Ari Suutari <ari@suutari.iki.fi>
Revision 1.11.2.6: download - view: text, markup, annotated - select for diffs
Sun Aug 29 15:14:49 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_3_0_RELEASE
Diff to: previous 1.11.2.5: preferred, colored
Changes since revision 1.11.2.5: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:13:46 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 6 02:31:48 1999 UTC (12 years, 8 months ago) by archie
Branches: RELENG_3
Diff to: previous 1.11.2.4: preferred, colored
Changes since revision 1.11.2.4: +3 -1 lines
MFC (rev. 1.18): SIOCGIFCONF list increment bug fix
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jun 5 05:54:36 1999 UTC (12 years, 8 months ago) by archie
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
When incrementing through a SIOCGIFCONF list, enforce a lower limit of 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.
Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Sun May 16 11:59:52 1999 UTC (12 years, 8 months ago) by brian
Branches: RELENG_3
Diff to: previous 1.11.2.3: preferred, colored
Changes since revision 1.11.2.3: +3 -3 lines
MFC: /sbin/natd portrange documentation and bugfix
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu May 13 17:09:44 1999 UTC (12 years, 9 months ago) by brian
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Oops - missing parenthesis
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu May 13 16:58:31 1999 UTC (12 years, 9 months ago) by brian
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
/sbin/natd portrange documentation and bugfix Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> PR: 11690 3.2 candidate ?
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Apr 25 22:33:30 1999 UTC (12 years, 9 months ago) by imp
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
More egcs warning fixes: 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
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 30 10:18:00 1999 UTC (12 years, 10 months ago) by brian
Branches: RELENG_3
CVS tags: RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE
Diff to: previous 1.11.2.2: preferred, colored
Changes since revision 1.11.2.2: +165 -70 lines
MFC: redirect_port ranges and better const correctness.
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 30 10:11:55 1999 UTC (12 years, 10 months ago) by brian
Branches: RELENG_3
Diff to: previous 1.11.2.1: preferred, colored
Changes since revision 1.11.2.1: +8 -1 lines
MFC: Disable reads on our ICMP socket. We only use it for sending.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 30 10:11:21 1999 UTC (12 years, 10 months ago) by brian
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -1 lines
Disable reads on our ICMP socket. We only use it for sending. PR: 9253
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 24 20:30:48 1999 UTC (12 years, 10 months ago) by brian
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +43 -43 lines
Add some const-cleanliness and avoid some warnings.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 24 20:30:20 1999 UTC (12 years, 10 months ago) by brian
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +127 -32 lines
Allow port ranges when specifying -redirect_port. Submitted by: Wes Santee <wes@bogon.net> PR: 9696
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 24 17:12:59 1999 UTC (12 years, 10 months ago) by brian
Branches: RELENG_3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1 lines
MFC: Bring natd to life in sbin
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 11 09:24:52 1999 UTC (12 years, 11 months ago) by brian
Branches: MAIN
Branch point for: RELENG_3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
Fix a diagnostic typo Submitted by: Martin Machacek <mm@i.cz>
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 7 18:23:56 1999 UTC (12 years, 11 months ago) by brian
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +185 -84 lines
Upgrade (almost) to natd 2.0b1
- 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>
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Feb 27 22:37:38 1999 UTC (12 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -4 lines
Make this work with the new alias library since, evidently, we're not providing the backwards-compatability routines in libalias anymore (which I think may have been a mistake).
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 27 19:31:11 1997 UTC (14 years, 1 month ago) by alex
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Typo/$Id$ police.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Dec 10 02:14:57 1997 UTC (14 years, 2 months ago) by brian
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +65 -61 lines
natd 1_10 => 1_11 Cosmetic style changes Use u_short for port values. Submitted by: Ari Suutari <ari@suutari.iki.fi>
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Dec 6 12:00:32 1997 UTC (14 years, 2 months ago) by brian
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
Reverse my previous change and use htons() on an int 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
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 13 11:43:02 1997 UTC (14 years, 3 months ago) by brian
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
Use htonl() rather than htons().
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Oct 2 11:43:33 1997 UTC (14 years, 4 months ago) by charnier
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +64 -141 lines
Use err(3). Change firewall to firewall_enable in man page according to /etc/rc.conf.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 6 11:14:03 1997 UTC (14 years, 5 months ago) by brian
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -2 lines
Ingored incoming packets are now dropped when deny_incoming option is set to yes. Submitted by: Ari Suutari <ari@suutari.iki.fi>
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 10 21:55:52 1997 UTC (14 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +132 -94 lines
- Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br> fixed. Natd now waits with select(2) for buffer space to become available if write fails. - Packet aliasing library upgraded to 2.2. Submitted by: Ari Suutari <suutari@iki.fi>
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Jun 22 04:19:08 1997 UTC (14 years, 7 months ago) by brian
Branches: ARI
CVS tags: natd_1_8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Bring natd into main source tree now that the pppd/natd combination works ok. Submitted by: Ari Suutari <ari.suutari@ps.carel.fi>
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 22 04:19:08 1997 UTC (14 years, 7 months ago) by brian
Branches: MAIN
Initial revision
