I googled many times till I created this question, so please excuse me if there are some tutorials out there. I didn't found them.
How can I code a firewall application in windows? I thought about a usermode fiewall using inline hooks in every process, but there is the problem that I can't hook csrss.exe (which creates the new processes) in windows
it1352
0
2020-10-26
I've heard that you can, during installation, add an exception for your app to give permission for it to access the internet through the firewall.
Anyone know how to do this?
Solution The alternative in many cases is to suggest that users disable the firewall entirely or ok the prompt Windows raises when your server ports begin to listen. Both o
it1352
0
2020-11-08
Windows 7, 8.1
I get an exception when I try to disable Windows Firewall. I try to do it with admin rights. But I haven't the same problem for Windows Firewall enabling.
Type NetFwMgrType = Type.GetTypeFromProgID("HNetCfg.FwMgr", false);
INetFwMgr mgr = (INetFwMgr)Activator.CreateInstance(NetFwMgrType);
// Get the Windows Firewall status
bool f
it1352
0
2020-11-08
Does a firewall running on a machine only block stuff from outside that machine, or do they block communication between processes on a machine communicating via ports?
Specifically, I'm writing a windows service which will expose an http RESTful service for other processes on the machine. The service will be running on a non-standard port in the d
it1352
0
2020-11-08
When I run
Get-NetFirewallProfile
I see that the Domain profile Enabled is set to True. However, when I go to Control Panel > Windows Firewall the Domain profile is turned off by the GPO. Also, in Windows Firewall with Advanced Settings, the Firewall state is "Off".
I'm not sure why the powershell output is different than the GUI. Please help!
it1352
0
2020-11-08
How do I get Windows 10 or its firewall to allow my Delphi 10.2 tethering app to get access to the internet?
When either the desktop or the mobile app is run on Windows 10, there is no request for permission from the firewall and tethering fails.
In contrast, the Delphi mobile Photowall tethering example runs fine on Android and iPad, tethering w
it1352
0
2020-07-11
When I try to connect to WMI from Powershell, ConfigMgr, or WMI explorer, I can talk to the majority of my computers, but some (maybe 30%?) return an 0x800706ba (RPC server is unavailable).
If I turn the firewall off on the remote machine, the queries start working. I have tried a bunch of different configurations of firewall settings, though, an
it1352
11
2019-05-14
We want to use Cisco NAC and need to check if client Desktop has a firewall installed. This may be not the default Windows Firewall.
Is there some Windows registry key that can be checked?
Solution For non-Windows firewalls, you can use WMI API to detect the presence of a firewall if it's registered with Windows.
Namespace = "Root\SecurityCente
it1352
0
2020-11-08
I've got a WCF service using a HttpBinding. The service is running in a self hosting process (A Windows Service) and this process is inside the Windows Firewall exceptions list.
If the Firewall is active and I'm trying to access the service using a C# client or Internet Explorer, the service does not respond. But if the Firewall is disabled the co
it1352
0
2020-11-08
I am creating an interface that allows the user to manage (among other things) the Windows Firewall. The GUI that comes with Windows looks like this
My GUI is written in Java and uses the netsh advfirewall firewall commands to read the current settings and to save changes.
Some of the items are single records in the firewall. The "Windows Remot
it1352
0
2020-11-08