Related link: http://www.visi.com/~cpj1/code/log_rp.html
One thing I’m working on this summer is finishing up a couple of personal coding projects I left dangling for the past few months. This week, I decided to release the mod_log_remote_port module for Apache.
It started out as a code patch to mod_log_config that I wrote about in an O’Reilly article. This week, I took it and turned it into a standalone module. It has been tested as both a static and shared library build, but I’ll admit that it’s been about 2 years since I’ve really had to crank out C code in significant quantities.
If you need it, test it out and let me know how it works. It might be better in the long run to submit this as a code patch to Apache, so I may convert the whole thing into a bug report.