From: Valentijn Sessink <valentyn+netfilter-users@nospam.openoffice.nl>
To: Marc Haber <mh+netfilter@zugschlus.de>
Cc: netfilter@lists.netfilter.org
Subject: Re: [despammed] port based filtering and IPsec 2.6
Date: Wed, 21 Jan 2004 17:31:30 +0100 [thread overview]
Message-ID: <20040121163130.GC2715@openoffice.nl> (raw)
In-Reply-To: <20040121154420.GH27986@torres.ka0.zugschlus.de>
At Wed, Jan 21, 2004 at 04:44:20PM +0100, Marc Haber wrote:
> On Wed, Jan 21, 2004 at 04:37:48PM +0100, Valentijn Sessink wrote:
> > Yes you can. Re-read my post, and be creative.
> That will work for incoming packets. And how do I protect myself
> against configuration errors sending out unencrypted packets? I'd need
> to put the mark on the packets for destination networks, which is
> error prone.
Why is that error prone? If your concern is putting out unencrypted packets
to certain networks, you can just use -p esp. And yes: a firewall setup with
IPsec *is* error prone. That's no different in FreeS/WAN, I think.
It is no more or less complicated to say "-i ipsec0" or "-m mark --mark 1".
Apart from that, I do not exactly understand your point. AFAIK, FreeS/WAN
will only let you setup a tunnel or no tunnel, nothing in between. If you
would want to send some traffic through the tunnel, you would need a whole
lot of non-trivial policy routing rules. (But maybe I'm mistaken here).
> The idea is nice, but it looks like an ugly hack. And it _is_ an ugly
> hack.
IPsec tunnel mode is an ugly hack? You might want to explain that to Bruce
Scheier: http://www.schneier.com/paper-ipsec.html
I wouldn't know what is ugly about marking packets to post-process them
later.
V.
--
http://www.openoffice.nl/ Open Office - Linux Office Solutions
Valentijn Sessink valentyn+sessink@nospam.openoffice.nl
next prev parent reply other threads:[~2004-01-21 16:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 16:26 port based filtering and IPsec 2.6 Valentijn Sessink
2004-01-17 13:45 ` [despammed] " Andreas Kretschmer
2004-01-17 17:47 ` netfilter.lists.samba.org
2004-01-17 18:29 ` Antony Stone
2004-01-18 9:14 ` Marc Haber
2004-01-18 9:34 ` Antony Stone
2004-01-19 7:43 ` Marc Haber
2004-01-21 15:39 ` [despammed] " Valentijn Sessink
2004-01-21 15:37 ` Valentijn Sessink
2004-01-21 15:44 ` Marc Haber
2004-01-21 16:31 ` Valentijn Sessink [this message]
2004-01-21 21:46 ` Marc Haber
2004-01-22 12:43 ` Valentijn Sessink
2004-02-17 15:02 ` Marc Haber
2004-02-17 15:16 ` Valentijn Sessink
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=20040121163130.GC2715@openoffice.nl \
--to=valentyn+netfilter-users@nospam.openoffice.nl \
--cc=mh+netfilter@zugschlus.de \
--cc=netfilter@lists.netfilter.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