This script closely echoes previous scripts we put out to check on web server status and check on network server port-health insofar as the end result is concerned. It should run fairly simply, too (you'll probably just need to change the target host, target port and, possibly, the location of the ping command, and its arguments, to suit your taste - or have those all fed to the script from the command line using the @ARGV array): Knowing the status of open ports on your computer is a good basic secure habit all Linux users should do. I use Nmap for all my port scanning needs but I found this simple port scanning script to be something to learn from. Have you wrote any good simple scripts to help your machines security? . The link for this article located at Linux Shell Account is no longer available. . Enhance your network's safety by monitoring port activity on Linux through this Perl CGI scripting tutorial.. Port Monitoring, Perl Scripts, Network Security, CGI on Linux. . Bill Locke
PCX Firewall is a perl script which works with several configuration files to generate 3 shell scripts (startfw, stopfw, and restartfw) which actually do the real work of the firewall. The design goal was to develop a complete IPTables based . . . . PCX Firewall is a perl script which works with several configuration files to generate 3 shell scripts (startfw, stopfw, and restartfw) which actually do the real work of the firewall. The design goal was to develop a complete IPTables based firewall solution that did not have to read configuration files every time the firewall is started. To this end, you could modify the configuration files to represent the configuration desired, generate the shell scripts, copy them to the /etc/pcx_firewall directory on your firewall, modify a startup script to start the firewall on startup and not have to have installed the configuration files on the firewall! The link for this article located at PCX Firewall is no longer available. . The QTX Shield simplifies the management of Firewall rules through a dedicated Python tool and structured settings to enhance cyber defense.. PCX Firewall, IPTables, Network Security, Automation, Perl Script. . Anthony Pell
Get the latest Linux and open source security news straight to your inbox.