LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2008, 01:07 PM   #1
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
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.
 
Old 11-17-2008, 01:13 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Maybe tcpkill will do?
 
Old 11-17-2008, 03:56 PM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
ifdown <interfaceX> && ifup <interfaceX>
 
Old 11-17-2008, 09:42 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
service network restart
(redhat/centos/fedora)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to cancel a thread lali.p Programming 7 04-08-2008 09:55 AM
How do I cancel my id? dickd LQ Suggestions & Feedback 7 10-08-2006 11:50 AM
cancel windows off my laptop harys Linux - Hardware 3 02-16-2006 03:05 PM
ok cancel buttons in RH9 eraaen Red Hat 1 02-27-2004 06:20 PM
cancel shutdown kc8tbe Linux - General 3 06-02-2003 09:39 PM


All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration