Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2010 09:43:04 +0200
From:      VANHULLEBUS Yvan <vanhu@FreeBSD.org>
To:        Maciej Suszko <maciej@suszko.eu>
Cc:        freebsd-net@freebsd.org
Subject:   Re:   vpn trouble
Message-ID:  <20100623074304.GA74166@zeninc.net>
In-Reply-To: <20100622190819.270aaa74@gda-arsenic>
References:  <87260c422232fa7409a4b374341dd106@ewipo.pl> <20100622143543.GA72020@zeninc.net> <c5781e9db1e6339b5b23c0c403c68d9a@ewipo.pl> <20100622153541.GA72211@zeninc.net> <6caa9895ae1710b9f48a227116a4340c@ewipo.pl> <20100622190819.270aaa74@gda-arsenic>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

On Tue, Jun 22, 2010 at 07:08:19PM +0200, Maciej Suszko wrote:
[....]
> Set up a gif tunnel in rc.conf:
> 
> cloned_interfaces="gif0"
> ifconfig_gif0="tunnel 78.x.x.x 95.x.x.x"
> ifconfig_gif0_alias0="10.20.0.1 netmask 255.255.255.255 10.10.1.90"
> 
> 10.20.0.1 is your internal end of the tunnel, so use any address from
> beyond the net 10.10.1.90 is in.

Using such extra encapsulation generates different kind of IPsec
tunnels, which are sometimes used by some commercial devices (I guess
at least juniper will use a variant of that), but this is NOT the
usual way of setting up IPsec tunnels, and, afaik, this is probably
completely useless here (no extra feature provided, and I don't think
cisco devices uses such extra encapsulation).

Btw, his issue occurs with first phase1 exchange, so actually has
NOTHING to do with that part of negociation...


> in racoon.conf something like this:
> 
> remote 95.x.x.x [500]
> {
>     exchange_mode       main,aggressive;
[....]
>     proposal_check      obey;

This is a quite perfect example of what should NOT exist in a correct
IPsec configuration:

Once again, aggressive mode is NOT as secure as main mode, and should
be avoided as most as possible.

And proposal_check obey is really one of the worst idea people can
have when adding things to their racoon.conf, as it just disables
proposal check when we are responder !!!!



Yvan.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100623074304.GA74166>