topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 2:49 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: program to kill established tcp connections: suggestion?  (Read 11984 times)

blackcat

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 62
    • View Profile
    • Donate to Member
program to kill established tcp connections: suggestion?
« on: December 04, 2007, 12:21 AM »
does anyone know any command line program to kill established tcp connections? i need this tool since netstat only has the ability to view connections..thanks

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #1 on: December 04, 2007, 12:57 AM »

blackcat

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 62
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #2 on: December 04, 2007, 01:56 AM »
thanks but it doesnt let me terminate connections by matching exe process..is there one that can do this?

Floppy

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 15
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #3 on: December 04, 2007, 03:18 AM »
Hello,

thanks but it doesnt let me terminate connections by matching exe process..is there one that can do this?

You could ask the developer of the program to add the necessary command line parameter :D


Best regards,
Floppy

blackcat

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 62
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #4 on: December 04, 2007, 03:35 AM »
yeah..you're right..i just sent him this feature request..but while waiting for him to add it, im searching around for alternative..anyone here familiar with cygwin?

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #5 on: December 04, 2007, 02:45 PM »

BinderDundat

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 31
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #6 on: December 04, 2007, 03:40 PM »
If you know the process name, you can kill the process using pskill from sysinternals: http://www.microsoft...tilities/PsKill.mspx - but I can't promise that the TCP connection is dropped as well.  The post above for curports does offer a close command line.  See: http://www.nirsoft.net/utils/cports.html
« Last Edit: December 04, 2007, 03:49 PM by BinderDundat »

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #7 on: December 04, 2007, 06:30 PM »
The post above for curports does offer a close command line.  See: http://www.nirsoft.net/utils/cports.html

thanks but it doesnt let me terminate connections by matching exe process..is there one that can do this?

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,022
    • View Profile
    • Donate to Member
Re: program to kill established tcp connections: suggestion?
« Reply #8 on: December 04, 2007, 06:38 PM »
TCPKillNT
TCPKillNT is a TCP connection "Reset" utility for Microsoft Windows NT platforms. It has the ability to send RST packets to already established TCP connections. Quite deadly on a LAN. It is very useful for IDS kind of products which need to terminate a TCP session. Requires Winpcap and LibnetNT.
http://members.fortu...jects/tcpkillnt.html