Tcpkill
≈ 2 min read
Names in other languages
- EnglishTcpkill
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Tcpkill is a network utility program that can be used to terminate connections to or from a particular host, network, port, or combination of all. These programs take standard Berkeley Packet Filter (BPF) filters. This can be used for both port mirroring and ARP spoofing.
Tcpkill is a network utility program that can be used to terminate connections to or from a particular host, network, port, or combination of all. These programs take standard Berkeley Packet Filter (BPF) filters. This can be used for both port mirroring and ARP spoofing.
Examples
To prevent any connections to the host www.google.com use this command: /usr/sbin/tcpkill −9 host www.google.com The computer that is attempting to go to that site will be blocked from that site only, but can surf any other site. It is a good idea to either redirect the output into nothingness ( > 2>/dev/null 1>/dev/null) or into a file for later analysis (> file.tcpkill ). By default, it will redirect output to the console. More hosts can be specified with the command: /usr/sbin/tcpkill −9 host www.google.com and host www.yahoo.com To block well−known ports e.g., napster (port 8888 and port 6699) or gnutella (port 6346), the command: /usr/sbin/tcpkill −9 port 8888 and port 6699 or /usr/sbin/tcpkill −9 port 6346
Options
-i the -i option specify which interface you want the program to listen on. The default option interface on most computers is eth0, because most computers only have one interface. -1...9 The -1 to -9 specify the degree of brute force you want the attack to use on the target, with -1 being the least brute and -9 being the most brute. Computers on network with very fast connection usually require more brute force in order to successfully perform a DOS attack on them. Otherwise the command can be run without the -1 to -9 option or the -i option. This is a description of one of the various dsniff programs. This text belongs to the dsniff “README” written by the author Dug Song: See also: filesnarf macof mailsnarf msfsnarf [http://www.ouah.org/dsniffintr.htm, sshmitm tcpnice [http://www.ouah.org/dsniffintr.htm, urlsnarf webmitm [http://www.ouah.org/dsniffintr.htm, webspy [http://www.ouah.org/dsniffintr.htm.
References
External links
Dsniff README file.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1378506218 under CC BY-SA 4.0; modifications have been made.