From e0d9482e7f546cd14098d7e0c32a0bb1f54ffb5b Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 5 Feb 2016 13:45:29 -0500 Subject: Add pfsync to the list of pre-defined packet capture filters. Also add negation for ESP that seems to have been accidentally omitted. --- src/usr/local/www/diag_packet_capture.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/diag_packet_capture.php') 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"); -- cgit v1.1