ReJeCtAll / naxsi

Automatically exported from code.google.com/p/naxsi
Other
0 stars 0 forks source link

add servername to the whitelist generator #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a nginx proxy who is serving different applications. I do not want to 
build a whiteliste for all hosts. The get_rules action should include the 
servername as a filter. So I can configure the wordpress whitelist only for 
wp.example.com and the piwik whitelist only for piwik.example.com

Original issue reported on code.google.com by hel...@gmail.com on 6 Jan 2013 at 11:02

GoogleCodeExporter commented 8 years ago
Hello,

This is not something planned yet.
Best solution imho is to perform learning per-vhost, as you usually have 
seperate log files for each server block.

Original comment by ori...@gmail.com on 7 Jan 2013 at 5:58

GoogleCodeExporter commented 8 years ago

Original comment by ori...@gmail.com on 7 Jan 2013 at 5:58

GoogleCodeExporter commented 8 years ago
Ok I understand, but it should be quite easy to implement a group by host / 
servername in the ger_rules nad top10 naxsi_web interface? Or do you think I 
should run an own naxsi learning server for each vhost?

Original comment by hel...@gmail.com on 8 Jan 2013 at 7:45