feature request: either user.OpenLPFConnectionsCou - WeOnlyDo Discussion board

feature request: either user.OpenLPFConnectionsCou (General questions)

by rs4u, Friday, September 02, 2005, 12:28 (7021 days ago)

feature request: either user.OpenLPFConnectionsCount / user.OpenRPFConnectionsCount or event PortForwardDisconnect

Hi Kreso,

we try to limit the total amount of open connections a user can have to prevent single users from hogging all the servers recources.
Is there a way to retrieve the number of open connctions a user has on the server, preferably separated by local and remote port forwardings (i.e. the user x has 10 open connections using local PF and 7 using remote PF). I think about something alike object.ServicesCount, just for connections.

If there is nothing like this yet - could you either add these two properties to the user object or add an event PortForwardDisconnect (Private Sub object_PortForwardDisconnect(User, KindOfForwarding) so one can count that numbers oneself?

Thank you, Rainer

Re: feature request: either user.OpenLPFConnection

by wodSupport, Friday, September 02, 2005, 12:52 (7021 days ago) @ rs4u

Rainer,

this looks like a good suggestion. Let me try few things out, check current interface to see how to retrieve these values, or how to extend it so this becomes possible.

Re: feature request: either user.OpenLPFConnection

by rs4u, Tuesday, September 13, 2005, 08:37 (7010 days ago) @ wodSupport

any proceeding, Kreso?

have a great day!
Rainer

Re: feature request: either user.OpenLPFConnection

by wodSupport, Tuesday, September 13, 2005, 09:31 (7010 days ago) @ rs4u

Patience, my friend. I got it implemented, just didn't have the time to test yet. I will review it probably today, can send it to you for testing if you wish.

Re: feature request: either user.OpenLPFConnection

by rs4u, Tuesday, September 13, 2005, 15:22 (7010 days ago) @ wodSupport

C'mon, man! Patience is my 2nd name, isn't it? [:cool:]
Just got the guts to ask you about the proceeding - didn't say you're (too) slow or something alike [:smile:].

If you like to send it for testing I'd appreciate it though my tests surely wouldn't outperform yours.


Thanks, Rainer