- 论坛徽章:
- 0
|
我想用snoop抓几个包,结果发现snoop不可以用,请帮我看看怎么解决- bash-3.00# snoop
- snoop: No network interface devices found
- bash-3.00# netstat -nr
- Routing Table: IPv4
- Destination Gateway Flags Ref Use Interface
- -------------------- -------------------- ----- ----- ---------- ---------
- default 172.16.31.254 UG 1 2905
- 172.16.31.0 172.16.31.16 U 1 238 e1000g0:1
- 224.0.0.0 172.16.31.16 U 1 0 e1000g0:1
- 127.0.0.1 127.0.0.1 UH 1 71 lo0:1
- bash-3.00# ifconfig -a
- lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
- inet 172.16.31.16 netmask ffffff00 broadcast 172.16.31.255
- bash-3.00# ls /etc/hosts
- /etc/hosts
- bash-3.00# cat /etc/hosts
- #
- # Internet host table
- #
- ::1 localhost
- 127.0.0.1 localhost
- 172.16.31.16 zone loghost.com.cn
- bash-3.00#
- bash-3.00# snoop -d e1000g0:1
- snoop: /dev/e1000g0:: No such file or directory
- bash-3.00# snoop -d e1000g0
- snoop: /dev/e1000g: No such file or directory
- bash-3.00# find / -name "e1000g*"
- /usr/sbin/e1000g_transition
- /usr/share/man/man7d/e1000g.7d
- /system/object/e1000g
-
复制代码 另外没有/etc/hostname.e1000g0类似的文件
 |
|