Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 1999 01:05:48 +0200
From:      "Marc Schneiders" <marc@oldserver.demon.nl>
To:        <freebsd-questions@FreeBSD.ORG>
Cc:        "Rogier Wolff" <R.E.Wolff@BitWizard.nl>
Subject:   MTR: "You've got a broken (FreeBSD?) system"
Message-ID:  <061f01bef985$8aacce60$0300000a@oldserver.demon.nl>

next in thread | raw e-mail | index | archive | help
I was advised to complain to "the FreeBSD team" by the maintainer of mtr
(Matt/My Trace Route) about bad packet length in FreeBSD. Relevant portions
of the mail about the problem below. Any comment?

Marc Schneiders
marc@oldserver.demon.nl

| > Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote:
| > | Marc Schneiders wrote:
| > | > I installed mtr on a new FreeBSD 4.0 (current) system. Got the
message
| > | > mentioned in the subject. And the output is funny, not like I had it
| > before
| > | > om another machine running FreeBSD. Any suggestions?
| > |
| > | "You've got a broken (Free)bsd system" means that your OS INSISTS that
| > | mtr sends bad packets. (with the length field wrong!)
| >
| > My goodness. Is it bad for my health? Seriously, what is this all about?
| > Thought BSD was the standard for this sort of thing.
|
| Yep. Me too.
|
| The length field of the packet needs to be generated by MTR. It needs
| to be in network-byte-order. So I send a packet with say 64 bytes
| (0x40) and set the length field to 0x40 0x00 (I always forget the
| big/little endian thingy, so maybe all of this is actually the other
| way around. Forgive me...) Then BSD says: "He's sending a packet with
| 64 bytes, but sets the lenght to 16K (0x4000). That's not OK." and
| returns error. When I set the lenght to 16K (0x4000) (0x00 0x40 in
| bytes), BSD suddenly accepts the packet.
|
| Instead of returning errors, Digital Unix just crashes. Kernel crash.
| Go figure.
|
| Oh, the printf may mess up your screen. It is supposed to annoy
| you. (Is it working? ;-) You should complain to your OS vendor(read that
| word liberally) about this. Delete the "printf" line from the source,
| or change the BSD_BUG =0 line near the top of "net.c" to bsd_bug=1;
| But first complain to the freebsd team....




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?061f01bef985$8aacce60$0300000a>