Barring any objections, I'll be uploading a package of jesred in a day or two. Control file follows: Source: jesred Build-Depends: debhelper Section: web Priority: optional Maintainer: Zed Pobre <zed@debian.org> Standards-Version: 3.1.1 Package: jesred Architecture: any Depends: ${shlibs:Depends} Recommends: squid, httpd Description: A redirector for Squid Jesred is a very fast and highly configurable redirector for the Squid Internet Object Cache. It was derived from Chris Foote's and Wayne Piekarski's Squirm 1.0 betaB and some code from Squid itself, but is about 2-3x faster than the original version and has some additional features. . Jesred has the following features: . * faster than any other known squid redirector * uses only a very small amount of memory (a little bit more than squirm 1.0 betaB, but still less than perl ;-)) * able to rewrite GET and optionally ICP_QUERY requests as well * one global configuration file * one IP access control file which supports CIDR notation only (i.e. subnet/mask). Thus only URL requests from the specified * subnets/clients are rewritten, if necessary. * one rewrite rules configuration file (regular expression matching and replacement) * optionally logging of common and error messages to a file * optionally logging of URL rewrites to a separate log file, incl. the number of the rule, which has been used to rewrite the URL * able to re-read all its configuration files on the fly by sending a HUP signal to the process. That's why there is no need to restart Squid, if you want to: 1.change the used log file name[s] (useful for log file rotation) 2.enable/disable logging 3.enable/disable debug mode if compiled with DEBUG option 4.enable/disable URL rewriting of ICP_QUERY (sibling) requests 5.change the IP access patterns 6.change the redirect rules * If you mess up configuration file[s], Jesred runs in Echo Mode (always echos back a newline - i.e. no URL replacement) and squid keeps working. -- Zed Pobre <zed@debian.org> a.k.a. Zed Pobre <zed@resonant.org> PGP key and fingerprint available on finger; encrypted mail welcomed.
Attachment:
pgpSXLlTKPVD4.pgp
Description: PGP signature