Welcome! Log In Create A New Profile

Advanced

Re: md5 collision

September 13, 2012 07:43PM
Yes, re-requesting the same image will cause the same error (can't say with 100% certainty that it'll always do it though).


sudo hd /mnt/tmp/nginx/cache/5f/85/1b/56cc2e05fb85eb0a806444f1811b855f
00000000 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 00 00 01 |......JFIF......|

Naively, there doesn't seem to be any special header bytes?

Relevant config is:

upstream origin_magick {
server 127.0.0.1:4000;
keepalive 50;
}

proxy_cache_path /mnt/tmp/nginx/cache levels=2:2:2 keys_zone=main:200m max_size=100G;
proxy_cache_use_stale updating;
proxy_http_version 1.1;
proxy_cache_valid any 1m;
more_clear_headers 'X-amz-*' 'x-amz-*' 'X-Content-Digest' 'X-Rack-Cache;

location / {
proxy_cache_bypass $http_nocache;
proxy_cache main;
proxy_pass http://origin_magick;
more_set_headers -s '404 403' 'Cache-Control: public, max-age=120';
}
Subject Author Posted

md5 collision

karlseguin September 13, 2012 07:07AM

Re: md5 collision

Maxim Dounin September 13, 2012 08:50AM

Re: md5 collision

karlseguin September 13, 2012 11:21AM

Re: md5 collision

Maxim Dounin September 13, 2012 04:16PM

Re: md5 collision

karlseguin September 13, 2012 07:43PM

Re: md5 collision

Maxim Dounin September 14, 2012 07:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 45
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready