[Dnsmasq-discuss] [PATCH] add --tftp-mtu option to set the MTU for the TFTP server

Simon Kelley simon at thekelleys.org.uk
Wed Feb 24 22:06:15 GMT 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Thanks for that.


I've somewhat reworked it so that the supplied MTU is a ceiling (ie,
you can reduce the used MTU with the option, but not increase it.)
That would seem to be safer.


In the git repo now. Please shout if I've broken things for you.



cheers,

Simon.


On 24/02/16 18:24, Patrick McLean wrote:
> Some BIOSes don't like fragmented packets, and it's useful to be
> able to netboot over MTU limited links, but it's annoying to set
> the interface MTU for only TFTP. This patch adds a tftp-mtu option
> to override getting the MTU from the interface.
> 
> 
> 
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJWzilWAAoJEBXN2mrhkTWi45oP/237SLQJbUF8fHyuNJXJWarq
NuZzBTxa0o+5CaHsCYxqn0iU3I+0Df2UCNdmRxyn6y/B2ODRggkPWJ0cuFQ9sxFZ
F434mql4jTdbg+6Kep9+LHmBmA1jUucc5Buo3CWcSRUbYU2vELoVeSqEaEHMcnCW
134ykcGKZFdp85il/yq6gNGV43dQIvACN9zt5FDMoVHZaJgpV3lxunoW28qnOmv0
XTuO9YRF8Ay7/i8eGkiBq09i4EtzIdPNKSWClJYVCBmZp6870dztCgl0J72Q426c
tlMoV8jSUuHhOkAdc2CE2Bm9U4rlxYK1HT1cpoC9KJSPbZIc39ZWBRkprFfkVkex
/iabgdoFwtZxc6I5qj9ER47Tx3Wz5Hm6VYV5xGuJCzzC9qmTTgCul+Fbv71/X3qN
fk76WCQPNibOIElJutDMZ2k0m1esuPLmY5aA6PnmulOM8gOEvp6sUeJU79BttKsE
RrbK3yG2hhj08oEq1tI7lPI2+J1t3yLXT0/66GqFloljjT50aCalOYtqngg1JafC
kyWv2C/8AEoEojn8o2nDO1Tpw9+kenfAZv3ixLM1fAMSQv3+uhnWPq6mevgvktd3
eRbmNAKFH4IEaZsM07WdzxANfiJiZYt2vRzPwYItDjBBjzTleheqkzkdQUCCFA+P
G5/idnxX3C1Wv0d+YHOS
=F8pO
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list