Forging a RADIUS request within a module

2008-12-12 Thread Geoffroy Arnoud
Hi all, During authentication process, I need to send an Accounting-Start to a network equipment when the authentication is successful (when processing the Access-Request), before sending the Access-Accept back. Is it possible to create the Accounting-Request from inside a module and post it

Re: Forging a RADIUS request within a module

2008-12-12 Thread tnt
During authentication process, I need to send an Accounting-Start to a network equipment Just out of interest - what is network equipment going to do with the accounting request? Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Forging a RADIUS request within a module

2008-12-12 Thread Geoffroy ARNOUD
During authentication process, I need to send an Accounting-Start to a network equipment Just out of interest - what is network equipment going to do with the accounting request? It's a network filtering appliance. The Accounting-Request ships attributes that say which filtering policy must

Re: Forging a RADIUS request within a module

2008-12-12 Thread Stephen Bowman
On Fri, Dec 12, 2008 at 7:45 AM, Geoffroy ARNOUD geo.arn...@gmail.comwrote: During authentication process, I need to send an Accounting-Start to a network equipment Just out of interest - what is network equipment going to do with the accounting request? It's a network filtering

Re: Forging a RADIUS request within a module

2008-12-12 Thread Alan DeKok
Geoffroy Arnoud wrote: Is it possible to create the Accounting-Request from inside a module and post it as an event, to let FreeRADIUS core manage processing/sending? Yes. See src/main/session.c, session_zap() for a function that does this. But if you plan on sending a packet to another

Re: Forging a RADIUS request within a module

2008-12-12 Thread tnt
During authentication process, I need to send an Accounting-Start to a network equipment Just out of interest - what is network equipment going to do with the accounting request? It's a network filtering appliance. The Accounting-Request ships attributes that say which filtering policy must

Re: Forging a RADIUS request within a module

2008-12-12 Thread Geoffroy ARNOUD
And you are absolutely sure that you are supposed to send it an Accounting-Request and not proxy Access-Request? Considering that filtering policies are a part of the access setup that would make much more sense. Yes I am. Actually, the appliance works like this, and is not the same box as