Skip to content

Entries tagged "apache".

Listing your own customers in Spamhaus RBL

Recently I had problems with a web server denying connections (HTTP error 406) from a certain IP address.
At first I thought it was because of some wacky firewall or tcpwrapper rule.
I couldn't be more wrong - It was mod_security verifying the remote IP against Spamhaus RBL...
While it may seem like a good idea at first, turns out it is not:
1. Because it slows down the request (as Apache has to lookup IPs against the RBL all the time).
2. Some IPs are in a RBL for the wrong reason.

As it turns out that particular IP belongs to BT,
and BT in their infinite wisdom decided to list in Spamhaus a good part of their IP space... Cool, huh?
More info here (and a screenshot for posterity here).
You got to love the corporations!

mod_substitute in rhel/centos 5

Apparently mod_substitute has finally been backported into rhel 5:
Transaction Check Error:
  file /usr/lib64/httpd/modules/mod_substitute.so from install of httpd-2.2.3-43.el5.centos.3.x86_64 conflicts with file from package mod_substitute-2.2.11-1.el5.ld.x86_64

No need for 3rd party repos for this module anymore. Hurray! :-)