News for hackers. Stuff that matters.
Re:Httptap: View HTTP/HTTPS requests made by any Linux program by tacone on Monday February 03, 2025 @12:32PM (#42920636)
Whoa, great!

Questions:

- What's the performance impact?

- Does it allow payload/headers inspection?

Re:Httptap: View HTTP/HTTPS requests made by any Linux program by alexflint on Monday February 03, 2025 @01:31PM (#42921234)
Thanks!

Haven't measured performance at all. However when I decided on the approach I looked at the performance benchmarks from tun2socks, which uses the same gVisor code that httptap uses, and it seems that pretty great performance is possible with that code. Still need to do the work of actually achieving comparable performance.

Payloads and headers can be dumped with --body and --header respectively. There is an example in the readme of doing this (just search for --body) and I'll work more on documenting this in the coming days.

Re:Httptap: View HTTP/HTTPS requests made by any Linux program by abracadaniel on Monday February 03, 2025 @01:32PM (#42921252)
I see it supports .har, but .warc support would be amazing. It's the iso standard for web archives, which would give you the ability to replay archived websites via multiple tools.
Re:Httptap: View HTTP/HTTPS requests made by any Linux program by alexflint on Monday February 03, 2025 @05:49PM (#42924461)
Fascinating, I hadn't heard of WARC - thanks for the pointer and I'll consider it.