Date: Mon, 22 Aug 2005 20:34:09 +0200 From: Max Laier <max@love2party.net> To: Sergey Lapin <slapinid@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: Fwd: Fwd: Dual-feed: PF setup troubles Message-ID: <200508222034.24245.max@love2party.net> In-Reply-To: <20050815154334.GB32151@insomnia.benzedrine.cx> References: <D5972F49810A69449A9EA72A4B360DC238712A@e1.universe.dart.spb> <48239d390508150840481420ec@mail.gmail.com> <20050815154334.GB32151@insomnia.benzedrine.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508222034.24245.max>