Post APs0Kn9707ElbBvFui by HMHackMaster@mastodon.social
 (DIR) More posts by HMHackMaster@mastodon.social
 (DIR) Post #APs0KlbkiexUpRJ6HI by HMHackMaster@mastodon.social
       2022-11-22T18:16:28Z
       
       0 likes, 0 repeats
       
       #Linux #Server #Sysadmin #Ops musings:I run a *bunch* of #Debian #VirtualMachines in my colo. Since many of those #VM systems don't have direct WAN access (and to more efficiently use bandwidth), I run apt-cacher-ng proxy. The local OS's sources.list has the FQDN of the local apt-cacher for the OS; this means that only the apt-cacher reaches out to a public mirror for updates.And it looks like #GATech Debian mirror is down.So everything breaks! lol, perhaps I need to get with @kwf 😂
       
 (DIR) Post #APs0KmE2QJaEkBDfxA by kwf@social.afront.org
       2022-11-22T18:22:23Z
       
       0 likes, 0 repeats
       
       @HMHackMaster I don't touch my sources lists; I configure the proxy as a single line in my apt.conf.d.Unfortunately, much about the GATech mirror is broken, and we don't mirror Debian on our systems at all because of how broken their entire mirroring policy and infrastructure is.
       
 (DIR) Post #APs0KmiAcHgcFdJjv6 by AIaYYAle4i1uKmKpqy.gme@bofh.social
       2022-11-22T18:23:21.936445Z
       
       0 likes, 0 repeats
       
       Apt should move to using IPFS.
       
 (DIR) Post #APs0Kn9707ElbBvFui by HMHackMaster@mastodon.social
       2022-11-22T18:21:59Z
       
       0 likes, 0 repeats
       
       The stats? Sure, 21GB isn't a ton of data to start, but a 75% reduction in bandwidth consumption is pretty fantastic.Not to mention pulling an already-cached update (like when doing bulk updates across multiple systems) transfer at wire speed and network isolation is seamless.
       
 (DIR) Post #APs0UfGNAEgW2w1hCK by kwf@social.afront.org
       2022-11-22T18:23:42Z
       
       0 likes, 0 repeats
       
       @gme @HMHackMaster No.
       
 (DIR) Post #APs0Ug7txDVEix4RdI by AIaYYAle4i1uKmKpqy.gme@bofh.social
       2022-11-22T18:25:05.002332Z
       
       0 likes, 0 repeats
       
       Would solve a lot of problems. They could embed an ipfs library into apt.
       
 (DIR) Post #APs0wfHSgz3aD1t4ue by kwf@social.afront.org
       2022-11-22T18:27:25Z
       
       0 likes, 0 repeats
       
       @gme @HMHackMaster Would it though? What current problems would it solve?
       
 (DIR) Post #APs0wgR4OkKvn7OGWm by AIaYYAle4i1uKmKpqy.gme@bofh.social
       2022-11-22T18:30:10.502232Z
       
       0 likes, 0 repeats
       
       Wouldn't it all but eliminate the need for specific mirrors since the file store would automatically be distributed across all ipfs users and caches?And considering there are http/s bridges that could be easily built-in (or added to the sources.list) to accommodate ipfs network traffic that might be blocked by a firewall.
       
 (DIR) Post #APs1VMhNlssSiJYeRs by kwf@social.afront.org
       2022-11-22T18:31:55Z
       
       0 likes, 0 repeats
       
       @gme I have had this argument a dozen times, so I've stopped bothering to drag out all the proof of how badly this wouldn't work. Please provide receipts.
       
 (DIR) Post #APs1VN5UKG9xv4pu1Q by AIaYYAle4i1uKmKpqy.gme@bofh.social
       2022-11-22T18:36:30.433927Z
       
       0 likes, 0 repeats
       
       Not looking to argue.Not looking to fight.Not looking to shit-post.Although you haven’t told me anything why my suggestion wouldn’t work I might add.Apt already supports different transports. Apt is agnostic when it comes to the transport used to download packages.I’m merely suggesting that ipfs would be a beneficial transport to add and would streamline package distribution and reduce the reliant on users to distribution mirrors.
       
 (DIR) Post #APs2UIfDO5xtrdbGaW by HMHackMaster@mastodon.social
       2022-11-22T18:43:11Z
       
       0 likes, 0 repeats
       
       @gme I know very little about IPFS, so I'll default to @kwf  on this, but in my case, this incident was due to me changing from the default deb.debian.org repo to a custom specific one.I did this for a (tiny) bit of optimization: since my gear is in a datacenter, I can see (and prefer) lower latency and less-hop paths by selecting the specific mirror.All that being said, a quick re-test of my existing mirror list reveals that Fastly (who does the default mirror) is 5 hops and 0.8ms away 😂
       
 (DIR) Post #APs2UJ3fv9Wz5V2niK by AIaYYAle4i1uKmKpqy.gme@bofh.social
       2022-11-22T18:47:30.338655Z
       
       0 likes, 0 repeats
       
       Fastly is a CDN. A bunch of edge servers that have cached an origin server.Which pretty much is exactly what IPFS is too, by the way. Except everyone running the application is both an edge and origin server simultaneously.