Logging POST requests

Started by nordado, April 12, 2022, 08:02:04 PM

Previous topic - Next topic
Hi everyone, nice to be part of this amazing community!

Any ideas or suggestions on how I could log the connections http post with the body of the message?

I logging all things and sending to elk plataform.

Thks people!

The spelling mistakes do not matter. But please elaborate on what you exactly want to accomplish.

i using pfw to log all denied rules on wan ok, it`s cool. but on lan output, i using the zenarmor and zenarmos just logging the path of URI and nothing about body request.

I wanted ideas or improvements for me to be able to get these body from requests

never used zenarmor. But note that 99% of the internet is encrypted nowadays (https). The only part the router can inspect is DNS requests and the SNI header (the domain, like: www.youtube.com). If you really want to inspect content you have to create a MitM setup and you have to add custom certificates to your browser.
You have to add those for ALL devices (phones/tablets/etc). In most cases not even possible.

If you really mean "http" then more should be possible to inspect.