https://github.com/python1320/icmpviewer
View the pings coming from all over the world
https://github.com/python1320/icmpviewer
Last synced: 5 months ago
JSON representation
View the pings coming from all over the world
- Host: GitHub
- URL: https://github.com/python1320/icmpviewer
- Owner: Python1320
- License: unlicense
- Created: 2014-08-12T21:35:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-12T22:17:58.000Z (over 11 years ago)
- Last Synced: 2025-05-31T03:22:22.888Z (8 months ago)
- Language: Python
- Size: 164 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
icmpviewer
==========
View the pings coming from all over the world
#### Install
- ```apt-get install python-nfqueue python2.7```
- ```wget -O- http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip > GeoLiteCity.dat```
#### Usage
- ```iptables -A INPUT -i eth0 -p icmp --icmp-type echo-request -j NFQUEUE --queue-num 5 --queue-bypass```
- ```python2 main.py```
##### Example output
```bash
$ ./main.py
Listening on queue number 5
2014-08-13 01:12:57 195.154.xxx.xxx France ? ...
2014-08-13 01:15:01 86.27.xxx.xxx United Kingdom Fleet .......
```