RE: How tcan I translate old X-Ascend... attributes to Ascned...
I worked around the problem If somebody has the same pb, mail me Antoine Cavalié - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: How tcan I translate old X-Ascend... attributes to Ascned...
=?iso-8859-1?Q?Antoine_Cavali=E9?= <[EMAIL PROTECTED]> wrote: > nobody has had this problem ? > incredible !!! > > many NASes send those old-style paquets Most people configure the NAS to send the new-style attributes. > I thinhk I am not able to write those 100 lines > Is somebody able to do it ? Email me off the list. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: How tcan I translate old X-Ascend... attributes to Ascned...
nobody has had this problem ? incredible !!! many NASes send those old-style paquets I thinhk I am not able to write those 100 lines Is somebody able to do it ? Antoine Cavalié - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: How tcan I translate old X-Ascend... attributes to Ascned...
=?iso-8859-1?Q?Antoine_Cavali=E9?= <[EMAIL PROTECTED]> wrote: > I was hoping somebody had already had the same problem as I have, > and somebody already had written that module > > No ? No. But the module shouldn't be more than ~100 lines of code. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: How tcan I translate old X-Ascend... attributes to Ascned...
I was hoping somebody had already had the same problem as I have, and somebody already had written that module No ? Antoine Cavalié - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: How tcan I translate old X-Ascend... attributes to Ascned...
At 12:14 PM 1/9/2004, Antoine Cavalié wrote: What I want is not just having them look the same in the detail files. What I want is that freeradius acts in the same manner if it receives either a X-Ascend-foo=x or a Ascend-foo=x Then the first suggestion. You will need to write a custom module to do this. -Chris -- \\\|||/// \ StarNet Inc. \ Chris Parker \ ~ ~ / \ WX *is* Wireless!\ Director, Engineering | @ @ |\ http://www.starnetwx.net \ (847) 963-0116 oOo---(_)---oOo--\-- \ Wholesale Internet Services - http://www.megapop.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: How tcan I translate old X-Ascend... attributes to Ascned...
What I want is not just having them look the same in the detail files. What I want is that freeradius acts in the same manner if it receives either a X-Ascend-foo=x or a Ascend-foo=x Antoine Cavalié - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: How tcan I translate old X-Ascend... attributes to Ascned...
At 10:04 AM 1/9/2004, Antoine Cavalié wrote: Hi everybody Two NASes send packets to my freeRadius 0.9.3 One sends old-style X-Ascend-... lines The other sends new-style Ascend-... ones I would like to have freeRadius work correctly for both My idea is to have freeRadius translate packets as they come , so all packets only contain new-style lines but I don't know where to implement that translation rlm_attr_rewrite.c ? rlm_attr_filter.c ? elsewhere ? Any idea will be greatfully appreciated You'd best handle this with a custom module. rlm_attr_rewrite will rewrite value data, but what you want to do is toggle the attribute number. Alternatively, if you just want them to look the same in the detail, then you could edit the dictionary entries so that the VSA attributes are listed first, and then change the non-VSA attributes to remove the 'X-' at the beginning. It is important to put the VSA attributes first, so that if you specify the attribute by name, the VSA entry is returned on the dictionary lookup. -Chris -- \\\|||/// \ StarNet Inc. \ Chris Parker \ ~ ~ / \ WX *is* Wireless!\ Director, Engineering | @ @ |\ http://www.starnetwx.net \ (847) 963-0116 oOo---(_)---oOo--\-- \ Wholesale Internet Services - http://www.megapop.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html