171 points · by KingZil · 4y ago · 88 comments
A number of us have been working hard to backup whatever we can and some oversea universities thankfully would allow hosting on their private library domain.
However I also would like to host these files on a public domain, just to ensure more people can revisit on these events in the future.
I am considering to start a very basic category based (eg event based) website, with text and picture files, while video files (close to 6tb) will be uploaded to censorship resistant sites. And a torrent file that contains all files in that particular page.
It will be ran by my own fund/donation with monero.
What kind of option do I have? I am guessing it wouldn't be safe for me to self hosting, given the nature of these files.
If someone can give me a pointer, that will be great.
Thanks!
We don’t do hosting of any kind so you’ll have to secure that elsewhere.
Just email info@rsync.net to discuss.
I will say that that sounds fragile and non performant but … at the same time, the whole point of our service is to be a “dumb” primitive - in the classic Unix sense.
So, of course this is within our terms and we see plenty of folks doing things like this.
It’s important to note, however, that sshfs has been archived by its creator. What this entails with regard to the future of the project is uncertain though.
Is there a way to get a test account/download file to test bandwidth/latency? On top of this, are there plans for nodes closer to or preferably in Australia?
By the way, your personal websites certificate has expired today :)
Should work perfectly…
The only way to make it work with rsync.net would be to mount a sshfs on a machine running syncthing.
Not sure if the performance will be good.
Maybe with Rclone ?
1. This hosting is based on IPFS, which mean the data is immutable and no censorship can be apply, you can retrieve the data from another gateway in this list https://ipfs.github.io/public-gateway-checker/. You can find out more detail about IPFS here https://ipfs.io/
2. The owner of this hosting has donated his storage to the community and you can upload for free, this was original posted on Reddit at: https://www.reddit.com/r/ipfs/comments/v0bnd1/ipfsgatewayclo.... He has approximately 13.7PB of storage =)))
After upload, you might want to save all the CID of your data and share them with your people (just like a URL)
Virtually all IPFS storage and bandwidth from pinning and gateway providers is at least 2-3x what you'd expect to pay for S3, etc (because they just use S3 on the backend). The public IPFS gateways have such low request limits and especially poor performance they often struggle to load a website with more than a couple of IPFS hosted assets on it.
If you want to run your own node go-ipfs is extremely difficult if not impossible to use at anything more than toy scale. Eats RAM like crazy, uses a TON of bandwidth (not unexpected but still seems like a lot), garbage collection is broken, and much more...
Frankly the state of IPFS is embarrassing considering it's seven year old tech.
For storage, most of the Filecoin-backed serves (like http://web3.storage, https://nft.storage, and https://estuary.tech are either free or close to that for most use cases. Have you looked at those recently?
I hear you on go-ipfs, but there are now multiple implementations, include rust-ipfs, that are also getting there.
The Internet Archive provides free storage (last I knew from ~2014). https://archive.org/services/docs/api/ias3.html
Switzerland is only neutral on paper and has a history of letting itself and it's tech companies influenced by powerful foreign nations (the German-US - Crypto AG scandal , ProtonMail sharing info on some of its French users to the French authorities, etc.)
You might get good protection if you're a Swiss citizen living in Switzerland, but if you think Switzerland is some bastion of digital safety for foreigners, think again. If you're a foreigner, the Swiss authorities will not hesitate to throw you under the bus if you're being targeted by another powerful nation state with influence in Switzerland.
If you are actually interested in Swiss hosting for whatever reason, there are plenty of VPS & Dedicated offers these days, like Exoscale, that offer really fair pricing comparable to Vultr or DO
If you want to add an obfuscation layer in front of Cloudflare - though maybe not needed in your case since the content itself isn’t illegal in most of the world - but if you want to serve through Tor to protect Cloudflare you can - DO is a good option again - and if you go that route your Cloudflare site should have some random unrelated name and should only serve files if the requests have a magic header. Tor is where your going to reverse all the money you save with the Cloudflare + DO + B2 setup, your going to pay mostly for network usage, Tor has a lot of overhead. You can scale Tor horizontally across multiple hidden services if you can afford it.
Then you'd need a fronend capable mounting Storj and they seem to have pretty good documentation.
Again, unaffiliated, and not tested (yet)
Another alternative - pay google (https://one.google.com/about/plans) via a VPN in Turkey and you have 10TB for about 20USD a year. Make the files shared and there you go.
Oh and: I'm very sorry about what's happening in HK the last few years. I still hope the process is reversible.
https://docs.storj.io/dcs/api-reference/s3-compatible-gatewa...
my affiliate link (https://www.time4vps.com/?affid=1881)
So in that case you can use any commercial storage option suitable for that like Backblaze/S3/etc and simply use a 5$ VPS (which you can rotate often) in front
Split it into parts. Create a torrent file for each part. Get a private (home) server in the US and seed it, e.g. I have 1Gb upstream and would happily donate that to it 12 hours a day. Then come back to HN and other places with a website pointing to the torrent files, asking for more people to seed it. Also, ask seeders to store mirrors and put them wherever they can. 6Tb is not that much.
Bittorrent isn't a guarantee of reliability, it's just a way to distribute files among multiple seeders. But that assumes there will be many seeders, which for something like this probably isn't the case.
If you can get two other engineers to volunteer and about 5 or 6 volunteers for buying storage, you can cover all of the above in less than a month.
Easiest is probably Internet Archive though. With a torrent.
Look into CAR files. Once you get those it's easy to pin on IPFS with multiple providers. Some of them free or extremely cheap.
Well well, seems like cryptocurrencies have a valid use-case after all. ;)
But could I be the voice of reason here and jump in and remind the OP and everyone else to avoid putting all their eggs in one basket.
Even if you can't afford to replicate 6TB on multiple services, you should at the very least seriously consider picking, say three hosting services (preferably in different jurisdictions) and putting 2TB in each one.
In terms of offline/non-live backup itself, 6TB is really not that much these days. You could just buy a bunch of high-capacity hard drives, create multiple copies and spread them out via old-school "sneakernet" to your collaborators in different jurisdictions. Sometimes KISS is the best solution.
Having said that, external transfers across the net will end up being your bottleneck, so you'll have to decide how much compression is worthwhile to reduce the time on the wire.
Another option, if available, is dump it all to drives, and snail mail it, but I'm guessing you already thought of that.
Good luck.
MEGA.nz offers e.g. an 8TB storage tier for a reasonable price. I'm not bringing them up because of their security+privacy concept –which may suit you– but because of their take on how you can put the material to work (and do work) while hosted with them.
HTML embed videos from storage into your web content and they'll be decrypted on the fly as their watched. Link sharing for selected videos for discretionary views or downloads by receiving users, and of course team member co-op and granular access to said materials.
For starters though, prioritize getting material sent and backed up in relative safety before thinking about functionality. A simple store might fulfill your requirements in the end.
Feel free to drop me an email.
[0]: https://nitter.net/KimDotcom/status/1539426611870986240
Based on the assumptions I have about MEGA, Chinese intelligence and their motivations I find it unlikely they have an active, mutual conspiracy (impractical, expensive).
I assume MEGA is as viable target for covert, low-cost try-your-luck attacks as much as any other western infrastructure/enterprise. In that sense and in this post-Snowden world we live in, it seems as likely that any capable nation or five-eyes member et.c. could have* such a "backdoor".
*edit: 'has' → 'could have'
But yeah, I don't trust mega either.
Complaints about email spam with a MEGA email address: https://help.mega.io/security/data-protection/complaints-abo...
TLDR hypothesis - You get daily spam from a third party, using spoofed email headers, but I'm sure you'd figured that out already
Anyone outside of China may still be at risk, especially if they have family / friends there.
But to add a bit of opsec, the email above is on Protonmail, and if OP wants to reach out they can create a burner account there and email me - that would stay within the service. (cue debate about TLA access to Protonmail, but at least it's probably not the CCP)
I'm interested now. What happened?
https://en.wikipedia.org/wiki/Apple_Daily
https://en.wikipedia.org/wiki/Hong_Kong_national_security_la...
https://en.wikipedia.org/wiki/Internet_censorship_in_Hong_Ko...
10TB HDDs are cheap now. Three of them, with either lvm crypto or some other encryption system.
Three people leave the country on three different airlines to three different countries at three different times.
Then you sort out hosting the data.
Also, if you contact me at danny@fil.org, we may be able to put you in contact with other archivists working in this space, such as Starling, and Open Archive.
Best,
d.
Reddit also have data hoarders that might help
Check this list: https://datacadamia.com/file/edge_storage
There is a lot of other pricing implied if you want or not retrieve your data but this is mostly one write, several read solution.
I believe there's services to "pin" content to the IPFS network, but I'd be surprised if there aren't torrent seedboxes you can pay for with crypto, but I'm afraid I'm short on specifics. Would the idea be, to keep the files available, there would be a wallet that anyone can pay into to pay for hosting ? It's what I assumed we would get with all these blockchain projects but I haven't really seen it yet, there's filecoin and arweave but I don't know if that they are trustworthy for the long haul what with the market crashing
EDIT: After reading some blogs on FileCoin it seems like they fit the bill, and I think my notion of "anyone can fund the maintainance of this specific dataset" is known as a DataDAO and maybe doesn't exist yet?
I want to enforce this by only accepting monero, having privacy by default, at the cost of not getting a lot of donations.
They deal with exactly these kinds of issues, all the time, and they are a pretty practical crew.
Hopefully you're already using Tor.
I make the assumption that all the files you have are intended to be public. If they're not, only host and store encrypted versions using unique keys for each file so that you have the option to provide keys on a need-to-know basis.
I recommend having three tiers of storage (archive, online, and serving). Keep your primary backups on geographically diverse offline storage if possible; it should be enough to find a few people you trust in various countries to store complete copies since ~12TB hard drives are pretty affordable. Checksum everything, sign it, and make that signed list of checksums available for folks to verify that all their files are still intact. I don't have a ton of experience with using offline hard drives for longevity but I would expect that if everyone turns on their drive and verifies the whole archive once a year that you'll have a very low chance of losing any files. Check the Backblaze hard drive reliability posts for suggestions of good model numbers. Some individual disks will die but can be replaced and replicated from another source (probably 2nd tier). The goal of this tier is to not lose everything due to hacking or other attacks or disasters.
The second tier is the online storage. Cloud bucket storage (AWS, GCS, B2) is expensive at $10/TB-month or more, but it is readily available globally and can be secured with pretty good access credentials. It is probably too expensive to serve from buckets directly because of out-bound cloud network pricing. Local online storage is also fine for this if it has a fast internet connection. The goal for this tier is rapid replication of data to either the 1st or 3rd tiers to recover from data loss or spin up new mirrors.
I think for the third tier you should reach out to large CDNs and ask them to help host the large files as a public service to democracy. Failing that, setting up your torrent trackers and web servers on VPSs with rate-limits to avoid huge bills or getting kicked off the provider. Large public cloud instances are also a (expensive!) possibility but require hard-to-anonymize accounts and have pretty good abuse detection systems that will likely make it hard to repeatedly sign up for and host the same content again anonymously. Local/residential hosting in free countries on symmetric internet connections is also an option; plenty of people run tor exit nodes successfully and so you might be able to get enough people to run trackers from home. This is what will cost the most money and time, but it is worth having at least two active mirrors (vps hosts with copies of the website and files) at all times.
Get a few domain names in different TLDs based in different countries, each with a different registrar. This makes it harder for all of them to be taken offline at once. Keep a list of working mirrors visible on each mirror so folks know where else you are hosting if a domain goes down, and point each domain's DNS to a mirror (all modern web servers support SNI for hosting multiple TLS certificates per IP). This buys very cheap redundancy; setting up fully redundant serving behind a single domain requires something like cloudflare or AWS/GCP/Azure load balancers or your own custom front-ends. You could use round robin DNS to point every domain at every mirror's IP, but when one mirror goes down a fraction of users will get a long timeout until they try a working IP.
Keep your configuration files, scripts, web site source code, etc. in git or another form of version control, and make regular backups. Be careful to keep credentials out of version-controlled files. This makes it easier to spin up a new VPS web host whenever necessary, to track work done on the site, and to collaborate with other admins.
Depending on the risk you perceive, if you can trust other admins, split administrative duties up between multiple people so that no one person has administrative control (including passwords, hardware tokens, email accounts, ssh keys, etc) over all the online resources. If you have enough trusted people then shift to a cell-structured network where not all admins know how to identify each other.
Use hardware two-factor tokens wherever possible and watch out for targeted spearphishing attempts.
Good luck!
regardless of your opinion of crypto, you can get 1TB+ free filecoin storage per account, and have the data pinned 6 times for about 2.5 years. You can later extend the punning, and add estuary.tech and nft.storage for redundancy.
Fast upload, global distributed backups, fast reliable access, but you'll need to encrypt before upload if you don't want them public.