[Privoxy-users] Is it possible to log the request body as clear text?
michael kostersitz
mike at kostersitz.me
Thu Jan 27 17:33:46 UTC 2022
Thanks for the response. I was thinking the same with the buffering limitation and was thinking maybe doing that on a separate thread i.e. fork the request and response internally so the delay does not impact client server comms but only the logging speed.
Regarding why I am only seeing the domain I am not sure.
My client makes REST API POST and GET requests for the most part over HTTPS and I never see the full path of the request.
I would have loved to see the payload like in a Fiddler type trace but that is fine. Getting the full URL should be enough.
I will try again with debug 512.
Mike
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
From: Fabian Keil<mailto:fk at fabiankeil.de>
Sent: Thursday, January 27, 2022 03:14
To: privoxy-users at lists.privoxy.org<mailto:privoxy-users at lists.privoxy.org>
Cc: michael kostersitz<mailto:mike at kostersitz.me>
Subject: Re: [Privoxy-users] Is it possible to log the request body as clear text?
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
More information about the Privoxy-users
mailing list