[Users] bug in radiusclient ng for 64b

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Aug 21 12:02:37 CEST 2006


Hello,

On 08/18/06 10:26, Stuart Clark wrote:
> Hello,
>
> I have a 64bit machine running openser 1.1.0, and wish to log radius 
> accounting details to radius using the acc module and radiusclient-ng.
> I am facing issues talking to a freeradius server, as described at:
> https://developer.berlios.de/bugs/?func=detailbug&bug_id=7442&group_id=1208 
>
>
> Basically, the server reports:
> Error: Received Accounting-Request packet from w.x.y.z with invalid 
> signature!  (Shared secret is incorrect.)
>
> I have updated to the cvs version of radiusclient-ng, but the problem 
> still exists.  It would appear that the md5 routine is not compatible 
> with the md5 routine used by the freeradius software.
>
> Just wondering is anyone else has worked their way around this problem.
I have no 64b, but the quick solution is to check the sources to see 
what md5 functions the server and client uses. Both are open source and 
md5 algorithm is not that complex.

Cheers,
Daniel

>
> Cheers, Stuart
>
>
>
> > X-Archived: http://article.gmane.org/gmane.comp.voip.openser.user/4415
>> From: Daniel-Constantin Mierla <daniel at ...>
>> Subject: FYI: bug in radiusclient ng for 64b
>> Newsgroups: gmane.comp.voip.openser.user, gmane.comp.voip.openser.devel
>> Date: 2006-05-16 01:44:16 GMT (13 weeks, 3 days and 58 minutes ago)
>>
>> On 05/16/06 02:48, Maxim Sobolev wrote:
>>> Hi,
>>>
>>> Reportedly there is an problem in radiusclient library with md5 hash 
>>> calculation on 64bit platforms (amd64, sparc64, etc), which results 
>>> in server rejecting requests even with proper secret configured on 
>>> client. I have applied a fix, but don't have access to any 64bit 
>>> hardware, therefore can't verify.
>>>
>>> Therefore, if anybody is having problems with radiusclient on 64bit 
>>> arch he is more than welcome to try update to the latest version 
>>> from cvs and let me know if it helps or not. Instructions on 
>>> checking out sources from berlios cvs are here: 
>>> https://developer.berlios.de/cvs/?group_id=1208.
>>>
>>> Thanks!
>>>
>>> -Maxim
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the sr-users mailing list