← 返回命令列表

Linux command

tcpkill 命令

文本

权限或系统影响较大,执行前请核对目标。

常用示例

Kill

tcpkill -i [eth1] host [192.95.4.27] and port [2266]

说明

tcpkill terminates in-progress TCP connections by injecting TCP RST (reset) packets. It monitors traffic matching the specified filter expression and sends forged reset packets to both endpoints. The filter expression uses libpcap syntax, allowing filtering by host, port, network, or any combination.

参数

-i _INTERFACE_
Network interface to use
-1 to -9
Aggressiveness level (default: 3)

FAQ

What is the tcpkill command used for?

tcpkill terminates in-progress TCP connections by injecting TCP RST (reset) packets. It monitors traffic matching the specified filter expression and sends forged reset packets to both endpoints. The filter expression uses libpcap syntax, allowing filtering by host, port, network, or any combination.

How do I run a basic tcpkill example?

Run `tcpkill -i [eth1] host [192.95.4.27] and port [2266]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i _INTERFACE_ do in tcpkill?

Network interface to use