close a TCP/UDP port on manual detection

  • Thread starter Thread starter SC
  • Start date Start date
S

SC

Is there any shell command or GUI utility to close a TCP/UDP port on
detection?

Once I detect that an unwanted TCP/UDP port is open (e.g. by using NETSTAT)
I would like to force it to close instantly... is there any way to
accomplish this?

thankx
 
Ports do not "self-exist". They exist because a program that is running has
created the ports and is listening on it. If you want the port closed
down,...then shutdown the program responsible and the port will "go away".

"TCPView.exe" (from SysInternals?) is a utility that can help you find the
progrma responsible.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
 
Thanks for your reply!

Hmmmm...... I thought that a program (the program that "opens" the port)
could access the network through some interface provided by the OS and so it
could be possible to interact with the TCP/IP interface provided by the OS
thus closing a wanted port?

Thanks!!!

SC

Phillip Windell said:
Ports do not "self-exist". They exist because a program that is running
has
created the ports and is listening on it. If you want the port closed
down,...then shutdown the program responsible and the port will "go away".

"TCPView.exe" (from SysInternals?) is a utility that can help you find the
progrma responsible.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------



SC said:
Is there any shell command or GUI utility to close a TCP/UDP port on
detection?

Once I detect that an unwanted TCP/UDP port is open (e.g. by using NETSTAT)
I would like to force it to close instantly... is there any way to
accomplish this?

thankx
 
Back
Top