diff options
author | João Valverde <j@v6e.pt> | 2022-04-02 23:34:28 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-04-04 02:22:22 +0000 |
commit | 5a8167500997c80cc2ff24425077cc167829b5bd (patch) | |
tree | 1b058fdb4155c3ded8afc2c995ebcdc721e4ae84 /colorfilters | |
parent | 70582b84f61f6e4fc3872c9b8dfd172ca2662c0d (diff) |
colorfilters: Rewrite some expressions
Rewrite for simplicity and efficiency, does not change meaning.
Diffstat (limited to 'colorfilters')
-rw-r--r-- | colorfilters | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/colorfilters b/colorfilters index b6943abb54..bf55412e31 100644 --- a/colorfilters +++ b/colorfilters @@ -3,12 +3,12 @@ @HSRP State Change@hsrp.state != 8 && hsrp.state != 16@[4718,10030,11796][65535,64764,40092] @Spanning Tree Topology Change@stp.type == 0x80@[4718,10030,11796][65535,64764,40092] @OSPF State Change@ospf.msg != 1@[4718,10030,11796][65535,64764,40092] -@ICMP errors@icmp.type eq 3 || icmp.type eq 4 || icmp.type eq 5 || icmp.type eq 11 || icmpv6.type eq 1 || icmpv6.type eq 2 || icmpv6.type eq 3 || icmpv6.type eq 4@[4718,10030,11796][47031,63479,29812] +@ICMP errors@icmp.type in { 3..5, 11 } || icmpv6.type in { 1..4 }@[4718,10030,11796][47031,63479,29812] @ARP@arp@[64250,61680,55255][4718,10030,11796] @ICMP@icmp || icmpv6@[64764,57568,65535][4718,10030,11796] @TCP RST@tcp.flags.reset eq 1@[42148,0,0][65535,64764,40092] @SCTP ABORT@sctp.chunk_type eq ABORT@[42148,0,0][65535,64764,40092] -@TTL low or unexpected@( ! ip.dst == 224.0.0.0/4 && ip.ttl < 5 && !pim && !ospf) || (ip.dst == 224.0.0.0/24 && ip.dst != 224.0.0.251 && ip.ttl != 1 && !(vrrp || carp))@[42148,0,0][60652,61680,60395] +@TTL low or unexpected@(ip.dst != 224.0.0.0/4 && ip.ttl < 5 && !pim && !ospf) || (ip.dst == 224.0.0.0/24 && ip.dst != 224.0.0.251 && ip.ttl != 1 && !(vrrp || carp))@[42148,0,0][60652,61680,60395] @Checksum Errors@eth.fcs.status=="Bad" || ip.checksum.status=="Bad" || tcp.checksum.status=="Bad" || udp.checksum.status=="Bad" || sctp.checksum.status=="Bad" || mstp.checksum.status=="Bad" || cdp.checksum.status=="Bad" || edp.checksum.status=="Bad" || wlan.fcs.status=="Bad" || stt.checksum.status=="Bad"@[4718,10030,11796][63479,34695,34695] @SMB@smb || nbss || nbns || netbios@[65278,65535,53456][4718,10030,11796] @HTTP@http || tcp.port == 80 || http2@[58596,65535,51143][4718,10030,11796] |