Freediameter should be able to provide accounting so long as the ENB supports it.

 

ISP Supplies

cid:image002.jpg@01D5B005.DEE3BE10

David Peterson
Senior Engineer
855-947-7776 ext. 9214
c 419-706-7355
d 979-314-1305
https://www.ispsupplies.com Facebook Twitter LinkedIn

 

 

From: nextepc <nextepc-bounces@lists.osmocom.org> On Behalf Of Romeu Medeiros
Sent: Tuesday, March 10, 2020 7:15 PM
To: nextepc@lists.osmocom.org
Subject: Fwd: Open5GS Traffic Accounting

 

 

Hello all and @Sukchan Lee,

 

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

 

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