Re: Detail accounting by REalm
Message: 3 Date: Wed, 30 Jun 2010 16:47:45 +0200 From: Alan DeKok al...@deployingradius.com Subject: Re: Detail accounting by REalm To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Message-ID: 4c2b5911.8060...@deployingradius.com Content-Type: text/plain; charset=ISO-8859-1 BELLIERE Eric wrote: Now I am trying to make a file by realm proxyied. You can use the Realm name in the detail filename. That's why the filename is configurable in the detail module. I have try this and works but I need to specify the exact realm. Is it a way to configure a expression here? $ man unlang I would like to make an expression to replace abc.be and abcnet.be so only one line is nacessary (like realm == ~abc$) ? See the above man page. You can use a regex. Alan DeKok. Ok thanks It is working with REGEX. But what you do you mean by You can use the Realm name in the detail filename. That's why the filename is configurable in the detail module.? Thanks Eric Bellière smime.p7s Description: S/MIME cryptographic signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Detail accounting by REalm
BELLIERE Eric wrote: But what you do you mean by You can use the Realm name in the detail filename. That's why the filename is configurable in the detail module.? What part of that is unclear? If I could say it another way, I would have said it another way. Do you know what I meant by the detail filename? Do you know what I meant by configurable in the detail module? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Detail accounting by REalm
Dears, I have a Proxy radius which send authentication and accounting to other radius. I would like to have a copy of these accounting data locally. This is already working in the detail file. Now I am trying to make a file by realm proxyied. I have try this and works but I need to specify the exact realm. Is it a way to configure a expression here? I would like to make an expression to replace abc.be and abcnet.be so only one line is nacessary (like realm == ~abc$) ? accounting { detail if ((realm == abc.be)||(realm == abcnet.be)) { WriteABCAccounting WriteLOCALAccounting } if (realm == xyz.be) { WriteXYZaccounting WriteLOCALAccounting } http://k-village/team_members/who_s_who/kpeople01.asp?login=ebellier Eric Bellière Operation Integration Expert ITNO/ISO/ISIO/LSS Mobistar NV/SA Avenue Jean Mermoz 32 6041 Gosselies cid:image003.jpg@01C961E5.77656AB0 Tel: +32 (0)2 745 7997 GSM: +32(0)495 55 1343 image001.jpgimage002.jpg smime.p7s Description: S/MIME cryptographic signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Detail accounting by REalm
BELLIERE Eric wrote: Now I am trying to make a file by realm proxyied. You can use the Realm name in the detail filename. That's why the filename is configurable in the detail module. I have try this and works but I need to specify the exact realm. Is it a way to configure a expression here? $ man unlang I would like to make an expression to replace abc.be and abcnet.be so only one line is nacessary (like realm == ~abc$) ? See the above man page. You can use a regex. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Detail accounting by REalm
Hi, I would like to make an expression to replace abc.be and abcnet.be so only one line is nacessary (like realm == ~abc$) ? regex stuff? (realm =~ /~abc[a-zA-Z_]+?\.be/i) ? alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html