You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/netns
Aaron Klotz 655b4f8fc5 net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses
I updated the address parsing stuff to return a specific error for
unspecified hosts passed as empty strings, and look for that
when logging errors. I explicitly did not make parseAddress return a
netip.Addr containing an unspecified address because at this layer,
in the absence of any host, we don't necessarily know the address
family we're dealing with.

For the purposes of this code I think this is fine, at least until
we implement #12588.

Fixes #12979

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 months ago
..
mksyscall.go net/netns: add Windows support for bind-to-interface-by-route 5 months ago
netns.go net/netns: add Windows support for bind-to-interface-by-route 5 months ago
netns_android.go
netns_darwin.go net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 3 months ago
netns_darwin_test.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 7 months ago
netns_default.go
netns_dw.go net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 3 months ago
netns_linux.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 7 months ago
netns_linux_test.go
netns_test.go
netns_windows.go net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 3 months ago
netns_windows_test.go net/netns: add Windows support for bind-to-interface-by-route 5 months ago
socks.go
zsyscall_windows.go net/netns: add Windows support for bind-to-interface-by-route 5 months ago