Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to view users traffic #4

Open
Hamedzargar opened this issue Apr 18, 2023 · 1 comment
Open

How to view users traffic #4

Hamedzargar opened this issue Apr 18, 2023 · 1 comment

Comments

@Hamedzargar
Copy link

Your script is great and incredibly easy to use. I can simply add users, see connected ones, revoke them and ...
Is there a way to inspect how much traffic (including download and upload) each user have used? OS is Ubuntu 20x
I've been searching google and everywhere and I'm completely confused. Do ocserv have this feature or any easy to use library to suggest?

@B-andi-T
Copy link
Owner

B-andi-T commented May 12, 2023

I'm glad to hear that the script is useful for you. I am working on adding some new features to the script. Now, the functionality you want is possible with Radius Accounting. Currently, you can only see the bandwidth usage of connected users with "occtl show user USERNAME" command, but the reports will reset when the user disconnects. I will try to add a simple version of it in the new update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants