PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: [NL]Portal on 08 September, 2004, 22:01:42

Title: Download limiter
Post by: [NL]Portal on 08 September, 2004, 22:01:42
Hello everybody ,

Can someone create a stand alone script like this ?

A sort of download limiter.

If someone connects my hub server he can download Max as a non regged user 750 MB and if the wanne download more then 750 MB he has to registrate himself before he can download. Can someone create some script llike this. Thanx..
Title:
Post by: bastya_elvtars on 08 September, 2004, 22:10:51
It can be solved somehow, but it is really hard ,and may be inaccurate. If i am wrong, a skilled guy tell me lol!
Title:
Post by: plop on 09 September, 2004, 00:53:53
file transfers are done between clients, the hub only helps them 2 connect.

plop
Title:
Post by: Snooze on 09 September, 2004, 01:19:02
Hmm.. I guess a user could be limited to x-counts of downloads by counting the times he connects to another user, right ?

Though this would include downloading of fileslists too ..

Someone correct me if I'm wrong..
Title:
Post by: bastya_elvtars on 09 September, 2004, 01:51:55
but we know the packet size dc++ sends
im totally intoxicated, but if we rely on $Send, we can do something. I dont know if it can be done, but gonna make tests as soon as i get clean lol
Title:
Post by: [UK]Madman on 09 September, 2004, 16:39:57
As the hub has nothing to do with actual transfers, there is no way for the hub to track amounts transferred.

Limiting the number of connection attempts would be possible, but as snooze said, it would include filelists and times when the clients dont actually connect (like no slots available).

So they could use up all their connection attempts and never get a slot  :P
Title:
Post by: plop on 09 September, 2004, 19:14:46
QuoteOriginally posted by Snooze
Hmm.. I guess a user could be limited to x-counts of downloads by counting the times he connects to another user, right ?

Though this would include downloading of fileslists too ..

Someone correct me if I'm wrong..
no the hub has no idea if it was an attempt 2 connect or a succesfull connect.

plop
Title:
Post by: Snooze on 09 September, 2004, 21:22:09
danm - i forgot about "fired and missed" atttempts :(

Thanks for pointing that ouy :)

So much for my  tCount[executeCrap] idea :(
Title: ( Perhaps i could be created )
Post by: [NL]Portal on 09 September, 2004, 22:12:08
Thanx all for all your reactions allready.

But is there no sollution for this prob.??
I think many people shall like a sort of script like this one. But if it not can be created. Yeah , very dahhhhm :D  ;(

But thanx all..
Perhaps it can be created , hopefully hear it soon. ;)
Title:
Post by: Corayzon on 10 September, 2004, 04:34:24
hey all,

aswell as whats allready been pointed out, a dc++ client will not resend the $RevConnectToMe string if it knows the clients ip, it will just directly connect to it.

but active users will allways resend a $ConnectToMe string.

The truth is, u cant monitor your users downloads or even correctly monitor passive user connections. If you want a limit on unregged users, the best that can be done is to block at the connection strings from unregistered users.

noza
Title: yo
Post by: lyte on 22 July, 2005, 01:16:30
Hey. may u help me?
i started with hub on my network betweens blocks
and there amazing speed 2MB each. So im askin about script limit speed, its possible to get script which1 will limit speed to 50kB ? its possible?
jabba yawn pwnz0r english :)
I will be so grateful for fast answer
FANX.