Block Spam, Preventing URL Injection And Block HTTP Attacks With mod_dnsblacklist
Block Spam, Preventing URL Injection And Block HTTP Attacks With mod_dnsblacklistmod_dnsblacklist is a Lighttpd module that use DNSBL in order to block spam relay via web forms, preventing URL injection, block http DDoS attacks from bots and generally protecting your web service denying access to a known bad IP address. Official site: To install it you must download the source code and compile by running these commands: make mod_dnsblacklist.o gcc -shared -o mod_dnsblacklist.so mod_dnsblacklist.o /usr/bin/install -c mod_dnsblacklist.so /usr/local/lib/mod_dnsblacklist.so The module accepts these directives: dnsblacklist.method The HTTP method on which the module acts dnsblacklist.host The address of the DNSBL used dnsblacklist.message Error message displayed to the blocked user Once installed you will need to enable it editing the Lighttpd's configuration (/etc/lighttpd/lighttpd.conf). Here's an example: server.modules = ( Finally you must restart the server /etc/init.d/lighttpd restart The default configuration will protect you from attacks performed with the POST method such spam relay via web forms and on your blog. To extend the protection and preventing URL injection put this in the configuration of Lighttpd: dnsblacklist.method "GET,POST" In order to change the error message shown to blocked users, you can use the directive "dnsblacklist.message" in this way: dnsblacklist.message "Your custom message" ...and now fly light ;)
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial







Recent comments
15 hours 52 min ago
16 hours 59 min ago
17 hours 33 min ago
21 hours 27 min ago
22 hours 27 min ago
1 day 23 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 10 hours ago
1 day 17 hours ago