Re: Squid not listening on IPv6 fe80:: link-local address
[Mike Gabriel]
> nope, link-local IPv6 addresses are always related to a specific
> interface. This is btw. not at all Linux related, IMHO. (Or is it?)
Well, kind of. On FreeBSD, ifconfig show the interface address with the
percent appendage, making it a lot easier to test if the address work,
as one can just cut-n-paste the address directly to ping. Also,
FreeBSD ping handle both IPv4 and IPv6, so no need to remember to use
ping6 for IPv6 addresses.
> 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.
Yeah.
> 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
Good. :)
--
Happy hacking
Petter Reinholdtsen
Reply to: