https://github.com/mezantrop/sp_ping
Ping - Send ICMP ECHO_REQUEST packets to network hosts
https://github.com/mezantrop/sp_ping
icmp ping python
Last synced: 7 months ago
JSON representation
Ping - Send ICMP ECHO_REQUEST packets to network hosts
- Host: GitHub
- URL: https://github.com/mezantrop/sp_ping
- Owner: mezantrop
- License: bsd-2-clause
- Created: 2018-01-18T07:54:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-06T17:45:32.000Z (over 7 years ago)
- Last Synced: 2025-01-28T16:46:08.454Z (9 months ago)
- Topics: icmp, ping, python
- Language: Python
- Homepage: https://mezzantrop.wordpress.com/portfolio/sp_ping-py-simple-ping-implementation-in-python/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Warning! This project has been migrated to GitLab with the same name.
## sp_ping.py - Send ICMP ECHO_REQUEST packets to network hosts
Simple ping implementation in Python```
Usage:
sp_ping.py -h host [-c count][-i interval][-m ttl][-t timeout][-ov]Options:
-h host Target host to ping
[-c count] Send count only packets. Default is 0xffffff
[-i interval] Interval between two requests in seconds. Default is 1
[-m ttl] TTL of outgoing packets. Default is 64
[-t timeout] Timeout on socket. Default is 5
[-o] Send one packet only (conditional ping) to get host Up/Down status
[-v] Be verbose (show debug info of packets)
Note! You must be root to run this program.
```## mping6.awk - Quickly report alive IPv6 addresses on the local network
```
Usage:
mping6.awk [count=n] [interval=m] interfaceOptions:
interface Network interface to serach for IPv6 hosts on
[count=n] Send count only pings. Default is 2
[interval=m] Interval between pings. Default is 10
```