things-go / go-socks5

socks5 server in pure Golang with much custom optional. Full TCP/UDP and IPv4/IPv6 support.
MIT License
410 stars 71 forks source link

Questions: Handling Traffic Statistics and Connection Records for Each User #74

Open gopkg-dev opened 1 month ago

gopkg-dev commented 1 month ago

Description:

I need to identify the optimal location for managing traffic statistics and connection records for each user. This is crucial for monitoring user activity and ensuring system performance.

I aim to record the domain names of accessed websites along with their corresponding traffic information. Additionally, I want to control the number of active connections per user to optimize resource usage.