Click to See Complete Forum and Search --> : How do firewalls block you?


DeepT
October 13th, 2005, 03:11 PM
I have a network app that is fairly new (about a year old) and we are running into several problems with third party firewalls and AV software not recognizing our product and blocking us.

So, how does an appliction, such as McAffe block our app from using sockets?

Is there a way to tell if we have been blocked because of this kind of issue so that we may inform the user so that he or she may fix the problem?

Is there a way we can unblock outselves?

Siddhartha
October 13th, 2005, 03:27 PM
[ redirected ]

Regards,
Siddhartha

Ejaz
October 13th, 2005, 11:40 PM
Firewall (http://en.wikipedia.org/wiki/Firewall_%28networking%29)

cipher1024
October 14th, 2005, 04:04 AM
hi,
I faced a similar problem some time back while creating a network application.Most commercial firewall applications maintain something like a trusted applications list . So it is the job of the user to add ur application to the trusted applications list. The firewall must be configured by the user and there's not much u can do from ur application to fool the firewall unless ur creating a virus or trojan;). This is the solution i came up with (not sure if it's the best) so if u know a better solution please let me know too.

MikeAThon
October 14th, 2005, 10:35 AM
I tend to agree with the answer given by cipher1024. At least in the general case, the best you can do is to display a dialog to the user, telling them that they must add your program to the list of trusted programs in their firewall.

However, in the special case where your user is using Windows Firewall, there is actually an API that would allow you to programmatically add your program to the trusted list, so long as the user has administrator privileges. See "About Windows Firewall API", at http://msdn.microsoft.com/library/en-us/ics/ics/about_windows_firewall.asp

I have not used it (since it does not solve the general case), but the MSDN site has code samples that look promising.

Mike

DeepT
October 14th, 2005, 04:16 PM
Well neither of these really answers my question. Assuming there is an unknown firewall appliction blocking my app, how am I to tell that is the case?

And once again, by what mechanics on windows is this done? Is it all some big hack or is there a proper API to all this? That API seems specifically for the "Windows" firewall opposed to any firewall.

I guess I am looking for a very technical "How-To" on firewalls which would explain how I would make my own firewall.