26 ms·
The modern HTTPS world has no place for old web servers
- p49k 7y agoIt takes 10 minutes to put an old HTTP server behind a reverse proxied nginx instance with auto-renewing letsencrypt certs (you can even reverse proxy old HTTPS-supporting servers that have outdated TLS versions). I also disagree with the idea that HTTPS introduced the problem of requiring maintenance; anything you expose to the public internet needs maintenance and security upgrades.
- austinheap 7y agoI believe the author is suggesting the royal ‘we’ drew the separation of concerns line inappropriately. Is there a better way? I r not cryptographer.
- chasil 7y agoIt is also possible to use stunnel to do this, and the configuration to do so is really quite simple. It can be run both as a standing daemon or launched on-demand as an inetd service. The thttpd web server can run modern TLS with this approach, and the footprint is much lighter than with Apache.
- rcthompson 7y agoYeah, HTTPS is the response to the problem. The problem is that the internet is nowhere near as "safe" as it was a few decades ago. (Or at least, the unsafe-ness is now better known.) It's a bit like complaining that you can no longer take your origami collection outside without an umbrella. Well, the umbrella isn't the problem, the rain is. The umbrella is a solution. But of course being under an umbrella isn't the same as being outside on a sunny day. So sure, lament the change in the weather; lament the inconvenience of carrying an umbrella around all the time; but don't blame the umbrella for the rain.
- signal11 7y ago> The problem is that the internet is nowhere near as "safe" as it was a few decades ago. It wasn't very safe a few decades ago either. In 2000, I had naively set up a Linux box under my desk with a public IP, thinking maybe I could host a blog on it. It got a number of portscans within minutes of being set up, and subsequent monitoring showed lots of intrusion attempts. Luckily the box was patched, but I was essentially one zero-day away from being 0wn3d. But I did learn a lot before moving the box behind a firewall. I guess that back in the day, some people could wish these away as unproven threats well into the early 2000s until malware like Nimda / Code Red well and truly destroyed that illusion.
- WoahNoun 7y agoIf your two servers communicate over the public internet rather than a private network, all you've done is made your users believe they are behind a secure connection when they really aren't. For example, if your "old" server is a colocated physical server and your proxy server is a fancy cloud VM.
- swiley 7y agoThis is why the content should have been signed. IMO: https is actually overhyped, it solves some problems but has plenty of its own
- Jonnax 7y agoHow old is the server for this scenario? If it can't run a modern web server as a proxy directly. Then maybe you could set up a VPN tunnel between the server and your fancy cloud VM. But running some ancient hardware not for historical reasons but taking user data, is wrong.
- adrianmonk 7y agoOr the hosting provider could offer a turnkey solution. They could use something like VLAN to isolate that physical server on its own network, put the VLAN behind a firewall, and have an HTTPS reverse proxy that goes through that firewall. Depending on how their network is built, it might even be possible to make this self-service where you enable a setting in your account and your physical server gets wrapped in this additional layer.
- danShumway 7y ago> all you've done Eh. I sort of disagree with this specific phrasing. People shouldn't focus only on targeted attacks on the server. Of course if you have an HTTPS proxy in front of an HTTP server, you can be MITMed between those two servers, and that's very bad. But even with that flaw you're getting benefits. Public networks can't inject malware/ads into that webpage, a MITM attacker between your proxy and the main server will have a harder time correlating a request with a specific person, ISPs will have a harder time scanning the traffic for use with ads/metadata. This is a similar argument that comes up sometimes about VPNs. I know people who argue that a VPN does nothing because it just moves trust from one party to another. But the reality is that if you search my public IP address, you will get a pretty decent approximation of where I live. In a world without a VPN, I'm not just choosing whether or not I trust my ISP, I'm choosing whether I'm comfortable giving a decent marker of my physical location to literally every single website that I visit. That doesn't mean the "moving trust" concern isn't valid, it just means it's not the full picture of what a VPN (either privately hosted or through a 3rd-party) protects you from. In the same way, it is a valid concern that behind the scenes data might not be encrypted between a proxy and a server. But that's not the full picture of what HTTPS protects you from. HTTPS also protects you at the router/network level.
- Silhouette 7y agoI also disagree with the idea that HTTPS introduced the problem of requiring maintenance; anything you expose to the public internet needs maintenance and security upgrades. Although this argument doesn't allow for the huge number of websites that are not on the public Internet, but instead running on someone's internal network or embedded in some device. It is a dangerous trend for us to rely on browsers made mostly or entirely by businesses who care little for those environments because they make no money from them. There are good reasons that long-lived standards and forward compatibility are important, not least that whoever first developed some useful in-house service with a web front-end or manufactured some long-lived, high-value device may no longer be around to update things routinely according to the whims of Google or whoever.
- _jal 7y agoThe issue isn't that Google doesn't make money on intranets. The issue is that the security landscape has gotten so much worse and continues to become more hostile, and private IP address space and a packet filter don't provide nearly as much protection as a lot of people want to think, and attacking internal applications from "outside" is commonplace. The trend towards zero-trust and such is driven more by the fact that there's no such thing has home anymore, at least as far as networks are concerned - there's no realistic way to keep the internet out. And those IoT devices with long-lived security holes are landmines, not assets. I'm much less worried about "long-lived, high value" ones, because those are far more likely to get updates than cheap, fire-and-forget webcams and such. I agree entirely that forward-compatibility is an extremely important consideration. Security, however, frequently pulls in the opposite direction, leaving an unpleasant tradeoff. The trend will not reverse - I don't see how it realistically could. We live in the Red Queen's world.
- Silhouette 7y agoYou're arguing that there are no environments now where bad people can't penetrate and roam freely inside the local network? If so, I'm afraid I don't accept that premise at all. Even a basic firewall that accepts no unsolicited incoming traffic is highly effective in environments where you don't need to serve anything to the public Internet from inside your LAN. Between that and keeping software like web browsers and email systems that actively fetch data from outside updated, an average household or small business will be protected reasonably well against most routine threats. The world is far bigger than cloud computing and IoT devices. There must be millions of little in-house web applications someone wrote long ago that are still useful, probably running on some 10-year-old PC in the corner, with some sort of scheduled back-ups if you're lucky. There is also no guarantee that even a high-value, long-lived engineering device manufactured a decade or more ago and still in perfect working order also still has ongoing software support. There is a huge amount of value locked into these old systems, and arbitrarily dismissing their relevance if they don't meet modern security standards that may or may not even be relevant in all the circumstances is like designing a building with such robust security that no-one can get inside, even the owners.
- CamperBob2 7y agoIt takes 10 minutes to put an old HTTP server behind a reverse proxied nginx instance with auto-renewing letsencrypt certs Hi. I've been online since 1982, when I built my own modem from parts sold out of the back of a magazine. What you just wrote might as well have been instructions for assembling a DIY fusion reactor, for all I know. That's what the author means when he suggests that something is being lost. I now have no realistic choice but to go through a centralized gatekeeper to post content on the Web. That sucks. It wasn't supposed to be that way.
- satyanash 7y ago> no realistic choice but to go through a centralized gatekeeper This is the critical part. Even though Let's Encrypt is not-for-profit, etc. It is still a single entity. Until someone can go and start their own CA in that 10 minutes that works across the world, we're moving away from and not towards what HTTP was.
- AmericanChopper 7y agoThe A in CA is always going to stand for authority. The basis of the CA system is that CAs (supposedly) can be trusted. If you remove the hard parts of being a CA, then you remove the basis for that trust (however questionable it was to begin with). You don’t have an authority any more, you just have an ephemeral group of self-attesting certificate issuers, and why would you even need the issuers in that case? These are just the general (and unsolved, or perhaps even unsolvable) problems associated with PKI. I think there’s a solid argument to be made about separating the encryption of communication from the authentication of server identity. That would solve one problem, but it would also just take an existing bad problem and (arguably) make it a lot worse. Given all of its horrendous shortcomings, the CA system is still the most successful PKI ever created, by quite a large margin.
- Silhouette 7y agoThe usual alternative proposal is some form of decentralised web of trust. This has the significant advantage that it includes neither the letters CA nor SPOF. But of course it has difficulties of its own, and unfortunately it's hard to see how we could move safely and reasonably quickly in that direction given the entrenched powers that now dominate the CA and browser markets. It is worrying that Let's Encrypt is currently the only major provider of free, relatively easily arranged certs, though. Its success has been impressive, but it's probably also one of the biggest single points of failure in modern Web infrastructure now.
- mariusmg 7y agoAh, the good old why have 1 web server when you can have 2 solution.....
- ric2b 7y agoAdding a process on the same machine is not the same as buying a new machine.
- yc12340 7y ago> anything you expose to the public internet needs maintenance and security upgrades. Uh, no — in the past you could have purchased a hosting solution, that does it's own TCP termination (such as shared hosting) to completely forget about your site. Many static websites still exist solely because of that. Now you can accomplish the same thing by paying Cloudflare (or some other party) to terminate your TLS connection. One more kind of parasites has been enshrined in technological stack.
- enlyth 7y agoYou don't have to pay Cloudflare anything, they will do it for free
- pmlnr 7y agoAnd with that, lock you in their ecosystem of proprietary web behind captchas.
- Sebb767 7y agoYou can also pay Hetzner, Wordpress, 1&1, AWS or any other hosting provider, most of which also offer automatic certificate renewal by now. I don't see how there is any change, especially since hosting has gotten a lot cheaper.
- crazypython 7y agoDo they offer automated certificate renewal for services with constantly changing IPs? I don't think so.
- Sebb767 7y agoWell, you surely could do this via some proxy setup. But in that case you could also simply rely on LetsEncrypt directly; them going away is as likely as your average hosting provider. Now, of course that's an item on the maintenance list if you're hosting the web page yourself, but as mentioned above: You still need regular updates, having certificate renewal on that list doesn't make any noticeable difference.
- josteink 7y ago> It takes 10 minutes to put an old HTTP server behind a reverse proxied nginx instance with auto-renewing letsencrypt certs The point of the article is that not even this is enough, because letsencrypt will change protocols, TLS versions and ciphers will be obsoleted, etc etc. Basically your entire stack will need to be kept continuously up to date. Just setting up Nginx in a Ubuntu LTS release won’t be enough, because you always will need to have everything up to latest always. And obviously you need to automate that self-update process too. So because the browser is insecure and allows JavaScript, everyone else who wants to serve a simple index.html will now need to be a full-on DevOps-expert. To me that sounds pretty backwards. How about we just fix the JavaScript-security issue in the browser instead? Or would that be just too simple??? This is breaking the web in the sense that everything which is old will perish instead of being preserved. Maybe I’ll go back to making my sites HTTP only. It certainly sounds simpler and more reliable than this...
- fomine3 7y agoI can update and maintain nginx and certbot(honestly I use lego) but I won't say I'm a DevOps expert. And you can deploy your static site on Netlify, S3 etc.
- wegs 7y agoAsk your mom to "put an old HTTP server behind a reverse proxied nginx instance with auto-renewing letsencrypt certs" and time her. See if it takes 10 minutes. Then ask someone to foot the server bill. See how many takers you get. This is fine for corporations with IT departments, but when I was a high school student, I had a web page, and my web server was sitting under a desk in a random office. When I was in college, professors ran their own web servers. A lot of innovation bubbled up, bottom-up. Big tech stuck that with a fork. That's not a good thing.
- theandrewbailey 7y agoA high school student/college professor is clever enough to write web pages and setup web servers, but not clever enough to install encryption keys and certificates? Not buying it.
- Silhouette 7y agoThere is a difference between being able to do something once and being willing to take on some ongoing and occasionally time-consuming responsibility to maintain it. Look at how many useful but Java-based demonstrations on academics' websites became inaccessible when the browsers decided Java plug-ins were evil and should be removed. What happened was not that people who had voluntarily spent considerable time over the course of possibly several years developing useful little bits of software suddenly dropped everything to redo all of that work again in a different language just because the browser developers had decided that other language was now flavour of the month. Instead, lots of valuable work was effectively lost.
- cycloptic 7y ago>Instead, lots of valuable work was effectively lost. How? It's Java. You should be able to download the JAR and run it on any compatible JVM.
- hedora 7y agoJava changed its security model at the same time, and applets needed to run inside a web browser. (You could fix this by modifying the source, but why bother, since no one would use the result in practice?)
- polote 7y agoIt takes less than 1 minute to correct its writing mistakes before publishing a message and still most people dont do it. The time it takes to do an action is not enough to evaluate the task
- mmmeff 7y agoEveryone mentioning their quick and scrappy solutions to setting up TLS termination is completely missing the spirit of the author’s letter. Did y’all even read it?
- hawski 7y agoYou're right. Commenters seem to comment based strictly on their perception of the title. I think however, that authors point was moot already - your network connected machine can't be static, it shouldn't be in years. There are constantly new RCE's and other exploits since ages. Your network connected machine must be maintained, whether it's a basic web server or your phone.
- pmlnr 7y ago> your network connected machine can't be static, it shouldn't be in years. Why not? Imagine if it's a purpose built webserver on a microcontroller[^1] which only serves strictly static pages or text files. [^1]: http://tuxgraphics.org/electronics/200611/embedded-webserver.shtml http://tuxgraphics.org/electronics/200611/embedded-webserver...
- pwinnski 7y agoThen it's pwned and useless-at-best as soon as an exploit is found, and can never be updated.
- hrktb 7y agoWouldn’t there be a point where we run out of readily exploitable vulnerabilities against a specific platform ? For instance if I was running a server on an 50 yo IBM framework serving static pages, how many serious attack vectors have been left unpatched at this point ? (ignoring DDOS type of issues where the content is not compromised)
- lmm 7y agoThere was a 26-year-old bash bug a few years back. How would you ever know when you'd found the last bug? Unless you do some formal verification of that 50yo IBM framework, I certainly wouldn't trust it to be exposed to the internet.
- pmlnr 7y agoEveryone who adds "certbot is EZ" comments: it makes you rely on a service. This is the very problem of certificates, because self-signed was never trusted and is not an option. HTTP isn't supposed to rely on external services that can die, cut you off, block you, etc. This is not a matter of how easy it is to align with the current browser dictated situation. EDIT: LoTR typo (elf vs self) fixed.
- duncan_bayne 7y ago> elf-signed was never trusted I think the main reason is that they're on the whole pretty racist towards dwarves.
- gerikson 7y agoAlso the security of the Doors of Durin was basically plaintext.
- mschuster91 7y ago> This is the very problem of certificates, because self-signed was never trusted and is not an option. What I don't get, with DNSSEC getting rolled out more and more, why can't every site operator simply stick the fingerprint of their HTTPS cert in DNS and have DNSSEC take care of the trust chain?
- pmlnr 7y agoCould you please point to a tutorial/howto on this? EDIT: why on earth was this question downvoted? It was genuine, I honestly don't know how to do it.
- mschuster91 7y agoIn theory there is the CERT DNS record type that could be used, but no OS/lib uses it unfortunately as prior to DNSSEC there was no way to prevent the CERT record from being manipulated/intercepted :/
- 7y ago
- White_Wolf 7y ago30 min(for a noob like me) to fix: Pfsense + HAproxy + certbot enabled you can serve old websites all day long
- unilynx 7y agoBut are those available for "an old SGI Irix workstation or even a DEC Ultrix machine" ?
- pjc50 7y agoI believe the suggestion is that you proxy them via another system.
- shiftpgdn 7y agoWhich will if you listen to the advice of HN will be an ec2 micro instance. Which means you're handing more of the internet over to "the big guys" exactly as the author of the article points out.
- MegaThorx 7y agoI would say depending on the traffic a raspberry pi should suffice?
- White_Wolf 7y agoGood point. That would be more than enough for low traffic.
- White_Wolf 7y agoFirewall should be a separate machine. I am using 2 x 2012/2013 fanless industrial PCs next to the server rack(one main + 1 spare). The idea is that you're not losing anything or changing anything on the original website/machine. You just add one in front of it and you're done. Would work with anything ethernet enabled as far as I know. I never worked with SGI Irix or DEC Ultrix but I assume that they can handle ethernet connections if they are serving websites.
- shrikant 7y agoSomewhat tangential: I maintain an internal webapp that runs PHP on IIS (I know, I know...). Does anyone know how I can add a legit SSL certificate to a setup like this? Everyone currently accesses it using a http://<friendlymachinename>/ http://<friendlymachinename>/ URL, and I've somehow been unable to find information on how to HTTPS-enable this app!
- dillonmckay 7y agoIIS 7.5?
- shrikant 7y agoJust checked, and it says IIS 8.5.
- MegaThorx 7y agoI'm currently using the DNS challenge of Lets Encrypt for something similar. My setup is a VM running docker with multiple sites. I just setup a DNS record (it only points to the IP of the VM which is a private (eg 192.168...) one) and setup traefik as the reverse proxy with the DNS challenge. Works really well except that my router blocked the DNS record at first.
- shrikant 7y agoThe machine that's running this has no Internet connectivity though (which is a big reason why it's running that stack in the first place!), so I'm not sure if that approach would work? It's a workplace server as well, so I don't really have the freedom to punch holes for outside access.
- captn3m0 7y agoYou can issue a certificate for it just via DNS challenge on another system, and then get the keys+cert to the actual system. The crucial question is: do you control your users's DNS? I had a setup like this in college, and wrote this: https://blog.sdslabs.co/2014/07/sdslabs-domain-working https://blog.sdslabs.co/2014/07/sdslabs-domain-working
- notRobot 7y agoUgh. I have a bunch of "projects" of mine on the internet, many of which run the most minimal (I'm talkin [0]) http servers on embedded hardware and stuff like arduino where HTTPS just isn't possible. And the only I keep them online is because they don't require any upkeep whatsoever, and don't rely on external services for certs or whatever, and because the occasional web browser stumbles upon them and finds them useful. I really don't want to actually put work into them though. [0] https://stackoverflow.com/questions/16640054/minimal-web-server-using-netcat https://stackoverflow.com/questions/16640054/minimal-web-ser...
- WilliamEdward 7y agoUsers are all about privacy and security until they realise they have to actually maintain their websites to achieve it, then it becomes an unnecessary chore.
- Jonnax 7y agoProxy them through nginx would be what I'd do. Not exactly your use case but when running software that has a complicated HTTPS cert system, I just add nginx in front of it and then use let's encrypt.
- poisonborz 7y agoBut what is "lost"? All the user gets is a warning that this site is not secure. Which is true. As long as browsers don't block these sites, or even until there is a maintained browser that can, this is just a necessary security feature.
- FerretFred 7y ago> As long as browsers don't block these sites This is the trend though, and ultimately I get the impression that Google/Chrome will just say "no".
- princekolt 7y ago"until this long list of conditions don't change, even though the industry has repeatedly changed these very constraints several times" is not something I would classify as trivial
- pmlnr 7y agoSSLv3 is deprecated and modern clients don't allow to use it any more. Old HTTPS servers, that predates TLS are already inaccessible.
- Avamander 7y agoYour point being?
- ivanhoe 7y ago> As long as browsers don't block these sites Not an expert on SEO, but I remember Google saying back in 2015 that sites using https will be preferred in search results?
- cesarb 7y ago> As long as browsers don't block these sites These warnings are a preparation to permanently block pre-TLS1.2 HTTPS. For some time after that, you will still be able to set a hidden preference to unblock them, but sooner or later, the code implementing pre-TLS1.2 HTTPS connections will be removed.
- preommr 7y agoMaybe we could use a doctype that allows for plain websites (no js, no forms, no inputs) to be accessed without a warning from the browser when not using https.
- toyg 7y agoThat would be nice, but not even wikipedia would use it.
- the8472 7y agoAll of that can be achieved with CSP headers. But I think browser vendors will ratchet up their rhetoric and claim it's still unsafe and must be warned about because someone may learn which site a user visited.
- nicbou 7y agoThat would still open you up to MITM attacks
- marcosdumay 7y agoMITM attacks aren't much of a problem if you are just displaying some static HTML from a random blog, can't show anything else, and the user has a large confidence his browsing history won't be used against him by any large internet party (any telecom, government, your hotel, etc, even the ones not on the obvious path). I guess that last one is a pretty big dealbreaker, but I can understand somebody saying "it's just a site full of old jokes, I don't care about it".
- discreditable 7y ago> displaying some static HTML from a random blog Hard ask given how many don't work with JS disabled.
- OliverJones 7y agoLost forever is the trust internet users shared twenty years ago. We didn't worry about exploits and security updates because we didn't have to. Even if somebody cracked a server, it was to learn and for the lulz. Now that the global internet is overrun with cybercreeps we have to use TLS and release and deploy security patches regularly. If the early net protocols had been designed security-first, we wouldn't have this situation. But, if they had been designed security-first, the internet wouldn't have taken off. TCP/IP would still be competing with MAP/TOP and the whole x.whatever stack. I lament the loss of innocence.
- anthk 7y ago20 years ago, FFS we cared. A lot.
- deleted 7y ago[deleted]
- krapp 7y agoTwenty years ago was the year 2000. The web had plenty of exploits, "cybercreeps" and bad actors with malicious intent back then.
- dredmorbius 7y agoWas it trust, or was it misguided obliviousness?
- carapace 7y agoTwenty(-five) years ago the Internet was Burning Man, now it's Bangkok. "Hell is other people."
- deleted 7y ago[deleted]
- Deukhoofd 7y agoWhile I personally agree with making the entire web run on https, I can definitely see the argument that it requires more monitoring and maintenance, especially when your certificate provider changes their protocol. I wonder if there can be a future drive for a system where this is not required anymore, and where we can create a decently standardized form of encryption of the same or better quality as TLS, without being dependent on external services.
- princekolt 7y agoI agree with the author's points entirely, but I'm going to be the devil's advocate here and argue that this is fine. Sure, old websites will stop working, but just as we shut down our FM radio and analog TV to make room for new amazing technology, and therefore rendered several generations of radio and TV devices useless, the internet will need to learn to live with the fact we can't possibly support its entire spectrum of functionality forever. However, I see this as a tooling and ergonomics issue. Despite what people say about certbot, it is still not 100% trivial to use it. If your stack differs slightly from the canonical HTTPS server, you're gonna have issues. I'm not saying these problems are inherent to certbot, just that there is room for improvement. Once we have normalized how certificates are signed and verified, and use encryption methods that can easily be tuned for increased computing power, and more importantly, once HTTP 1.0 is no longer an expectation, I believe the amount of manual work needed to maintain a server will go down again. We're at a transition phase and we all know these are never easy (except if you're Apple and you're transitioning CPUs architectures, apparently).
- anthk 7y agoFM radio degraded well.
- holri 7y agoMy very, very old Telefunken FM Radio in my workshop full of dust and dirt works flawlessly. I tried to replace it with a modern, shiny one. But this new one broke after a few months. Now I placed the old one where it was for centuries and now it happily plays my favorite program again.
- sp332 7y agoAnalog TV had to be moved because it was taking up limited resources. Old websites aren't taking up valuable real estate. There's no benefit to shutting them down.
- crazygringo 7y agoOf course there is. If they're HTTP, they're insecure, which makes them an open attack vector. Modern computer security is about removing as many known possible attack vectors as possible. So that's the benefit. EDIT: to those saying browsers are sandboxed or that there's nothing sensitive, it projects against e.g. Comcast injecting JavaScript into pages from other sites. [1] There are all sorts of types of bad actors out there. Surely I don't need to list them all here. [1] https://thenextweb.com/insights/2017/12/11/comcast-continues-to-inject-its-own-code-into-websites-you-visit/ https://thenextweb.com/insights/2017/12/11/comcast-continues...
- pornel 7y agoOn the software side, we're getting HTTPS churn now, because we've only relatively recently started taking it seriously, after over a decade of ignoring it. TLS 1.0 is from 1999! Hopefully, we'll eventually figure out how to make a TLS stack without endless buffer overflows and padding oracles, so it won't be necessary to upgrade servers all the time.
- WilliamEdward 7y agoI like that HTTPS forces you to actually care about improving and maintaining your website. Somehow, leaving your site alone forever to gather dust is considered a good thing. The author totally missed that one. Yes, some sites serve basic content that can stay up forever without change (thistothat.com comes to mind as a good example) but it really doesn't hurt to force people to put a little bit more care into their sites.
- nicbou 7y agoBooks get written once. Why can't websites? We still learn from documents that are centuries old, and when a cache of them is found, it makes the news. Yet on the other side, we let so much information expire because the underlying technology is obsolete.
- ozim 7y agoBooks are not going to turn into a botnet node. Books hardware is not getting less efficient when new paper is produced. Electronics will not live centuries unless you spend loads of money to maintain it.
- dredmorbius 7y agoSecurity arguments notwithstanding: - Book contents frequently get updated. Revisions, translations, editions, adaptations. - Book formats see change. There are at least some works which have seem multiple forms (oral traditions, clay tablets, vellum codices, stageplays, printed books, operatic adaptations, three-ring binders/loose-leaf circulars, magazine serials, paperbacks, radio serials, cinema series, comic-book adaptations, Broadway musicals, TV series, PS documents, PDF files, podcasts, videogame adaptations, YouTube channels, ebooks, ...) Generally, websites are less a document format than a publishing mechanism. Print-on-demand-on-steroids.
- benbristow 7y agoWe have the Internet Archive (archive.org) to backup lots of this information via the likes of the Wayback Machine. Books & physically documents can decay naturally or be damaged physically, digital media can be damaged physically too. A hard drive or SSD can fail at any time, a disc can be scratched, a tape can get tangled. Easier and more accessible redundancy is an advantage of digital media.
- tilolebo 7y agoBut if you really wanna run a webserver for the next 20 years without maintaining it, isn't HTTPS the least of your problems? What about system and software updates to fix critical vulnerabilities? Hardware failures? I feel these things would take much more maintenance time than the occasional certificate renewal.
- gpvos 7y agoYou could run djb's publicfile, which serves only static files.
- est 7y agoThe solution: use PASSIV enabled FTP servers. It works in most browsers (for now)
- swiley 7y agoI’m pretty sure ftp only works on browsers with patches/flags to enable it that are added by district maintainers. I remember most major browsers dropping it in official builds.
- deleted 7y ago[deleted]
- tonetheman 7y agoI love this article. All this switch to HTTPS just so Google can guarantee its ads are being seen. You get some other benefits as a side effect... but that is the real reason HTTPS is everywhere. Ah well.
- dmarlow 7y agoCan you elaborate on this?
- deleted 7y ago[deleted]
- upofadown 7y agoThe root problem here seems to be that web browsers (and to some extent servers) have become quite insecure in practice due to the insane complexity of all the different protocols they now support. If you are using Mosaic to access ancient web sites the most an attacker can do is to change the content. Now remote attackers have a simply vast attack surface. They can actually run code on your computer. History has shown such code can never be perfectly sandboxed. So you need to be very sure you are where you think you are and that you are only getting content from that place. TLS is an essential band aid fix. The same sort of thing comes up anywhere HTML is used. People sometimes claim that email is inherently insecure. In most cases it turns out that html email is inherently insecure. It seems that any popular protocol eventually gets extended to the point where it is impossible to keep it secure. It also seems that the popularity of the protocol causes a period of denial.
- ipython 7y agoLet’s be honest: remote attackers could run remote code on your computer running mosaic a lot easier than today with modern chrome. RCE in mosaic or Netscape was probably trivial, it just wasn’t as well studied as today. Just look at how many times those browsers would crash in the normal course of web browsing, even back then. Nobody was intensely fuzzing their html parsing engines, image processing libraries, scripting elements, plugins etc. Heck, IE used to load and run arbitrary code as “activex” controls. No fancy exploit needed!
- anthk 7y agoOpera not much, it was pretty decent and full of features. But nearly all decent "web" software required IE with Active X thru an OCX. Also there was a Netscape plugin I think.
- mpolichette 7y agoI don't agree... I think browsers are not the weak link here. I'll agree they have a large attack surface, but the communication channel needs to be secure regardless of what client receives it. > the most an attacker can do is to change the content. Sure , but I would argue, depending on on the content, that malicious content can be just as bad as malicious code. Just ask anyone who has been phished.
- rodolphoarruda 7y ago> Even with automated renewals, Let's Encrypt has changed their protocol once already, deprecating old clients and thus old configurations, and will probably do that again someday. Just another hurdle to our effort to make things last on the Internet [1] [1] https://jeffhuang.com/designed_to_last/ https://jeffhuang.com/designed_to_last/
- tleb_ 7y ago> In the era of HTTP, you could have set up a web server in 2000 and it could still be running today, working perfectly well (even if it didn't support the very latest shiny thing). I'm not sure this assumption is right, looking at the CVE list and in particular entries associated with Apache. http://cve.mitre.org/cve/ http://cve.mitre.org/cve/ https://www.cvedetails.com/product/66/Apache-Http-Server.html?vendor_id=45 https://www.cvedetails.com/product/66/Apache-Http-Server.htm...
- richardwhiuk 7y agoI agree - it's completely naive to believe that any software deployed 20 years ago, and open to public attack, with zero maintenance wouldn't be attacked, and compromised. I'd like that to be the world we live in - and with the continual evolution in secure programming practices, maybe one day it might be, but it's not. As a profession of software engineers, we have not achieved the level of quality at the costs that is willing to be met to engineer public facing websites that won't be vulnerable to attack at some point in the next 20 years, and will still be running.
- fomine3 7y agoI believe OP want to say that it just not stops working
- l0b0 7y agoI think the GP comment demonstrates that it very likely will stop working very shortly if left on the open web.
- timw4mail 7y agoOn the other side, it is now almost impossible to use the internet on a retro computer. I absolutely understand the drive to use more secure TLS, but it's a really sad experience to see that you can load Google, but have nearly every link unable to load. It wasn't that long ago that I could try out some ancient browser on some modern website, and at least see it fail to render well. Now you can't even connect. This leads to interesting situations with, say, PowerPC Mac software sites. Either they have http connections, or they use user-agent sniffing to downgrade TLS.
- mrunkel 7y ago> This leads to interesting situations with, say, PowerPC Mac software sites. Either they have http connections, or they use user-agent sniffing to downgrade TLS That doesn't work. The user-agent is passed after the encryption channel is established. What they do is offer all the options, and the client picks the best one they can support. However, why would this need to be HTTPS to begin with? If you're not transmitting anything private, HTTP works just fine.
- toast0 7y agoDowngrading TLS only works so far, a lot of older clients won't understand SHA-256 signatures on modern certs. I don't think anybody will do SHA-1 certs anymore, so you would need to give those users a self-signed certificate or something.
- welly 7y agoIsn't the more interesting part of old web servers what it actually contains in the form of content rather than the technology?
- waltpad 7y ago...and old web navigators. Protocols evolve, security requires old encryption schemes to go away, thus the OS you use has to keep up as well, and if you try to use a reasonably old live bootable DVD, you might have some surprise.
- at_a_remove 7y agoI agree with this wholeheartedly. I had to maintain a lot of old custom appliances and the like for which no ready replacement existed. Niche stuff where you had one or two vendors in the whole arena. If they were running on Apache, it was hidden somewhere with a big "WARRANTY NULL AND VOID" sticker. For all of these custom jobs, HTTPS was an afterthought, if it was present at all. For these, I had to generate cert requests through a menu system, load up certs through a menu system, and the like. I couldn't just CertBot it. That's never going to happen. Frankly, the latest cult fad ("all must be encrypted, heretic!") has not made my life easier nor brought any benefit to my users. Nobody was going to MitM for this stuff. It's just another tiresome fashion like the people who relentlessly put W3C validation boxes at the bottom of their webpages, only now it is getting shoved through by the same browser vendors who wonder if us mere mortals need to see URLs at all.
- kop316 7y ago> has not made my life easier nor brought any benefit to my users So I'm curious, is this appliance on a private network or something? That's they only way I see that it doesn't bring any benefit. If it is going out onto the public internet, I would think encryption and integrity would be a huge concern.
- at_a_remove 7y agoIt goes out on the public. It's not a target because it is a library catalog. Nobody is going to man-in-the-middle looking up which shelf a book is on. I mean, I am sure you can come up with a Sneakers-style plot where it is important but no, not realistically. Could it be done? Certainly! Why would they? What's the benefit? There's just tons of stuff out there that exists where, honest-to-gosh, credit card details and HIPAA compliance do not happen. I know Hacker News leans very heavy toward the Silicon Valley side, but I swear stuff happens in the flyover states that involves computers. It might be pedestrian and unexciting, and nobody will IPO, but they do happen.
- vbrandl 7y ago
- mrunkel 7y agoWhy does the old web server even need HTTPS? Have I missed a memo that HTTP is going away? If you're not sending anything private (ie just the contents of the website are being delivered) there isn't really any need for HTTPS, so leave that old HTTPD server running HTTP. But, if you want your stuff encrypted, you can't rely on old versions of HTTPS so you have to use something more modern. Also, if you want your transmissions to be secure, you probably shouldn't be relying on hardware/software that has passed EoL ages ago too. If you want to read more, you can check out my page at wais://runkel.org/personal?old-servers
- msla 7y agoTell that to ISPs who insert ads into every non-encrypted location they can find.
- vultour 7y agoPretty sure that’s mostly a US problem, I haven’t heard of any other first world country where this regularly happens. You should probably work on fixing the problem instead of requiring everyone to accommodate you.
- msla 7y agoYou're wrong, naturally, and the fact HTTPS solves the general problem is proof enough it's needed.
- mrunkel 7y agoI'm not arguing against HTTPS. I'm saying that it's not a requirement for an old website running on an old server (which is what the post was about).
- int_19h 7y ago> Have I missed a memo that HTTP is going away? https://konklone.com/post/were-deprecating-http-and-its-going-to-be-okay https://konklone.com/post/were-deprecating-http-and-its-goin... (FWIW, I personally don't like it and think that it's a mistake.)
- cft 7y agoApple unilaterally just reduced the maximum validity of HTTPS certificates in Safari to 15 months from 27 months. Not too long ago it was over 5 years. All this bit by bit increases the burden on the smaller independent non-commercial webmasters, who in the end just give up and leads to further centralization of the web: forces them to platforms, who take care of your "safety" ( not just from MITM but usually also from "violating" content).
- Avamander 7y ago> who in the end just give up and leads to further centralization of the web: forces them to platforms, who take care of your "safety" What's stopping those decentralized platforms to utilize modern certificate refresh? You're also totally ignoring that the webmaster still has to do security updates which are probably a much bigger maintenance burden.
- cft 7y agoI ran an Apache site with 10000+ daily visitors for 10 years on my own SuSE box from home. Firewalled the box and only left ports 80, 443, 25 and 22 open. Only had to update recently when I replaced the box with Raspberry Pi (I wonder how long the SD card will last).
- hedora 7y agoI have ~ 5 lets encrypt certs, with different web servers. (Some appliances, some docker, and some openbsd). One breaks for some different random reason every six months or so. Each time it happens, I spend hours reading let’s encrypt blog posts, source code in random languages I don’t care to learn, etc. I just got a certificate expiry warning in my inbox for a fully patched machine with perfect uptime. It’s an unnecessary waste of time. For one thing, I don’t back up the certificates, so it the certificate is compromised, then the box that serves the content is also compromised.
- aabbcc1241 7y agoWhat if we use content hash or provider public key hash as the url? Like ipfs / zeronet. DNS server itself is also a service you've to rely on for https to work in practice.
- ThreeFx 7y agoI think this post misses the point of HTTPS completely. It makes HTTPS sound like some new technology, even though the HTTP protocol is still used, the difference being that the connection is encrypted and integrity protected. And that said integrity protection is what is important in today's world: advertising is being injected into HTTP content by third parties which is a very bad thing IMO. If updating your servers once-in-a-while is too much for you, maybe running a webserver isn't for you at all - there are certainly enough hosting providers which handle that for you.
- hedora 7y agoThe point of the article is that the web ecosystem is breaking compatibility with “old” servers every six months or so these days. First certbot broke. Now, older tls. Next, they’ll probably deprecate tls 1.2. I imagine http 1 or 2 will be on the chopping block in the next few years. They can’t kill both http 1 and http 2 because http 3 needs to use at least one of them as a signaling protocol to establish connections. I’m guessing that means there will be an http 4 that breaks with http 3, but doesn’t need a separate session establishment protocol. (Http 3 partially breaks TCP, and replaces it with userspace stuff. Http 4 would complete that process.) The web was a success precisely because it was simple and stable enough to let everyone escape from the old hosting providers. They heavily censored content, charged high fees and so on. Now, hosting is unnecessarily complicated, and the providers are consolidating back into a handful of players like facebook YouTube and cloudflare. Censorship and mass surveillance are on the rise. Since more people use computers than before, these players are helping kill the free press. Telling people that operating a static web page should be a full time job, because it’s (been made) really hard is just accelerating these trends.
- ThreeFx 7y agoI completely agree on the breaking issues, it is a _lot_ of work to maintain a website these days. In 99% of the cases I'd also agree with you that there should be _no_ reason ever to break e.g. a library used or something. But the thing about certbot and TLS is that these things are security-relevant, and IMO security one of the only (if not the only) reason to break compatibility these days. TLS ciphers break, heck even the TLS protocol itself may reveal flaws later (see POODLE, BEAST, FREAK, etc.). That's why SSLv2, SSLv3 and TLS1.0 are deprecated: Not because there is a better protocol out there, but because the protocols are inherently insecure. (There is no huge flaw in TLS1.1 I am aware of, it uses MD5 and SHA1 under the hood for master secret derivation, but that's about the only thing). I'm with you that maintenance is a big chunk of work, but that's IMO a price you pay for being in control. I've got a few services running myself, and honestly I forget about the boxes after setup and enabling auto-upgrades, so it isn't too breaking, at least for me.
- Wowfunhappy 7y agoPrior to last year's release of macOS Catalina, OS X shipped with a Dashboard widget to display the weather forecast. In 2019, Apple broke this widget by turning off the servers it used. Luckily, Dashboard widgets are just editable html and javascript files, so I rewrote a portion of Apple's weather widget to use the DarkSky API instead. Since the entire point of this project was to support a legacy feature (the Dashboard), I really wanted it to work on the full gamut of OS X 10.4 Tiger – 10.14 Mojave. My modified version worked fine on 10.9 and above, but on 10.4 – 10.8, users reported being unable to retrieve any weather data. After some back and forth of looking at logs, I found the problem—old versions of OS X didn't support the modern iteration of HTTPS required by DarkSky. I couldn't fix this, because DarkSky doesn't offer their API via HTTP. Was this really necessary? Weather forecasts are public information, so what level of safety is provided by HTTPS to the point where it should be not just a default, but the only option for developers? (Luckily, I had the chance to rectify this when Apple bought DarkSky and forced me to change APIs. I'm now using Weatherbit, which offers HTTP. I would have preferred to use HERE, but like DarkSky, they're HTTPS-only.) https://forums.macrumors.com/threads/i-fixed-apples-broken-weather-dashboard-widget.2225715/ https://forums.macrumors.com/threads/i-fixed-apples-broken-w...
- dahfizz 7y agoI agree. I treat cyber security a lot like physical security. "Always lock your front door" is good advice, just like "always use https" is good advice. But I'm not going to lock and deadbolt my door if I'm only walking out to grab something from my car and returning immediately.
- nannal 7y agoThe issue is that an MITM attacker can modify the traffic between client and server if it's not protected by HTTPS. They could include a script tag and then run JS in the context of the widget which may have undesirable effects. If the traffic is traveling over a connection you aren't 100% sure you control entirely, wrap it in HTTPS.
- 7y ago
- ComSubVie 7y agoMy dad is using an old Android Tablet to surf the web. Unfortunately there hasn't been an update available for some years. This year it stopped displaying some websites because of a newer HTTPS algorithm which isn't supported anymore by the tablet. And that for watching the weather forecast and similar things that really don't need to be forced to HTTPS.
- Wowfunhappy 7y agoCan that Android tablet run the mobile version of Firefox by any chance? At least on desktop, Firefox doesn't rely on the OS for https, which is helpful on older systems. I imagine mobile would be similar.
- ComSubVie 7y agoI tried opera because I couldn't find firefox in the store. Opera worked about a month longer than the default browser, but doesn't work anymore.
- saagarjha 7y agoMy website has been served over HTTPS for the last couple of years. Of course, it's nice to get the padlock and all the other benefits of HTTPS, but I used to delight in demonstrating it working on older systems going back all the way to the original WorldWideWeb.app, and was a bit disappointed that I could no longer do so easily…
- Ericson2314 7y agoThe type of static sites that live in posterity should just be on IPFS or similar. HTTPS makes better sense for more dynamic/interactive things where the server will need regular maintenance anyways. Recognize those are two different use-cases, and the problem goes away.
- nunez 7y agoIt sucks that we are going to effectively bury the "old Web" (well, Google will by ranking websites frontend over HTTPS over HTTP-only websites), but it is also really nice that people can't see what I'm doing over the wire and that I get big fat red warnings when the certificate I think I'm using isn't what I think it is.
- draw_down 7y agoFeel free to leave up an old HTTP server and have it get owned in minutes. The difference between that era and now isn't just the existence of HTTPS. The nature of a network is that interconnected nodes affect one another. We thought that's what we wanted, and it's what we got. So here we are.
- carapace 7y agoA) Just use Caddy server. B) Host your content on IPFS. You shouldn't need to run your own server in 2020. (Okay maybe a pinning server or service, but that's a small constant plus storage costs. Cost of enduring data should approach zero.)
- bartread 7y ago> Another, more relevant side of this is that it's not going to be possible for people with web servers to just let them sit. This problem goes far beyond just HTTPS, and here's a small example. I have a side-project, which is a website where I post versions of old arcade games I've created. Now I can go months without deploying any changes but despite that things just keep breaking from time to time. Without digging through my GitHub issues here are three examples: - Web audio support at different times in both mobile and desktop browsers (now fixed) - Motion control support via accelerometer (now fixed) - Full screen support (still not fixed, although bizarrely works fine on iOS which has no explicit full screen support but will enter full screen automatically when you reorient your device) The fact that you can't simply deploy code and have any realistic expectation that it will continue to run without supervision or tweaking for even a few months is INCREDIBLY ANNOYING. People need to stop tweaking APIs and the behaviour backing them, and breaking compatibility all the time.
- gambler 7y agoThis is, in reality, the biggest problem. A lot of modern technologies have built-in assumptions that most people promoting them didn't ever think through. "Everything will be updated all the time, everywhere" is one of those assumptions. "Security" people who yammer about MitM attacks don't give the slightest fuck about that other side of the coin, because that's not what they're paid for. However, a lot of these assumptions have costs that will compound over time. What is the cost of constantly loosing old media, for example? What is the cost of perfectly good consumer devices being rendered unusable via infrastructure updates? What is the cost of constantly rising complexity? This is not discussed with any level of honesty.
- deleted 7y ago[deleted]
- deleted 7y ago[deleted]
- kirstenbirgit 7y agoIn general, anything you connect to the Internet (or perhaps even a network used by Internet-connected users) needs to be updated regularly. That a HTTP server from 2003 continues to work today is happy coincidence, but it also means that there's probably a working 0day for that server software, so that, if you can't update it, you would have to mitigate it another way.
- superkuh 7y agoThere are two mutually exclusive views of the web. As a set of protocols set to allow individual humans to share information about things they love and the web as a set of protocols to make a living. Since the corps took control of the web by ignoring the w3c and forming corp controlled whatwg all browser and html spec decisions have been corporate needs motivated and these security needs have been killing the free web by requiring everyone do all the things money transacting corporations need to do. But, you don't have to use a mainstream browser and you don't have to stop serving HTTP. It's a personal choice. The two webs can still exist alongside each other if you chose to not follow the money.
- zzo38computer 7y agoI agree; you should have both HTTP and HTTPS, rather than disallowing insecure connections entirely.
- whatshisface 7y agoYou may be forgetting that corporations and world governments find it a lot easier to track you on one than the other... It is also silly to associate HTTP with the "personal web" when LetsEncrypt exists.
- superkuh 7y agoA long leash is still a leash. If a third party's authority is required to host a visitable website it will eventually cause major problems. And by third party I mean even currently-benevolent corporations like LetsEncrypt. Just look at what happened with dot org.
- Florin_Andrei 7y ago> In the era of HTTP, you could have set up a web server in 2000 and it could still be running today, working perfectly well (even if it didn't support the very latest shiny thing). Not true in the least. It could not be further removed from reality. This is silly. People forget how terrible security was back then (not that it's orders of magnitude better now). You had to stay on top of security patches all the time. When a software update was not doable, perhaps there was a config workaround. No, the admin work was just as frenetic back then as it is now. Perhaps the stakes were even higher (root shell anyone?).
- ken 7y agoSomeday, you may not be able to connect to IPv4 systems. I’ve already lived through physical layer obsoletions, like 10b2. Time marches ever onward. If you want to preserve an old webpage, you should stick it behind a reverse proxy or something so the content can still be accessible as the other layers get upgraded. You probably don’t want to run a 1990’s OS on the open internet today, anyway.
- deleted 7y ago[deleted]
- crazypython 7y agoI wish HTTPS origins were allowed to define a set of certificates to trust. Imagine a game architecture where each game server has its own self-signed certificate. For example, imagine you download a game client via HTTPS, and the game client downloads a list of official servers from the same origin. I want the HTTPS origin to be able to say "for this webpage load, trust these certificates, because they originated from an HTTPS origin." Instead of making HTTPS hierarchical through a certificate chain, this let's it be dynamic (script-controlled) and sideways. Thoughts?
- netheril96 7y agoSo many people advocating against HTTPS in this page. A lot of China developers had the same voice. They have been silent since 2015, when China ISPs and even some routers started injecting ads into plain HTTP sites. Many websites quickly adopted HTTPS for all of their pages ever since.
- dingo_bat 7y agoJust use http for everything that doesn't need a username and password. Problem solved.
- nonamenoslogan 7y agoAfter more than 20 years of running my own webservers on everything from old Sparcstations to Debian VPSs, I took a few year hiatus from having a big web presence and pointed my domain at a simple github.io page. It worked so well I decided to go Github completely for my simple blog/pictures/projects web page, I’ve gone almost full circle back to the original static HTML style.