Hello, I'm using FreeRadius 3.0.7 and I want to perform a DHCPv6 but ''arr2036'' told me that FreeRadius doesn't support it.But it works with PPP and supports IPv6 address and prefix attributes types. So, my question is, if I change the source code of freeradius dhcp, will it work ?Because I saw that in the code, there are attributes of DHCP and also his message-types, so I think it's possible to add/change these attributes by those of IPv6 but how ? I saw there is a dhcp.c and dhcp.h file code but I only see dhcp.h in my config. Ps: Sorry for english faults, I'm French.Simon Mesnage, student in N&T at this UIT of Caen, France
Hi,
I'm using FreeRadius 3.0.7 and I want to perform a DHCPv6 but ''arr2036'' told me that FreeRadius doesn't support it.But it works with PPP and supports IPv6 address and prefix attributes types.
PPP delegation is done differently. DHCPv6 requires additional code - basically the server is currently able to handle, process and deal with DHCP (v4) packets - to do the same with DHCPv6 will need additional code. as one of the main developers of FreeRADIUS, 'arr2036' knows what he is talking about what you are currently doing would be like me wondering why FreeRADIUS doesnt work with TACACS+ packets when I've added a tacacs_plus config to my virtual server :/ alan
Thanks for your reply but I have other questions. Does DHCPv6 will be implement in futur updates ? Or we must go in the code for now?Because I saw that there is some IPv6 code in 'dhcpclient.c' but there is DHCP message type but not DHCPv6 message so maybe you work on it ? And in 'dhcp.c' and 'dhcp.h' nothing is declare for IPv6, so, it's in this part we must add code ? Regards,Simon Mesnage
Date: Fri, 8 May 2015 08:35:01 +0000 From: A.L.M.Buxey@lboro.ac.uk To: freeradius-users@lists.freeradius.org Subject: Re: Include IPv6
Hi,
I'm using FreeRadius 3.0.7 and I want to perform a DHCPv6 but ''arr2036'' told me that FreeRadius doesn't support it.But it works with PPP and supports IPv6 address and prefix attributes types.
PPP delegation is done differently. DHCPv6 requires additional code - basically the server is currently able to handle, process and deal with DHCP (v4) packets - to do the same with DHCPv6 will need additional code.
as one of the main developers of FreeRADIUS, 'arr2036' knows what he is talking about
what you are currently doing would be like me wondering why FreeRADIUS doesnt work with TACACS+ packets when I've added a tacacs_plus config to my virtual server :/
alan
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Fri, May 08, 2015 at 12:05:26PM +0200, Simon Mesnage wrote:
Does DHCPv6 will be implement in futur updates ? Or we must go in the code for now?Because I saw that there is some IPv6 code in 'dhcpclient.c' but there is DHCP message type but not DHCPv6 message so maybe you work on it ? And in 'dhcp.c' and 'dhcp.h' nothing is declare for IPv6, so, it's in this part we must add code ?
Good patches are pretty much always welcome for improving functionality... You probably want to start in src/modules/proto_dhcp/. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
That's right Matthew, I will look on these files but I'm a simple student and not a proBut I agree about waiting good patches to deploy this feature. Regards,Simon Mesnage
Date: Fri, 8 May 2015 11:29:16 +0100 From: mcn4@leicester.ac.uk To: freeradius-users@lists.freeradius.org Subject: Re: Include IPv6
On Fri, May 08, 2015 at 12:05:26PM +0200, Simon Mesnage wrote:
Does DHCPv6 will be implement in futur updates ? Or we must go in the code for now?Because I saw that there is some IPv6 code in 'dhcpclient.c' but there is DHCP message type but not DHCPv6 message so maybe you work on it ? And in 'dhcp.c' and 'dhcp.h' nothing is declare for IPv6, so, it's in this part we must add code ?
Good patches are pretty much always welcome for improving functionality...
You probably want to start in src/modules/proto_dhcp/.
Matthew
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
Does DHCPv6 will be implement in futur updates ? Or we must go in the code for now?Because I saw that there is some IPv6 code in 'dhcpclient.c' but there is DHCP message type but not DHCPv6 message so maybe you work on it ? And in 'dhcp.c' and 'dhcp.h' nothing is declare for IPv6, so, it's in this part we must add code ?
I guess the answer is 'yes' coupled with a second answer of 'yes' - if you code in support then hopefully it will be implemented in future updates. alan
On May 8, 2015, at 9:53 AM, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
Does DHCPv6 will be implement in futur updates ? Or we must go in the code for now?Because I saw that there is some IPv6 code in 'dhcpclient.c' but there is DHCP message type but not DHCPv6 message so maybe you work on it ? And in 'dhcp.c' and 'dhcp.h' nothing is declare for IPv6, so, it's in this part we must add code ?
I guess the answer is 'yes' coupled with a second answer of 'yes' - if you code in support then hopefully it will be implemented in future updates.
DHCPv4 and v6 are dissimilar enough that the v4 code can't just be modified to implement v6, there'd need to be a proto_dhcpv6. -Arran
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Arran Cudbard-Bell -
Matthew Newton -
Simon Mesnage