What is webUI polling to show status of tunnels?
I've been searching for a way to get the status of ipsec tunnels via commandline for purpose of monitoring via net-snmp scripting.
What is pfsense calling when the webui is saying x number of tunnels online?
Is is constantly poling logs? I can't seem to find and racoon commands that outputs the status of your tunnels.
jimp Rebel Alliance Developer Netgate
It's checking the output of setkey -D and setkey -DP and correlating the output with the defined tunnels. Check /etc/inc/ipsec.inc and look at the Phase 1 and Phase 2 status code.