A3sal0n / FalconGate

A smart gateway to stop cyber criminals - Sponsored by Falcon Guard
https://falconguard.cz
GNU General Public License v3.0
252 stars 59 forks source link

Domain blacklisting #49

Closed easy4MEr closed 6 years ago

easy4MEr commented 6 years ago

Added option to blacklist or whitelist domains using WebGUI.

Code from kittykat12 (https://github.com/A3sal0n/FalconGate/pull/46) have been implemented.

This new addition have been tested locally, everything seems working fine. Please test it on your side to confirm.

A3sal0n commented 6 years ago

@easy4MEr check that you're working on top of the latest code from master. There are conflicts in your branch.

easy4MEr commented 6 years ago

Thank you very much for your comments. Working on the fix.

A3sal0n commented 6 years ago

I got an exception which reminded me that you must also update the "user_config.ini.tpl" in the Raspbian and Ubuntu installer folders ;)

A3sal0n commented 6 years ago

Blacklisted domains stored in "user_config.ini" are not shown to the user in the "Blacklist" field. I assume the same issue is affecting the whitelisted domains.

easy4MEr commented 6 years ago

That is correct. /html/user_config.ini needs to be updated with 2 new variables -> domain_blacklist, domain_whitelist

easy4MEr commented 6 years ago

Conflitcts resolved in new branch