asqredir is a small, fast, and simple redirect plugin for the squid webcache, written in C. It can be used for filtering out advertisements from Web sites or preventing proxy users from getting certain files by redirecting them to another URL. The to-be-matched URL patterns are kept in a file and are read into memory on startup. Because asqredir is based on URL pattern matching, it can be used for many different kinds of blocking.
|Tags||Internet Web Networking|
|Operating Systems||POSIX BSD OpenBSD IRIX Linux|
Release Notes: asqredir now allows comments in the URL file, the specification of URL patterns which should always be allowed, and optional logging of redirects to a file. Memory is allocated dynamically, and Squid's EOF is caught correctly (no more manual restarting is needed). A Makefile is included for more comfortable building.
Release Notes: Memory consumption decreases and stabilization, and a faster matching loop (less logic).
Release Notes: A signal handler for hup signals has been added. Changes in the url file can now be reflected without needing to restart squid. There are also other small changes.