Strange Issue with datacounter_acct.sh
Selahattin ÇİLEK
selahattin_cilek at hotmail.com
Thu Mar 19 13:30:37 CET 2020
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