there are probably tools that do that, but I have none
in mind.

what you can do is send packets with the "DF" bit set, using
large MTUs, and if you get an icmp error caused by
"fragmentation neede but DF set", then you know it's too high...
before I forget: you need raw sockets here...

take a look at Stevens source code for "Unix Network Programming"
on http://www.kohala.com/start/.


cheers,
mouss

At 09:14 23/11/00 +0100, Achim Dreyer wrote:
>Hy all,
>
>I KNOW this is the WRONG mailing list to ask, but I haven't got
>a clue where to ask..
>
>Has anybody a small snippet of source code (C/C++/java) for mtu
>discovery ? I'm looking for something similar to traceroute but
>with mtu sizes instead of answer times..

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to