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: ipsec with 2.6.16-rc3-git6
Date: Fri, 17 Feb 2006 10:09:47 +0100	[thread overview]
Message-ID: <43F592DB.9090701@trash.net> (raw)
In-Reply-To: <BAY103-F14EFAD9BC487D65AE76129B2F80@phx.gbl>

Marco Berizzi wrote:
> 
> Patrick McHardy wrote:
> 
>> Marco Berizzi wrote:
>> > With these rules I'm able to send/receive packets from the two
>> > private networks each other (172.16.0.0/23<->172.23.0.0/23).
>> > If I delete the first rule in the INPUT table (on firenze-gateway)
>> >
>> > ACCEPT     all  --  venezia-gateway       0.0.0.0/0
>> >
>> > there is no packet flow inside the tunnel. I don't understand,
>> > as I accept esp packets in the red-me chain.
>>
>> What does your policy look like?
> 
> 
> root@Halley:~# ip xfrm policy
> src 172.16.0.0/23 dst 172.23.0.0/23
>        dir in priority 2377
>        tmpl src venezia-gateway dst firenze-gateway
>                proto comp reqid 16406 mode tunnel
>                level use
>        tmpl src 0.0.0.0 dst 0.0.0.0
>                proto esp reqid 16405 mode transport
> src 172.23.0.0/23 dst 172.16.0.0/23
>        dir out priority 2377
>        tmpl src firenze-gateway dst venezia-gateway
>                proto comp reqid 16406 mode tunnel
>        tmpl src 0.0.0.0 dst 0.0.0.0
>                proto esp reqid 16405 mode transport
> src 172.16.0.0/23 dst 172.23.0.0/23
>        dir fwd priority 2377
>        tmpl src venezia-gateway dst firenze-gateway
>                proto comp reqid 16406 mode tunnel
>                level use
>        tmpl src 0.0.0.0 dst 0.0.0.0
>                proto esp reqid 16405 mode transport

I can't see a mistake. Can you please add a logging rule to log
the packets that get dropped without the ACCEPT rule?

  reply	other threads:[~2006-02-17  9:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 15:28 ipsec with 2.6.16-rc3-git6 Marco Berizzi
2006-02-16 20:29 ` Patrick McHardy
2006-02-17  8:33   ` Marco Berizzi
2006-02-17  8:53     ` Patrick McHardy
2006-02-17  8:58       ` Marco Berizzi
2006-02-17  9:09         ` Patrick McHardy [this message]
2006-02-17  9:26           ` Marco Berizzi
2006-02-17  9:29             ` Patrick McHardy
2006-02-17  9:57               ` Marco Berizzi
2006-02-17 10:07               ` Marco Berizzi
2006-02-17 10:11               ` Marco Berizzi
2006-02-17 10:15                 ` Patrick McHardy
2006-02-17 10:35                   ` Marco Berizzi

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=43F592DB.9090701@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.