<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr">Hello all and <a class="gmail_plusreply" id="m_1933767051368882578m_7192792687522746436plusReplyChip-0" href="mailto:acetcom@gmail.com" target="_blank">@Sukchan Lee</a>,<div><br></div><div>I was thinking about one way to generate traffic accounting from the LTE users of the Open5GS.</div><div><br></div><div>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: <a href="https://catonmat.net/traffic-accounting-with-iptables" target="_blank">https://catonmat.net/traffic-accounting-with-iptables</a></div><div><br></div><div>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.</div><div><br></div><div>The bad from this idea is that this code only will work correctly in a Linux box.<br><br>Does anyone have any other suggestions?<br></div><div><br></div><div>Thanks</div><div><br></div><div>Romeu Medeiros</div></div>
</div></div>