From owner-freebsd-questions Sun Mar 17 23:18:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.aracnet.com (mail3.aracnet.com [216.99.193.38]) by hub.freebsd.org (Postfix) with ESMTP id 5A06337B419 for ; Sun, 17 Mar 2002 23:18:15 -0800 (PST) Received: from shell1.aracnet.com (shell1.aracnet.com [216.99.193.21]) by mail3.aracnet.com (8.12.2/8.12.1) with ESMTP id g2I7IV9e030738 for ; Sun, 17 Mar 2002 23:18:31 -0800 Received: by shell1.aracnet.com (8.11.6) id g2I7IZD26563; Sun, 17 Mar 2002 23:18:35 -0800 Message-Id: <200203180718.g2I7IZD26563@shell1.aracnet.com> Subject: Junkbuster issue under FreeBSD To: freebsd-questions@freebsd.org Date: Sun, 17 Mar 2002 23:18:35 -0800 (PST) From: "Seagull" X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have noticed some odd behavior when running junkbuster under FreeBSD. Unfortunately, the junkbuster folks don't have a nice mailing list to ask questions to, so I figured I'd start here, since I can only produce the problem under BSD. :) If there's a more appropriate list for this, please let me know. Every now and then, it appears that junkbuster connects to the wrong host to fetch a particular URL (in fact, it's worse than that: it not only connects to the wrong host, but it also sends a complete proxy GET when it gets there). It is quite repeatable for me: 1. Go to site A to request URI a (http://A/a) 2. Then go to Site B to request URI b (http://B/b) About once every four or five times, at step 2, junkbuster will actually send a proxy GET to Site A, and ask for URI b (basically, it tries to say GET http://A/b) Here's tcpdump output showing the problem in action: 22:44:32.751124 cappuccino.mechalas.net.1236 > medley.mechalas.net.911: P 7113:7824(711) ack 9970 win 4390 (DF) 0x0000 4500 02ef 05f1 4000 8006 17c5 c0a8 2c06 E.....@.......,. 0x0010 c0a8 2cfc 04d4 038f 01ab 91f4 87a1 ebdc ..,............. 0x0020 5018 1126 1bf9 0000 4745 5420 6874 7470 P..&....GET.http 0x0030 3a2f 2f6d 792e 7961 686f 6f2e 636f 6d2f ://my.yahoo.com/ 0x0040 2048 5454 502f 312e 310d 0a48 6f73 743a .HTTP/1.1..Host: 0x0050 206d 792e 7961 686f 6f2e 636f 6d0d 0a55 .my.yahoo.com..U 22:44:32.751228 medley.mechalas.net.3491 > a108.suntimes.com.http: P 7021:7732(711) ack 9994 win 33304 (DF) 0x0000 4500 02fb eb0d 4000 4006 04bb c0a8 2cfc E.....@.@.....,. 0x0010 0c24 4e6c 0da3 0050 05b0 9c28 fa0b 983a .$Nl...P...(...: 0x0020 8018 8218 e7c8 0000 0101 080a 0b9f 618b ..............a. 0x0030 0d18 6f71 4745 5420 6874 7470 3a2f 2f6d ..oqGET.http://m 0x0040 792e 7961 686f 6f2e 636f 6d2f 2048 5454 y.yahoo.com/.HTT 0x0050 502f 312e 310d 0a48 6f73 743a 206d 792e P/1.1..Host:.my. 0x0060 7961 686f 6f2e 636f 6d0d 0a55 7365 722d yahoo.com..User- 0x0070 4167 656e 743a 204d 6f7a 696c 6c61 2f35 Agent:.Mozilla/5 Here, I was browsing on www.suntimes.com, and then moved on to my.yahoo.com. Except that junkbuster went to a108.suntimes.com, and issued a "GET http://my.yahoo.com/" request. This happens both with the pre-compiled package via the ports collection, and if I compile the source myself from the JunkBuster Web site. I've had this problem on all versions of 4.x-RELEASE (including 4.5) on x86. Has anyone else seen this? I figured I would ask around before I broke out the debugger to try and track down what is happening, just in case some kind soul has already found and created a fix. Cheers, John -- \ carpe cavy! seagull @ aracnet.com \ http://www.aracnet.com/~seagull \ (seize the guinea pig!) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message