Forum

9.12

Anton
14 June 2015, 21:55
I have noted that BanlistMask has some string limit.
It is impossible to add as many rules as possible.
For google it is easy to add only one subnet.

But to be sure to not block Yandex search engine we need to add much more rules
It has many subnets to touch sites.
http://bgp.he.net/AS13238#_prefixes

Adding to that bing, baidu and others will make list even bigger.
Anton
14 June 2015, 22:14
Adding too long line shows such error

Stopping webserver: Hiawatha
Starting webserver: Syntax error in hiawatha.conf on line 13.
error!
Hugo Leisink
15 June 2015, 11:10
A configuration line has a maximum length (see MAX_LENGTH_CONFIGLINE at line 30 in src/serverconfig.c). Congratulations, you are the first one to exceed that maximum. You can split up a line but placing a '\' at the end of the parts. Example:
BanlistMask = deny 127.0.0.1, \
deny 10.0.0.0/8, \
deny 192.168.0.0/16
This topic has been closed.