LinuxCommandLibrary

tcpkill

kill TCP connections on a LAN

TLDR

Kill in-progress connections at a specified interface, host and port

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

SYNOPSIS

tcpkill [-i interface] [-1...9] expressio

DESCRIPTION

tcpkill kills specified in-progress TCP connections (useful for lib‐ nids-based applications which require a full TCP 3-whs for TCB cre‐ ation).

OPTIONS

-i interface Specify the interface to listen on. -1...9 Specify the degree of brute force to use in killing a connec‐ tion. Fast connections may require a higher number in order to land a RST in the moving receive window. Default is 3. expression Specify a tcpdump(8) filter expression to select the connections to kill.

SEE ALSO

dsniff(8), tcpnice(8)

AUTHOR

Dug Song TCPKILL(8)

Copied to clipboard