ELSA Documentation


Accounting-module

The accounting module can be set to determine whether user data should be logged and stored in the flash ROM. The menu has the following structure (with default values):

/Accounting-module Charge management settings
State Indicates whether accounting data should be recorded or not. The possible settings are on or off.
Save-to-flashrom Indicates whether the sum table should be stored in flash ROM or not. The possible settings are yes or no.
Sort-by Indicates how the sum table should be sorted. The possible values are time (sorted according to online time) or data (sorted according to transfer volume).
Current-user This table contains the data for all current connections. It is semi-dynamic and starts with 16 initial entries. The table is expanded by a further 16 entries when it is full.
Accounting-list The sum table is stored here. This table contains the 512 user entries that either spent the longest time online or were responsible for the greatest transfer volume.
Delete-accounting-list Deletes the values in the accounting list.

The accounting-list has the following layout:

Username Remote site Connect. type Rx-kbytes Tx-kbytes Total-time Connections
User1 INTERNET DSL-connect. 234 45 43 4
User2 0 unknown 34 453 23 34

The sum table and the table for the current connection each have the same fields:

O Username
  Name of the user, or if the name cannot be resolved, the user's layer 3 address (IP address, IPX address or Mac address).
O Remote site
  Name of the remote station to which the user has transferred data, or from which data was received.
O Connect. type
  Type of connection established to the remote station. Possible values are unknown, dial-up connection, fixed connection and DSL connection.
O Rx-bytes, Tx-bytes
  Data volume on the interface (as 64-bit counter).
O Total-time
  Total online time for the user.
O Connections
  Number of connections established by the user.

© Copyright 2001, ELSA AG
http://www.elsa.de