A question about Response-Packet-Type Attribute

2005-06-22 Thread Oleg Kravtsov
Hi everybody, I use FreeRADIUS 1.0.2 and I'm experiensing a problem with $subj attribute usage. I would like to tune RADIUS Server so that it sends particular set of RADIUS attributes depending on the outgoing packet type (Challenge or Accept). For that task I've been using Response-Packet-Typ

Re: A question about Response-Packet-Type Attribute

2005-06-22 Thread Alan DeKok
Oleg Kravtsov <[EMAIL PROTECTED]> wrote: > I would like to tune RADIUS Server so that it sends particular set of > RADIUS attributes depending on the outgoing packet type (Challenge or > Accept). The server doesn't really support that. > For that task I've been using Response-Packet-Type att

Re: A question about Response-Packet-Type Attribute

2005-06-22 Thread Oleg Kravtsov
Alan, thank you for the reply, >> I would like to tune RADIUS Server so that it sends particular set of >> RADIUS attributes depending on the outgoing packet type (Challenge or >> Accept). > > The server doesn't really support that. In this case I wonder if I can do something already available to

Re: A question about Response-Packet-Type Attribute

2005-06-22 Thread Alan DeKok
Oleg Kravtsov <[EMAIL PROTECTED]> wrote: > In this case I wonder if I can do something already available to solve > the real problem (with Acct-Interim-Interval attribute). > I want it to be included ONLY into Access-Accept message, as this > attribute can't present in Access-Challenge RADIUS mes

Re: A question about Response-Packet-Type Attribute

2005-06-22 Thread Oleg Kravtsov
Who cares? If it's in Access-Challenge, the NAS will ignore it. Some devices (at least one we work with) does strict checkings against presence of attributes in a particular messages (according to RFC 2865, 2866, 2869). Ok, I see that currently we can't do what we want. We are ready to w

Re: A question about Response-Packet-Type Attribute

2005-06-23 Thread Oleg Kravtsov
Hi Everybody, I found the solution to the task I described, it is quite simple. I would like to share the solution with you just in case you want the same feature in the future. I've added post-auth callback for "files" module, which actually just calls callback used for authentication. po