Skip to main content

IP (TCP/UDP) ping tools

Project description

IP ping

A ping(8) like tool using IP layer packets, currently only UDP is supported.

UDP

Sends UDP packets to a running UDP echo server.

Echo server

Echo server must be running on the machine we want to ping.

Using socat(1)

socat PIPE udp-recvfrom:5554,fork

Using nc(1)

nc -kule /bin/cat 5554

Example usage

$ ipping udp 192.168.20.2 5554 -i 0.5 -s 8176 -c 4
PING 192.168.20.2:5554: 8176 data bytes
8192 bytes from 192.168.20.2:5554: time=7.476 ms
8192 bytes from 192.168.20.2:5554: time=7.687 ms
8192 bytes from 192.168.20.2:5554: time=13.941 ms
8192 bytes from 192.168.20.2:5554: time=8.448 ms

--- 192.168.20.2:5554 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 7.476/9.388/13.941/3.064 ms

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipping-0.1.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

ipping-0.1.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page