You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sniffer.filter="(greater 256 and portrange 5060-5090 or ip[6:2] & 0x1fff != 0) or (vlan and (greater 256 and portrange 5060-5090 or ip[6:2] & 0x1fff != 0))"
98
+
sniffer.filter="(greater 256 and portrange "+sniffer.config.PortRange+" or ip[6:2] & 0x1fff != 0) or (vlan and (greater 256 and portrange "+sniffer.config.PortRange+" or ip[6:2] & 0x1fff != 0))"
99
99
case"RTCP":
100
100
sniffer.filter="(ip and ip[6] & 0x2 = 0 and ip[6:2] & 0x1fff = 0 and udp and udp[8] & 0xc0 = 0x80 and udp[9] >= 0xc8 && udp[9] <= 0xcc)"
101
101
case"SIPRTCP":
102
-
sniffer.filter="(greater 256 and portrange 5060-5090 or ip[6:2] & 0x1fff != 0) or (ip and ip[6] & 0x2 = 0 and ip[6:2] & 0x1fff = 0 and udp and udp[8] & 0xc0 = 0x80 and udp[9] >= 0xc8 && udp[9] <= 0xcc)"
102
+
sniffer.filter="(greater 256 and portrange "+sniffer.config.PortRange+" or ip[6:2] & 0x1fff != 0) or (ip and ip[6] & 0x2 = 0 and ip[6:2] & 0x1fff = 0 and udp and udp[8] & 0xc0 = 0x80 and udp[9] >= 0xc8 && udp[9] <= 0xcc)"
sniffer.filter="tcp and port 443 and tcp[(((tcp[12:1] & 0xf0) >> 2)):1] = 0x16 and ((tcp[(((tcp[12:1] & 0xf0) >> 2)+5):1] = 0x01) or (tcp[(((tcp[12:1] & 0xf0) >> 2)+5):1] = 0x02))"
109
109
default:
110
110
sniffer.mode="SIP"
111
-
sniffer.filter="(greater 256 and portrange 5060-5090 or ip[6:2] & 0x1fff != 0) or (vlan and (greater 256 and portrange 5060-5090 or ip[6:2] & 0x1fff != 0))"
111
+
sniffer.filter="(greater 256 and portrange "+sniffer.config.PortRange+" or ip[6:2] & 0x1fff != 0) or (vlan and (greater 256 and portrange "+sniffer.config.PortRange+" or ip[6:2] & 0x1fff != 0))"
0 commit comments