On Fri, 4 Sep 2020, Matt Gurtler wrote:

Hi there, we’ve installed Libreswan on a Rhel7 host and have the ipsec service 
running on UDP port 4500. Am trying to run a nagios check_udp command from 
another host to make sure it’s running. The check_udp command requires a send 
and an expect string. I’m not sure what those would be for this service and was 
hoping you could help me there? Thanks!

This is very tricky as it depends on configurations. For example, if you
have a static IP to IP tunnel, the nagios server with a different IP
will not be able to send anything and get a reliable response. You
could try netcat/socat send a similar packet, although you would
also clutter the logs with errors

I would do something like "ssh root@ipserver ipsec status" as test.

Paul
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to