From owner-trustedbsd-discuss@FreeBSD.ORG Sat Jun 17 21:59:28 2006 Return-Path: X-Original-To: trustedbsd-discuss@freebsd.org Delivered-To: trustedbsd-discuss@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A43616A479 for ; Sat, 17 Jun 2006 21:59:28 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC89C43D6A for ; Sat, 17 Jun 2006 21:59:21 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.185.155] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1Frioz2I8R-0002Kl; Sat, 17 Jun 2006 23:59:16 +0200 From: Max Laier Organization: FreeBSD To: trustedbsd-discuss@freebsd.org Date: Sat, 17 Jun 2006 23:59:07 +0200 User-Agent: KMail/1.9.1 References: <20060327184133.5a35b20f.zhouyi04@ios.cn> In-Reply-To: <20060327184133.5a35b20f.zhouyi04@ios.cn> 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="nextPart1179575.iaKKNL2654"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606172359.13019.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: zhouyi zhou Subject: Re: MAC Framework has confict with IP firewall X-BeenThere: trustedbsd-discuss@FreeBSD.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: TrustedBSD General Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2006 21:59:28 -0000 --nextPart1179575.iaKKNL2654 Content-Type: multipart/mixed; boundary="Boundary-01=_ssHlE+Zw452i3vn" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_ssHlE+Zw452i3vn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 27 March 2006 12:41, zhouyi zhou wrote: > MAC Framework has conflict with IP firewall > because in function ipfw_tick of file ip_fw2.c, the mbuf is created > without MAC label being initialized and send directly to ip_output. Christian Brueffer made me aware of this problem. Here is what we believe= =20 should work as a temporary workaround to this problem. The final solution= =20 would involve assigning a label with firewall states (derived from the pack= et=20 that creates the state) and then using this label for the mbuf created for= =20 keepalives etc. The attached modifies biba, lomac and mls. =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 --Boundary-01=_ssHlE+Zw452i3vn-- --nextPart1179575.iaKKNL2654 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBElHsxXyyEoT62BG0RAqD9AJ9rWD9Syo78B8XbkOeDD8Hzbzdj2ACeMdKS Z6QnWge5UvAFNAQJyHytxeA= =XSgG -----END PGP SIGNATURE----- --nextPart1179575.iaKKNL2654--