icmplib
icmplib copied to clipboard
TTL field and DF flag addition
Hello and thank you for your development of icmplib.
I'm using it as part of a tool for diagnostic purposes. I wanted to ask if it is possible to include these two parameters as part of future development. First one is a "df" parameter as a feature, so that if set to True, will enable the Don't Fragment flag in the IP header. Second one is a ttl return value, corresponding to the ttl field value in received packet. Or maybe there is something related to the above but I'm missing them.
Thanks again and regards.
Hi @fdauti,
Thanks for using icmplib!
Adding the DF flag should be possible. However, not having enough time to devote to icmplib at the moment, you will have to wait a bit.
For the TTL, there have been several requests in the past on this subject but I do not understand the point of retrieving this information (the remote equipment responds with an initial TTL which may vary). Moreover, not having access to the IP header in IPv6, I can only retrieve this information in IPv4.
Hi, I would also be interested in the DF bit for testing respectively verification of fragmentation in the network.
Cheers, Matthias
Good afternoon I’ll also say that I would very much like to see in the library possible checks without fragmentation.
I Opened an almost Duplicate of this for a DF flag - i think an additional option in the ICMPScoket or ICMPRequest would be the right place - would you object if I did a clone/fork and attempted to build a Pull request to add this feature, or would you prefer to keep development entirely in house ?
Closing in favor of #71.