Displaying 6 results from an estimated 6 matches for "inaddr6_any".
Did you mean:
in6addr_any
2023 Aug 05
2
Question on simultaneous IPv4 and IPv6 "any address" listening
Cheers all,
TL;DR version:
I've recently found that at least on my test box the `LISTEN *` line had
only set up an IPv4 `0.0.0.0` listener but not an IPv6 `::0` listener for
`upsd`. In fact, at least on a "dual-stack" system, it seems impossible to
bind to both - so depending on binding order I either lose IPv6 or lose
IPv4 directly (but have it practically as IPv4-over-IPv6).
2023 Aug 05
2
Question on simultaneous IPv4 and IPv6 "any address" listening
Cheers all,
TL;DR version:
I've recently found that at least on my test box the `LISTEN *` line had
only set up an IPv4 `0.0.0.0` listener but not an IPv6 `::0` listener for
`upsd`. In fact, at least on a "dual-stack" system, it seems impossible to
bind to both - so depending on binding order I either lose IPv6 or lose
IPv4 directly (but have it practically as IPv4-over-IPv6).
2023 Aug 05
1
Question on simultaneous IPv4 and IPv6 "any address" listening
...s a real
error? need to figure out if v6only=0 systems some try to map
this. The point being not to fight os/sysadmin choice even if
misguided :-)
else:
error log that v4 bind failed
and LISTEN * should
#ifdef v6 at compile time
open a socket and bind to INADDR6_ANY:3493
error log that v6 bind failed
#endif
open a socket and bind to INADDR_ANY:3493
if error:
if there is a v6 socket:
debug log that v4 bind failed
else:
error log that v4 bind failed
> Detailed musing and logs are posted in
> https://github.c...
2023 Aug 05
1
Question on simultaneous IPv4 and IPv6 "any address" listening
...s a real
error? need to figure out if v6only=0 systems some try to map
this. The point being not to fight os/sysadmin choice even if
misguided :-)
else:
error log that v4 bind failed
and LISTEN * should
#ifdef v6 at compile time
open a socket and bind to INADDR6_ANY:3493
error log that v6 bind failed
#endif
open a socket and bind to INADDR_ANY:3493
if error:
if there is a v6 socket:
debug log that v4 bind failed
else:
error log that v4 bind failed
> Detailed musing and logs are posted in
> https://github.c...
2023 Aug 06
1
Question on simultaneous IPv4 and IPv6 "any address" listening
...if v6only=0 systems some try to map
> this. The point being not to fight os/sysadmin choice even if
> misguided :-)
> else:
> error log that v4 bind failed
>
> and LISTEN * should
>
> #ifdef v6 at compile time
> open a socket and bind to INADDR6_ANY:3493
> error log that v6 bind failed
> #endif
>
> open a socket and bind to INADDR_ANY:3493
> if error:
> if there is a v6 socket:
> debug log that v4 bind failed
> else:
> error log that v4 bind failed
>
>
>
>
> >...
2023 Aug 06
1
Question on simultaneous IPv4 and IPv6 "any address" listening
...if v6only=0 systems some try to map
> this. The point being not to fight os/sysadmin choice even if
> misguided :-)
> else:
> error log that v4 bind failed
>
> and LISTEN * should
>
> #ifdef v6 at compile time
> open a socket and bind to INADDR6_ANY:3493
> error log that v6 bind failed
> #endif
>
> open a socket and bind to INADDR_ANY:3493
> if error:
> if there is a v6 socket:
> debug log that v4 bind failed
> else:
> error log that v4 bind failed
>
>
>
>
> >...