public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Blizbor <kernel@globalintech.pl>
To: linux-kernel@vger.kernel.org
Subject: 2.6 native IPsec implementation question
Date: Mon, 15 Nov 2004 14:44:22 +0100	[thread overview]
Message-ID: <4198B2B6.9050803@globalintech.pl> (raw)

Greetings,

I hope, this is right place to ask my questions.

1. Why IPsec in 2.6 doesn't uses separate interface ?
It makes impossible to implement firewall logic like this (or I'm 
missing something):

incoming from eth0 allow AH
incoming from eth0 allow ESP
incoming from eth0 allow udp 500
incoming from eth0 allow udp 53
incoming from eth0 allow ICMP related
incoming from eth0 deny all

then set of filters restricting traffic incoming via IPsec for examle:
incoming from ipsec0 allow tcp 389
incoming from ipsec0 allow ICMP related
incoming from ipsec0 deny all

(please consider roadwarrior client with not known IP address)

2. Why IPsec in 2.6 doesn't creates entries in the route tables ?
It's a bit confusing when 'ip route list' doesnt makes you aware that
some traffic is going somwhere else than defined in route tables.

(you must know that there is IPsec in use on the host, then you are using
setkey to list rules, and then you must analyse rules to catch routes - 
ugly solution.)


Reards,
Blizbor

             reply	other threads:[~2004-11-15 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 13:44 Blizbor [this message]
2004-11-15 14:02 ` 2.6 native IPsec implementation question Jan Engelhardt
2004-11-15 14:48   ` Blizbor
2004-11-15 15:05     ` Jan Engelhardt
2004-11-15 16:47       ` Blizbor
2004-11-16 17:47 ` Andreas Unterkircher

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=4198B2B6.9050803@globalintech.pl \
    --to=kernel@globalintech.pl \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox