Ack, I got this all working then I realized that freeradius doesn’t log proxy requests..

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Weaver
Sent: Wednesday, February 16, 2005 11:46 AM
To: [email protected]
Subject: Iffy idea engineering using freeradius :-)

 

            I need to blindly forward all requests that my radius server gets to another radius server without adding a realm to the requests. Let me explain what I am doing, in the mid 90s an ISP opened up and started signing people up and didn’t use a database or any sort of record keeping to keep track of their usernames and passwords, they’re using 2 old BSD3.0 merit radius servers, the time has come to upgrade these servers because honestly they’re dying.

 

            So what im going to do is catch the request from their NAS boxes, log successful logins [the usernames and passwords to a MySQL database] and then once I have roughly 95-97% of the population im going to use that list to create them a new radius server. The problem I am having is when the NAS boxes send the request to the FreeRadius server, the freeradius server appears to be adding the realm of “NULL” to the requests that it is sending to the merit radius server, and the merit radius server is rejecting the requests.

 

    rlm_realm: No '@' in User-Name = "aweaver", looking up realm NULL

    rlm_realm: Found realm "NULL"

    rlm_realm: Adding Stripped-User-Name = "aweaver"

    rlm_realm: Proxying request from user aweaver to realm NULL

    rlm_realm: Adding Realm = "NULL"

    rlm_realm: Preparing to proxy authentication request to realm "NULL"

 

            So basically what I need to do is have Freeradius basically proxy requests and act like a “NAS” just pass the requests through to their radius box.

 

If anyone has any clue what im talking about let me know :D

 

Thanks,

-Drew

 

Reply via email to