RADIUS/UDP and the DF bit
Stefan Winter
stefan.winter at restena.lu
Wed Aug 19 08:17:53 CEST 2009
Hi,
>> Then it compiles alright, but doesn't solve the problem:
>>
>> 11:51:25.253733 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 221) radius-1.restena.lu.tdp-suite > eomund.restena.lu.radius: [udp sum ok] RADIUS, length: 193
>>
>
> Maybe the setsockopt() has to be done after the bind()...
>
You could always check bind's code: in their distribution tarball, it's
in lib/isc/unix/socket.c
There's a plethora of platform-specific #if directives that makes the
code really hard to read. But from what it looks like, binding happens
in a separate function and will be called separately after the socket is
opened with the PMTU sockopts. But you may want to verify that yourself :-)
Stefan
--
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
Tel: +352 424409 1
Fax: +352 422473
More information about the Freeradius-Devel
mailing list