DHCP Dynamic pool and MAC authentication
Hello Everybody This is my first message on this mailing list so I hope I will do everything right. I need your help because I want to implement Freeradius as a DCHP server with an dynamic IP address pool (using radipool mysql table) and MAC authentication. I successed to install and activate DHCP server and dynamic pool but not authenticate. But, actually, my problem is anybody can connect a device on my network and the Freeradius server reply to DHCP Discover, assign an IP address using the mysql radipool table but without checking if the mac address is in the radcheck table. Before the activation of the dynamic IP pool, I can authenticate and if the authentication is OK, I give a static address to the client. The address was stored into the raply table). Now I can't do that with the dynamic pool. Did anybody can help me ? Thanks in advance for your helps and your replies. Best Regards Thomas
I am having the exact same issue. Can anybody assist with this issue. "anybody can connect a device on my network and the Freeradius server reply to DHCP Discover, assign an IP address using the mysql radipool table but without checking if the mac address is in the radcheck table." Regards, Michael On Tue, Mar 18, 2014 at 2:48 AM, Thomas Bru <tbru@afone.com> wrote:
Hello Everybody
This is my first message on this mailing list so I hope I will do everything right.
I need your help because I want to implement Freeradius as a DCHP server with an dynamic IP address pool (using radipool mysql table) and MAC authentication. I successed to install and activate DHCP server and dynamic pool but not authenticate.
But, actually, my problem is anybody can connect a device on my network and the Freeradius server reply to DHCP Discover, assign an IP address using the mysql radipool table but without checking if the mac address is in the radcheck table.
Before the activation of the dynamic IP pool, I can authenticate and if the authentication is OK, I give a static address to the client. The address was stored into the raply table). Now I can't do that with the dynamic pool.
Did anybody can help me ?
Thanks in advance for your helps and your replies.
Best Regards
Thomas - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Thu, Mar 20, 2014 at 01:38:12PM -0700, Michael Wisniewski wrote:
I am having the exact same issue. Can anybody assist with this issue. "anybody can connect a device on my network and the Freeradius server reply to DHCP Discover, assign an IP address using the mysql radipool table but without checking if the mac address is in the radcheck table."
Haven't looked at this directly, but it should be pretty easy. I'm guessing you want to either copy DHCP-Client-Hardware-Address into Calling-Station-Id, then call sql (with Calling-Station-Id in the radcheck table), or just all DHCP-Client-Hardware-Address directly into the radcheck table, then just call sql. Based on the result code from sql, you probably then want to update the DHCP-Message-Type to inhibit a reply if the MAC wasn't found. Posting the full output of radiusd -X would help. Matthew
On Tue, Mar 18, 2014 at 2:48 AM, Thomas Bru <tbru@afone.com> wrote:
Hello Everybody
This is my first message on this mailing list so I hope I will do everything right.
I need your help because I want to implement Freeradius as a DCHP server with an dynamic IP address pool (using radipool mysql table) and MAC authentication. I successed to install and activate DHCP server and dynamic pool but not authenticate.
But, actually, my problem is anybody can connect a device on my network and the Freeradius server reply to DHCP Discover, assign an IP address using the mysql radipool table but without checking if the mac address is in the radcheck table.
Before the activation of the dynamic IP pool, I can authenticate and if the authentication is OK, I give a static address to the client. The address was stored into the raply table). Now I can't do that with the dynamic pool.
Did anybody can help me ?
Thanks in advance for your helps and your replies.
Best Regards
Thomas - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 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>
Michael Wisniewski wrote:
I am having the exact same issue. Can anybody assist with this issue. "anybody can connect a device on my network and the Freeradius server reply to DHCP Discover, assign an IP address using the mysql radipool table but without checking if the mac address is in the radcheck table."
The radcheck table is for RADIUS requests. However... If you list "sql.authorize" in one of the "dhcp" sections, it will then check the DHCP request against the radcheck and radreply tables. Alan DeKok.
participants (4)
-
Alan DeKok -
Matthew Newton -
Michael Wisniewski -
Thomas Bru