ipsec_ikeping (8) - Linux Man Pages
ipsec_ikeping: send/receive ISAKMP/IKE echo requests/replies
ipsec_ikeping - send/receive ISAKMP/IKE echo requests/replies
ipsec ikeping [--listen] [--verbose] [--wait
time] [--exchangenum num] [--ikeport localport] [--ikeaddress address] [--inet] [--inet6] destaddr [/dstport...]
At the time of this writing, the ISAKMP echo request/reply exchange is still an internet-draft (draft-richardson-ipsec-ikeping-00), and is therefore completely non-standard. The Libreswan IKE daemon pluto does implement this draft, so ikeping can be used to test connectivity to an libreswan ipsec server.
Ikeping will bind to the local address given by --ikeaddress and the port number given by --ikeport defaulting to the wildcard address and the ISAKMP port 500. An ISAKMP exchange of type 244 (a private use number) is sent to each of the address/ports listed on the command line. The exchange number may be overridden by the --exchangenum option.
Ikeping then listens for replies, printing them as they are received. Replies are of exchange type 245 or the specified exchange number plus 1. Ikeping will keep listening until it either receives as many echo responses as it sent, or until the timeout period (5 seconds) has been reached. Receipt of a packet will reset the timer. The --wait option can be used to specify a different timeout period.
If the --listen option is given, then ikeping will not send any packets. Instead, it will listen for them and reply to each request received.
Written for the Linux FreeS/WAN project <m[blue]http://www.freeswan.orgm> by Michael Richardson.
- placeholder to suppress warning