Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README

psad (Intrusion Detection and Log Analysis with iptables)

psad is a collection of three lightweight system daemons (two main
daemons and one helper daemon) that run on Linux machines and analyze
iptables log messages to detect port scans and other suspicious
traffic.  A typical deployment is to run psad on the iptables firewall
where it has the fastest access to log data.

You can set email for alerts by setting ALERTSEMAIL:

ALERTSEMAIL=alerts@example.com ./psad.SlackBuild

You need at least these rules:

iptables -A INPUT -j LOG
iptables -A FORWARD -j LOG

but more usefull will be something like this:

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -j LOG
iptables -A INPUT -j DROP

please see documentation for more information.

NOTE:
psad requires several perl modules:
perl-Bit-Vector
perl-Date-Calc
perl-IPTables-Parse
perl-IPTables-ChainMgr
perl-NetAddr-IP
perl-Unix-Syslog

these are included in sources, so you don't need to install them.
But if you get some weird perl modules errors, you must uninstall
previous psad version before bulding new one.
Alternatively you can manually install this modules, all are available
on SlackBuilds.

NOTE:
The default option is NOT to download signatures.
We provide a signature file, but may be outdated as time goes by.
You can download them manually from:
http://www.cipherdyne.org/psad/signatures
...and place them in /etc/psad

Icon  Name                    Last modified      Size  Description
[<--] Parent Directory - [!!!] README 2022-03-17 17:33 1.5K [SPT] doinst.sh 2018-06-14 15:01 893 [SPT] psad.SlackBuild 2022-03-11 05:34 4.6K [   ] psad.info 2026-07-04 13:32 287 [TXT] signatures 2018-06-14 15:01 44K [TXT] slack-desc 2018-06-14 15:01 968
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.02 Gbit/s  10 Gbit/s