Jump to content

How to control and limit traffic bytes at every session


irigsoft

Recommended Posts

I need to control the traffic of each session.

In traffic control, I want to see and block if it is above [trafficeLimit] (parameter controlled by settings file) for each user session.

Reason: I want to control when someone tries to upload or send large data packets (if bad people try to block the server)

At this point I'm checking when (UniServerModule.ServerStats.BytesSent + UniServerModule.ServerStats.BytesReceived) > [TrafficLimit] via UniGUIServerModuleHTTPCommand, but that gives me all the traffic for the server and I realize that's not what I need.

Is there some BytesSent/BytesReceived that applies to each session and how can I track and control it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...