Hi all,

I'm trying to use FreeRADIUS (version 1.0.0) as a
proxy for roaming users using my network. Basically, I
need to forward requests to roaming partners and alter
requests and responses from those distant servers.

I have developped a module that I used in the sections
"pre-proxy" and "post-proxy" of my configuration file
"radiusd.conf". So far, it works.

Except for the following : when the remote server is
not responding (timeout), the post-proxy section of my
module doesn't seem to be called. FreeRADIUS is
sending a reject to the NAS, but I need to modify this
Access-Reject before it is sent.

I have the following traces from FreeRADIUS in debug
xxx :

Wed Sep 22 16:34:06 2004 : Debug: Thread 1 waiting to
be assigned a request
rad_recv: Access-Request packet from host <***>:34550,
id=185, length=66
Wed Sep 22 16:34:11 2004 : Debug: Ignoring duplicate
packet from client <***>:34550 - ID: 185, due to
outstanding proxied request 0.
Wed Sep 22 16:34:11 2004 : Debug: --- Walking the
entire request list ---
Wed Sep 22 16:34:11 2004 : Debug: Waking up in 1
seconds...
Wed Sep 22 16:34:11 2004 : Debug: Threads:
total/active/spare threads = 5/0/5
Wed Sep 22 16:34:12 2004 : Debug: --- Walking the
entire request list ---
Wed Sep 22 16:34:12 2004 : Debug: Server rejecting
request 0.
Sending Access-Reject of id 185 to <***>:34550
Wed Sep 22 16:34:12 2004 : Proxy: marking
authentication server <***>:1665 for realm orange.fr
dead
Wed Sep 22 16:34:12 2004 : Debug: Waking up in 0
seconds...
Wed Sep 22 16:34:12 2004 : Debug: --- Walking the
entire request list ---
Wed Sep 22 16:34:12 2004 : Debug: Cleaning up request
0 ID 185 with timestamp 41518d5e
Wed Sep 22 16:34:12 2004 : Debug:  proxy:
de-allocating ac1ae915:1665 0
Wed Sep 22 16:34:12 2004 : Debug: Nothing to do. 
Sleeping until we see a request.



My radiusd.conf contains the following for the proxy
sections :

pre-proxy {

        my_module

        pre_proxy_log
}

post-proxy {

        post_proxy_log

        my_module                       
}



Any ideas as why I don't catch the reject before it's
sent to the NAS ?




        

        
                
Vous manquez d�espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arriv� ! D�couvrez toutes les nouveaut�s pour 
dialoguer instantan�ment avec vos amis. A t�l�charger gratuitement sur 
http://fr.messenger.yahoo.com

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to