Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2002 23:18:35 -0800 (PST)
From:      "Seagull" <seagull@aracnet.com>
To:        freebsd-questions@freebsd.org
Subject:   Junkbuster issue under FreeBSD
Message-ID:  <200203180718.g2I7IZD26563@shell1.aracnet.com>

next in thread | raw e-mail | index | archive | help

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 <nop,nop,timestamp 194994571 219705201>
   (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203180718.g2I7IZD26563>