commit 6f397d55c56bdeb1f3da990e07eaaca570cc30c7 from: xs date: Tue Jan 30 17:08:49 2024 UTC Read QUICK_WHITELIST from env commit - 20cc78b64b34204414c346cca10af3663bc070fa commit + 6f397d55c56bdeb1f3da990e07eaaca570cc30c7 blob - 12182c5d0dc9e430a8579c8897edc6432bff7ad0 blob + 60bae341e22fed0657421b0c7b2747e89060c99b --- http-ban.sh +++ http-ban.sh @@ -1,6 +1,8 @@ #!/bin/sh -QUICK_WHITELIST=192.168.10.10 +# WARNING! +# Export this variable properly to avoid locking you out +: ${QUICK_WHITELIST:=127.0.0.1} alias log="logger -st http-ban" alias show="doas /sbin/pfctl -t players -T show"