RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
User abuse via downloaders - Must limit conns per IP!! HELP

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Hendrickson



Joined: 18 Nov 2009
Posts: 90

PostPosted: Jan 24, 2010 4:41 pm    Post subject: User abuse via downloaders - Must limit conns per IP!! HELP Reply with quote

I've just spent the last few hours fighting off users with bloody download accelerators, jetcar, flashget etc and the likes. Hate this programs. I google the net and see that one of the creates has added support for my site. And I guess then all XFS sites...

Checking my servers netlogs I have seen many free users are downloading files at crazy rates due to the same IP connection over 50 times...This overloads the server to no end. Both CPU and the network port maxed out.

How can we limit say free and registered users to say 1 ip connection. And then allow paid users say 10 ip connections?

Sharenator.net has this, which I think is PligramX's So how do we do this? Please share Smile
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Jan 28, 2010 1:29 pm    Post subject: Reply with quote

well, you can limit apache max conections ??
if i am not wrong , there is a setup in it that can limit max conections per ip and max total conections

but that will not change for normal and premium users then

not sure if the script can do that eather

Greets From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Hendrickson



Joined: 18 Nov 2009
Posts: 90

PostPosted: Jan 28, 2010 2:09 pm    Post subject: Reply with quote

PowerChaos wrote:
well, you can limit apache max conections ??
if i am not wrong , there is a setup in it that can limit max conections per ip and max total conections

but that will not change for normal and premium users then

not sure if the script can do that eather

Greets From PowerChaos


Thats your total limit. I want to limit per IP and user group. The whole problem is using direct links vs dl.cgi

directlinks allows for downloaders to rape the system
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Jan 28, 2010 2:14 pm    Post subject: Reply with quote

then dont allow direct links ??

because direct links are not protected by a script ?
so how you want it then to limit it ??

there is a reason why it is called direct link and not a download link

the value of a direct link is that you can DIRECT acces it with out any limitation

so its normal that you can make 100+ conections on it

so easy to solve , disable direct links and you dont have that problem anymore

only allow direct links from premium members

ps: a download locator like flashget only allows 10 conections per file Razz

Greets From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Jan 29, 2010 8:42 am    Post subject: Reply with quote

Captcha will definately help Smile
Back to top
View user's profile Send private message Visit poster's website
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Jan 29, 2010 9:11 pm    Post subject: Reply with quote

a capcha doesnt resolve direct linkings : S

it is onyl a capcha to get the link but the link is linked to your ip

maybe if the script can be a bit modified for the direct links
but then it still need to use dl.cgi ofcourse

if i am not wrong , those links are rewritten to fit the right locaion and to give a name to them

so a direct link need to get past a script to get the right file (files are stored like tr90jfro0h0v
but in database it gets a name
and it rewrite the file on the fly to the right name )

but not sure if it is posseble then to limit max conections , or there need to be a counter on it like ftp have

but the site doesnt works with ftp (only http) so thats hard to
els it was posseble to use a ftp limit conection per ip based (still apply global)

so the only way to do it is in the script itself , but that going be hard to do if i am not wrong

putting a counter in it , if more then XX conections returinging a 404 error page

then to notice that you need to keep in mind with the keep alive conections (browsing a webpage doesnt give only 1 ip , sometimes you got more conections to it then only 1 )


so not sure if it is posseble :S

Greets From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group