diff options
author | jim-p <jimp@pfsense.org> | 2016-02-05 13:45:29 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-02-05 13:45:29 -0500 |
commit | e0d9482e7f546cd14098d7e0c32a0bb1f54ffb5b (patch) | |
tree | b3678a257827248784a3d6c558c97ff218cabc56 /src/usr/local | |
parent | 5f64e2ca73fcabf41a5accf95cce3cc9d6a1e357 (diff) | |
download | pfsense-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.php | 7 |
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"); |