I was hoping to test the insertion of headers in version 9. Maybe I’m just too thick to figure it all out, but I need some help. I would like a rule to insert the CLIENT HTTP headers similar to the way they were inserted in version 4.6.2. I was hoping it was something simple like:
when HTTP_REQUEST {
HTTP::header insert ORIG_CLIENT_IP [IP::remote_addr]
HTTP::header insert_modssl_fields {subject, issuer}
}
but all I get is complaints from the gui that I have not supplied enough arguments or maybe I have too many arguments, it just says “wrong number of arguments”. The manual doesn’t seem to have any listing of valid options. And the syntax in the manual is hard to decipher (there doesn’t seem to be a syntax key anywhere).
Could someone point me in the right direction. Ii basically want all the info that I got in version 4.6, and I don’t care if the client cert is valid or not, just dump the headers in modSSL format.
Thanks,
Jake