Freediameter should be able to provide accounting so long as the ENB supports it.
<http://www.ispsupplies.com/>
David Peterson
Senior Engineer
855-947-7776 ext. 9214
c 419-706-7355
d 979-314-1305
<https://www.ispsupplies.com/>
https://www.ispsupplies.com
<https://facebook.com/ispsupplies> <https://twitter.com/ispsupplies>
<https://www.linkedin.com/company/isp-supplies/>
From: nextepc <nextepc-bounces(a)lists.osmocom.org> On Behalf Of Romeu Medeiros
Sent: Tuesday, March 10, 2020 7:15 PM
To: nextepc(a)lists.osmocom.org
Subject: Fwd: Open5GS Traffic Accounting
Hello all and @Sukchan Lee <mailto:acetcom@gmail.com> ,
I was thinking about one way to generate traffic accounting from the LTE users of the
Open5GS.
I'm rearching something using the iptables (in Linux), in this link we can check a way
to generate some traffic account in the linux:
https://catonmat.net/traffic-accounting-with-iptables
<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fcatonmat.net%2ftraffic-accounting-with-iptables&c=E,1,ZKxJjlnvr8VrquW5xsLsd-4VFJTXkRqUpJMEXfM2Scd6cIgGCuhBauaqsmY5YZMdj99b315zy-6g83E2G2y8uCV6ixKelMseXuH94Vnai_vaevVOCijMbuor&typo=1>
I'm thinking about writing a code, where the PGW adds a new line in iptables with the
IP/IPv6 address (TRAFFIC_ACCT_IN and TRAFFIC_ACCT_OUT) when a new session is added and
remove the same line when the session is ended, with this the counter will restart, being
able to use an external program to get this information about the traffic sent and
received by a given user.
The bad from this idea is that this code only will work correctly in a Linux box.
Does anyone have any other suggestions?
Thanks
Romeu Medeiros