[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Need wget feature defending against evil ISP's HPPT 302 H
From: |
Yousong Zhou |
Subject: |
Re: [Bug-wget] Need wget feature defending against evil ISP's HPPT 302 HIJACK |
Date: |
Fri, 26 Dec 2014 11:40:30 +0800 |
On 24 December 2014 at 16:48, Dawei Tong <address@hidden> wrote:
> Hell wget developers: I live in China and has an China TieTong
> Telecommunications DSL connetion .This ISP 's servers continous sending http
> 302 redirect with junk/AD link that corrupt my downloading files. I found
> this by analyzing the corrupted files, i compared 2 corrupted files from the
> same source and found they have inserted junk data to normal files. The
> testing file is a world of tanks game installer, i downloaded twice, both are
> corrupted.
Not much wget can do in this situation. Redirected or not, as long as
it is valid HTTP response, it will fetch it. Wget won't do the
sensing that the payload is AD junk then tell ISP stop hampering the
stream.
> Here is my test result:cmp -b -l b1_WoT.0.9.4_cn_setup.944980-2.bin
> b2_WoT.0.9.4_cn_setup.944980-2.bin
> 456582373 261 M-1 110 H
> 456582374 44 $ 124 T
It's binary data. I suspect your ISP has inserted any HTML elements
in it. Was it possible that this diff was caused by the website
serving different content for your requests?
Regards
yousong