Strange Issue with datacounter_acct.sh

Selahattin ÇİLEK selahattin_cilek at hotmail.com
Thu Mar 19 13:33:52 CET 2020


Please forget about the previous mail. I found out that in my haste, I 
missed an important detail. It was because of a mishap in my 
configuration. The problem is solved now. Sorry.


On 19.03.2020 15:30, Selahattin ÇİLEK wrote:
> I am running FreeRADIUS 3.0.17. I have run into a strange issue with 
> the  *datacounter_acct*. It will run the *datacounter_acct.sh* only 
> when it receives an *Interim-Update* packet from the NAS, and *NOT* 
> when it receives a *Start* or *Stop* packet. What am I missing here?
>
> This is my datacounter_acct file:
>
> exec check_quota {
>         wait = no
>         program = "/usr/local/bin/bash 
> /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} 
> %{request:Calling-Station-Id} %{request:NAS-IP-Address} 
> %{request:Class} %{request:Acct-Status-Type} 
> %{request:Called-Station-Id}"
>     }
>
>
> This is a part of my default site:
>
> accounting {
>
> ...
>     exec
> ...
>
> }
>
>
>
>
>

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Freeradius-Users mailing list