News for hackers. Stuff that matters.
Re:Enabling IPv6 support for IPv4-only apps on Linux by zekica on Wednesday October 04, 2023 @03:12AM (#37761852)
If the network already supports NAT64 I would use CLAT running on the system. That way you don't need LD_PRELOAD.
Re:Enabling IPv6 support for IPv4-only apps on Linux by Kaxo on Wednesday October 04, 2023 @03:39AM (#37762064)
I feel the exact opposite. I've recently been experimenting with ipv6 only via NAT64/DNS64 and run into the same problem (with steam trying to connect out to hard-coded ipv4 addresses).

I started to look into CLAT and really didn't want to have to go through the hassle of a whole new virtual interface with routes etc, when one single app can't just pass a couple different args to connect().

I actually had thought about trying to write something exactly like this myself.

I'm glad to learn it already exists.