From owner-freebsd-net@FreeBSD.ORG Fri Jun 16 16:05:09 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73F7416A47D; Fri, 16 Jun 2006 16:05:09 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4473C43D7E; Fri, 16 Jun 2006 16:05:08 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.178.14] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1FrGol1vD6-0000AE; Fri, 16 Jun 2006 18:05:07 +0200 From: Max Laier Organization: FreeBSD To: "Scott Ullrich" Date: Fri, 16 Jun 2006 18:04:55 +0200 User-Agent: KMail/1.9.1 References: <20060615225312.GB64552@heff.fud.org.nz> <200606161735.33801.max@love2party.net> In-Reply-To: X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4110410.kbyFMc9pHU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606161805.06651.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-net@freebsd.org, Andrew Thompson , freebsd-arch@freebsd.org Subject: Re: enc0 patch for ipsec X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 16:05:09 -0000 --nextPart4110410.kbyFMc9pHU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 16 June 2006 17:41, Scott Ullrich wrote: > On 6/16/06, Max Laier wrote: > > I think it should get a "device enc" on its own. Some people might > > consider enc(4) to be a security problem so getting it with FAST_IPSEC > > automatically isn't preferable. > > You have to specifically create the enc0 interface (ifconfig enc0 > create) before it becomes active. Otherwise it will not hit the enc > code path unless the device is created. The issue is, if an attacker manages to get root on your box they are=20 automatically able to read your IPSEC traffic ending at that box. If you=20 don't have enc(4) compiled in, that would be more difficult to do. Same=20 reason you don't want SADB_FLUSH on by default. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart4110410.kbyFMc9pHU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEktayXyyEoT62BG0RAsneAJ9O1gLgquzP085Nqi+8um5aXpnQ/QCfdQVw Xw51C+T0P5BCfzA43UczxwI= =eusH -----END PGP SIGNATURE----- --nextPart4110410.kbyFMc9pHU--