akaunting / laravel-firewall

Web Application Firewall (WAF) package for Laravel

Home Page:https://akaunting.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I add a wildcard or range of addresses to the whitelist?

codejockey68 opened this issue · comments

Is there/needs to be a way to add a wildcard for a range of IP whitelist addresses such as:

1.2.3.* so that the entire 1.2.3 network can access the pages.

If there is already a way please point me to the docs. Thanks.

Accepting a wildcard mask such as 1.2.3.0/24 may be a working alternative.

To be clear, nothing of the above seems to work currently to specify a network range of addresses.

Such a feature is not available atm but any PR is welcome.

This has been added to 1.2.4 version.

I tested it but unfortunately it did not work for me
127.0.*.*