Access-Reject took a long time to return

hannibal hxliang1982 at gmail.com
Sun Oct 23 05:54:48 CEST 2005


hi. i use jradius as authorize module. when jradius sent Access-Reject 
to freeradius, i got the following logs:
rad_recv: Access-Request packet from host 127.0.0.1:32876, id=1, length=62
--- Walking the entire request list ---
Waking up in 31 seconds...                           
////////////////////////// why in 31 seconds, that will take a long time 
to send Access-Reject
Thread 8 got semaphore
Thread 8 handling request 67, (7 handled so far)
        User-Name = "test"
        User-Password = "test"
        Message-Authenticator = 0x5cc77d6981e1386f5260a10691c9ce74
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 67
  modcall[authorize]: module "preprocess" returns ok for request 67
rlm_jradius: packing attribute User-Name (type: 1; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4)
rlm_jradius: packing packet with code: 1 (attr length: 92)
rlm_jradius: packing packet with code: 0 (attr length: 0)
rlm_jradius: sending 117 bytes to jradius server
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=92
rlm_jradius: reading attribute: type=1; len=4
rlm_jradius: reading attribute: type=2; len=4
rlm_jradius: reading attribute: type=80; len=16
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=1052; len=4
rlm_jradius: reading packet: code=0 len=0
rlm_jradius: reading request: config_item: len=0
  modcall[authorize]: module "jradius" returns updated for request 67
modcall: group authorize returns updated for request 67
auth: No authenticate method (Auth-Type) configuration found for the 
request: Rejecting the user
auth: Failed to validate the user.
  Processing the post-auth section of radiusd.conf
modcall: entering group Post-Auth-Type for request 67
rlm_jradius: packing attribute User-Name (type: 1; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4)
rlm_jradius: packing packet with code: 1 (attr length: 92)
rlm_jradius: packing packet with code: 3 (attr length: 0)
rlm_jradius: packing attribute Post-Auth-Type (type: 1014; len: 4)
rlm_jradius: sending 133 bytes to jradius server
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=92
rlm_jradius: reading attribute: type=1; len=4
rlm_jradius: reading attribute: type=2; len=4
rlm_jradius: reading attribute: type=80; len=16
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=1052; len=4
rlm_jradius: reading packet: code=3 len=0
rlm_jradius: reading request: config_item: len=16
rlm_jradius: reading attribute: type=1014; len=4
  modcall[post-auth]: module "jradius" returns updated for request 67
modcall: group Post-Auth-Type returns updated for request 67
Delaying request 67 for 1 seconds
Finished request 67
Going to the next request
Thread 8 waiting to be assigned a request
--- Walking the entire request list ---
Sending Access-Reject of id 1 to 127.0.0.1:32876
Cleaning up request 67 ID 1 with timestamp 435b0861
Nothing to do.  Sleeping until we see a request.

is there something to configure to reduce the waking up time span??
thank you.



More information about the Freeradius-Users mailing list