PuDe - Configuration
There are some customization options that might require adjustment. PuDe require also some slight changes in pf configuration and as well as in /etc/rc.local.
Everything is described below. If you require additional help please contact with author.
Inside pude ksh script there are several variables. You can change values of that variables to adopt PuDe to your needs. These variables are as follows:
NUM_ROOTNUM_INVALIDNUM_FAILEDauthlog fileALFauthlog file. Default value: /var/log/authlog
EMAILMAILAdditionally you can fill /var/log/pude.fair file with trusted hosts' IPs if you wish. Those IPs will be never blocked.
Configuration of pf:
pf configuration file: /etc/pf.conf
# pude
table <pude> persist
block in on YOUR_INTERFACE from <pude> to any
YOUR_INTERFACE to the name of your network interface.
pfctl -f /etc/pf.conf
Configuration of /etc/rc.local:
/etc/rc.local file.
# Add your local startup actions here. add the following lines:
# pude
echo -n ' pude'; /usr/local/bin/pude > /dev/null &
PuDe is working now. Have fun!
Further customization can be done using ctl interface.