Hi all,

I have concluded negotiation with the BBC to open source some httpd modules 
that I wrote under the AL, and the BBC have very kindly agreed to donate the 
code to the ASF[1], which I believe would fit well as subprojects of httpd, and 
would like to know whether httpd would accept these.

To be clear, this isn't a "code dump", my intention is to continue to develop 
and support this moving forward, and hopefully expand the community around them.

- mod_firehose: "tcpdump for httpd"

Based originally on mod_dumpio.c, mod_firehose is an httpd filter that writes 
the contents of a request and/or a response to a file or pipe in such a way 
that the requests can be reconstructed later using a second dedicated tool 
called "firehose".

It was initially developed to help debug restful services that were secured 
with client certificates and therefore opaque to other tools like tcpdump or 
tcpflow, but was then subsequently used to record "dirty traffic" for 
subsequent replay for the purposes of testing.

The module and the corresponding firehose demultiplexer was used to uncover 
some of the more tricky bugs in mod_cache, as well as protocol inconsistencies 
in backend services, and would prove very useful to anyone deploying restful 
services. We have also intended it to be used to create a "dark live" 
environment, where live traffic can be split off and diverted to a staging 
environment to test whether a software update works correctly.

The code is currently packaged as an RPM, wrapped in autotools, and a snapshot 
is available here:

http://people.apache.org/~minfrin/bbc-donated/mod_firehose/
http://people.apache.org/~minfrin/bbc-donated/firehose/

The corresponding README documenting in more detail is here:

http://people.apache.org/~minfrin/bbc-donated/mod_firehose/README

The code itself is here:

http://people.apache.org/~minfrin/bbc-donated/mod_firehose/mod_firehose.c
http://people.apache.org/~minfrin/bbc-donated/firehose/firehose.c

Obviously the expectation is for the documentation to be completed and fleshed 
out.

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=52322

Regards,
Graham
--

Reply via email to