From owner-freebsd-pf@FreeBSD.ORG Mon Aug 22 18:34:31 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7853416A41F for ; Mon, 22 Aug 2005 18:34:31 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 993B043D48 for ; Mon, 22 Aug 2005 18:34:28 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3FEEF.dip.t-dialin.net [84.163.254.239] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwh2-1E7H7q1N1C-0003wE; Mon, 22 Aug 2005 20:34:26 +0200 From: Max Laier To: Sergey Lapin Date: Mon, 22 Aug 2005 20:34:09 +0200 User-Agent: KMail/1.8.2 References: <48239d390508150840481420ec@mail.gmail.com> <20050815154334.GB32151@insomnia.benzedrine.cx> In-Reply-To: <20050815154334.GB32151@insomnia.benzedrine.cx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1378902.VOc6oZtyR0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508222034.24245.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-pf@freebsd.org Subject: Re: Fwd: Fwd: Dual-feed: PF setup troubles X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 18:34:31 -0000 --nextPart1378902.VOc6oZtyR0 Content-Type: multipart/mixed; boundary="Boundary-01=_oqhCDfP3jWLEEAk" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_oqhCDfP3jWLEEAk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 15 August 2005 17:43, Daniel Hartmeier wrote: > Please try Max' patch, it is correct. Now I remember when we had the > same problem in OpenBSD, I simply forgot about it. Max' patch will solve > it, I'm quite sure :) I haven't seen any report (for the good or otherwise) if this really fixes = the=20 Problem. Can you please let us know if you had a chance to test it? Thank= s. =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=_oqhCDfP3jWLEEAk Content-Type: text/x-diff; charset="iso-8859-1"; name="routefix.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="routefix.diff" Index: if_ethersubr.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/store/mlaier/fcvs/src/sys/net/if_ethersubr.c,v retrieving revision 1.196 diff -u -r1.196 if_ethersubr.c =2D-- if_ethersubr.c 9 Aug 2005 10:19:58 -0000 1.196 +++ if_ethersubr.c 15 Aug 2005 15:14:34 -0000 @@ -310,7 +310,8 @@ * on the wire). However, we don't do that here for security * reasons and compatibility with the original behavior. */ =2D if ((ifp->if_flags & IFF_SIMPLEX) && (loop_copy !=3D -1)) { + if ((ifp->if_flags & IFF_SIMPLEX) && (loop_copy !=3D -1) && + m_tag_find(m, PACKET_TAG_PF_ROUTED, NULL) =3D=3D NULL) { int csum_flags =3D 0; =20 if (m->m_pkthdr.csum_flags & CSUM_IP) --Boundary-01=_oqhCDfP3jWLEEAk-- --nextPart1378902.VOc6oZtyR0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDChqwXyyEoT62BG0RAiaxAJwKAUnm96UEEvXWCjEfhySgme1ebgCfWLuG 41s1ob08ztJo1qD07v20P/4= =WoGy -----END PGP SIGNATURE----- --nextPart1378902.VOc6oZtyR0--