Subject: Re: bin/29339: ipf 4.1.5's ipnat(8) doesn't properly list some NAT rules
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Geoff Wing <gcw@pobox.com>
List: netbsd-bugs
Date: 04/12/2005 05:57:02
The following reply was made to PR bin/29339; it has been noted by GNATS.
From: Geoff Wing <gcw@pobox.com>
To: NetBSD GNATS <gnats-bugs@netbsd.org>
Cc:
Subject: Re: bin/29339: ipf 4.1.5's ipnat(8) doesn't properly list some NAT rules
Date: Tue, 12 Apr 2005 15:56:20 +1000
My problem occurs in src/dist/ipf/tools/ipnat_y.y:750
My rule should have had an extra "udp" or "tcp/udp" at the end
"map pppoe0 from 192.168.1.0/24 port = 4500 to any -> 0.0.0.0/32 udp"
to work correctly but was silently changed (which does comply with
TRANSLATION in ipnat.conf(5), well, my quick reading of it).
It would be nice if ipnat(8) was more verbose that it will be ignoring
that information.
Regards,
Geoff