Input/output octets accounting
wlanmac
wlan at mac.com
Fri Sep 12 05:08:53 UTC 2008
Hmm.. good question. The answer, of course, is right there in the source
code. It depends on if you are using a tun or a tap device, where 99% of
the time, you are using a tun. The entire packet (as seen by chilli) is
counted... so, with tun, that would be the IP layer. If using a tap
interface, it is the entire Ethernet segment.
The RADIUS RFC doesn't specify what layer to consider when counting
octets.. maybe it does make sense to only count the IP payload.. hm.
David
On Thu, 2008-09-11 at 20:24 +0200, Gunther Mayer wrote:
> Hi guys,
>
> Does anyone know exactly how this is counted? On what OSI layer does it
> count the bytes? Transport layer? Network (IP) layer? Or even lower? I'd
> like to do some reconciliation with third party tools, right now they
> don't agree but probably because they're counting payloads at different
> OSI layers...
>
> Gunther
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
> For additional commands, e-mail: chilli-help at coova.org
> Wiki: http://coova.org/wiki/index.php/CoovaChilli
> Forum: http://coova.org/phpBB3/viewforum.php?f=4
>
More information about the Chilli
mailing list