LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cancel Established Connections (https://www.linuxquestions.org/questions/linux-newbie-8/cancel-established-connections-684095/)

landysaccount 11-17-2008 12:07 PM

Cancel Established Connections
 
Hello.

Is there a way to clear reset all tcp and udp traffic? For example, when I run netstat -an, there are established, listen connections, etc.. Is there a way I can force to clear or cancel all established and last_ack state connections?

Thank you in advanced for your help.

dorian33 11-17-2008 12:13 PM

Maybe tcpkill will do?

dasy2k1 11-17-2008 02:56 PM

ifdown <interfaceX> && ifup <interfaceX>

chrism01 11-17-2008 08:42 PM

service network restart
(redhat/centos/fedora)


All times are GMT -5. The time now is 08:15 AM.