An open API service indexing awesome lists of open source software.

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

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] interface

Options:
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
```