Re: [Nix-dev] cache.nixos.org. mirror

2016-10-24 Thread Nikolay Amiantov
On 10/24/2016 12:55 PM, Eelco Dolstra wrote: > You could try the underlying S3 bucket (https://nix-cache.s3.amazonaws.com/), > but that should generally be avoided because it's a bit more expensive than > CloudFront (and of course slower). That probably would be a fail-safe solution, though I

Re: [Nix-dev] cache.nixos.org. mirror

2016-10-24 Thread Eelco Dolstra
Hi, On 10/24/2016 01:05 AM, Nikolay Amiantov wrote: > Apparently, recently cache.nixos.org was blocked in Russia[1] (not it > specifically, but rather a bunch of CloudFront hosts, because something > illegal was using it). I don't yet experience the block myself at home > (seems my ISP is

Re: [Nix-dev] cache.nixos.org. mirror

2016-10-24 Thread Nikolay Amiantov
I went somewhat other way, because I didn't want to put a financial and maintenance strain on Graham (but I appreciate the offer!) and I'm not sure how to find out an S3 bucket name. Instead, I ran this Ruby script to search for unblocked IP addresses: > require 'resolv' > require 'socket' >

Re: [Nix-dev] cache.nixos.org. mirror

2016-10-24 Thread zimbatm
Does anyone know the name of the S3 bucket that contains the files? The bucket itself might not be on the block list. Otherwise it might be a good opportunity to try IPFS out. It works around the IP block list and also distributes the transport costs to all of the users. On Mon, 24 Oct 2016,

Re: [Nix-dev] cache.nixos.org. mirror

2016-10-23 Thread Graham Christensen
Note this won't require trusting me because the packages will still be signed by upstream. On Sun, Oct 23, 2016 at 7:38 PM Graham Christensen wrote: > Looking in to this, I found Hetzner offers 20TB of bandwidth for servers > which cost less than € 39.00. > > I'd be happy to

Re: [Nix-dev] cache.nixos.org. mirror

2016-10-23 Thread Graham Christensen
Looking in to this, I found Hetzner offers 20TB of bandwidth for servers which cost less than € 39.00. I'd be happy to provide a mirror on my personal hetzner machine, but it wouldn't be anything official. If things got over 20TB though I'd need to re-evaluate the offer. I can imagine a need for

[Nix-dev] cache.nixos.org. mirror

2016-10-23 Thread Nikolay Amiantov
Hi all, Apparently, recently cache.nixos.org was blocked in Russia[1] (not it specifically, but rather a bunch of CloudFront hosts, because something illegal was using it). I don't yet experience the block myself at home (seems my ISP is reluctant to actually abide by the law). However, I can't