[Serusers] I beg you please help me: Radius messages

Gokhan Uslu g.uslu at teles.com
Wed Mar 8 22:22:19 CET 2006


Hi everybody,

I really need your help. Please someone help me. I have to modify the values
in the parameters of radius authentication messages. The message below is my
default message
rad_recv: Access-Request packet from host 127.0.0.1:32797, id=191,
length=206
        User-Name = "33333 at 192.168.10.233"
        Digest-Attributes = 0x0a073333333333
        Digest-Attributes = 0x01103139322e3136382e31302e323333
        Digest-Attributes =
0x022a3433666663333939393362393134376561643630366537353961646535366534666536
6534303732
        Digest-Attributes = 0x04147369703a3139322e3136382e31302e323333
        Digest-Attributes = 0x030a5245474953544552
        Digest-Response = "de5d4886be3f94e241b92b5bf160857a"
        Service-Type = Sip-Session
        Sip-Uri-User = "33333"
        NAS-Port = 5060
        NAS-IP-Address = 127.0.0.1
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    rlm_digest: Converting Digest-Attributes to something sane...
        Digest-User-Name = "33333"
        Digest-Realm = "192.168.10.233"
        Digest-Nonce = "43ffc39993b9147ead606e759ade56e4fe6e4072"
        Digest-URI = "sip:192.168.10.233"
        Digest-Method = "REGISTER"
rlm_digest: Adding Auth-Type = DIGEST
  modcall[authorize]: module "digest" returns ok for request 0
    rlm_realm: Looking up realm "192.168.10.233" for User-Name =
"33333 at 192.168.10.233"
    rlm_realm: No such realm "192.168.10.233"
  modcall[authorize]: module "suffix" returns noop for request 0
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 0
    users: Matched entry DEFAULT at line 182
  modcall[authorize]: module "files" returns ok for request 0
modcall: group authorize returns ok for request 0
  rad_check_password:  Found Auth-Type DIGEST


In here I want to modfy the User-Name`s value.   It is now
"33333 at 192.168.10.233"  but I want to change it. Also I must change the
Digest-URI = "sip:192.168.10.233" parameter`s value. Please help me about
radius message modifications. Is it possible with avp_module, but how?
Please help me please. I beg all you.

Thank you


Gokhan USLU 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060308/ec6da805/attachment.htm>


More information about the sr-users mailing list