Purpose
Provides interface-level packet tracing for Internet protocols.
Syntax
/usr/sbin/iptrace [ -a ] [ -b ][ -e ] [ -u ] [ -PProtocol_list ] [ -iInterface ] [ -pPort_list ] [ -sHost [ -b ] ] [ -dHost
] [ -L Log_size ] [ -B ] [ -T ] [ -S snap_length] LogFile
Description
The /usr/sbin/iptrace daemon records Internet packets received from configured interfaces. Command flags provide a filter so that the daemon traces only packets meeting specific criteria. Packets are traced only between the local host on which the iptrace daemon is invoked and the remote host.
其他操作系统的类似工具:
Solaris -- snoop
Linux -- tcpdump
Windows -- sniffor一类
再加上 AIX -- iptrace
(HP-UX没找过,应该也有)
HP-UX -- nettl 没测试
具体用法可以参考man手册或者网上搜,个人以为这些东西用起来很简单,关键是会分析侦听到的信息。