Answer the question
In order to leave comments, you need to log in
How to manage other people's TCP connections on Windows?
Ultimate goal: be able to gracefully selectively kill other people's TCP connections. It is highly desirable without the need to develop your own LSP (layered service provider), without "hacking" other people's processes, without injecting DLLs into them, without writing drivers, and without other black magic tricks.
There are a number of programs that have a problem - many TCP connections accumulate in the state, mainly FIN_WAIT_1. Sometimes there are also CLOSE_WAIT (rarely). Sooner or later it breaks the network and nothing works.
How is it possible to:
1. (at least) forcibly release resources occupied by foreign connections with the state FIN_WAIT_1 and CLOSE_WAIT.
2. (preferably) somehow forcibly destroy other people's TCP connections without disturbing the work of programs (that is, so that programs think that the cable has flown out, or host unreachable, or timeout for a response from a remote host).
OS Windows 8, Windows 10, Server 2012.
Answer the question
In order to leave comments, you need to log in
This:
be able to gracefully selectively destroy other people's TCP connections.
without the need to develop your own LSP (layered service provider), without "hacking" other people's processes, without injecting DLLs into them, without writing drivers, and without other black magic tricks.
FIN_WAIT_1. Sometimes there are also CLOSE_WAIT (rarely).the really smart people at Berkeley came up with this to guard against some mistakes that could lead to very, very, very stupid consequences.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question