From Free Software Directory
This is the approved revision of this page; it is not the most recent. View the most recent revision.
Jump to: navigation, search

TCP port scan detection tool

'scanlogd' is a TCP port scan detection tool which attempts to log all portscans of a host to the syslog, in a secure fashion. It was designed to illustrate various attacks an IDS developer has to deal with; thus, unlike some other port scan detection tools, 'scanlogd' is designed to be totally safe to use. The current released can be built with support for one of several packet capture interfaces. In addition to the raw socket interface on Gnu/Linux, scanlogd is now aware of libnids and libpcap. The author discourages the use of libpcap. If you're on a system other than GNU/Linux and/or want to monitor the traffic of an entire network at once, he suggests using libnids in order to handle fragmented IP packets.


User manpage included and available in HTML format from


version 2.2.7 (stable)
released on 19 August 2012

services at


Related Projects

  • Port Scan Attack Detector
  • Tiger
  • Gtk-nocker
  • Knocker
  • AIDE
  • Firestorm
  • Multiscan
  • Tripwire
  • TCP Re-engineering


LicenseVerified byVerified onNotes
License:SimplePermissiveNoNonWarrantyJanet Casey3 June 2004

Leaders and contributors

Solar Designer Maintainer

Resources and communication

AudienceResource typeURI
Bug Tracking,Developer,
Debian (Ref)

Software prerequisites

Weak prerequisitelibnids
Weak prerequisitelibpcap

This entry (in part or in whole) was last reviewed on 27 February 2018.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.