All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Marco Berizzi <pupilla@hotmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: conntrack and IKE confused on 2.6.16
Date: Thu, 23 Mar 2006 19:22:57 +0100	[thread overview]
Message-ID: <4422E781.6030401@trash.net> (raw)
In-Reply-To: <BAY103-F8424E12312A9CDFE2D9BCB2DE0@phx.gbl>

Marco Berizzi wrote:
> 1) IKE's notebook daemon send a packet to pub-ip-fi:
> src=172.16.1.227 sport=500 dst=pub-ip-fi dport=500
> 2) our firewall, lnx2.6.16 (which is also the ipsec
> endpoint for the "GOOD" tunnel) snat the IKE packet
> from the notebook with pub-ip-ve address (which is also
> the same ipsec endpoint address for the "GOOD" tunnel):
> src=pub-ip-ve sport=500 dst=pub-ip-fi dport=500
> 3) lnx2.6.16 put this entry in proc/net/ip_conntrack:
> 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

This is the point where the error must have occured. NAT shouldn't
NAT to port numbers that are already used, which means your first
IKE connection timed out from a conntrack POV. You can use IKE
keepalives to prevent this from happending.

      reply	other threads:[~2006-03-23 18:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4422E781.6030401@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pupilla@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.