geter123

Download using webseeds .AVI files causes DoS on server (lots of  request)

Recommended Posts

Download using webseeds .AVI files causes DoS on server (lots of  request)

utorent 3.5.5 (bulid 45776) [32]
bt.determite_encoder_rate_for_streamers = false
bt.progresivr_pice_picker=false
bt.prioritize_partial_pices =false
bt.prio_fist_last pice =false


Downloading .avi file causes 2000 request to Apache server. It looks like  a DoS (denial-of-service attack) for administrators and automatized systems. If file have not video extension  this behavior do not occurs.

1. Get any file ~40MB.
2. Change extension to .avi.
3. Generate torrent with webseed, set pice size 16MB.
4. Download

See Apache log. You see 2005 request for this file.

1. Get the same file ~40MB.
2. Change extension to .xxx.
3. Generate torrent with webseed, set pice size 16MB.
4. Download

See Apache log. You see 4 request for this file.


I think that You try get resolution information if video filename extension in torrent file.

Can you fast fix this add this code:
if (webseedsExsist()) ignoreFileExtensionCode()


 

Share this post


Link to post
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.
Note: Your post will require moderator approval before it will be visible.

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.