How to report a user with usage statistics after he logs out??

  • Dear Folk,
    I am new to pfsense, and I took about two weeks to test and try its great features. However, I have noticed that there is something missing which is to send a user a report for all the necessary statistics after he logs out. The report may contain log in and log out timing, usage duration, number of downloaded and uploaded bytes, and a balance of his credits when it is authentecated from a radius server.

    So, I wounder is there a possibility to have such a report?


  • Sure, use a radius server and store the stats on a database, then use PHP to publish the relevant user's account data.

  • Thanks for your reply, but I wounder how to do it, what attributes do I need to maintain in radius server, and how to build a php page that shows such information after a user log out?

    your help is much appreciated