bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

icmpv6 packet too big: mtu incorrectly formatted using %d instead of %u?


From: Christian Theune
Subject: icmpv6 packet too big: mtu incorrectly formatted using %d instead of %u?
Date: Fri, 20 Mar 2020 16:21:12 +0100

Hi,

I just stumbled over this today:

> root@fc60 [prod] ~ # ping6 -s 1445 rzob-router.gocept.net
> PING rzob-router.gocept.net (2a02:248:101:63::1): 1445 data bytes
> 1240 bytes from 2a02:238:1:f030::2: Packet too big, mtu=-737869824

Looking at the code this seems to be a formatting issue where ping is using a 
%d instead of %u for an unsigned 32 bit integer.

I guess nobody really does send this big MTUs so it doesn’t normally matter, 
but my ISP is doing funny things today … le sigh.

Cheers and kind regards,
Christian Theune

--
Christian Theune · address@hidden · +49 345 219401 0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Leipziger Str. 70/71 · 06108 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian Theune, Christian Zagrodnick

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]