C2SH(1)

NAME
poink - Nosuid, secure TCP/IP ping

SYNOPSIS

poink
    [ -i delay ] [ -c count ] [ -t timeout ] hostname

DESCRIPTION

Nosuid TCP/IP ping is a perfect, secure replacement for original ping command. Unlike suid version, it won't allow flood-pings, security compromises and other typical problems. It uses TCP syn-rst challenge/response instead of ICMP echo and echo-reply.

LIMITS
Of course, advanced features are not implemented, but these are needed only for network supervisors already running at UID 0, so they could use original even with no suid at all. Nosuid ping is designed for lusers.

OPTIONS
Options are compatible with basic options of suid ping. ..PD 0

-d delay
    Delay between sending ping requests, in seconds (default 1 second, minimum - 1 second)

-c count
    Number of packets to send (default 0 - send until stopped)

-t timeout
    How long should we wait for packet (in seconds); by default, 5 seconds, minimum - 1 second

OUTPUT
Output is compatible with original ping. When work is done or program caught Ctrl+C (SIGINT), short round-trip statistic is displayed.

BUGS
On some networks, TCP packets to high ports might be discarded silently by firewalls. In this case, ping will fail, but it's quite often situation, and, finally, there are some networks which blocks ICMP traffic :-)

AUTHOR
Michal Zalewski <lcamtuf@ids.pl>