Project

General

Profile

« Previous | Next » 

Revision df0878b0

Added by Ermal LUÇI over 11 years ago

Add a function to read the status of connections/SAs/SPDs from smp plugin of StrongSWAN. No need to go through the setkey dumps

View differences:

usr/local/www/diag_ipsec.php
74 74

  
75 75
$a_phase2 = &$config['ipsec']['phase2'];
76 76

  
77
$spd = ipsec_dump_spd();
78
$sad = ipsec_dump_sad();
79
$mobile = ipsec_dump_mobile();
77
$status = ipsec_smp_dump_status();
80 78

  
81 79
?>
82 80

  

Also available in: Unified diff