Control outgoing TCP/IP connections
-
Hi All, I want to attempt to block a specific program from establishing outgoing TCP/UDP connections. Thus as the (external) app attempts to make a socket connection, I want to receive notification of the event and have the ability to allow or deny the connection attempt. (I know this is basic firewall functionality I am referring to here, but there is no firewall on the market that can do exactly what I want, when I want, and how I want it for this specific program) I have seen the packet filtering API that is provided by Windows, but that only seems to filter on IP's and Ports. I want to filter on application ! Can anybody please point my nose in the right direction here. Thanks OD VC++ .NET 2002 on Windows XP and above ...
-
Hi All, I want to attempt to block a specific program from establishing outgoing TCP/UDP connections. Thus as the (external) app attempts to make a socket connection, I want to receive notification of the event and have the ability to allow or deny the connection attempt. (I know this is basic firewall functionality I am referring to here, but there is no firewall on the market that can do exactly what I want, when I want, and how I want it for this specific program) I have seen the packet filtering API that is provided by Windows, but that only seems to filter on IP's and Ports. I want to filter on application ! Can anybody please point my nose in the right direction here. Thanks OD VC++ .NET 2002 on Windows XP and above ...
Try implementing a Layered Service Provider. This is a DLL that gets loaded by every application that uses Winsock. Look up Winsock Layered Service Provider, or LSP.
“Cannot find REALITY.SYS...Universe Halted.” ~ God on phone with Microsoft Customer Support