-
-
Notifications
You must be signed in to change notification settings - Fork 424
NUT server listens on the wrong IPv6 address #3417
Copy link
Copy link
Open
Labels
Connection stability issuesIssues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over timeIssues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over timeimpacts-release-2.8.5Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)service/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/DebugGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Milestone
Metadata
Metadata
Assignees
Labels
Connection stability issuesIssues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over timeIssues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over timeimpacts-release-2.8.5Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)service/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/DebugGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
With the following example
upsd.conf:the server listens on the IPv6 address that was current when it was started but never updates when the address changes, so after awhile it ends up listening on an address that will never get any connections:
However the NUT server is still listening on whatever IPv6 address was current at the time it started (...1234), not the one that's in use now (...5678):
Perhaps the NUT server could warn about, or report an error with, using hostnames in the LISTEN entry in the presence of IPv6 addresses, or update the code to do whatever sshd, httpds, etc do to keep current with interface addresses.