tnodir / fort

Fort Firewall for Windows
GNU General Public License v3.0
1.1k stars 96 forks source link

Add an API to allow users to actively refresh the IP list #264

Closed rainbowsource closed 2 weeks ago

rainbowsource commented 2 weeks ago

For example, I use the Zones feature to add an IP whitelist. When my other programs write IP addresses to this whitelist, I can call an API to refresh the IP whitelist I added and make it take effect immediately. Is this possible? Thanks!

tnodir commented 2 weeks ago

Please check the v3.13.1-test01.

You can use the FortFirewall.exe -c zone update command to force Zones update.

rainbowsource commented 2 weeks ago

EMMMM, it doesn’t seem to work. After entering the command, there is no response. Do I need to run it as an administrator?

tnodir commented 2 weeks ago

Do I need to run it as an administrator?

No, just as regular user.

You can turn on the Options: Logs: "Debug log messages" flag to check operations.

rainbowsource commented 2 weeks ago

OK, the test is complete and the function is completed. Completed at 3bc831ce510da5efd800120885745778803bd528.