Here is the log on my openser.What is the problem?occured on openser or AAA server?Thanks a lot.<br>~~~~~~~~~~~~~~~~~~~~<br><br>May 30 09:32:15 openser openser[9161]: [ Method REGISTER from <a href="http://9.2.243.87">9.2.243.87
</a> ] REGISTER sip:<a href="http://192.168.1.42">192.168.1.42</a> SIP/2.0^M Via: SIP/2.0/UDP <a href="http://9.2.243.87:62670">9.2.243.87:62670</a>;branch=z9hG4bK-d87543-6e521f158010ff19-1--d87543-;rport^M Max-Forwards: 70^M Contact: <
sip:21210001@9.2.243.87:62670;rinstance=b18b56e9bba1df1e>^M To: <<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42</a>>^M From: <<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42
</a>>;tag=7e7ed574^M Call-ID: MTJmNmY4MjJlZjdkMzk3ZmMzOWU3MmIyOTg5NTk0ZGM.^M CSeq: 2 REGISTER^M Expires: 3600^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO^M User-Agent: X-Lite release 1006e stamp 34025^M Authorization: Digest username="21210001",realm="
<a href="http://192.168.1.42">192.168.1.42</a>",nonce="465d7e0bc14d2273090b3951280b59a4d2d358dd",uri="sip:<a href="http://192.168.1.42">192.168.1.42</a>",response="d1d410d0448405e10eb669bd665b2a2d",algorithm=MD5^M Content-Length: 0^M ^M [ End of Request ]
<br>May 30 09:32:15 openser openser[9161]: parse_headers: flags=100<br>May 30 09:32:15 openser openser[9161]: DEBUG:maxfwd:is_maxfwd_present: value = 70<br>May 30 09:32:15 openser openser[9161]: parse_headers: flags=200<br>
May 30 09:32:15 openser openser[9161]: DEBUG:parse_to:end of header reached, state=10<br>May 30 09:32:15 openser openser[9161]: DBUG:parse_to: display={}, ruri={<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42
</a>}<br>May 30 09:32:15 openser openser[9161]: DEBUG: get_hdr_field: <To> [26]; uri=[<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42</a>]<br>May 30 09:32:15 openser openser[9161]: DEBUG: to body [<
<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42</a>>^M ]<br>May 30 09:32:15 openser openser[9161]: get_hdr_field: cseq <CSeq>: <2> <REGISTER><br>May 30 09:32:15 openser openser[9161]: DEBUG: get_hdr_body : content_length=0
<br>May 30 09:32:15 openser openser[9161]: found end of header<br>May 30 09:32:15 openser openser[9161]: find_first_route: No Route headers found<br>May 30 09:32:15 openser openser[9161]: loose_route: There is no Route HF
<br>May 30 09:32:15 openser openser[9161]: parse_headers: flags=ffffffffffffffff<br>May 30 09:32:15 openser openser[9161]: check_via_address(<a href="http://9.2.243.87">9.2.243.87</a>, <a href="http://9.2.243.87">9.2.243.87
</a>, 0)<br>May 30 09:32:15 openser openser[9161]: check_nonce(): comparing [465d7e0bc14d2273090b3951280b59a4d2d358dd] and [465d7e0bc14d2273090b3951280b59a4d2d358dd]<br>May 30 09:32:15 openser openser[9161]: ERROR:auth_radius:radius_authorize_sterman: rc_auth failed
<br>May 30 09:32:15 openser openser[9161]: DEBUG: add_param: tag=7e7ed574<br>May 30 09:32:15 openser openser[9161]: DEBUG:parse_to:end of header reached, state=29<br>May 30 09:32:15 openser openser[9161]: DBUG:parse_to: display={}, ruri={
<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42</a>}<br>May 30 09:32:15 openser openser[9161]: Register authentication failed - M=REGISTER RURI=sip:<a href="http://192.168.1.42">192.168.1.42</a> F=<a href="mailto:sip:21210001@192.168.1.42">
sip:21210001@192.168.1.42</a> T=<a href="mailto:sip:21210001@192.168.1.42">sip:21210001@192.168.1.42</a> IP=<a href="http://9.2.243.87">9.2.243.87</a> ID=MTJmNmY4MjJlZjdkMzk3ZmMzOWU3MmIyOTg5NTk0ZGM.<br>May 30 09:32:15 openser openser[9161]: build_auth_hf(): 'WWW-Authenticate: Digest realm="
<a href="http://192.168.1.42">192.168.1.42</a>", nonce="465d7e0bc14d2273090b3951280b59a4d2d358dd"<br>May 30 09:32:15 openser openser[9161]: parse_headers: flags=ffffffffffffffff<br>May 30 09:32:15 openser openser[9161]: check_via_address(
<a href="http://9.2.243.87">9.2.243.87</a>, <a href="http://9.2.243.87">9.2.243.87</a>, 0)<br>May 30 09:32:15 openser openser[9161]: DEBUG:destroy_avp_list: destroying list (nil)<br>May 30 09:32:15 openser openser[9161]: receive_msg: cleaning up
<br>"/var/log/openser.log" 81830L, 7470638C <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br><div><span class="gmail_quote">On 5/30/07, <b class="gmail_sendername">
Jason Ma</b> <<a href="mailto:realmj@gmail.com">realmj@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Daniel,
<br>Thanks for your reply,a quick question,how can I trace or check whether my radiusclient-ng sent the right information and algorithm to AAA server?Is the information below in the log conrrect for radius server to parse?Thanks a lot.
<div><span class="e" id="q_112ddb440a50a039_1"><span style="color: rgb(121, 6, 25);"></span><br><br><div><span class="gmail_quote">On 5/30/07, <b class="gmail_sendername">Daniel-Constantin Mierla</b> <<a href="mailto:daniel@voice-system.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
daniel@voice-system.ro</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>the algorithm for authentication is www digest (or http digest --
<br>rfc2617). The password has to be stored either plain text or HA1 format<br>(see the rfc for how to get the HA1). This auth algorithm uses md5 to<br>compute the response and decide whether auth was successful or not.<br>
<br>Cheers,<br>Daniel<br><br>On 05/30/07 17:15, Jason Ma wrote:<br>> Hi All,<br>> I'm configuring radius support on openser using<br>> radiusclient-ng-0.5.5.1.tar.gz,and the radius server is Lucent AAA<br>> server,everytime openser sent the request to AAA server,the AAA server
<br>> could not parse the request,the logs on AAA server is as below.I<br>> noticed that the the server said it was "Unsupported algorithm",and<br>> the algorithm was null,I'm wandering what kind of algorithm does
<br>> radiusclient-ng use?MD5 or HA1......... Please help ! Thanks in advance.<br>><br>> ~~~~~~~~~~~~~~~~~~~~~~~<br>> 2007/05/29 16:51:45.685 <engine.item.setup> Initializing Radius Item:<br>> <a href="http://192.168.1.42:33345" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.42:33345</a>
->0.0.0.0:1812(77)<br>> 0 <engine.item.setup> Using dictionary: draft-sterman-aaa-sip-01<br>> 0 <engine.item.setup> Request decode:<br>> User-Name = "<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
21230001@192.168.1.42</a> <mailto:<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a>>"<br>> Digest-Attributes =<br>
> User-Name = "21230001"<br>> Digest-Attributes =
<br>> Realm = "<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42</a> <<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.42</a>>"<br>> Digest-Attributes =<br>> Nonce = "465c49b766fa11f4a9db29977bf16857d3372780"
<br>> Digest-Attributes =<br>> URI = "sip:<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42</a> <<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.42</a>>"<br>> Digest-Attributes =
<br>> Method = "REGISTER"<br>> Digest-Response = "689a0f89cd73751f61b12d04f585a224"<br>> Service-Type = IAPP-Register<br>> Anonymous = v0-a208-3231323330303031
<br>> NAS-Port = 5060<br>> NAS-IP-Address = <a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42</a> <<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.42</a>><br>><br>> 0 <engine.item.setup > User-Name parsed: Base-User-Name =
<br>> "21230001", User-Realm = "<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42</a> <<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.42</a>>"<br>> 0 <engine.item.setup> Item setup complete
<br>> 0 <engine.worker.1 > <setup> ==> ReadUserFile.auth:readUserFile<br>> 0 <plugin.ReadUserFile.auth:readUserFile> searchValue =<br>> '<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
21230001@192.168.1.42</a> <mailto:<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a>>'.<br>> 0 <plugin.ReadUserFile.auth:readUserFile
> Found entry:<br>> <a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
21230001@192.168.1.42</a> <mailto:<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a>><br>> 0 <plugin.ReadUserFile.auth:readUserFile
> Check items for found<br>> entry:<br>> User-Password = <hidden>
<br>> Auth-Type = Local<br>><br>> 0 <plugin.ReadUserFile.auth:readUserFile> Reply items for found<br>> entry:<br>><br>> 0 <plugin.ReadUserFile.auth:readUserFile> SUCCESS -- Read User
<br>> <a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a> <mailto:<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
21230001@192.168.1.42</a>><br>> 0 <engine.worker.1> ReadUserFile.auth:readUserFile
==><br>> AuthHttpDigest.auth:checkDigest by SUCCESS -- Read User<br>> <a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a> <mailto:
<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a>>
<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest > response =<br>> 689a0f89cd73751f61b12d04f585a224<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> realm = <a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.42
</a><br>> <<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://192.168.1.42</a>><br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> nonce =<br>
> 465c49b766fa11f4a9db29977bf16857d3372780<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest
> method = REGISTER<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> uri =<br>> sip:<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.42</a>
<<a href="http://192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://192.168.1.42</a>><br>> 0 <
plugin.AuthHttpDigest.auth:checkDigest > qop =<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> algorithm =<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> entityBodyHash =<br>> 0 <
plugin.AuthHttpDigest.auth:checkDigest> cNonce =<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> nonceCount =<br>> 0 <plugin.AuthHttpDigest.auth:checkDigest> username = 21230001<br>> 0 <
plugin.AuthHttpDigest.auth:checkDigest> ERROR -- Error<br>> generating HTTP digest: java.io.IOException: Unsupported algorithm: :<br>> java.io.IOException: Unsupported algorithm:<br>> 1 <engine.worker.1
> AuthHttpDigest.auth:checkDigest ==><br>> End-Of-Methods by ERROR -- Error generating HTTP digest:<br>> java.io.IOException: Unsupported algorithm:<br>> 1 <engine.worker.1> <a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
21230001@192.168.1.42</a><br>> <mailto:<a href="mailto:21230001@192.168.1.42" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">21230001@192.168.1.42</a>> login discarded due to Error generating
<br>> HTTP digest: java.io.IOException: Unsupported algorithm:<br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br>>
<a href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openser.org</a><br>> <a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>><br></blockquote></div><br>
</span></div></blockquote></div><br>