OpenBSD CVS

CVS log for src/sbin/ipnat/Attic/ipnat.c


[BACK] Up to [local] / src / sbin / ipnat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.41, Wed May 30 02:11:49 2001 UTC (23 years ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.40: +1 -1 lines
FILE REMOVED

Remove ipf.  Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too).  Specifically,
Darren says that modified versions are not permitted.  But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia.  Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 30 04:26:49 2001 UTC (23 years, 4 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored)

reimplement whacked ipnat changes

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jan 17 05:01:01 2001 UTC (23 years, 4 months ago) by fgsch
Branch: MAIN
Changes since 1.38: +66 -125 lines
Diff to previous 1.38 (colored)

1st part of ipf userland code.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 10 05:50:27 2000 UTC (23 years, 10 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Import ipf 3.3.18. Fixes more problems with the in-kernel FTP proxy,
some nat state bugs, and ups the default state table size.
See sbin/ipf/HISTORY for details.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jul 26 20:33:01 2000 UTC (23 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.36: +6 -3 lines
Diff to previous 1.36 (colored)

open /dev/ipl rdonly on non-destructive operations

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 13 23:40:19 2000 UTC (24 years, 3 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.35: +0 -0 lines
Diff to previous 1.35 (colored)

Import of Darren Reed's IPFilter 3.3.11. See sbin/ipf/HISTORY for detailed
changelog. Documentation changes are now way behind. Volunteers?

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 16 22:34:22 2000 UTC (24 years, 3 months ago) by kjell
Branch: MAIN
Changes since 1.34: +0 -0 lines
Diff to previous 1.34 (colored)

Import IPFilter 3.3.9. Primarily, bugfixes since 3.3.8. See sbin/ipf/HISTORY
for details.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Feb 1 19:30:00 2000 UTC (24 years, 4 months ago) by kjell
Branch: MAIN
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

Update to IPFilter 3.3.8. Man pages still to go. See sbin/ipf/HISTORY
for details.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 16 07:38:45 1999 UTC (24 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.32: +3 -73 lines
Diff to previous 1.32 (colored)

Add the ability to use interface names in place of addresses
in firewall rules. i.e.

block return-rst in quick on fxp0 proto tcp from any to fxp0 port = 9999

This will make things like DHCP much easier to deal with in the future.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 15 05:20:24 1999 UTC (24 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.31: +107 -556 lines
Diff to previous 1.31 (colored)

Import of Darren Reed's IPFilter 3.3.4, including OpenBSD patches.

Many, many enhancements and improvements, including new in-kernel
proxies, enhancements to logging, and many bugfixes.

Note: Man pages have not yet been re-converted to mdoc.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jul 25 19:14:43 1999 UTC (24 years, 10 months ago) by hugh
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.30: +5 -4 lines
Diff to previous 1.30 (colored)

fix ipnat to not require -v

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 23 19:48:02 1999 UTC (24 years, 10 months ago) by kjell
Branch: MAIN
Changes since 1.29: +11 -10 lines
Diff to previous 1.29 (colored)

fix -n to work with verbose mode. ipnat -nvf will now show the parsed rules
without processing them.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 8 01:38:36 1999 UTC (24 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

stupid kmem snooping programs!

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 6 20:34:56 1999 UTC (25 years ago) by deraadt
Branch: MAIN
Changes since 1.27: +16 -14 lines
Diff to previous 1.27 (colored)

use inet_aton() instead of inet_addr()

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 3 17:53:11 1999 UTC (25 years ago) by deraadt
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

check for interface names before hostnames

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 5 05:58:48 1999 UTC (25 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.25: +86 -14 lines
Diff to previous 1.25 (colored)

ipf 3.2.10; work by kjell

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 11 05:36:32 1998 UTC (25 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored)

NAT_MAP is now a flag; garath@code.ridgefield.org

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 6 06:32:54 1998 UTC (25 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +4 -9 lines
Diff to previous 1.23 (colored)

fix the SIOCGIFCONF code; bug found by markc@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 15 09:57:29 1998 UTC (25 years, 9 months ago) by pattonme
Branch: MAIN
Changes since 1.22: +60 -28 lines
Diff to previous 1.22 (colored)

Updated to v3.2.9 of Darren's codebase. His code reimplements variable
locking, replaces u_long's with u_32_t to properly handle 64bit archs.
Wrapped OpenBSD specific preprocessor logic.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Mar 21 22:42:13 1998 UTC (26 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Print the devicename in the error message when it cannot be opened
since it is not obvious from the source.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 7 00:34:27 1998 UTC (26 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

n_net is host byte order; pattonme@gnpr.pae.osd.mil

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 24 04:03:38 1998 UTC (26 years, 3 months ago) by dgregor
Branch: MAIN
Changes since 1.19: +78 -14 lines
Diff to previous 1.19 (colored)

put back support for ppp0/32

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 26 04:13:49 1998 UTC (26 years, 4 months ago) by dgregor
Branch: MAIN
Changes since 1.18: +161 -109 lines
Diff to previous 1.18 (colored)

IPF 3.2.3

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 22 05:11:43 1997 UTC (26 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.17: +12 -12 lines
Diff to previous 1.17 (colored)

Change some longs to ints for alpha.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 8 13:15:21 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

countbits() uses network byte order, not host byte order; enami tsugutomo, NetBSD PR 3830

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 23 17:02:43 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.15: +6 -2 lines
Diff to previous 1.15 (colored)

use masks

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 23 01:16:16 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

sizeof(int) != sizeof(long)

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 17 10:42:08 1997 UTC (26 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

dont coredump if the specified rule file does not exist

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 14 11:02:05 1997 UTC (27 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.12: +4 -5 lines
Diff to previous 1.12 (colored)

64-bit clean

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 13 23:33:37 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.11: +3 -5 lines
Diff to previous 1.11 (colored)

don't fail completely in if_addr() just because one interface won't SIOCGIFADDR.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 13 01:19:05 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.10: +66 -2 lines
Diff to previous 1.10 (colored)

Allow use of interface name in rules file.  This way if you have a dynamic
IP address you don't have to edit the rules file every time you connect.

Example of usage:

coyote% cat /etc/nat.rules
map ppp0 10.0.0.0/8 -> ppp0/32 portmap tcp/udp 10000:20000

ppp0 is automagically transformed into the IP address of the ppp0 interface.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 11 22:24:20 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.9: +141 -47 lines
Diff to previous 1.9 (colored)

IPF 1.3.7

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 7 20:06:44 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

fixed order of tests in printnat() so that it catches tcp/udp first

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 7 19:33:49 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

one more tcpudp->tcp/udp

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 7 18:26:47 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

make output look like input (and like docs)

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 7 18:10:07 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

fix tags

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 7 17:02:50 1997 UTC (27 years, 4 months ago) by kstailey
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

make protocol string be tcp/udp not tcpudp since this is how it is documented.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 8 07:33:33 1996 UTC (27 years, 8 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Prototype & Stylistic fixes for high -W gcc levels

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 18 05:08:39 1996 UTC (27 years, 10 months ago) by dm
Branch: MAIN
Changes since 1.2: +95 -26 lines
Diff to previous 1.2 (colored)

ipfilter 3.1.0

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 23 14:31:01 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

update rcsid

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 10 21:39:56 1996 UTC (28 years, 1 month ago) by dm
Branch: MAIN

ipfilter 3.0.4

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.