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
捕获过滤器(如 tcp port 80 )不要与显示过滤器(如 tcp.port == 80 )混淆。
前者的限制要多得多,用于减少原始数据包捕获的大小。
捕获过滤器在开始数据包捕获之前设置,并且在捕获期间不能修改。
另一方面,显示过滤器没有此限制,能随时更改它们。
Capture filter 的位置
例子
# 仅捕获进出 IP 地址 172.18.5.4 的流量:
host 172.18.5.4
# 捕获进出一系列 IP 地址的流量
net 192.168.0.0/24
# 从一系列 IP 地址捕获流量:
src net 192.168.0.0/24
# 从一系列 IP 地址捕获流量:
dst net 192.168.0.0/24
# 仅捕获 DNS(端口 53)流量:
port 53
# 捕获服务器上的非 HTTP 和非 SMTP 流量(两者是等效的):
host www.example.com and not (port 80 or port 25)
host www.example.com and not port 80 and not port 25
#type/networking #type/tools #public
The text was updated successfully, but these errors were encountered:
参考资料
Display filter is not a capture filter
tcp port 80
)不要与显示过滤器(如tcp.port == 80
)混淆。字段类型
切片运算符
例子
Capture filter is not a display filter
tcp port 80
)不要与显示过滤器(如tcp.port == 80
)混淆。Capture filter 的位置
#type/networking #type/tools #public
The text was updated successfully, but these errors were encountered: