summaryrefslogtreecommitdiff
path: root/sbin/ipnat/ipnat.c
AgeCommit message (Collapse)Author
1999-07-25fix ipnat to not require -vHugh Graham
1999-07-23fix -n to work with verbose mode. ipnat -nvf will now show the parsed rulesKjell Wooding
without processing them.
1999-07-08stupid kmem snooping programs!Theo de Raadt
1999-06-06use inet_aton() instead of inet_addr()Theo de Raadt
1999-06-03check for interface names before hostnamesTheo de Raadt
1999-02-05ipf 3.2.10; work by kjellTheo de Raadt
1998-10-11NAT_MAP is now a flag; garath@code.ridgefield.orgTheo de Raadt
1998-10-06fix the SIOCGIFCONF code; bug found by markc@Theo de Raadt
1998-09-15Updated to v3.2.9 of Darren's codebase. His code reimplements variablepattonme
locking, replaces u_long's with u_32_t to properly handle 64bit archs. Wrapped OpenBSD specific preprocessor logic.
1998-03-21Print the devicename in the error message when it cannot be openedTodd C. Miller
since it is not obvious from the source.
1998-03-07n_net is host byte order; pattonme@gnpr.pae.osd.milTheo de Raadt
1998-02-24put back support for ppp0/32dgregor
1998-01-26IPF 3.2.3dgregor
1997-09-22Change some longs to ints for alpha.Todd C. Miller
1997-07-08countbits() uses network byte order, not host byte order; enami tsugutomo, ↵kstailey
NetBSD PR 3830
1997-06-23use maskskstailey
1997-06-23sizeof(int) != sizeof(long)Theo de Raadt
1997-06-17dont coredump if the specified rule file does not existNiels Provos
1997-02-1464-bit cleanNiklas Hallqvist
1997-02-13don't fail completely in if_addr() just because one interface won't SIOCGIFADDR.kstailey
1997-02-13Allow use of interface name in rules file. This way if you have a dynamickstailey
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.
1997-02-11IPF 1.3.7kstailey
1997-02-07fixed order of tests in printnat() so that it catches tcp/udp firstkstailey
1997-02-07one more tcpudp->tcp/udpkstailey
1997-02-07make output look like input (and like docs)kstailey
1997-02-07fix tagskstailey
1997-02-07make protocol string be tcp/udp not tcpudp since this is how it is documented.kstailey
1996-10-08Prototype & Stylistic fixes for high -W gcc levelsNiklas Hallqvist
1996-07-18ipfilter 3.1.0dm
1996-06-23update rcsidTheo de Raadt
1996-05-10ipfilter 3.0.4dm