Jump to content

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


geter123

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()


 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...