|
-
Apr 29th, 2007, 02:00 AM
#1
Thread Starter
Junior Member
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 .
-
Apr 29th, 2007, 02:00 PM
#2
Thread Starter
Junior Member
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...
-
Apr 30th, 2007, 01:54 AM
#3
Re: A firewall program
Hi Spasm 
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|