Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pythonhacker/pyscanlogd
Pyscanlogd is a network port scan detection tool written in Python
https://github.com/pythonhacker/pyscanlogd
Last synced: 22 days ago
JSON representation
Pyscanlogd is a network port scan detection tool written in Python
- Host: GitHub
- URL: https://github.com/pythonhacker/pyscanlogd
- Owner: pythonhacker
- License: other
- Created: 2013-07-27T12:57:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T14:28:08.000Z (3 months ago)
- Last Synced: 2024-10-11T14:42:07.896Z (about 1 month ago)
- Language: Python
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changelog
- License: LICENSE
Awesome Lists containing this project
README
Introduction
------------
This package provides "Pyscanlogd", a port-scanning
detection tool entirely written in Python. PyScanLog
is inspired by scanlogd {http://www.openwall.com/scanlogd}.Licensing
---------
The code is released under New BSD License.Dependencies
------------
The code is dependent upon pypcap and dpkt. However there
are problems with automatic installation of these packages
through setup.py, so they are not added as dependencies
into setup.py.Instead either use your system's package manager to
install the dependencies or visit their respective
project pages to build from the latest source tarball.pypcap: https://code.google.com/p/pypcap/
dpkt: http://code.google.com/p/dpkt/In Ubuntu, these dependencies can be installed by
$ sudo apt-get install python-pypcap python-dpkt
Installation
------------
$ sudo python setup.py installUsage
-----
To run with default options just run the tool as root.
All scans are logged to the console.$ sudo pyscanlogd
listening on eth0:
[2010-03-17 16:41:06]: TCP syn scan (flags:6) from 172.16.220.124 to 172.16.220.214 (ports:143,199,5900,256,111,1723,21,25,554,80,22)To log to a file pass the "-f" option.
To run as daemon pass the "-d" option.Note: When running as daemon, if -f option is not provided,
no output is printed to stdout.$ sudo pyscanlogd -d -f "/var/log/scanlogd.log"
Daemonizing...
$ listening on eth0:Currently there is no option to a specific interface.
By default pyscanlogd listens to the active interface
in promiscous mode.