[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

user traffic accounting



hi folks,
please direct me to some documentation on ways to account for user
traffic on a single machine, acting as BIND9, apache, postfix, and sshd
server for a number of users. i need to get as close as possible to
exact traffic volume measurements to do proper billing, and
(unfortunately), i can't use an upstream router for that.

i want to account for total traffic, which includes the following
challenges:

  - Shell: every user has ssh access. i need to be able to keep track
    of every byte coming in and out of sshd, but also any data sent to
    or received from the internet while using the shell account.
  - HTTP: a user has zero or more domains hosted on the system, all
    request and response volume should be added to that users accounting
    data.
  - Mail: any mail that the user receives should be byte-counted. the
    same applies to mail sent from the user account via sendmail, mail
    sent via port 25, and mail relayed (TLS client authentication).
  - BIND: c.f. with HTTP, basically the same applies.
  
if you ask me, this sounds like a horrible task. any tips from the ISP
experts?

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
don't hate yourself in the morning -- sleep till noon.

Attachment: pgpDO6CzgEGow.pgp
Description: PGP signature


Reply to: