tcpkill

From Initq
Jump to: navigation, search

tcpkill - kill TCP connections on a LAN

Syntax

tcpkill -i eth0 { expression }

Kill all all packets arriving at or departing from host 192.168.1.2 (host12.nixcraft.com)

tcpkill host 192.168.1.2

tcpkill host host12.nixcraft.com

To kill all IP packets between 192.168.1.2 and any host except 192.168.1.111, type the following:

tcpkill ip host 192.168.1.2 and not 192.168.1.111