syncthing/lib/connections
bt90 467522d04d
lib/connections: Allow IPv6 ULA in discovery announcements (fixes #7456) (#9048)
The allowed IPv4 ranges are the same as before. But we now also accept IPv6 addresses in the ULA range FC00::/7. These addresses don't require an interface identifier and are roughly equivalent to the IPv4 private ranges.

Typical usecases:

VPN interface IPs: Wireguard, OpenVPN, Tailscale, ...
fixed IPv6 LAN addressing while the provider assigns a dynamic prefix. e.g used by pihole
https://cs.opensource.google/go/go/+/refs/tags/go1.21.0:src/net/ip.go;l=146
2023-08-23 12:28:48 +02:00
..
mocks lib: Use counterfeiter to mock interfaces in tests (#7375) 2021-03-03 08:53:50 +01:00
registry lib: Removal global connection registry (#8254) 2022-04-09 16:04:56 +02:00
connections_test.go all: Correct various typos (#8870) 2023-05-09 08:54:02 +02:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
deprecated.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
dialqueue.go lib/config, lib/connections: Add optional connection limits (fixes #7176) (#7223) 2021-01-11 15:14:44 +01:00
dialqueue_test.go all: Fix various user-facing and non-user-facing typos (#8509) 2022-08-23 15:44:11 +02:00
lan_test.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
limiter.go all: Use new Go 1.19 atomic types (#8772) 2023-02-07 12:07:34 +01:00
limiter_test.go all: Use new Go 1.19 atomic types (#8772) 2023-02-07 12:07:34 +01:00
quic_dial.go all: Use Go 1.21, new QUIC API (#9040) 2023-08-21 15:25:52 +02:00
quic_listen.go all: Use Go 1.21, new QUIC API (#9040) 2023-08-21 15:25:52 +02:00
quic_misc.go all: Use Go 1.21, new QUIC API (#9040) 2023-08-21 15:25:52 +02:00
quic_unsupported.go lib/connections: Fix building with `-tags noquic` (#9009) 2023-07-28 10:08:50 +00:00
relay_dial.go all: unused parameter should be replaced by underscore (#8989) 2023-07-18 14:33:13 +00:00
relay_listen.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
service.go all: Remove lib/util package (#9049) 2023-08-21 19:44:33 +02:00
structs.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
tcp_dial.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
tcp_listen.go all: fix unused method receiver (#8988) 2023-07-18 14:34:50 +00:00
util.go lib/connections: Allow IPv6 ULA in discovery announcements (fixes #7456) (#9048) 2023-08-23 12:28:48 +02:00