Displaying 6 results from an estimated 6 matches for "piv4".
Did you mean:
ipv4
2023 Aug 06
1
Question on simultaneous IPv4 and IPv6 "any address" listening
...013 and seems to not upset CI
on any platform, including Windows (which behaves funny WRT binding to the
same host:port as many times as you ask).
Ultimately the chosen logic is that if there was a `LISTEN * <port>` in
`upsd.conf`, the depending on CLI settings (-4/-6) or lack thereof we try
PIv4, IPv6 or both, with the bigger logic for "both" being:
* try to get IPv4 "ANY", to know we can do so
* release IPv4, try to get IPv6 and then IPv4 again
If in the end neither socket works, declare a fatal error (could not
fulfill the config requirement).
If we could get IPv4 in...
2023 Aug 06
1
Question on simultaneous IPv4 and IPv6 "any address" listening
...013 and seems to not upset CI
on any platform, including Windows (which behaves funny WRT binding to the
same host:port as many times as you ask).
Ultimately the chosen logic is that if there was a `LISTEN * <port>` in
`upsd.conf`, the depending on CLI settings (-4/-6) or lack thereof we try
PIv4, IPv6 or both, with the bigger logic for "both" being:
* try to get IPv4 "ANY", to know we can do so
* release IPv4, try to get IPv6 and then IPv4 again
If in the end neither socket works, declare a fatal error (could not
fulfill the config requirement).
If we could get IPv4 in...
2023 Aug 05
1
Question on simultaneous IPv4 and IPv6 "any address" listening
Jim Klimov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes:
> 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`.
Interesting. On one system I checked, I have 4 explicit directives for
127.0.0.1, ::1, and the LAN on v4/v6. On another, I have an empty
2023 Aug 05
1
Question on simultaneous IPv4 and IPv6 "any address" listening
Jim Klimov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes:
> 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`.
Interesting. On one system I checked, I have 4 explicit directives for
127.0.0.1, ::1, and the LAN on v4/v6. On another, I have an empty
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).