Whitelist RegEx not working
See original GitHub issueI don’t think I’ve overlooked anything but I’ve added a very simple regex to whitelist my local LAN’s IP range but if I perform a couple of deliberately incorrect logins, the IPs are still being banned.
<add key="WhitelistRegex" value="^(192\.168\.0\.*)"/>
But then:
Banning ip address: 192.168.0.172, user name: Admin, config black listed: True, count: 2, extra info:
The RegEx checks out on regex101 so I think it’s correct. I do make use of the [UserNameWhitelist] option, does the IP whitelist not override this? Any help appreciated.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Whitelisting a domain (regex) does not work (For people ...
I Have Tried These Steps: Rebooting system and DNS resolver; Resetting Pi-hole completely (delete all files, and re-create Docker); Disabling ...
Read more >Regex, string is a combination of whitelisted characters ...
I receive two groups of characters (whitelist and blacklist) from a server and need to validate user input based on those. I cannot...
Read more >How to whitelist correctly (RegEx) : r/pihole
A great place to test if your regex is going to work or not is https://regex101.com. You can paste in some test data...
Read more >does whitelisting patterns / regex work
It looks like whitelist only works by exact match. Any chance you could code in a wildcard (*) operator? This topic was modified...
Read more >Whitelisting is not working
We have whitelisted few ips and its not working as expected. Configuring policy to allow whitelist of ip addresses using regex to extract ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll make a unit test and get back
Just released 1.5.3.0 which has this one change and fixes the whitelist regex.