]> git.ipfire.org Git - thirdparty/hostap.git/commit
Disable PMTU discovery for RADIUS packets (sent them without DF)
authorJouni Malinen <j@w1.fi>
Sun, 23 Aug 2009 18:32:27 +0000 (21:32 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 23 Aug 2009 18:32:27 +0000 (21:32 +0300)
commit5cd89c26f952a6cd6fca4b55d52fe849e7483a62
tree54e6117528d04af803de183fcb17ad887999a976
parenta2fbf12524b78c323fd3e4793b042943834d9d2f
Disable PMTU discovery for RADIUS packets (sent them without DF)

When Linux has Path MTU discovery enabled, it sets by default the DF bit
on all outgoing datagrams, also UDP ones. If a RADIUS message is bigger
than the smallest MTU size to the target, it will be discarded.

This effectively limits RADIUS messages to ~ 1500 Bytes, while they can
be up to 4k according to RFC2865. In practice, this can mean trouble
when doing EAP-TLS with many RADIUS attributes besides the EAP-Message.
[Bug 326]
src/radius/radius_server.c