Re: Expanding Suffix or Realm attributes

2010-06-29 Thread Sajeewa Warnakulasuriya
Hi, You can add the below in the hints file DEFAULT User-Name =~ ^([...@]+)@([[:alnum:].\-_]*)$ Stripped-User-Name = %{1}, Suffix = %{2} Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers

Re: no wait exec scripts end up as defunct zombie process

2010-02-10 Thread Sajeewa Warnakulasuriya
at the same time. If you look at my previous posts the module names proxy_bb_realms and bb_quota_update We solved it by removing the proxy bb realms module and using radrelay equivalent in Freeradius server. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale

Re: no wait exec scripts end up as defunct zombie process

2010-02-09 Thread Sajeewa Warnakulasuriya
Also I found the below snippet of code in exec.c /* * We're not waiting, exit, and ignore any child's status. */ if (!exec_wait) { return 0; } When does freeradius close the child? Regards, Sajeewa Warnakulasuriya Systems

Re: no wait exec scripts end up as defunct zombie process

2010-02-07 Thread Sajeewa Warnakulasuriya
0.1 - 0.001 seconds to execute. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution. Level 14 520 Collins

no wait exec scripts end up as defunct zombie process

2010-02-04 Thread Sajeewa Warnakulasuriya
Hi all, I know the issue no wait exec scripts end up as defunct zombie process was covered previously and appears to have been resolved after version 1.1(?) but the issue still appears to happening in the latest freeradius. Has anybody else noticed this? Linux version 2.6.26-2-amd64

Re: MAX-Monthly-Traffic V2 Post.

2009-08-19 Thread Sajeewa Warnakulasuriya
the traffic for the session and initiate the disconnection from the NAS. As Alexandre suggested CoA is a better idea. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete

Re: Variable name for Minute

2009-06-23 Thread Sajeewa Warnakulasuriya
Alan, Is there a file that I can modify to have a variable for minute? Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE

Re: Variable name for Minute

2009-06-22 Thread Sajeewa Warnakulasuriya
(must have a big buffer) also man unlang didn't show me any hints either, unless I'm reading it wrong. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian

Re: freeradius on 64 bits

2009-06-21 Thread Sajeewa Warnakulasuriya
Alan, Is there any advantage going with a 64bits system? Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE

Variable name for Minute

2009-06-21 Thread Sajeewa Warnakulasuriya
Hi all, I understand that variable %H is for request hour, I was wondering the variable name for request minute? This is so that I can rotate the sql relay log file every minute. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help

RE: Variable name for Minute

2009-06-21 Thread Sajeewa Warnakulasuriya
How did you find this out? I tried printenv method on a exec script but all it outputted was the variable names for attributes in the radius packet. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers

Re: stress test or performance test result

2009-06-01 Thread Sajeewa Warnakulasuriya
Hi, If you can let us know of any modifications you have done to make it faster would greatly be appreciated. We are currently in the process of testing free radius as well. At the moment with a mysql db backend we are processing around 400 - 500 requests per sec. Regards, Sajeewa

Re: Acct-Session-Id special characters changed to hex

2009-05-28 Thread Sajeewa Warnakulasuriya
Thanks alot. Apologies, should have read the documentation more carefully. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE

Acct-Session-Id special characters changed to hex

2009-05-26 Thread Sajeewa Warnakulasuriya
Hi All, I'm having some issues with the acct-session-id, where special characters for instance [] being converted to it's hex equivalent. For example below, the Acct-Session-Id = 301[]426932183 when inserted into the accounting table it is inserted as 301=5B=5D426932183. I have noticed the