[Chilli] Incorrectly high data usage over a short period of time

Henk Kleynhans henk at skyrove.com
Tue Nov 10 07:19:06 UTC 2009


Hi Jack,

It sounds quite plausible to me.

On my 4 Mbps line, I frequently download at 400 KB/s. (theoretic maximum is
512 KB/s)

That means, with a single line, I can typically download 23 MB every min.
(400 x 60/1024)

You have bonded 3 lines, thus you can get 23x3 = 69 MB / min

Your customer was online for 228 sec, or 3.8 min, thus 69 * 3.8 = 262 MB.

They only downloaded 168 MB. (Probably a Windows or Office update if they're
not aware of what it was)

Kind regards,
henk

-- 
Henk Kleynhans
CTO & Founder
Skyrove (Pty) Ltd
Africa's Largest & Fastest Growing Wi-Fi Hotspot Network
Tel: 0861 ROVERS
Cell: +27 (84) 3073451
Fax: +27 (86) 6204077
henk at skyrove.com
blog: www.geekrebel.com

------

"A person with ubuntu is open and available to others, affirming of others,
does not feel threatened that others are able and good, for he or she has a
proper self-assurance that comes from knowing that he or she belongs in a
greater whole and is diminished when others are humiliated or diminished,
when others are tortured or oppressed." - Desmond Tutu

On Mon, Nov 9, 2009 at 5:01 PM, Jack J Allan <jack.j.allan at gmail.com> wrote:

> Dear Coova Chilli Community
>
> Firstly, my setup:
>
>    1. Coova Chilli 1.013
>    2. Freeradius 2.1.5
>
> I am absolutely perplexed by this bug. Not only that, but I cannot think of
> any ways of reproducing it, so I am hoping someone in the community has come
> accross this before. My problem is my NAS is reporting incorrectly high
> usage over a short space of time. Where we are based (South Africa), the
> fastest one's ADSL line speed can be is 4 mega bits per second. This
> translates to about 0.47 megabytes per seconds, and that is if you are
> lucky. We have three such lines multiplexed together, which means we can get
> a throughput of about 0.47*3 = 1.41 megabytes per second. Unfortunately, we
> have received a complaint claiming that chilli has deducted more than what
> was used. Looking at the radius logs, I can ascertain that this is true.
>
> Here is the initial start packet sent by chilli to radius (I have removed
> username and Nas Identifier to protect privacy):
>
> *Tue Oct 27 09:12:57 2009
>         ChilliSpot-Version = "1.0.13"
>         Acct-Status-Type = Start
>         Calling-Station-Id = "00-1F-33-FF-BD-00"
>         NAS-Port-Type = Wireless-802.11
>         NAS-Port = 4
>         NAS-Port-Id = "00000004"
>         Framed-IP-Address = 172.25.0.168
>         Acct-Session-Id = "4ae69d6000000004"
>         NAS-IP-Address = 172.25.0.1
>         Called-Station-Id = "00-16-B6-D9-5A-EB"
>         Acct-Unique-Session-Id = "f3bcc21590c1afd1"
>         Timestamp = 1256627577
>         Request-Authenticator = Verified*
>
> Then about 1 minute later, the following occurs
> *Tue Oct 27 09:13:59 2009
>         ChilliSpot-Version = "1.0.13"
>         Acct-Status-Type = Interim-Update
>         Calling-Station-Id = "00-1F-33-FF-BD-00"
>         NAS-Port-Type = Wireless-802.11
>         NAS-Port = 4
>         NAS-Port-Id = "00000004"
>         Framed-IP-Address = 172.25.0.168
>         Acct-Session-Id = "4ae69d6000000004"
>         NAS-IP-Address = 172.25.0.1
>         Called-Station-Id = "00-16-B6-D9-5A-EB"
>        Acct-Input-Octets = 1178355
>        Acct-Output-Octets = 52201523
>         Acct-Input-Gigawords = 0
>         Acct-Output-Gigawords = 0
>         Acct-Input-Packets = 19170
>         Acct-Output-Packets = 36581
>         Acct-Session-Time = 63
>         Acct-Unique-Session-Id = "f3bcc21590c1afd1"
>         Timestamp = 1256627639
>         Request-Authenticator = Verified*
>
> This is definitely in error (the bold parts), as the backbone line speed
> cannot handle this much traffic in such a short space of time. Another
> minute later:
> Tue Oct 27 09:15:02 2009
> *        ChilliSpot-Version = "1.0.13"
>         Acct-Status-Type = Interim-Update
>         Calling-Station-Id = "00-1F-33-FF-BD-00"
>         NAS-Port-Type = Wireless-802.11
>         NAS-Port = 4
>         NAS-Port-Id = "00000004"
>         Framed-IP-Address = 172.25.0.168
>         Acct-Session-Id = "4ae69d6000000004"
>         NAS-IP-Address = 172.25.0.1
>         Called-Station-Id = "00-16-B6-D9-5A-EB"
>        Acct-Input-Octets = 2132628
>        Acct-Output-Octets = 98448008
>         Acct-Input-Gigawords = 0
>         Acct-Output-Gigawords = 0
>         Acct-Input-Packets = 36067
>         Acct-Output-Packets = 68754
>         Acct-Session-Time = 126
>         Acct-Unique-Session-Id = "f3bcc21590c1afd1"
>         Timestamp = 1256627702
>         Request-Authenticator = Verified*
>
> Again, the amount of data usage is absolutely impossible for the backbone's
> capabaility. Another minute later:
> *Tue Oct 27 09:16:05 2009
>         ChilliSpot-Version = "1.0.13"
>         Acct-Status-Type = Interim-Update
>         Calling-Station-Id = "00-1F-33-FF-BD-00"
>         NAS-Port-Type = Wireless-802.11
>         NAS-Port = 4
>         NAS-Port-Id = "00000004"
>         Framed-IP-Address = 172.25.0.168
>         Acct-Session-Id = "4ae69d6000000004"
>         NAS-IP-Address = 172.25.0.1
>         Called-Station-Id = "00-16-B6-D9-5A-EB"
>        Acct-Input-Octets = 3097259
>        Acct-Output-Octets = 146070592
>         Acct-Input-Gigawords = 0
>         Acct-Output-Gigawords = 0
>         Acct-Input-Packets = 53364
>         Acct-Output-Packets = 101854
>         Acct-Session-Time = 189
>         Acct-Unique-Session-Id = "f3bcc21590c1afd1"
>         Timestamp = 1256627765
>         Request-Authenticator = Verified*
>
> Again, impossibly high. There is just one more account interim update, and
> then the person is logged off due to insufficient credit:
> *Tue Oct 27 09:17:14 2009
>         ChilliSpot-Version = "1.0.13"
>         Acct-Status-Type = Stop
>         Calling-Station-Id = "00-1F-33-FF-BD-00"
>         NAS-Port-Type = Wireless-802.11
>         NAS-Port = 4
>         NAS-Port-Id = "00000004"
>         Framed-IP-Address = 172.25.0.168
>         Acct-Session-Id = "4ae69d6000000004"
>         NAS-IP-Address = 172.25.0.1
>         Called-Station-Id = "00-16-B6-D9-5A-EB"
>        Acct-Input-Octets = 3701744
>        Acct-Output-Octets = 175905676
>         Acct-Input-Gigawords = 0
>         Acct-Output-Gigawords = 0
>         Acct-Input-Packets = 64216
>         Acct-Output-Packets = 122605
>         Acct-Session-Time = 228
>         Acct-Terminate-Cause = Session-Timeout
>         Acct-Unique-Session-Id = "f3bcc21590c1afd1"
>         Timestamp = 1256627834
>         Request-Authenticator = Verified*
>
> All in all, chilli has told radius that the user has used 171.29 megabytes
> in 3.8 minutes. Of that, 167.76 megabytes were in downloads, and 3.53
> megabytes were in uploads. Unfortunately, this is absolutely impossible with
> regards to the backbone speeds in South Africa.
>
> Any help would be greatly appreciated, I have no idea how to solve this.
>
> All the best
> Jack J Allan
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20091110/eabd5a29/attachment-0001.htm>


More information about the Chilli mailing list