Open5GS Traffic Accounting

david at ispsupplies.com david at ispsupplies.com
Tue Mar 10 23:56:06 UTC 2020


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 at lists.osmocom.org> On Behalf Of Romeu Medeiros
Sent: Tuesday, March 10, 2020 7:15 PM
To: nextepc at lists.osmocom.org
Subject: Fwd: Open5GS Traffic Accounting

 

 

Hello all and @Sukchan Lee <mailto:acetcom at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20200310/19411ceb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 19638 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20200310/19411ceb/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 701 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20200310/19411ceb/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 420 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20200310/19411ceb/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 444 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20200310/19411ceb/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 441 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20200310/19411ceb/attachment-0007.png>


More information about the nextepc mailing list