The sys admin’s daily grind: PortSentry

Ten Years After

Article from Issue 136/2012

To celebrate 10 years of his column, Charly sets up a sensitive detector that measures the cosmic background radiation of the Internet.

Scanning the ports on a machine belonging to someone else is not generally regarded as an attack. Of course, any serious attack will be preceded by a port scan. Administrators who take their security seriously always take a proactive approach to port scans, such as blocking the IP address that initiated the port scan for an extended period of time. The tool that lets you do this goes by the name of PortSentry [1] and is included in most distributions. The daemon identifies and logs port scans and runs commands after doing so.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Customizing PortSentry

    PortSentry monitors your ports and lets you know when they’ve been scanned.

  • Tool Tips

    Mobiki wiki engine, jEdit cross-platform text editor, youtube-dl movie downloader, and Inadyn compact DDNS client.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More