Re: Is it possible to log the request body as clear text?
Fabian Keil <[email protected]> Thu, 27 Jan 2022 12:14:07 +0100
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
michael kostersitz <[email protected]> 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 _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAmHyfoAACgkQaRgikYui NxzMsg/9FU5or+pHGLDd6+W+NagiVs7Du+cPg2UUFOmdIFFHPD4JgpJVTHfzApZB 5VEWjoXdLuS/AdzlDlYY5DvPS8/9CH9a24fb/GfYvnWkE2PtkR5Wt0WVFxzmYtgt fD0kHzzsmDlXBmghh9nUdxXVrVx5UX0suaPmtqqZeP99qa//Y58OdX1WKJ/S3bNd uYFiYm+4EnuY93b7hJijjPbDEqr6dN3X6JgyBd+FUsBnrieTBpKQEQLWWiKw4T0L t+D6Nv8bPnlLRLV8n9ysWYAglbZslVt92cY9geXTi+WwL2uGmsK+qa7rl8dKa+s7 OJ1+e6KE4m69dAbQx/toFs2GlV/OfndZ0LNOFBhzZzovyNgc3ARw3UT8TsKRXz2M vd14CuIefIz6B+JPOUB4tZzmoQUD9QZJ3sEBqFUw+tlfnc0FJKJov9wxFWdgmFy5 F+TOzJYg7Cm7ek0vWgsaxJmtv4g4zTMdPr7c2hFnbITDHi4MDkP0aaz5MO64tI4x pzcdVbsaz1EUGhZW4/X1Qno4gjXSAz8oO/jZqlLKtAOtQI3zgvk4wZWh2KNS4aLF DcI+wYuytqjWsZxlh0ZNulLnsZDyAmQlK4w3DEv9EAGLLkQg8jOc/d0irBP+gEAA wDomvkApBfJJUcGcImfk0xUxad9ukHp7gJ4IAblJOxrfLlbZCnE= =YIZX -----END PGP SIGNATURE-----