You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ICMP protocol contains flags to prevent Fragmentation, and when the DF flag is set (and a router then rejects the packet due to its size (ie no onward route that will accept that size MTU), the router is supposed to send a Route Unavaialbe message back, which states the maximum MTU that the route can take.
Therefore by using the DF flag and the return value from the ICMP reply, it should be possible to do PMTU discovery for a remote destination.
Currently the only way to set the flags is to use sockets and setsocket_opts, which is a shame when icmplib does so much else already.
The text was updated successfully, but these errors were encountered:
The ICMP protocol contains flags to prevent Fragmentation, and when the DF flag is set (and a router then rejects the packet due to its size (ie no onward route that will accept that size MTU), the router is supposed to send a Route Unavaialbe message back, which states the maximum MTU that the route can take.
Therefore by using the DF flag and the return value from the ICMP reply, it should be possible to do PMTU discovery for a remote destination.
Currently the only way to set the flags is to use sockets and setsocket_opts, which is a shame when icmplib does so much else already.
The text was updated successfully, but these errors were encountered: