<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Our migration is *almost* done. We had to rewrite a lot of database code because we used to integrate with OAI, but now have moved our systems over to open5gs. I’ll respond back to this thread once we’ve finally migrated everything (should be by the end of the week).</div><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 11, 2020, at 10:05, Romeu Medeiros <<a href="mailto:medeiros@medeiros.eng.br" class="">medeiros@medeiros.eng.br</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello Spencer, Harald and all.<div class=""><br class=""></div><div class=""><br class=""></div><div class="">I really appreciated all infos, this saves me a lot of time!</div><div class=""><br class=""></div><div class="">Spencer, I'm seeing your tool, I think that is exactly like I need. My environment is small (10 endbs).  <br class=""></div><div class=""><br class=""></div><div class="">I will try to use your tool here, In our github page you inform that the code is migrating to open5gs. It's working with the open5gs?</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">Romeu Medeiros</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 11, 2020 at 1:39 PM Spencer Sevilla <<a href="mailto:sevilla@cs.washington.edu" class="">sevilla@cs.washington.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">+1 to Harald. Doing traffic accounting at the PGW and then reporting these statistics over Diameter is probably the most architecturally correct way to do this. I'm definitely a fan of using IPTables for this kind of stuff, since it’s all just packets anyways.<br class="">
<br class="">
For our networks, we wrote a completely separate tool called haulage (<a href="https://github.com/uw-ictd/haulage" rel="noreferrer" target="_blank" class="">https://github.com/uw-ictd/haulage</a>) that uses IPTables and does something very similar. Basically logs packets that are forwarded from the virtual interface, draws them down against a user’s prepaid quota, and cuts them off when they hit zero. We wrote this as a separate app (in go) mainly to keep things simpler and let us move faster.<br class="">
<br class="">
Spencer<br class="">
<br class="">
> On Mar 11, 2020, at 09:26, <<a href="mailto:david@ispsupplies.com" target="_blank" class="">david@ispsupplies.com</a>> <<a href="mailto:david@ispsupplies.com" target="_blank" class="">david@ispsupplies.com</a>> wrote:<br class="">
> <br class="">
> Sorry yeah I meant the EPC.  I am not sure if the Open5GS software supports<br class="">
> it but Freediameter would be the Accounting portion in AAA from what I can<br class="">
> tell.  <br class="">
> <br class="">
> <br class="">
> <br class="">
> David Peterson<br class="">
> Senior Engineer<br class="">
> 855-947-7776 ext. 9214<br class="">
> c 419-706-7355<br class="">
> d 979-314-1305<br class="">
> <a href="https://www.ispsupplies.com/" rel="noreferrer" target="_blank" class="">https://www.ispsupplies.com</a>   <br class="">
> <br class="">
> <br class="">
> -----Original Message-----<br class="">
> From: Harald Welte <<a href="mailto:laforge@osmocom.org" target="_blank" class="">laforge@osmocom.org</a>> <br class="">
> Sent: Wednesday, March 11, 2020 11:53 AM<br class="">
> To: <a href="mailto:david@ispsupplies.com" target="_blank" class="">david@ispsupplies.com</a><br class="">
> Cc: 'Romeu Medeiros' <<a href="mailto:medeiros@medeiros.eng.br" target="_blank" class="">medeiros@medeiros.eng.br</a>>; <a href="mailto:nextepc@lists.osmocom.org" target="_blank" class="">nextepc@lists.osmocom.org</a><br class="">
> Subject: Re: Open5GS Traffic Accounting<br class="">
> <br class="">
> Hi David,<br class="">
> <br class="">
> On Tue, Mar 10, 2020 at 07:56:06PM -0400, <a href="mailto:david@ispsupplies.com" target="_blank" class="">david@ispsupplies.com</a> wrote:<br class="">
>> Freediameter should be able to provide accounting so long as the ENB<br class="">
> supports it.<br class="">
> <br class="">
> in which way is the eNB involved in traffic accounting in LTE?  <br class="">
> <br class="">
> Normally, AFAICT, accounting is implemented within the P-GW, potentially<br class="">
> interacting via Radios/Diameter or some other protocol with some external<br class="">
> entity that decides whether or not there is credit/budget remaining or not.<br class="">
> If not, the PGW would stop firwarding packets of the related<br class="">
> session/subscriber.<br class="">
> <br class="">
> -- <br class="">
> - Harald Welte <<a href="mailto:laforge@osmocom.org" target="_blank" class="">laforge@osmocom.org</a>><br class="">
> <a href="https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flaforge.gnumonks.org%2f&c" rel="noreferrer" target="_blank" class="">https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flaforge.gnumonks.org%2f&c</a><br class="">
> =E,1,yb6SFWcoxXKtp0qClHpv4V936cQS_cFUx9dFgqORnwJ6yRCOhax7GulxJjjPLVsGkCe2ioB<br class="">
> ew6hlBJnFYR1mBgD0-WojRnKxjbM4dQK9xQ,,&typo=1<br class="">
> ============================================================================<br class="">
> "Privacy in residential applications is a desirable marketing option."<br class="">
>                                                  (ETSI EN 300 175-7 Ch. A6)<br class="">
> <br class="">
<br class="">
</blockquote></div>
</div></blockquote></div><br class=""></body></html>