<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: alexflint</title><link>https://news.ycombinator.com/user?id=alexflint</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 13 Apr 2026 16:40:04 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=alexflint" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Thanks! Yeah linux network namespaces are a powerhouse that we're only just starting to fully utilize (outside of containerization).</p>
]]></description><pubDate>Tue, 04 Feb 2025 13:08:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=42931842</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42931842</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42931842</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Thank you! mitmproxy is fantastic - thanks for all the work that's gone into that project. Maybe we can get in touch and chat about all this stuff.</p>
]]></description><pubDate>Mon, 03 Feb 2025 22:59:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=42924573</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42924573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42924573</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Nothing at all!<p>You <i>do</i> need write access to /dev/net/tun. This is standard for all users for the distros that I've looked into, but it is ultimately a distro-specific thing.</p>
]]></description><pubDate>Mon, 03 Feb 2025 22:55:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=42924528</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42924528</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42924528</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Unfortunately TLS happens inside the the application, not in the kernel, so using eBPF to hook syscalls to write won't help with TLS decryption.</p>
]]></description><pubDate>Mon, 03 Feb 2025 22:52:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=42924500</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42924500</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42924500</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Fascinating, I hadn't heard of WARC - thanks for the pointer and I'll consider it.</p>
]]></description><pubDate>Mon, 03 Feb 2025 22:49:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=42924461</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42924461</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42924461</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Yeah that photo is real! That's where I live!<p>Yes, it's true, actually doing it is hard, but to be honest not as hard as a lot of other stuff (getting a phd for example, or goodness gracious buying a house in San Francisco). I love getting up early. I love living out in nature. I love chanting and eating meals together and making a version of Buddhism for AI systems!<p>If you're interested in what it's like, we have written a bunch of very short few-paragraph stories about our time at MAPLE here: <a href="https://tales.monasticacademy.org/" rel="nofollow">https://tales.monasticacademy.org/</a></p>
]]></description><pubDate>Mon, 03 Feb 2025 21:38:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923566</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923566</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923566</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Wireshark is awesome but yeah as others mentioned it's the TLS decryption piece that is difficult in that workflow</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:24:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923396</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923396</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923396</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Woah, this is super helpful info. Thanks. That sounds like a real possibility for a macOS port actually.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:22:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923373</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923373</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923373</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>This is a very interesting possibility actually. Not 100% sure what the implication would be but maybe there is something here.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:21:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923350</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923350</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923350</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Yeah mitmproxy is great. The main difference with httptap is that it's an HTTP proxy server, so you have to configure your program to use a proxy server. When I wrote httptap I wanted to be able to run `httptap <command>` and see the httptraces right there in standard output. There is an absolute ton of cool things that mitmproxy can do that httptap is not even close to, like interactively modifying HTTP requests and such. Very cool project.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:19:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923311</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923311</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923311</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Thanks!<p>I did try this with firefox but it doesn't work right now due to (I think) the user namespace messing with user IDs. I think I should be able to fix this, though. I will have to try it with other desktop apps soon too...</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:14:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923236</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923236</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923236</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Same here actually -- have wanted this from time to time for years. Finally sat down and worked it out.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:12:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923212</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923212</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923212</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Yep. This is the first time I've mentioned this but there are actually two implementations of this in the codebase -- one uses gVisor and one is an incredibly bare-bones TCP implementation that I wrote myself in 550 lines of Go code (tcp.go). The home-grown one isn't used by default and it doesn't support much of TCP proper, but it actually works pretty well. You can use it with `--stack=homegrown`.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:11:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923195</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923195</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923195</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Very cool! Would love to hear how it goes, especially any features that would be useful in the context of real-world usage.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:07:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923139</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923139</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923139</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Yep, mitmproxy is fantastic IMO.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:05:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923115</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923115</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923115</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Yeah learning about gVisor was one of the most fun parts of this project. The gVisor devs are incredibly helpful. If you look through the gvisor-users mailing list you'll see me asking them various questions about this and they really helped out a bunch with some incredibly thorough answers.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:03:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923089</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923089</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923089</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Interesting. Care to share any info about your setup? Would it be a matter of httptap reading a certain environment variable and then forwarding traffic to a SOCKS proxy?<p>FWIW there is also the excellent tun2socks (<a href="https://github.com/xjasonlyu/tun2socks">https://github.com/xjasonlyu/tun2socks</a>), which was a significant inspiration for this project, and is specifically designed to forward traffic from a TUN device to a SOCKS proxy.</p>
]]></description><pubDate>Mon, 03 Feb 2025 21:00:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923039</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923039</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923039</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Thanks! But yep I agree, you're exactly right, it's ultimately... frustrating that there isn't really an agreed-upon or system-enforced way to specify CA roots to an arbitrary process.<p>It's true that httptap mounts an overlay on /etc/resolv.conf. This is, as you'd expect, due to the also-sort-of-frustrating situation with respect to DNS resolution in which, like CA roots, there isn't a truly reliable way to tell an arbitrary process what DNS server to use, but /etc/resolv.conf is a pretty good bet. As soon as you put a process into a network namespace you have to provide it with DNS resolution because it can no longer access localhost:53, which is the systemd resolver, which is the most common setup now on desktop linux systems.<p>I do think it might help to mount /etc/ca-certificates as an overlay. When I started looking into the structure of that directory I was kind of dismayed... it's incredibly inconsistent from one distro to the next. Still, it's doable. Interested in any knowledge you might be able to share about how to add a cert to that directory in a way that would be picked up by at least some TLS implementations.</p>
]]></description><pubDate>Mon, 03 Feb 2025 20:58:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=42923006</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42923006</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42923006</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Very good to know about. But you still have the problem of decrypting TLS traffic.</p>
]]></description><pubDate>Mon, 03 Feb 2025 19:44:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=42922003</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42922003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42922003</guid></item><item><title><![CDATA[New comment by alexflint in "Httptap: View HTTP/HTTPS requests made by any Linux program"]]></title><description><![CDATA[
<p>Wow, did not know about this!</p>
]]></description><pubDate>Mon, 03 Feb 2025 19:43:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=42921990</link><dc:creator>alexflint</dc:creator><comments>https://news.ycombinator.com/item?id=42921990</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42921990</guid></item></channel></rss>