[Nut-upsuser] Is UPSD necessary for average users?

David N Melik dchmelik at hipplanet.com
Mon Nov 4 04:33:25 UTC 2013


On Wed, 16 Oct 2013 08:19:11 +0100
Chris Boot <bootc at bootc.net> wrote:
> >> > I forgot to mention: by default, NUT listens on localhost. If
> >> > you are using Linux, you could add a "-m owner --uid-owner" rule
> >> > to iptables to only match the UID for the NUT system user.
> >
> > Thanks; if it listens on localhost by default, that is enough for
> > me, though I recall that is not as secure as listening on 127.0.0.1.
> 
> 127.0.0.1 *is* localhost.

For some programs, either 'localhost' can mean more than '127.0.0.1' to
the extent it is suggested to change settings to '127.0.0.1', or that
is also done because of what is easier to spoof... but I have even seen
someone on IRC with a hostmask like 'username at 127.0.0.1'.

I would still like to know if running UPSD on a port is essential,
rather than not having a port... crond and atd, for example, do not
need ports, so why would UPSD?





More information about the Nut-upsuser mailing list