|
Description
|
When using IPfilter with self-NAT, i.e. having the machine masquerade as as another, we see NAT happening, but the return packets are dropped.
ridgemont# ipnat -FC -f - << EOF
> map eri0 from 10.8.57.28/32 to 10.8.57.106/32 port != 22 -> 10.8.57.115/32 portmap tcp/udp auto
> map eri0 from 10.8.57.28/32 to 10.8.57.106/32 port != 22 -> 10.8.57.115/32
> EOF
0 entries flushed from NAT table
0 entries flushed from NAT list
ridgemont# arp -s 10.8.57.115 00:03:ba:14:a0:fd pub
ridgemont# ifconfig eri0
eri0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
inet 10.8.57.28 netmask ffffff00 broadcast 10.8.57.255
ether 0:3:ba:14:a0:fd
NOTE: the .115 address is a specially dedicated address. We've confirmed that the return packets have the proper mac address.
If I telnet out, NAT happens but the return packets are dropped. This does not happen on x86.
Another engineer has the exact same symptoms, works on x86, but not sparc. He is trying with last night's nightly (6-27-07), I am trying with a nightly (6-15-07) pair.
If we initiate from x86, everything works fine.
The problem appears to be NAT's inbound checksum processing.
- tcpInErrs = 18 udpNoPorts =315442
+ tcpInErrs = 21 udpNoPorts =315443
|