(RADIATOR) Radius configuration [cdr file 5 minutes period]
Hugh Irvine
hugh at open.com.au
Fri Mar 28 03:43:31 CST 2008
Hello Hadi -
No this is not possible to do directly - although you can use "%M" to
create a new file every minute and concatenate them by post-processing.
Otherwise you can define GlobalVar's and use them:
DefineGlobalVar 0 0to9
DefineGlobalVar 1 0to9
DefineGlobalVar 2 0to9
DefineGlobalVar 3 0to9
DefineGlobalVar 4 0to9
DefineGlobalVar 5 0to9
DefineGlobalVar 6 0to9
DefineGlobalVar 7 0to9
DefineGlobalVar 8 0to9
DefineGlobalVar 9 0to9
DefineGlobalVar 10 10to19
.......
AcctLogFileName %L/SS7/CiscoGW-TT-%Y%m%d%{GlobalVar:%M}.cdr
.....
hope that helps
regards
Hugh
On 28 Mar 2008, at 18:34, Hadi Ünal Akyol(Koç.net) wrote:
> Hello,
> Basiclly, we collect accounting infromation from our cisco gw's and
> write them in a file in 1 hour period.
> Here is the related line of radius.cfg,
> AcctLogFileName %L/SS7/CiscoGW-TT-%Y%m%d%H.cdr
>
> Based on the information in Radiator version 3.17.1 p:58, we should
> use the following strings [Table.1] for the AcctLogFileName command.
>
> What I want to know, is it possible to write %5M or %10M instead of
> %H.
>
> AcctLogFileName %L/SS7/CiscoGW-TT-%Y%m%d%5M.cdr or AcctLogFileName %
> L/SS7/CiscoGW-TT-%Y%m%d%10M.cdr
>
>
>
> TABLE 1. Special string formatting characters (page: 16)
> <image003.png>
>
> AcctLogFileName %L/SS7/CiscoGW-TT-%Y%m%d%H.cdr
>
> For example, between 09:00- 10:00 we create a file
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Thursday, March 27, 2008 12:01 AM
> To: Hadi Ünal Akyol(Koç.net)
> Cc: radiator at open.com.au
> Subject: Re: (RADIATOR) Radius configuration [cdr file 5 minutes
> period]
>
>
> Hello Hadi -
>
> I'm afraid I don't understand your question - it is the NAS that
> sends accounting requests to Radiator - hence you need to configure
> the NAS to do whatever you require.
>
> What section of the Radiator manual are you refering to?
>
> Note that the RADIUS protocol uses seconds for time, so you should be
> able to configure whatever period you want.
>
> regards
>
> Hugh
>
>
> On 26 Mar 2008, at 18:38, Hadi Ünal Akyol(Koç.net) wrote:
> > Hello,
> > Is it possible to configure radius.cfg to create a cdr file 5
> > minutes period.
> > Based on the manuel, you should only configure in 1 minute period
> > or in 1 hour period.
> > Thanks
> >
> >
> ______________________________________________________________________
> >
> ______________________________________________________________________
> > _
> > Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> > olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,
> > icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari
> > acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen
> > geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-
> > posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz,
> > yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji
> > viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak
> > yollayici, bu e-posta mesajinin - virus koruma sistemleri ile
> > kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve
> > meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul
> > etmez.
> > This message is intended solely for the use of the individual or
> > entity to whom it is addressed , and may contain confidential
> > information. If you are not the intended recipient of this message
> > or you receive this mail in error, you should refrain from making
> > any use of the contents and from opening any attachment. In that
> > case, please notify the sender immediately and return the message
> > to the sender, then, delete and destroy all copies. This e-mail
> > message, can not be copied, published or sold for any reason. This
> > e-mail message has been swept by anti-virus systems for the
> > presence of computer viruses. In doing so, however, sender cannot
> > warrant that virus or other forms of data corruption may not be
> > present and do not take any responsibility in any occurrence.
> >
> ______________________________________________________________________
> >
> ______________________________________________________________________
> > _
>
>
>
> NB:
>
> Have you read the reference manual ("doc/ref.html")?
> Have you searched the mailing list archive (www.open.com.au/archives/
> radiator)?
> Have you had a quick look on Google (www.google.com)?
> Have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?
> Have you checked the RadiusExpert wiki:
> http://www.open.com.au/wiki/index.php/Main_Page
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
> Includes support for reliable RADIUS transport (RadSec),
> and DIAMETER translation agent.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
> -
> CATool: Private Certificate Authority for Unix and Unix-like systems.
>
>
>
> ______________________________________________________________________
> ______________________________________________________________________
> _
> Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,
> icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari
> acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen
> geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-
> posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz,
> yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji
> viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak
> yollayici, bu e-posta mesajinin - virus koruma sistemleri ile
> kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve
> meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul
> etmez.
> This message is intended solely for the use of the individual or
> entity to whom it is addressed , and may contain confidential
> information. If you are not the intended recipient of this message
> or you receive this mail in error, you should refrain from making
> any use of the contents and from opening any attachment. In that
> case, please notify the sender immediately and return the message
> to the sender, then, delete and destroy all copies. This e-mail
> message, can not be copied, published or sold for any reason. This
> e-mail message has been swept by anti-virus systems for the
> presence of computer viruses. In doing so, however, sender cannot
> warrant that virus or other forms of data corruption may not be
> present and do not take any responsibility in any occurrence.
> ______________________________________________________________________
> ______________________________________________________________________
> _
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list