]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/ipblocks.erb
nominatim: make log dir configurable and move it to ssd on dulcy
[chef.git] / cookbooks / nominatim / templates / default / ipblocks.erb
1 LOGFILE='<%= node[:nominatim][:logdir] %>/restricted_ips.log'
2 # space-separated list of IPs that are never banned
3 WHITELIST = ''
4 # space-separated list of IPs manually blocked
5 BLACKLIST = ''
6 # user-agents that should be blocked from bulk mode
7 # (matched with startswith)
8 UA_BLOCKLIST = ()
9
10 # time before a automatically blocked IP is allowed back
11 BLOCKCOOLOFF_PERIOD='1 hour'
12 # quiet time before an IP is released from the bulk pool
13 BULKCOOLOFF_PERIOD='15 min'
14
15 BULKLONG_LIMIT=8000
16 BULKSHORT_LIMIT=2000
17 BLOCK_UPPER=19000
18 BLOCK_LOWER=4000
19 BLOCK_LOADFAC=380
20 BULK_LOADFAC=160
21 BULK_LOWER=1500
22 MAX_BULK_IPS=85
23