MSSNTP issue.

Hal Murray hmurray at megapathdsl.net
Mon Aug 3 10:24:25 UTC 2020


> Strace to the ntp_sign socket (it seems to work to me):
> socket(AF_UNIX, SOCK_STREAM, 0)         = 4
> connect(4, {sa_family=AF_UNIX, sun_path="/var/lib/samba/ntp_signd/socket"}, 110) = 0
> write(4, "\0\0\0@", 4)                  = 4
> write(4, "\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0$\2\10\363\0\0\7{\0\0\360\254\301\314r\350"..., 64) = 64
> read(4, "\0\0\0\f", 4)                  = 4
> read(4, "\0\0\0\0\0\0\0\4\0\0\1\0", 12) = 12
> close(4)                                = 0

The comments in the code indicate that the read/write pattern is a 4 byte length, then the data.  That matches on the write, but the read doesn't match.  The read length is 15 decimal but it only asks for 12 bytes of data which is what it gets.  I haven't figured out how 15 gets turned into 12.

Does tcpdump show anything interesting?



-- 
These are my opinions.  I hate spam.





More information about the users mailing list