mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
added example in blacklist_check()
This commit is contained in:
parent
2351ee4297
commit
80cc04b005
@ -281,6 +281,9 @@ blacklist_check() {
|
||||
|
||||
# do anything you like here to check the IP
|
||||
|
||||
# example:
|
||||
# whois "${ip}" | grep -iE "(owner|address|organization)"
|
||||
|
||||
# return 0 = ok, blacklist it
|
||||
# return 1 = no, don't blacklist it
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user