This is a discussion on Radrelay error within the FreeRADIUS Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_00A6_01C5442C.4CFF0B80 Content-Type: text/plain; charset="us-ascii" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------=_NextPart_000_00A6_01C5442C.4CFF0B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello everyone, I am having an issue with radrelay and wanted to run it through the list. I have googled the list but not found anything with an error like this. First off I would like to go over what I am trying to do on the box to see if I am close on this one. I have FreeRadius 1.0.1 Running on a server "ports 1812-13" that has a second radius daemon "Merit radius ports 1645-46" running on it for the sole purpose of receiving accounting data for my billing application that also runs on the same box. I could tell all of my NAS gear to send accounting to the second daemon running on 1646 but I want to get all of the auth and accounting data into Freeradius so I can use Dialup Admin. What I want to do is run radrelay to send the accounting data from the Freeradius daemon to the Merit daemon but I keep getting a secret too short error. I declare the base freeradius accounting directory with the -a and my base freeradius config directory with the -d, I then issue a -S to read the secret from the clients file. So I end up with a command looking like this.. /usr/local/bin/radrelay -a /var/log/radius/raddact -d /etc/raddb/ \ -S /path/to/clients.conf -r localhost:1646 detail combined And I get. Secret in /path/toMerit/clients is to short. Any Ideas? I was unaware of any length requirement. Thanks, David ------=_NextPart_000_00A6_01C5442C.4CFF0B80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hello everyone, I am having an issue with radrelay = and wanted to run it through the list. I have googled the list but not found = anything with an error like this.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>First off I would like to go over what I am trying to = do on the box to see if I am close on this one.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I have FreeRadius 1.0.1 Running on a server = “ports 1812-13” that has a second radius daemon “Merit radius ports 1645-46” running on it for the sole purpose of receiving = accounting data for my billing application that also runs on the same box. I could tell all = of my NAS gear to send accounting to the second daemon running on 1646 but I = want to get all of the auth and accounting data into Freeradius so I can use = Dialup Admin. What I want to do is run radrelay to send the accounting data = from the Freeradius daemon to the Merit daemon but I keep getting a = </span></font><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>secret too short error.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New"'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I declare the base freeradius accounting directory = with the –a and my base freeradius config directory with the –d, I then issue = a –S to read the secret from the clients file.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>So I end up with a command looking like = this….<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/usr/local/bin/radrelay -a /var/log/radius/raddact -d /etc/raddb/ \ -S /path/to/clients.conf –r localhost:1646 detail = combined<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>And I get… Secret in = /path/toMerit/clients is to short.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> Any Ideas? I was unaware of any length = requirement. <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks,<br> David<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_00A6_01C5442C.4CFF0B80-- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |