I'm writing a simple client to ping a server with a packet on port 7 (echo) and then waiting for a reply. Is there a server that I can use to test this?
Asked
Active
Viewed 9,649 times
2 Answers
3
sudo nc -vvlp 7 -e /bin/cat
If you happen to have a inetd installed, most of them have echo built-in. Snippet from /etc/inetd.conf:
echo stream tcp nowait nobody internal echo dgram udp wait nobody internal
grawity
- 17,092