which version well works with digest?

basteon basteon at gmail.com
Fri Feb 19 15:03:36 CET 2010


hi Alan,
I've seen this one
http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg22204.html

Also I've tried (1.1.1, 1.1.3 and 2.1.8) freeradius version, but
anyway still can't get it working. I'm looking for digest auth for sip
protocol, I to testing it by the way...
http://freeradius.org/radiusd/man/rlm_digest.html

I've got this troubles with 2.1.8..

[digest] Adding Auth-Type = DIGEST
++[digest] returns ok
Found Auth-Type = digest
+- entering group authenticate {...}
[digest] Cleartext-Password or Digest-HA1 is required for authentication.
++[digest] returns invalid
Failed to authenticate the user.
Login incorrect: [test/test] (from client localhost port 0)
Delaying reject of request 0 for 1 seconds

1.1.1 and 1.1.3.....
A2 = REGISTER:sip:5555551212 at example.com
KD = 412325717cf44c1b4a628b2742d096a9:1234abcd:ce566eb71723da08a54d906325db74f6
rlm_digest: FAILED authentication
  modcall[authenticate]: module "digest" returns reject for request 0
modcall: leaving group authenticate (returns reject) for request 0
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0


I tries to use libradiusclient-ng and radiusclient from freeradius,
anyway I've got this weird things.

my configuration......
prefix = /usr/local/freeradius-1.1.1
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = ${prefix}/var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd
log_file = ${logdir}/radius.log
libdir = ${exec_prefix}/lib
pidfile = ${run_dir}/radiusd.pid
max_request_time = 30
delete_blocked_requests = no
cleanup_delay = 5
max_requests = 1024
bind_address = 127.0.0.1
port = 0
hostname_lookups = no
allow_core_dumps = no
regular_expressions     = yes
extended_expressions    = yes
log_stripped_names = no
log_auth = no
log_auth_badpass = no
log_auth_goodpass = no
usercollide = no
lower_user = no
lower_pass = no
nospace_user = no
nospace_pass = no
checkrad = ${sbindir}/checkrad
security {
max_attributes = 200
reject_delay = 1
status_server = no
}
$INCLUDE  ${confdir}/clients.conf
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
}
modules {
files {
usersfile = ${confdir}/users
compat = no
}
digest {
}
}
authorize {
digest
files
}
authenticate {
digest
}



More information about the Freeradius-Users mailing list