![]() |
adzapper Home | About Adzapper | Installing | Zaplets | Zaplet File Format | ![]() |
Installation is different on Windows and Unix. Please follow the instructions for your platform.
Before installing adzapper, you will need to install Python; get it from the Python website download page.
Unpack the adzapper-x.y.z.tgz file into the place you want to keep it, change to that directory, and run the 'install' script. install makes a shell script called 'adzapper' that will run the adzapper.py program, and places it in a directory you specify (default is /usr/local/bin). You can run adzapper from the command line, or run it as a daemon using the 'adzapperd' script (if you ran 'install-adzapperd').
To use adzapper, double-click the adzapper icon, and then adjust your browser settings so it will use adzapper as a proxy server. The installer does not automatically adjust your browser settings; I hope to add this in a future release.
adzapper has been tested on Windows NT 4.0, Windows 98, and Windows 95.
To use adzapper, you need to set your browser's preferences to use it as a proxy server. Set the address to the IP address or DNS name of the machine that you are running adzapper on, and set the port for HTTP protocol to port 51966. adzapper does not yet filter HTTPS or FTP.
If you need more detailed instructions on setting your web browser to use a proxy server, see the hints below.
The default port adzapper runs on is 51966; you can set this to a different port by using the command line options. (type 'adzapper -h' at a command prompt to see what options are available.)
After you install adzapper, you can access its web-based user interface at this page: http://adzapper/
You can bookmark this page for easy reference. From the GUI, you can make new zaplets, edit existing zaplets, and change adzapper's configuration settings.
If you want adzapper to re-read the zaplets (because you have edited a zaplet file on disk), you will need to stop adzapper, then start it again. You can do this from the GUI's 'Restart adzapper' page. Under Unix you can also send adzapper a SIGHUP, which accomplishes the same thing.
If you edit zaplets using the GUI, you don't have to restart adzapper; the changes take effect immediately.
Under Internet Explorer 4.x, this is set under Internet Options. Select "Internet Options" from the "View" pop-down menu. proxy configuration is done in the "Connection" tab. Make sure the "Access the Internet using a proxy server" checkbox is checked, and fill in the "Address:" field with the IP number or domain name of the computer that adzapper is running on (usually this is the same machine you are surfing the web from, in which case you would enter "localhost" or "127.0.0.1"). enter the port adzapper is running on (normally 51966) in the "Port:" field.
If you use a web browser not mentioned here and would like to contribute directions for using a proxy server, please send them to me at the address below!
PYTHON='/path/to/your/python'
If you get the error 'Address already in use', either adzapper is already running, or the port is in use by another server. To use adzapper with a different port, type "adzapper <port>". For example:
% adzapper 9999adzapper has it's own DNS resolver, since the one inside adzapper is a lot faster than just using the built-in resolver. Because it has its own resolver, adzapper needs to know your local DNS server. It tries to guess this on its own (under Unix by looking in /etc/resolv.conf, and under Windows by looking in the Registry), and if it fails, it uses localhost (127.0.0.1) as a default.
Using localhost as a DNS resolver sometimes works under Unix, but doesn't under Windows, so if you are having problems, this might be it. The symptom: you can only contact web sites that you specify using their IP address instead of their DNS name. (i.e., http://10.10.2.3/)
If you encounter problems, try setting the DNS server manually. For example:
% adzapper -n 216.39.128.6zaplets usually live in the zaplets/ directory in the directory where you installed adzapper. If you want to put the zaplets somewhere else, use the -z option to specify another directory. The adzapper configuration file lives in the zaplet directory; to specify a filename other than the default "adzapper.conf", use the -f option.
For information on other options, type "adzapper -h" for help.
216.39.128.6
http://my_proxy_server:9999/If you don't include the port, it will default to 8080.
blue.gif
/var/run/adzapperd.pid
To turn accesscontrol on, set this to 'on'; for off, set this to 'off':
on
The syntax for the accesscontrol commands is similar to apache's access control syntax. For instance, to block all requests except from your own machine, use these statements in the control panel:
Access Control on/off: on Access Control Order: deny,allow Access Control deny-from list: all Access Control allow-from list: 127.0.0.1
use partial IP addresses to denote network numbers:
Access Control on/off: on Access Control Order: deny,allow Access Control deny-from list: all Access Control allow-from list: 127. 192.168. 10.
You can change the way that adzapper will check addresses-- by default it is "all that is not expressly permitted is denied". To allow just from some networks, but deny some specific hosts from those networks, use something like this:
Access Control on/off: on Access Control Order: allow,deny Access Control deny-from list: 192.168. Access Control allow-from list: 192.168.8.55 192.168.7.This would allow access only from any computer in the 192.168.x.y group of addresses, except the host 192.168.8.55 and all computers on the 192.168.7 network.
There is a System-V-style startup script in the 'scripts' directory; you can move this to your /etc/rc.d/init.d directory and use it to add adzapperd to your startup scripts. Note: this script was written for RedHat 6.0, and hasn't been thoroughly tested.
Last Modified: Sun Aug 13 00:12:15 2000