0
I have a problem with my psad (port scan attack detector) setup. When I run the psad status command I get the following:
root@raspberrypi:/home/pi# psad --status-ip 192.168.1.124 "use" not allowed in expression at /usr/sbin/psad line 137, at end of line syntax error at /usr/sbin/psad line 137, near "use File::Copy" BEGIN not safe after errors--compilation aborted at /usr/sbin/psad line 138.
When I check the /usr/sbin/psad line from lines 137 to 138, the following is shown:
### modules used by psad 137 use File::Copy; 138 use File::Path; 139 use IO::Socket;
What am I doing wrong and how can I solve these problems? Any help would be much appreciated.