1IPSEC_IKEPING(8)              Executable programs             IPSEC_IKEPING(8)
2
3
4

NAME

6       ipsec_ikeping - send/receive ISAKMP/IKE echo requests/replies
7

SYNOPSIS

9       ipsec ikeping [--listen] [--verbose] [--wait time] [--exchangenum num]
10             [--ikeport localport] [--ikeaddress address] [--inet] [--inet6]
11             destaddr [/dstport...]
12

DESCRIPTION

14       Ikeping sends and receives ISAKMP/IKE echo request and echo reply
15       packets. These packets are intended for diagnostics purposes, in a
16       manner similar to ping(8) does for ICMP echo request/reply packets.
17
18       At the time of this writing, the ISAKMP echo request/reply exchange is
19       still an internet-draft (draft-richardson-ipsec-ikeping-00), and is
20       therefore completely non-standard. The Libreswan IKE daemon pluto does
21       implement this draft, so ikeping can be used to test connectivity to an
22       libreswan ipsec server.
23
24       Ikeping will bind to the local address given by --ikeaddress and the
25       port number given by --ikeport defaulting to the wildcard address and
26       the ISAKMP port 500. An ISAKMP exchange of type 244 (a private use
27       number) is sent to each of the address/ports listed on the command
28       line. The exchange number may be overridden by the --exchangenum
29       option.
30
31       Ikeping then listens for replies, printing them as they are received.
32       Replies are of exchange type 245 or the specified exchange number plus
33       1.  Ikeping will keep listening until it either receives as many echo
34       responses as it sent, or until the timeout period (5 seconds) has been
35       reached. Receipt of a packet will reset the timer. The --wait option
36       can be used to specify a different timeout period.
37
38       If the --listen option is given, then ikeping will not send any
39       packets. Instead, it will listen for them and reply to each request
40       received.
41
42       If the --natt option is given, then ikeping will set the socket to
43       permit UDP encapsulated ESP packets. This is only useful in listen
44       mode.
45

FILES

47       no external files
48

SEE ALSO

50       ping(8), ipsec_pluto(8)
51

HISTORY

53       Written for the Linux FreeS/WAN project <http://www.freeswan.org> by
54       Michael Richardson.
55

AUTHOR

57       Paul Wouters
58           placeholder to suppress warning
59
60
61
62libreswan                         10/04/2017                  IPSEC_IKEPING(8)
Impressum