All of lore.kernel.org
 help / color / mirror / Atom feed
* conntrack and IKE confused on 2.6.16
@ 2006-03-22 16:03 Marco Berizzi
  2006-03-22 17:24 ` Patrick McHardy
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Berizzi @ 2006-03-22 16:03 UTC (permalink / raw)
  To: netfilter-devel

Hi. I'm experimenting a quite strange problem
with linux 2.6.16
Yesterday one of our user with his laptop has
killed my ipsec vpn ;-)
Here is my network schema:

priv-net-fi--|lnx|--pub-ip-fi**internet**pub-ip-ve--|lnx2.6.16|--priv-net-venezia

The is an ipsec tunnel between the two private
networks: priv-net-fi and priv-net-venezia. The
two ipsec endpoint addresses are pub-ip-fi and
pub-ip-ve. So far so good.
On the 2.6.16 box there is a forward & nat rule
that allow also udp 500: packet with dport=500
from the priv-net-venezia are allowed to be
forwarded & natted (with pub-ip-ve) to the
internet. Our user has double clicked on the vpn
connection and his laptop has tried to establish
an ipsec tunnel with the system lnx (for the
priv-net-fi subnet): packet with dport=500 was
natted (with the pub-ip-ve) and forwarded to
pub-ip-fi.
Ok, time for IKE rekey: lnx (pub-ip-fi) try to
talk to lnx2.6.16 pub-ip-ve, but lnx2.6.16 forward
packets with dport=500 to the user laptop (172.16.1.227):

This is 'cat proc/net/ip_conntrack | grep 172.16.1.227':

udp      17 169 src=172.16.1.227 dst=pub-ip-fi sport=500 dport=500 
packets=51 bytes=9264 src=pub-ip-fi dst=pub-ip-ve sport=500 dport=500 
packets=77 bytes=29760 [ASSURED] mark=0 use=1

Is this a normal behaviour?

PS: IKE daemon on lnx2.6.16 is openswan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-23 18:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 16:03 conntrack and IKE confused on 2.6.16 Marco Berizzi
2006-03-22 17:24 ` Patrick McHardy
2006-03-22 17:31   ` Marco Berizzi
2006-03-22 17:47     ` Patrick McHardy
2006-03-23  9:16       ` Marco Berizzi
2006-03-23 18:22         ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.