Traffic accounting problems on freeradius

Anton Sapotsko ilovebelochka at gmail.com
Thu Jul 19 11:46:57 CEST 2018


Hello,

I've got a standard configuration of FreeRadius + OpenVPN + IPsec .

Everything works good except of traffic accounting for OpenVPN . Some
TCP\UDP sessions has no problems with accounting but some has no any data
about  Acct-Input-Octets and Acct-Output-Octets

Example:

/var/log/radius/radacct/IP_address/detail-20180719

Thu Jul 19 12:20:08 2018
User-Name = "******@gmail.com"
NAS-IP-Address = ***********
NAS-Port = 2
Service-Type = Outbound-User
Framed-Protocol = PPP
Framed-IP-Address = 10.0.3.10
Calling-Station-Id = "***********"
NAS-Identifier = "OpenVpn"
Acct-Status-Type = Stop
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "40B889944DEC6DA1C2905D0CC5EE9D08"
Acct-Session-Time = 32
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
NAS-Port-Type = Virtual
Acct-Unique-Session-Id = "6ae1bb07105d7ebb"
Timestamp = 1531995608


There are no errors in logs on OpenVPN server and FreeRadius server. Just
50/50 no traffic information come to freeradius server (looks like).

Maybe someone have any suggestions what to check and how to fix this
problem? I'm ready to provide any logs or configs for further proceedings .

Best regards


More information about the Freeradius-Users mailing list