|
|
|
@ -20,9 +20,6 @@ |
|
|
|
#!substdef "!ETFR_SUBST_BAN_DURATION!$def(ETFR_BAN_DURATION)!g" |
|
|
|
modparam("htable", "htable", "etfr_banned_ips=>size=8;autoexpire=ETFR_SUBST_BAN_DURATION") |
|
|
|
|
|
|
|
# Main Request Route Enhancements |
|
|
|
# Place this code at the appropriate place in your main request_route |
|
|
|
|
|
|
|
route[EXTRA_FILTER_REQUEST] { |
|
|
|
# Check if the source IP is banned |
|
|
|
if ($sht(etfr_banned_ips=>$si)) { |
|
|
|
|