[Privoxy-users] Is it possible to log the request body as clear text?
Fabian Keil
fk at fabiankeil.de
Thu Jan 27 11:14:07 UTC 2022
michael kostersitz <mike at kostersitz.me> wrote on 2022-01-19 at 22:53:22:
> I love privoxy and it helped me debug a bunch of issues already.
Great.
> Especially the https-inspection feature is a life saver. I would like to
> have an action where I can log the body as clear text for each request
> as well as the full URL. So far I only get the domain name and if I turn
> on “log all data sent/received to/from the network” I get the Hex dump
> of the packets.
>
> Is it possible to log the decrypted packet as clear text?
This is currently not possible, just like it's not possible
to log the server response as "clear text".
The bodies can become large and to log them in clear text
Privoxy would have to completely buffer them first.
It's also not clear to me how Privoxy should log bytes like
\r and \n etc. in "clear text".
I'm not sure why you "only get the domain name", though.
Enabling "debug 512" should result in the whole URL being logged
like this:
127.0.0.1 - - [27/Jan/2022:12:03:48 +0100] "POST https://www.electrobsd.org/test/overwrite-test-value HTTP/1.1" 200 146
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20220127/fbe81ffc/attachment.bin>
More information about the Privoxy-users
mailing list