IAMEM Hosting

Kill Network Connections from a specific IP using TCPKill

Home > Blog > cPanel > Kill Network Connections from a specific IP using TCPKill
30May, 2017
0

Kill Network Connections from a specific IP using TCPKill


TCPKILL
command on Linux is useful to kill connections made by malicious IP’s to the server, TCPKILL can be installed on the server (CentOS) using the below command

Installation in CentOS:

yum -y install dsniff --enablerepo=epel

TCPKILL Syntax:

1. Kill all connection on port 25

tcpkill -i eth0 port 25

2. Kill all connections IN/OUT from an IP

tcpkill host 10.10.10.23

 

Leave a Reply

nine − 3 =

Copyright © 2019 | iamemhost.com . All rights reserved.