Provide possibility to block CIDRs, User-Agents and Referers globally
This commit is contained in:
parent
3f6314aa2f
commit
7212d0081b
6 changed files with 263 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ var (
|
|||
"contains": strings.Contains,
|
||||
"hasPrefix": strings.HasPrefix,
|
||||
"hasSuffix": strings.HasSuffix,
|
||||
"trimSpace": strings.TrimSpace,
|
||||
"toUpper": strings.ToUpper,
|
||||
"toLower": strings.ToLower,
|
||||
"formatIP": formatIP,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue