Subject: Re: HEADS UP: IPFilter upgraded to 3.4.27
To: Martti Kuparinen <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
Date: 05/09/2002 09:27:28
>I have just upgraded IPFilter to the latest version (3.4.27) on
>NetBSD -current. You must recompile kernel and the ipf tools to
>use the new version:
ipnat seems not to work now.
>After reboot you should see this message:
>IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled
>I have tested this on i386 and things seem to work without any errors.
>If you detect errors (or have improvements), please send a problem report
>with the send-pr tool.
machine a (ipnat gateway) and machine b (client machine behind nat):
machineb(ttyp0)# ping 22.214.171.124
PING cache00.ns.uu.net (126.96.36.199): 56 data bytes
machineb(ttyp1)# tcpdump -Sns2000 icmp (while the ping is still running)
tcpdump: listening on sip0
09:22:50.888174 10.104.14.3 > 188.8.131.52: icmp: echo request
09:22:51.888159 10.104.14.3 > 184.108.40.206: icmp: echo request
machinea(ttyp0)# tcpdump -Sns2000 -itlp1 icmp (tlp1 faces machineb)
tcpdump: listening on tlp1
09:22:55.146179 10.104.14.3 > 220.127.116.11: icmp: echo request
09:22:56.146705 10.104.14.3 > 18.104.22.168: icmp: echo request
machinea(ttyp0)# tcpdump -Sns2000 -itlp0 icmp (tlp0 faces outward)
tcpdump: listening on tlp0
09:24:03.182037 10.104.14.3 > 22.214.171.124: icmp: echo request
09:24:04.182569 10.104.14.3 > 126.96.36.199: icmp: echo request
packets are getting forwarded properly, but aren't getting translated
according to the the ipnat rules i've been using for some time now.
machinea(ttyp0)# cat /etc/ipnat.conf
map tlp0 10.0.0.0/8 -> 188.8.131.52/32 proxy port ftp ftp/tcp
map tlp0 10.0.0.0/8 -> 184.108.40.206/32 portmap tcp/udp 40000:49999
map tlp0 10.0.0.0/8 -> 220.127.116.11/32
i'll file a pr in a bit, unless there's something you can see that i'm
obviously doing wrong.
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."