Révision 95e496d6
Ajouté par Ermal il y a presque 10 ans
usr/local/www/diag_ipsec_sad.php | ||
---|---|---|
32 | 32 |
*/ |
33 | 33 |
|
34 | 34 |
/* |
35 |
pfSense_BUILDER_BINARIES: /usr/local/sbin/setkey
|
|
35 |
pfSense_BUILDER_BINARIES: /sbin/setkey |
|
36 | 36 |
pfSense_MODULE: ipsec |
37 | 37 |
*/ |
38 | 38 |
|
... | ... | |
54 | 54 |
|
55 | 55 |
/* delete any SA? */ |
56 | 56 |
if ($_GET['act'] == "del") { |
57 |
$fd = @popen("/usr/local/sbin/setkey -c > /dev/null 2>&1", "w");
|
|
57 |
$fd = @popen("/sbin/setkey -c > /dev/null 2>&1", "w"); |
|
58 | 58 |
if ($fd) { |
59 | 59 |
fwrite($fd, "delete {$_GET['src']} {$_GET['dst']} {$_GET['proto']} {$_GET['spi']} ;\n"); |
60 | 60 |
pclose($fd); |
Formats disponibles : Unified diff
Use the setkey proper path since ipsec-tools are not used anymore