I am currently making a firewall program. However, I need to know WHICH programs are using the winsock dll, and WHAT the data is they are sending and receiving. Does anyone know how to do this?
Printable View
I am currently making a firewall program. However, I need to know WHICH programs are using the winsock dll, and WHAT the data is they are sending and receiving. Does anyone know how to do this?
You could use a port scanner and scan for open ports...but I don't know if there is a way to relocate the ports to the programs attached. I know it IS possible, but how I don't know. What you want is the data between the program and internet, but how do you sort of spy on the transaction of data I don't know. If you know what ZoneAlarm is, it can tell you the name of the program using the internet. I think I saw a control that can do what you want, but I can't find it anymore. Oh well. Good Luck. I hope someone helps you. Your program sounds promising. :)
System Firewalls should be run in a lower part of the TCP/IP stack, blocking all illegal port requests. In VB, using winsock, you are working at the top of the stack(application layer), there is no control for port blocking at this level.
Can you use the winsock api to observe data between internet and programs, and block ports? If so, then how? Thanks.