From c7fbdd6c8e9a248be5bf5dca57c038edfc6a7e16 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 27 Feb 2014 17:39:19 +0100 Subject: Make the IPSec status page work with strongswan --- usr/local/www/diag_ipsec.php | 260 +++++++++++++++++++++++++------------------ 1 file changed, 150 insertions(+), 110 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php index f780587..ca0eba5 100644 --- a/usr/local/www/diag_ipsec.php +++ b/usr/local/www/diag_ipsec.php @@ -96,125 +96,159 @@ $status = ipsec_smp_dump_status(); -
- - +
+
+ + + + + + + + + + + + + $ikesa) { +?> + + + + + + + + + + + + + + + + + + +
+ + + ' . htmlspecialchars($ikesa['local']['spi']); + else + echo 'Unknown'; + } + ?> + + + + ' . htmlspecialchars($ikesa['remote']['spi']); + else + echo 'Unknown'; + } + ?> + + + + + + + +   + + +
+
+
+ - Show child SA entries +
+ + - - - - - - + + + + - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
 
/images/icons/icon_x.gif' height='17' width='17' border='0'/>
- - -
+
+ - -

+ @@ -223,7 +257,13 @@ $status = ipsec_smp_dump_status(); here. - - + + -- cgit v1.1