Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 09:19:24 -0500
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        freebsd-net@FreeBSD.ORG
Subject:   Re: Filtering packets received through an ipsec tunnel 
Message-ID:  <200201141419.g0EEJOE73252@whizzo.transsys.com>
In-Reply-To: Your message of "Mon, 14 Jan 2002 13:09:22 %2B0100." <F58DFF990DB0D411841D000102A7CD70090BEF@tigris.pacific> 
References:  <F58DFF990DB0D411841D000102A7CD70090BEF@tigris.pacific> 

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

The problem, of course, is that tunnel-mode IPSEC is too coarse a
mechanism to implement security policy for some people.  Imagine if
you will that you're using IPSEC in an "extranet" situation; that is,
to secure communication between two different parties.  Perhaps between
you and your suppliers.  You'd like to secure traffic over that tunnel
so that you can place orders for widgets and not have that be intercepted.
But you're unwilling to allow the Widget manufacturer to send you NFS
traffic or have access to abritratry services on your network.

This is why you'd like to apply additional policy to the traffic which
emerges (and perhaps enters) an IPSEC tunnel.  The problem is there is
no logical interface associated with an IPSEC tunnel, which is likely
a mistake.  If you could synthesize interfaces for the tunnels, then 
you have a handle to hang the firewall processing on.

And before you suggest that the gif tunnels seen in all those IPSEC
examples actually have anything to do with IPSEC tunnels, please try
it and look again.  It's completely uninvolved other than introducing
a route as a side-effect.

louie



> Hello
> 
> IPSec Tunnel security is working like this: You have to permit traffic to
> the Tunnel, this you can du with Access-Lists on a Firewall (ie ipfw)
> 
> In the Tunnel, only permitted traffic will be transmitted, so you don't have
> to filter packets comming from the IPSec Tunnel. It's not interesting to
> transmit all the traffic and filter the traffic on the tunnel-end. Beacause
> all traffic submitted by the tunnel needs bandwith on the WAN interface. But
> if you will do this, you can define special Access-lists with ipfw where you
> deny or permit special kinds of traffic from the Network on the other side
> of the tunnel.
> 
> Regards
> 	Reto Trachsel
> 
> Your Partner for Internet & Networking Technologies!
> ____________________________________________________
> NetModule AG
> Meriedweg 7 / CH-3172 Niederwangen
> Phone: +41 31 985 25 10 / Fax: +41 31 985 25 11
> www.netmodule.com
> 
> NetModule AG, Java Competence Center
> Zuercherstrasse 12 / Postfach / CH-8401 Winterthur
> Phone: +41 52 209 00 44 / Fax: +41 52 209 00 40
> ____________________________________________________
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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