{{Header}} {{#seo: |description=Instructions on how to set up a {{project_name_long}} Download Mirror |image=Hosting-13348640.jpg }} {{title|title= Hosting a {{project_name_short}} Mirror }} {{intro| Instructions on how to set up a {{project_name_short}} Download Mirror }} [[File:Hosting-13348640.jpg|thumb]] = rsync from {{project_clearnet}} = == Overview == * Available over encrypted clearnet port 874. (Default port by openssl-rsync.) * Available over encrypted clearnet port 1874. (Default port by Debian ftpsync package, rsync-ssl-tunnel script.) * Available over [[Onion_Services#Notes_about_End-to-end_Security_of_Onion_Services|encrypted]] onion, port 873. (rsync default port.) Security advice: * Encrypted rsync is better. * rsync over onion is best. Commands below use for testing: * --dry-run Therefore: * Later for production you might wish to drop --dry-run and change the destination folder from ~/{{project_name_short_lowercase}} to a folder of your choice such as /var/www/{{project_name_short_lowercase}}. == preparation == {{CodeSelect|code= sudo apt install rsync }} == unencrypted rsync == Deprecated. Please use either, * '''A)''' TLS encrypted rsync, or * '''B)''' rsync over onion as documented below. == encrypted rsync over TLS == {{CodeSelect|code= rsync-ssl --dry-run --recursive --delete --times --perms rsync://{{project_clearnet}}/{{project_name_short_lowercase}} ~/{{project_name_short_lowercase}} }} == encrypted rsync over onion == Preparation. {{CodeSelect|code= sudo apt install torsocks rsync }} rsync over onion from {{project_name_short}} onion. {{CodeSelect|code= torsocks rsync --dry-run --recursive --delete --times --perms "rsync://{{project_onion}}/{{project_name_short_lowercase}}" ~/{{project_name_short_lowercase}} }} = Current Mirrors = * https://mirrors.dotsrc.org/{{project_name_short_lowercase}}/ [permitted use exclusivity] [no traffic limit for now] [permitted to hotlink] * https://quantum-mirror.hu/mirrors/pub/{{project_name_short_lowercase}} [permitted use exclusivity] [no traffic limit for now] [permitted to hotlink] https://quantum-mirror.hu/web/status_en.html [stale, reported] quantum-mirror.hu (DNS round robin) super.quantum-mirror.hu 1000/350 Mb/s 78.131.56.189 nova.quantum-mirror.hu 1000/350 Mb/s 195.38.126.147 IPv4 only no FTP supports rsync * https://ftp.icm.edu.pl/pub/Linux/dist/{{project_name_short_lowercase}}/ [only updated daily for now] [could ask to update more frequently] [rsync-ssl broken] * ftp://ftp.icm.edu.pl/pub/Linux/dist/{{project_name_short_lowercase}}/ * rsync://ftp.icm.edu.pl/pub/Linux/dist/{{project_name_short_lowercase}}/ * gopher://ftp.icm.edu.pl/1/pub/Linux/dist/{{project_name_short_lowercase}}/ * https://mirrors.cicku.me/{{project_name_short_lowercase}}/ [only updated weekly for now] [could ask to update more frequently] = Mirror Speed Test = 03 Mai 2020 * dotsrc 103 MB/s in in 16s [acting as primary mirror since] 21 April 2020 * whonix.org 44 MB/s in 39s * dotsrc 138 MB/s in in 12s October 2022 * dotsrc: Download speed 7-10 MByte/s (normal for that 50-100 Mbit connection). Took about 3 - 4.5 minutes. Forum discussion: * https://forums.whonix.org/t/whonix-vm-images-download-speed-issues-and-automated-download-speed-tests/15858/2 = Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Development]]