Change default max_ip_blocklist
This commit is contained in:
parent
5a0328e9b6
commit
324353477d
|
@ -78,7 +78,7 @@ else
|
|||
echo "always_ip_allowed=\"192.168.0.1 192.168.0.2\"" >> /etc/blockauth/blockauth.conf
|
||||
echo "blocklist=\"/etc/blockauth/blocklist.list\"" >> /etc/blockauth/blockauth.conf
|
||||
echo "filelog=\"/etc/blockauth/blockauth.log\"" >> /etc/blockauth/blockauth.conf
|
||||
echo "max_ip_blocklist=\"12500\"" >> /etc/blockauth/blockauth.conf
|
||||
echo "max_ip_blocklist=\"500\"" >> /etc/blockauth/blockauth.conf
|
||||
echo "block_ports=\"22,80,443\"" >> /etc/blockauth/blockauth.conf
|
||||
fi
|
||||
|
||||
|
@ -96,7 +96,7 @@ if [ -z "${filelog}" ] ; then
|
|||
echo "filelog=\"/etc/blockauth/blockauth.log\"" >> /etc/blockauth/blockauth.conf
|
||||
fi
|
||||
if [ -z "${max_ip_blocklist}" ] ; then
|
||||
echo "max_ip_blocklist=\"12500\"" >> /etc/blockauth/blockauth.conf
|
||||
echo "max_ip_blocklist=\"500\"" >> /etc/blockauth/blockauth.conf
|
||||
fi
|
||||
if [ -z "${block_ports}" ] ; then
|
||||
echo "block_ports=\"22,80,443\"" >> /etc/blockauth/blockauth.conf
|
||||
|
|
|
@ -3,5 +3,5 @@ valid_users="test1 test2"
|
|||
always_ip_allowed="192.168.0.1 192.168.0.2"
|
||||
blocklist="/etc/blockauth/blocklist.list"
|
||||
filelog="/etc/blockauth/blockauth.log"
|
||||
max_ip_blocklist="12500"
|
||||
max_ip_blocklist="500"
|
||||
block_ports="22,80,443"
|
||||
|
|
Loading…
Reference in New Issue
Block a user