Can't figure out why a rule is being ignored. #646
-
I have two rules: allowlist points to a folder containing: and blocklist points to a folder containing: the contents of block.txt probably aren't needed for this problem. The blocklist rule is working fine and doing its job, but even after setting its name to be after allowlist, setting only allowlist to be a priority rule, and messing with RegEx for waaaaay too long to see if that might be the problem, I've yet to see anything allowed by allowlist. Any help or advice would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The regexps of the allow.list file seems to work fine: (^|[./])gateway.discord.gg([./]|$)
(^|[./])messenger([./]|$)
You could add a simple regexp to the allow list to see if the rule is working: Also if you set log level to DEBUG (Preferences -> nodes), monitor
|
Beta Was this translation helpful? Give feedback.
-
mmh, I'll try to reproduce that problem 👍
When you modified the allowlist file, was the list reloaded? you can monitor the log, and see if this log appears:
if you add a new regexp to allowlist, it should log "3 regexps loaded", "4 regexp..", etc. If it seems to load fine the list, a telnet/curl to www.github.com should be logged:
No problem at all! Ask all you want and I'll try to help :) |
Beta Was this translation helpful? Give feedback.
-
I managed to solve the problem. In the end, my having the allowlist being a binary file named "allow" was the problem. Changing the name to "allow.list" fixed it. |
Beta Was this translation helpful? Give feedback.
I managed to solve the problem. In the end, my having the allowlist being a binary file named "allow" was the problem. Changing the name to "allow.list" fixed it.