Linux command
tcpterm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Capture packets on a network interface
tcpterm -i [eth0]
Read packets from a pcap file
tcpterm -r [capture.pcap]
Apply a BPF filter
tcpterm -i [eth0] [port 80]
说明
tcpterm is a terminal-based packet visualizer that provides a more user-friendly alternative to tcpdump. It can capture live traffic from a network interface or read from pcap files, with BPF filter support.
参数
- -i _INTERFACE_
- Network interface to capture packets from.
- -r _FILE_
- Read packets from a pcap file.
- -s _SNAPLEN_
- Snapshot length per packet (default 65535).
- --help
- Show help information.
- --version
- Show version information.
FAQ
What is the tcpterm command used for?
tcpterm is a terminal-based packet visualizer that provides a more user-friendly alternative to tcpdump. It can capture live traffic from a network interface or read from pcap files, with BPF filter support.
How do I run a basic tcpterm example?
Run `tcpterm -i [eth0]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -i _INTERFACE_ do in tcpterm?
Network interface to capture packets from.