Step Five - Internet Junkbuster Next Previous Contents

6. Step Five

Internet Junkbuster works as a proxy that stands between your browser and the Internet, checking every HTTP request for each resource (including graphics) against a blockfile of URLs before sending it over the Internet.

6.1 Installing InternetJunkbuster

First, go to http://www.internet.junkbuster.com/ijb20.tar.Z to get internet junkbuster version 2.0

Go to where you downloaded the file. Let's unpack it:


mv ijb20.tar.z /
cd /
tar -zxvf ijb20.tar.Z
cd ijb20
make

And walla, if you want, for convenience sake, issue: cp /ijb20/junkbuster /usr/bin

I have an already-compiled sitelist that blocks pretty much any ad, and lets everything else come through. To get it, hold down shift and click here (updated 1/13/00) or if you want my full *.ini (which might be helpful to look over) in tar-gz format (to unpack, tar -zxvf ini.tgz), grab ini.tgz (updated 1/12/00). You will need to issue the command: cp sblock.ini /ijb20. What is so nice about this proxy inparticular that I've noticed is that it reads this .ini file on the fly, which means once you find an ad banner popping up (however, they don't stop them from popping, but the proxy will stop it from loading the ad (saving you the bandwidth)) - you can just pico /ijb20/sblock.ini and add the site in, and next time you go there, it will be blocked!

To run internet junkbuster, you have to issue the command: junkbuster /ijb20/junkbstr.ini & (you might want to add this to your rc.local file to make it load every boot, don't forget the & though.. or it'll hang at boot-time!)

Here is my junkbstr.ini file which is basically the configuration file: because internet junkbuster only needs to filter http traffic!!):


(all the comments are edited out, and just the important parts of the file are listed here)
blockfile /ijb20/sblock.ini # comments are OK here,
cookiefile /ijb20/scookie.ini
logfile /ijb20/cookies
jarfile /ijb20/cookiejarfile
forwardfile /ijb20/sforward.ini
listen-address :8000
user-agent .

If you want to daisy chain the proxy servers in unison, check out the sforward.ini file.

Go ahead and run it and test it out!

6.2 Configuring the Windows side

Next, go into your Windows browser, whether it be Internet Explorer (preferable) or Netscape.

Internet Explorer

Go into: tools -> internet options.. -> connections

Make sure you have "Never dial a connection"

Next, click on Lan Settings..

The *ONLY* thing that should be checked is: Use a proxy server. Click on Advanced and fill in the following for http and secure:

Address: 192.168.0.1 Port: 8000 - note: the FTP proxy should be BLANK

Click okay all the way back until you're back to just Internet explorer, you're done.

Netscape Navigator

Go into: edit -> preferences -> advanced -> proxies.

Select manual proxy, and enter in the IP address of your Linux Server (ours is 192.168.0.1) for http and secure and in the PORT field, enter 8000 but leave FTP BLANK! Click Ok all the way back until you're back to just Netscape Navigator, you're done.


Next Previous Contents