-
A firewall program
I am interested in making a program that will be able to view all of the remote IP addresses and ports that the user's computer is communicating with. Sort of like netstat, except continuous monitoring. I also want it to be able to allow or deny connections attempts both from the user and to the user, and also allow the user to pause or completely terminate any connections already open. And I'm not sure if this last one is even possible, but can is there any way to do this except have it apply to every system on the local area network (just a home network with a router)? I have worked quite a bit with the winsock control, but I don't even know where to start with this. If anyone could point me in the right direction that would be great :cool:.
-
Re: A firewall program
I figured out how to do the netstat thing. I'll just put GetTcpTable on a timer. But I'm still don't know how to manipulate the connections. The winsock API it way more complicated than the control -_-
The only references I can find are for the C language...
-
Re: A firewall program
Hi Spasm :D
Code:
Private Declare Function SetTcpEntry Lib "iphlpapi.dll" (pTcpTableEx As MIB_TCPROW) As Long
That is one API you will need when terminating a connection :D