DOWNLOAD
Tarball (14.0 kB)
RPM (20.6 kB) - RPM built on RedHat Linux 6.1
sleezeball.definitions - The banner definitions.
Printed manual (PDF).
ABOUT SLEEZEBALL
An example of SleezeBall in action SleezeBall is a redirector to be used with the Squid proxy. It tries to guess what is a banner and then tells Squid to load an image on the local webserver instead. This has the nice effect of saving you from downloading and seeing alot of ugly banners.
REQUIREMENTS
Squid2. I've written a mini-HOWTO of how to install Squid and optionally make it transparent. Check the Documents page for that.
LICENSE
It's licensed under GNU GPL.
LINK THIS
Join me in the Campaign agains the banners and link to this page with the code below. Tell your ISP to implement it (although it is only tested with Squid I would think that other proxies have some similar functionality).

Sample code
<A HREF="http://fredrik.rambris.com/sleezeball/">
<IMG SRC="http://fredrik.rambris.com/nobanners.png" WIDTH="88" HEIGHT="33" ALT="No Banners! Get SleezeBall!" BORDER="0">
</A>

CHANGELOG
    Sat Nov 20 15:31 1999 Fredrik Rambris <boost at amiga.nu>
    • Version 0.6 released.

    Sat Nov 20 15:16 1999 Fredrik Rambris <boost at amiga.nu>

    • Whitespaces are now stripped of correctly while reading definitions.
    • Also all definitions is made lowercased to properly allow caseless stringmatching.

    Wed Nov 17 21:03 1999 Fredrik Rambris <boost at amiga.nu>

    • make install and RPM now really updates the definitionfile instead of overwriting it. Also the sleezeball.conf is automaticly generated, mime.conf (Squid2's file) is updated if needed.
    • Bumped to version 0.6 but it isn't really ready to be released just yet.

    Tue Nov 16 18:37 1999 Arndt Schoenewald <arndt at schoenewald.de>

    • Made some speed improvements. (Stringlengths were checked twice etc).
    • Also cought a funny thing. Only the URL get case changed to lower case so patterns with uppercase letters in the definitionfile got ignored.
    • Made the definition loader a bit more clever. Skipping empty lines and allowing comments etc. Comments are only allowed at the beginning of the line.

    Tue Nov 16 15:22 1999 Henri Gomez <gomez at slib.fr>

    • Made the RPM-building more Red Hat-ish (-O2 etc). A patch to the Makefile is now supplied and used when building the RPM.

    Sun Nov 14 23:29 1999 Fredrik Rambris <boost at amiga.nu>

    • Vladas Lapinskas <lapinskas at visaginas.is.lt> thought of something I didn't. Squid2 has a built-in miniwebserver used for the icons in FTP-mode. The 1x1 picture should ofcause be put there and redirect to Squid itself. Altered the Makefile for this. Thanx Vladas!

    Sat Nov 12 14:04 1999 Fredrik Rambris <boost at amiga.nu>
    • Version 0.5 released.

    Fri Nov 12 22:34 1999 Fredrik Rambris <boost at amiga.nu>

    • After fiddling with RPM for a couple of hours sleezeball now can be built as a RPM package (rpm -ta sleezeball-{version}.tar.gz).

    Fri Nov 12 22:34 1999 Fredrik Rambris <boost at amiga.nu>

    • The static defines in the source are now replaced with runtime changable variables. SleezeBall now reads REDIRECT_URL and LOG from sleezeball.conf and the definitions are now read from sleezeball.definitions. So...
      RENAME YOUR 'sleezeball.conf' TO 'sleezeball.definitions'. I made this change to make RPM building possible. A nice side-effect is that the logging can be enabled/disabled and the redirect url can be changed while running.

    Web Nov 10 20:14 1999 Fredrik Rambris <boost at amiga.nu>
    • Version 0.4 released.

    Wed Nov 10 19:06 1999 Fredrik Rambris <boost at amiga.nu>

    • I measured SleezeBall to process 19930 URLs/sec on my Celeron @ 416MHz.
      Thats more than one million per minute and approx 71 million per hour.
    • Added a workaround for a problem encountered on Solaris 2.6 on a Sparc20.
      Reported by Stoo Davies <stoo at btinternet.com>.
    • Copied a few functions from Squirm including:
      • Reload definitions when a SIGHUP is recieved
      • Logging (optional)
    • Added a script to signal all running SleezeBalls a SIGHUP

    Sun Nov 07 01:58 1999 Fredrik Rambris <boost at amiga.nu>
    • Version 0.3 released.

    Sat Nov 06 18:13 1999 Fredrik Rambris <boost at amiga.nu>

    • Changed the license to a modified GNU GPL
    • Updated the URL in README to my upcoming site (this one) (PHP enabled!)

    Mon Nov 01 22:49 1999 Fredrik Rambris <boost at amiga.nu>

    • Found a bug that would cause the redirect url to be written several times if several hits were found in sleezeball.conf. A continue is now replaced with a break.
    • Added this changelog and updated the README
    • Removed installation of configfile from Makefile. I got really annoyed by this one while I debugged SleezeBall =)

    Sat Oct 29 15:21 1999 Fredrik Rambris <boost at amiga.nu>
    • Version 0.2 released.
    • Prepared it for public release

Copyright © 1999-2004 Fredrik Rambris <fredrik at rambris.com>. All rights reserved.

http:// last changed  2007-Jan-22 13:36