Re: NSD logging control connection when using a filesystem socket

Wouter Wijngaards <[email protected]>
Newsgroups gmane.network.dns.nsd.general
Message-ID <[email protected]>
Hi Anand,

On 08/13/2018 03:03 PM, Anand Buddhdev wrote:
> Hi NSD developers,
> 
> I'm using the new filesystem socket feature of NSD 4.1.24 to control it,
> and I've noticed this in the log:

Yes that is not right, it printed the addr variable but it has no
contents when a unix socket is used.  Instead I have fixed it to print
the local socket path name (if it is a local socket).  The fix is in the
code repository.  Thanks for the report!

Best regards, Wouter

> 
> [2018-08-13 12:55:37.861] nsd[26856]: info: new control connection from
> 0.0.0.0
> [2018-08-13 12:55:37.862] nsd[26856]: info: control cmd:  transfer
> [2018-08-13 12:56:39.501] nsd[26856]: info: new control connection from
> 0.0.1.0
> [2018-08-13 12:56:39.501] nsd[26856]: info: control cmd:  status
> [2018-08-13 13:00:15.481] nsd[26856]: info: new control connection from
> 0.0.1.0
> [2018-08-13 13:00:15.481] nsd[26856]: info: control cmd:  transfer
> [2018-08-13 13:00:19.921] nsd[26856]: info: new control connection from
> 19.0.0.0
> [2018-08-13 13:00:19.921] nsd[26856]: info: control cmd:  status
> 
> Notice the "new control connection from ..." lines. They look like IP
> addresses, and they're not consistent (0.0.0.0, 0.0.1.0, 19.0.0.0). Is
> this a bug?
> 
> Anand
> _______________________________________________
> nsd-users mailing list
> [email protected]
> https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>

_______________________________________________
nsd-users mailing list
[email protected]
https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE7fqj8spObrBWga+On28cLX4EX40FAltxhrMACgkQn28cLX4E
X42UnA/8DyhdyMRATJD024xzx/rgzt0F+0z4WDNbp28IA+15hBBQh3r1YV2H3Fs7
AH2LzsNQjczXFLUbeuu7dwL0aeqN7goQSCKeVIqObDMYrpBNf31FjTvixUOhhBlm
0S1GpcojVWJDzPrAZRIP7bbrPmAnnkaHtUdljSkMvf3AWAg+AjISvUZy8+otb4AT
M4Nerwt9Bljzn9mvMimyF7xPeN08voc+E3CZGpT9KsMGsx+TpVPBo8V5fnrl8ihI
ryP+TcFDuODse/GMRFuxOmXoSza4ThXxywr3WvnMmwf3j3zYUjDEK0wq7LVHNkUF
/ug019NiRiJExW9PW+djgLdszQuFTLctJxsWK9+ovaMuasFQaJxwbXkux+sNgng8
QAd6kcqy8mQXPetZ4a7LvC9v1K7OVP7vQav9nRwfcHXaLMX+J3nlH3wNDrHkYvff
/VaattgCJekGpTy/t3R5upSczgJ1j90nFUycljgsB2KCDHHwB/vSwhrwLKQXMab+
EnwLWHZLO8kxIbEz1vNh6THqdEdLH8L9zvPBrdRDtXAqeh50g+BzzTiYxO9I0SmI
Eq46HQNC0kOUXUbdIltYOqWoN0Vghg6vWqHELr41Umz+x6bRh8PFZauaebRIE2L/
fjuFXWZc8h5COHjtJGkruvhssTvpZw20V5povvVjskzzl1Defcc=
=fiU9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.