Re: ftp(1) downloads a broken file; curl(1) doesn't

2016-12-01 Thread Stuart Henderson
On 2016-11-29, Jan Vlach wrote: > this is unrelated to OpenBSD and is probably a bug in blocklist.php on server > side. (User agent processing? ...) You'd see this in tcpdump, if you had this > debugged properly. > HTTP/1.1 200 OK > Date: Tue, 29 Nov 2016 12:38:49 GMT > Server:

Re: ftp(1) downloads a broken file; curl(1) doesn't

2016-11-29 Thread Jan Vlach
Hi Moviuro, this is unrelated to OpenBSD and is probably a bug in blocklist.php on server side. (User agent processing? ...) You'd see this in tcpdump, if you had this debugged properly. $ uname -a Darwin gaia.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Sep 1 15:01:16 PDT 2016;

ftp(1) downloads a broken file; curl(1) doesn't

2016-11-28 Thread Moviuro
Hi, I noticed that ftp(1) acts strange when it downloads some specific files from Internet: $ ftp -o zeus.ftp 'https://zeustracker.abuse.ch/blocklist.php?download=badips' $ curl -o zeus.curl 'https://zeustracker.abuse.ch/blocklist.php?download=badips' $ diff zeus.ftp zeus.curl # should not