From Newsgroup: comp.protocols.time.ntp
--000000000000945198063ddaa429
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi James,
Thanks for your reply.
Initially I had 4.2.8.p12 client. It was sending MAC of size 20 bytes along with keyid 4 bytes. But for that, the p18 server reported error "MAC
length error, received 24 not 36".
Assuming the p18 expects MAC without truncation I tried p18 for client. Now having p18 client and p18 server.
P18 client sending 32 plus 4. But p18 server reporting "bad EF length".
Thanks,
Murugesh
On Wed, 3 Sept, 2025, 5:32=E2=80=AFam James Browning, <
pessimus192@gmail.co=
wrote:
On Mon, Sep 1, 2025, 03:21 murugesh pitchaiah <
murugesh.pitchaiah@gmail.com> wrote:
Why is the server rejecting this mac ? should MAC be reduced to 20 bytes =
?
The MAC is too long and it should be trucated to 16 or 20 bytes long.
Why is the same p18 version in client and server not compatible ?
I do not know, my best guess is that the code missed a truncation.
--000000000000945198063ddaa429
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">Hi James,<div dir=3D"auto"><br></div><div dir=3D"auto">Th= anks for your reply.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"aut= o">Initially I had 4.2.8.p12 client. It was sending MAC of size 20 bytes al= ong with keyid 4 bytes.=C2=A0 But for that, the p18 server reported error &= quot;MAC length error, received 24 not 36".</div><div dir=3D"auto"><br= ></div><div dir=3D"auto">Assuming the p18 expects MAC without truncation I = tried p18 for client. Now having p18 client and p18 server.</div><div dir= =3D"auto"><br></div><div dir=3D"auto">P18 client sending 32 plus 4. But p18=
server reporting "bad EF length".</div><div dir=3D"auto"><br></d= iv><div dir=3D"auto">Thanks,=C2=A0</div><div dir=3D"auto">Murugesh</div></d= iv><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" cl= ass=3D"gmail_attr">On Wed, 3 Sept, 2025, 5:32=E2=80=AFam James Browning, &l= t;<a href=3D"mailto:
pessimus192@gmail.com">
pessimus192@gmail.com</a>> wr= ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto"><div><div cl= ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 1, 20= 25, 03:21 murugesh pitchaiah <<a href=3D"mailto:murugesh.pitchaiah@gmail= .com" target=3D"_blank" rel=3D"noreferrer">
murugesh.pitchaiah@gmail.com</a>= > wrote:</div><div dir=3D"ltr" class=3D"gmail_attr"><br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol= id;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir= =3D"ltr"><div>Why is the server rejecting this mac ? should MAC be reduced =
to 20 bytes ?</div></div></div></div></blockquote></div></div><div dir=3D"a= uto"><br></div><div dir=3D"auto">The MAC is too long and it should be truca= ted to 16 or 20 bytes long.</div><div dir=3D"auto"><br></div><div dir=3D"au= to"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"l= tr"><div class=3D"gmail_quote"><div dir=3D"ltr"><div>Why is the same p18 ve= rsion in client and server not compatible ?</div></div></div></div></blockq= uote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">I do not kno=
w, my best guess is that the code missed a truncation.</div><div dir=3D"aut= o"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"ma= rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt= r"><div class=3D"gmail_quote">
</div></div>
</blockquote></div></div></div>
</blockquote></div>
--000000000000945198063ddaa429--
--- Synchronet 3.21a-Linux NewsLink 1.2