Monitor Isakmp remotely using a socket connection
./Isalmp-manager &
Just send a specific command to the socket. For example, you can use your own scripting or netcat :
Ex. : echo ``restart'' | netcat 10.80.1.1 35000
Below, the list of available commands :
gives back the status of Isakmpd : its PID value if started, otherwise -1 error code.
start the Isakmpd service and gives back its PID value if successful, or -1 in case of error.
stop the Isakmpd service (SIGTERM) and gives back 0 if successful, or -1 in case of error.
restart the isakmpd service and gives back the new PID value if successful, or -1 in case of error.
force Isakmpd to reload its configuration file and returns 0 if successful, or -1 in case of error.
kill Isakmpd (SIGKILL) and returns 0 if successful, or -1 in case of error.