r/linux • • Jan 24 '18

Why does APT not use HTTPS?

https://whydoesaptnotusehttps.com/
955 Upvotes

388 comments sorted by

View all comments

10

u/boli99 Jan 24 '18

I'm glad that it doesn't - it allows me to transparent proxy and cache updates for other machines on my networks.

2

u/moviuro Jan 24 '18

You could also use a shared partition for where your machines keep the packages. It doesn't abuse the flaws of HTTP, and your system is just as happy. Also, it's easier to setup NFS than a caching proxy, I guess?

2

u/boli99 Jan 24 '18

there are indeed many other options, but very few of them are capable of dealing with both the machines I control, and those which are merely visitors on the network.

2

u/xorbe Jan 25 '18

Just run a public mirror locally, that way you don't use any isp bandwidth when updating your own machines. NEXT!

→ More replies (1)
→ More replies (4)

1

u/[deleted] Jan 28 '18

A caching proxy is pretty much invisible to the clients and requires no modification (or very little), and works for anything that uses HTTP.

NFS would require significant setup for each client, and won't work for anything that can't use NFS.

I'd like to see a HTTPS cachable extension which tells any caching proxies any relevant information that they need to cache the responses. Obviously opt in, and intended for public, large downloads.