[RADIATOR] AddressAllocator DHCP question

Heikki Vatiainen hvn at open.com.au
Tue Feb 5 07:59:20 CST 2013


On 02/04/2013 03:49 PM, Vangelis Kyriakakis wrote:

>         I'm trying to use AddressAllocator DHCP with a different
> ServerPort (2067) in order to be able to run radiator process as a
> simple user (not root).
>        Is this possible? It seems that radiator doesn't get back the
> DHCPOFFER packet from the DHCP server. Do I have to run radiator with
> root privileges if I want to use AddressAllocator DHCP?

Hello Vangelis,

I tested this with ISC DHCP server. This is the result I got:

% sudo tcpdump -n -i eth0 '(port 67 or port 68 or port 2067 or port 2068)'

15:48:34.716208 IP 172.16.172.18.2067 > 255.255.255.255.67: BOOTP/DHCP,
Request from 0f:ff:00:00:00:04, length 300
15:48:35.182436 IP 172.16.172.1.67 > 172.16.172.18.67: BOOTP/DHCP,
Reply, length 311

It appears the replies are not sent back to the non-default port 2067
but to 67 instead.

I have not tried more yet, but this seems to be the case with ISC DHCPd
3.1.1 with Radiator configured with 'ServerPort 2067 ClientPort 2068'.

Are you seeing the same?

Thanks,
Heikki

-- 
Heikki Vatiainen <hvn at open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.


More information about the radiator mailing list