Hi Petter, hi Marco, On Mo 04 Apr 2022 19:19:20 CEST, Petter Reinholdtsen wrote:
[Marco Gabriel]I couldn't find any hints that squid never binds to fe80:: addresses, so I'm a bit stuck and don't know if this may be a bug or works as designed.My guess is that you need to specify the network interface using the % notation, something like this: ping6 fe80::aaaa:bbbb:cccc:dddd%eth0 Or did Linux fix the addressing of link local addresses to no longer need the interface included in the address?
nope, link-local IPv6 addresses are always related to a specific interface. This is btw. not at all Linux related, IMHO. (Or is it?)
The challenge is that fe80:: is always the link-local prefix, for all link-local networks/interfaces on the same host. So, sending packets to a link-local address always requires the outgoing network interface to be specified with the packet send request.
Mike PS: root@tjener:~# nmap -6 -p 3128 fe80::5054:ff:fef3:c9f%eth0 Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-05 11:34 CEST Nmap scan report for fe80::5054:ff:fef3:c9f Host is up (0.00012s latency). PORT STATE SERVICE 3128/tcp open squid-http Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: email@example.com, http://das-netzwerkteam.de
Description: Digitale PGP-Signatur