ethereal笔记

1.capture filter 技巧:
  
   a 捕获mac地址为00:d0:f8:00:00:03网络设备的所有报文
              ether host 00:d0:f8:00:00:03
   b捕获IP地址为172.17.56.254网络设备通信的所有报文:
             host 172.17.56.254
    c 捕获网络web浏览的所有报文
      tcp port 80
    d 捕获 172.17.56.254除了http外的所有通信数据报文
       host 172.17.56.254 and not tcp port 80
2.如果以默认主机和端口的设置捕获tcp/ip报文,你将看不到自身的arp报文。
3.Filter string语法输入的格式:
   [src|dst] host <host>
   ether [src|dst] host <ehost>
   gateway host<host>
   [src|dst] net<net> [{mask<mask>}|{len<<len>}
   [tcp|udp] [src|dst} port <port>
    less|greater <length>
   iplether proto <protocol>
   ether/ip broadcast|multicast
   <expr> relop <expr>
4符号在Filter String 语法中的定义
Equal:eq,==
Not equal: ne,!=
Greater than: gt, >
less than: lt, <
greater than or Equal to : ge , >=
less than or equal to : le, <=
5  Display filter 显示过滤
a  eth.addr=00.d0.f8.00.00.03
b  ip.addr=172.17.56.254
c  tcp.port=80
d  ip.addr=192.168.10.1&&tcp.prot!=80

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值