!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

914 Members
Declaratively manage your switching, routing, wireless, tunneling and more.265 Servers

Load older messages


SenderMessageTime
24 Jun 2025
@emilazy:matrix.orgemilyoh, this guy wrote one of them :)12:54:08
@emilazy:matrix.orgemilyso maybe I'm being too cynical12:54:17
@hexa:lossy.networkhexaclients will likely use a bpf program for 464xlat12:54:36
@hexa:lossy.networkhexatranslators? I tend to use jool12:54:58
@emilazy:matrix.orgemilyAIUI the Android BPF program still needs a helper daemon to handle checksum-neutral address assignment and translation of "weird" packets12:57:06
@emilazy:matrix.orgemilythe latter could probably be solved by extending the BPF program?12:57:14
@emilazy:matrix.orgemilyI like Tundra's thing where it does stateless NAT64 by relying on the kernel NAT66 to service multiple hosts12:57:52
@emilazy:matrix.orgemilyI think you could ideally do BPF + kernel NAT66 for that12:58:12
@emilazy:matrix.orgemily https://github.com/systemd/systemd/issues/23674#issuecomment-2625544068 is my source for in-kernel CLAT being worked on 12:59:27
@emilazy:matrix.orgemilyas of half a year ago12:59:29
@emilazy:matrix.orgemilybut it looks like it's been taking a while :)12:59:46
@emilazy:matrix.orgemilyhttps://gist.github.com/danderson/664bf95f372acf106982bcc29ff56b53 outlines a very simple in-kernel design that would plug into NAT66 to do the whole thing13:00:22
@emilazy:matrix.orgemilyI think something like that would be ideal if the kernel is willing to take it, since it would simplify things greatly13:00:39
@emilazy:matrix.orgemilyI'm hoping to play around with the options here soon since I would like to make my home network v6-only13:01:27
@hexa:lossy.networkhexamy wifi has been ipv6-mostly (https://www.ietf.org/archive/id/draft-link-v6ops-6mops-00.html) and internet connectivity regularly breaks for my android13:02:36
@hexa:lossy.networkhexaI once debugged this down to it dropping out of the neighbor discovery group during sleep13:02:56
@emilazy:matrix.orgemily(on the NAT64 translator end mostly, since I do not yet have Linux clients connecting directly to the network and macOS and Android both do it OOTB, but if I play around with the BPF stuff or Tundra it should generalize)13:03:36
@hexa:lossy.networkhexaand we reported this back when I was on a Pixel 3a … during early covid maybe?13:03:44
@hexa:lossy.networkhexa* and we reported this to the Android team back when I was on a Pixel 3a … during early covid maybe?13:03:54
@emilazy:matrix.orgemilyI was on a Pixel 3 last year… 🤪13:04:13
@emilazy:matrix.orgemilythat's annoying though13:04:29
@emilazy:matrix.orgemilyI thought Android was pretty good at v6 at this point13:04:40
@emilazy:matrix.orgemilyis it specifically that it forgets it's v6-only?13:04:49
@hexa:lossy.networkhexait drops multicast/broadcast frames while asleep13:05:14
@hexa:lossy.networkhexaso dhcp renewals work, but ndp breaks13:05:38
@emilazy:matrix.orgemilymy hope is that I can tier things like v6 only and CLAT expected → v6 only and DNS64 server advertised → dual stack13:05:49
@hexa:lossy.networkhexahttps://mailarchive.ietf.org/arch/msg/ipv6/QgHnYoT8-ur4epJHUNflrsh7sA4/13:05:54
@emilazy:matrix.orgemilyand hopefully delay introducing the latter two as long as possible13:05:55
@hexa:lossy.networkhexa

NOTE: some good access points do b/mcast to unicast conversion, and
send everything as unicast. This is much more common in enterprise
wifi gear. This solves the mcast loss problem entirely.

13:06:02
@hexa:lossy.networkhexa🤔13:06:07

Show newer messages


Back to Room ListRoom Version: 6