From owner-freebsd-pf@FreeBSD.ORG Wed Feb 9 12:55:41 2005 Return-Path: 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 1629816A4CE for ; Wed, 9 Feb 2005 12:55:41 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5827D43D1F for ; Wed, 9 Feb 2005 12:55:40 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CyrNb-0003wa-00; Wed, 09 Feb 2005 13:55:39 +0100 Received: from [217.227.147.152] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CyrNa-0006Cj-00; Wed, 09 Feb 2005 13:55:39 +0100 From: Max Laier To: freebsd-pf@freebsd.org Date: Wed, 9 Feb 2005 13:55:22 +0100 User-Agent: KMail/1.7.2 References: <4209E50E.2010603@topocentras.lt> In-Reply-To: <4209E50E.2010603@topocentras.lt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart184724652.sHdbfut8mq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502091355.36805.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 Subject: Re: squid with pf problem X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 09 Feb 2005 12:55:41 -0000 --nextPart184724652.sHdbfut8mq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 09 February 2005 11:25, Albertas Guscius wrote: > Hello, > I have problem running squid and packet filter. > After certain moment it hangs machine. I tried three different types of > hardware, so I think it is problem with software. > Squid is compiled with pf support. > Rule in pf: rdr on $int_if proto tcp from any to any port http -> > 127.0.0.1 port 3128 > I'm using xl() NIC's. > FreeBSD xxx 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #3: Wed Feb 9 10: > 31:09 EET 2005 xxx@xxx:/usr/obj/usr/src/sys/GENERIC i386 > > It looks that I tried everything, that I found on internet. > > "options NET_WITH_GIANT" > > debug.mpsafenet=3D0 > net.inet.tcp.sack.enable=3D0 > > But still getting the same result: > > fault virtual address =3D 0x18 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xffffffff803a14b3 > stack pointer =3D 0x10:0xffffffffb1bd9800 > frame pointer =3D 0x10:0x0 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 44 (swi1: net) > trap number =3D 12 > > > I think that problem is with pf, because even then squid is not running, > machine hangs once a day. With squid it hangs much faster (in few minutes= ). This report is not very helpful (not helpful at all). Please obtain at lea= st=20 a backtrace:=20 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-P= ANIC-TROUBLESHOOTING http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel= debug.html (build in KDB and DDB and issue a "trace" when the panic shows up) With what you have posted so far it's impossible to find the culprit. =20 Nontheless, you might want to try to update src/sys/contrib/pf to RELENG_5= =20 (not RELENG_5_3 what you seem to have) to see if that improves the situatio= n. =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 --nextPart184724652.sHdbfut8mq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCCghIXyyEoT62BG0RAh9mAJ0fFNopklOp78ZpqGnl6r52VZf8XwCeLBFl sHy3S5FqMKQImGo+lgTW5ww= =/hSg -----END PGP SIGNATURE----- --nextPart184724652.sHdbfut8mq--