[Users] radius authentication
Stefano Capitanio
s.capitanio at caspur.it
Thu Feb 15 11:47:50 CET 2007
Hi,
i've configured also "servers" files.
i've also set:
modparam("auth_radius", "service_type", 6)
but i cannot set:
modparam("auth_radius","Sip-Session",15), it says "parameter
<Sip-Session> not found in module <auth_radius>"
my dictionary file is:
#### Attributes ###
ATTRIBUTE User-Name 1 string # RFC2865, acc,
auth_radius, avp_radius, group_radius, uri_radius
ATTRIBUTE Service-Type 6 integer # RFC2865, acc,
auth_radius, avp_radius, group_radius, uri_radius
#ATTRIBUTE Called-Station-Id 30 string # RFC2865, acc
#ATTRIBUTE Calling-Station-Id 31 string # RFC2865, acc
#ATTRIBUTE Acct-Status-Type 40 integer # RFC2865, acc
#ATTRIBUTE Acct-Session-Id 44 string # RFC2865, acc
ATTRIBUTE Sip-Method 101 integer # Schulzrinne, acc
ATTRIBUTE Sip-Response-Code 102 integer # Schulzrinne, acc
ATTRIBUTE Sip-Cseq 103 string # Schulzrinne, acc
ATTRIBUTE Sip-To-Tag 104 string # Schulzrinne, acc
ATTRIBUTE Sip-From-Tag 105 string # Schulzrinne, acc
ATTRIBUTE Sip-Translated-Request-URI 107 string # Proprietary, acc
ATTRIBUTE Digest-Response 206 string # Sterman,
auth_radius
ATTRIBUTE Sip-Uri-User 208 string # Proprietary,
auth_radius
ATTRIBUTE Sip-Group 211 string # Proprietary,
group_radius
ATTRIBUTE Sip-Rpid 213 string # Proprietary,
auth_radius
ATTRIBUTE SIP-AVP 225 string # Proprietary,
avp_radius
ATTRIBUTE Digest-Realm 1063 string # Sterman,
auth_radius
ATTRIBUTE Digest-Nonce 1064 string # Sterman,
auth_radius
ATTRIBUTE Digest-Method 1065 string # Sterman,
auth_radius
ATTRIBUTE Digest-URI 1066 string # Sterman,
auth_radius
ATTRIBUTE Digest-QOP 1067 string # Sterman,
auth_radius
ATTRIBUTE Digest-Algorithm 1068 string # Sterman,
auth_radius
ATTRIBUTE Digest-Body-Digest 1069 string # Sterman,
auth_radius
ATTRIBUTE Digest-CNonce 1070 string # Sterman,
auth_radius
ATTRIBUTE Digest-Nonce-Count 1071 string # Sterman,
auth_radius
ATTRIBUTE Digest-User-Name 1072 string # Sterman,
auth_radius
### CISCO Vendor Specific Attributes ###
#VENDOR Cisco 9
#ATTRIBUTE Cisco-AVPair 1 string Cisco # VSA, auth_radius
### Acct-Status-Type Values ###
#VALUE Acct-Status-Type Start 1 # RFC2866, acc
#VALUE Acct-Status-Type Stop 2 # RFC2866, acc
VALUE Acct-Status-Type Failed 15 # RFC2866, acc
### Service-Type Values ###
VALUE Service-Type Call-Check 10 # RFC2865, uri_radius
VALUE Service-Type Group-Check 12 # Proprietary,
group_radius
VALUE Service-Type Sip-Session 15 # Schulzrinne,
acc, auth_radius
VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary,
avp_radius
VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary,
avp_radius
any idea?
raviprakash sunkara ha scritto:
> Can U Check the servers in radiusclient dir.
> That host and key should match the Radiu server NASlist file or nas
> tables and client.conf file
>
> modparam("auth_radius","Sip-Session",15);
>
> On 2/15/07, *Stefano Capitanio* <s.capitanio at caspur.it
> <mailto:s.capitanio at caspur.it>> wrote:
>
> Ciao!
>
> I'm trying to authenticate using Radius.
> I've installed radiusclient-ng 0.5.2
> i've configured radiusclient.conf with the IP address of the
> radius server.
> I've configured SER with:
> ...
> modparam("auth_radius", "radius_config",
> "/etc/radiusclient-ng/radiusclient.conf")
> ...
> if (method=="REGISTER") {
> if (!radius_www_authorize(" example.it <http://example.it>")) {
> www_challenge("example.it
> <http://example.it>", "0");
> exit;
> }
> save("location");
> }
>
> but it doesn't work: there seem to be a problem in the client because
> there is no IP Packet that goes out directed to the radius server...
> in the log of SER i have no errors...
>
> thank you for any help,
> Stefano
>
> _______________________________________________
> Users mailing list
> Users at openser.org <mailto:Users at openser.org>
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> --
> Thanks and Regards
> Ravi Prakash Sunkara
> ravi.sunkara at hyperion-tech.com <mailto:ravi.sunkara at hyperion-tech.com>
> M:+91 9985077535
> www.hyperion-tech.com <http://www.hyperion-tech.com>
> Client and Parent company :- www.august-networks.com
> <http://www.august-networks.com>
More information about the sr-users
mailing list