apernet/hysteria

Issue with Traffic Management in HTTP Authentication

Hiradpi opened this issue · 0 comments

Hello,

I am trying to create a panel for HY2 and need some information about how HTTP authentication works. I have managed to set it up and retrieve the username successfully, but I am encountering a problem.

I want to save, manage, and limit a user's traffic, but every time a connection is made, the tx value is 0.

For example:
{'addr': '0.0.0.0:0', 'auth': 'Hiradpi:password', 'tx': 0}

There wasn't any information regarding this in the documentation, and I am confused about what to do.

Can anyone provide guidance on how to properly track and limit user traffic in this setup?

Thank you!