Tracing a Changing Hostname on macOS

Motivation One day, I noticed that the title in my iTerm2 window had changed: jason@Jasons-MacBook-Pro -> jason@Mac The first title looked familiar: Jasons-MacBook-Pro was the hostname I expected to see. Mac, however, was new. I definitely didn’t remember renaming the machine to something t...

IPv6 Proxy Pool

This article is a step-by-step guide (and personal note) on how to configure an IPv6 proxy pool. It’s based on practical experiments with Debian/Ubuntu systems, with special thanks to zu1k and missuo for their excellent base guides and references. How It Works Assumptions: We have a dedicated ...

SO_BINDTODEVICE Socket Option in Linux

Motivation While working on tun2socks, I spent some time on and off looking into how to make socket traffic leave through a specific interface instead of following the routing table. This would prevent certain traffic from going through the TUN interface and getting stuck in an infinite loop. Policy...