Re:Httptap: View HTTP/HTTPS requests made by any Linux program
by maxmcd on Monday February 03, 2025 @02:14PM
(#42921671)
Do you know if it's possible to get this working on macos? I believe Tailscale uses gvisor's tcp/ip lib (as their netstack lib) on macos for certain things.
[ Parent
| on HN ]
Re:Httptap: View HTTP/HTTPS requests made by any Linux program
by mdaniel on Monday February 03, 2025 @02:53PM
(#42922112)
Does Darwin have network namespaces like the Linux kernel does? I get the impression that's an important component of this approach
Re:Httptap: View HTTP/HTTPS requests made by any Linux program
by maxmcd on Monday February 03, 2025 @03:02PM
(#42922214)
Yes, good point, maybe that is the blocker.
Re:Httptap: View HTTP/HTTPS requests made by any Linux program
by jshier on Monday February 03, 2025 @04:03PM
(#42923080)
No network namespaces, but the various Network Extension APIs might be able to do this, though it's difficult. RocketSim (I'm unaffiliated, just an example) recently added a simulator-specific network throttle (to replace the system-wide Network Link Conditioner Apple ships) using a content filter extension. Even though this is a system-wide API, it seems you can limit its impact to a single app. And it seemed to properly compose with Proxyman and Cloudflare's Warp VPN at the same time, so perhaps it could be a general solution.