tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bug in ipnat?



(Sorry for my bad English)

I'm using NetBSD 5.1.2 on i386, IP Filter v4.1.29

This one works as expected:

map vlan12 10.0.0.0/8 -> aa.bb.cc.dd/32 proxy port 21 ftp/tcp
map vlan12 10.0.0.0/8 -> aa.bb.cc.dd/32 portmap tcp/udp 25000:35000
map vlan12 10.0.0.0/8 -> aa.bb.cc.dd/32

Documentation says this should be equivalent:

map vlan12 from 10.0.0.0/8 to any -> aa.bb.cc.dd/32 proxy port 21 ftp/tcp
map vlan12 from 10.0.0.0/8 to any -> aa.bb.cc.dd/32 portmap tcp/udp 25000:35000
map vlan12 from 10.0.0.0/8 to any -> aa.bb.cc.dd/32

However, with this NAT works, but I get an extra 3 seconds delay on all new
TCP connections. tcpdump shows the first ACK packet is dropped. After 
retransmit,
everything is okay.

Any ideas?
Thank you in advance.
--
Gergely EGERVARY


Home | Main Index | Thread Index | Old Index