summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-02-05 13:45:29 -0500
committerjim-p <jimp@pfsense.org>2016-02-05 13:45:29 -0500
commite0d9482e7f546cd14098d7e0c32a0bb1f54ffb5b (patch)
treeb3678a257827248784a3d6c558c97ff218cabc56 /src/usr/local
parent5f64e2ca73fcabf41a5accf95cce3cc9d6a1e357 (diff)
downloadpfsense-e0d9482e7f546cd14098d7e0c32a0bb1f54ffb5b.zip
pfsense-e0d9482e7f546cd14098d7e0c32a0bb1f54ffb5b.tar.gz
Add pfsync to the list of pre-defined packet capture filters. Also add negation for ESP that seems to have been accidentally omitted.
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/diag_packet_capture.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_packet_capture.php b/src/usr/local/www/diag_packet_capture.php
index f488f75..8a31255 100644
--- a/src/usr/local/www/diag_packet_capture.php
+++ b/src/usr/local/www/diag_packet_capture.php
@@ -126,8 +126,8 @@ $snaplen = 0;//default packet length
$count = 100;//default number of packets to capture
$fams = array('ip', 'ip6');
-$protos = array('icmp', 'icmp6', 'tcp', 'udp', 'arp', 'carp', 'esp',
- '!icmp', '!icmp6', '!tcp', '!udp', '!arp', '!carp', '!esp');
+$protos = array('icmp', 'icmp6', 'tcp', 'udp', 'arp', 'carp', 'esp', 'pfsync',
+ '!icmp', '!icmp6', '!tcp', '!udp', '!arp', '!carp', '!esp', '!pfsync');
$input_errors = array();
@@ -279,7 +279,10 @@ $protocollist = array(
'!arp' => $excl . ' ARP',
'carp' => 'CARP',
'!carp' => $excl . ' CARP',
+ 'pfsync' => 'pfsync',
+ '!pfsync' => $excl . ' pfsync',
'esp' => 'ESP'
+ '!esp' => $excl . 'ESP'
);
include("head.inc");
OpenPOWER on IntegriCloud