News for hackers. Stuff that matters.
Re:tcpdump is amazing (2016) by soheil on Thursday February 02, 2023 @07:26AM (#34625605)
Yeah but it's pretty useless for tracking what https requests get made or pretty much anything that uses encryption. You can filter by https GET requests but you won't be able to see what's inside them.
Re:tcpdump is amazing (2016) by jdsnape on Thursday February 02, 2023 @07:30AM (#34625644)
you shouldn't even be able to see the method (GET/POST etc.) as that is inside the encrypted TLS body. You will be able to see timings and approximate sizes, as well as potentially the hostname from the SNI but that's about it.
Re:tcpdump is amazing (2016) by hoherd on Thursday February 02, 2023 @07:50AM (#34625816)
Sure, but https is not the only protocol. tcpdump is also pretty useless at debugging OpenGL.

https is only one protocol. There are hundreds or thousands of other protocols that tcpdump works fine with. Some of these protocols are underneath https, including tcp, which is in the name of the tool. So while tcpdump may not function as a tlsdump and can't see into your tls connection, it does a lot of other things great.

You may as well complain that your screwdriver is no good for cutting wood. Clearly you need a different tool.

Re:tcpdump is amazing (2016) by MAGZine on Thursday February 02, 2023 @08:56AM (#34626505)
i used to use tcpdump all of the of time for local development.

with everything moving to https, sometimes even local environments, it's basically been useless now however.

Re:tcpdump is amazing (2016) by password4321 on Thursday February 02, 2023 @09:51AM (#34627236)
SSLKEYLOGFILE can help.
Re:tcpdump is amazing (2016) by LinuxBender on Thursday February 02, 2023 @10:04AM (#34627437)
Re:tcpdump is amazing (2016) by benburwell on Thursday February 02, 2023 @03:24PM (#34632445)
I wrote about how I decrypt TLS streams in Wireshark for debugging purposes here: https://www.benburwell.com/posts/intercepting-golang-tls-wit...

It won't apply to every situation, but might provide some building blocks you can adapt to your environment.