frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

HTTP Strict Transport Security (HSTS)

https://hstspreload.org/
22•arunc•1d ago

Comments

tialaramex•2h ago
I think we're probably at the endgame where ordinary people start to benefit from HTTPS-by-default. Ten years ago it was way too annoying for me to even suggest to my mother that she should have this, although I did use it myself because I understand the caveats, but today "We don't have HTTPS" either means you don't really support web browsers (e.g. some protocols deliberately are HTTP-based but don't use TLS and some even can't if they wanted to) or that the whole site is mothballed so if it didn't have TLS in 2015 it still doesn't today.

As we transition ordinary users to HTTPS-by-default the HSTS feature loses importance. The target audience for HSTS isn't me, or the package management software I run, or some Python code using requests, it's my mother and sister and other ordinary users, and so if they increasingly have HTTPS-by-default then HSTS stops mattering.

JoshTriplett•38m ago
I've been running not just HTTPS-by-default but strict HTTPS-only for a while now. Firefox, at least, mostly even handles things like captive portals correctly. Judging by the rarity of encountering anything that has HTTP and doesn't listen on HTTPS, I think we're to the point where any non-technical user could use an HTTPS-only configuration and correctly treat any site that doesn't work with it as broken.
aargh_aargh•2h ago
Honest question/thought - at this point where we have all HTTP requests for a site just redirecting everything to HTTPS, we use HSTS and browsers default to trying https when scheme is not given, why don't we just stop serving on port 80 altogether? Why even bother with HSTS?
Ellipsis753•1h ago
Old links to your site might still be http - HSTS prevents that request being in the clear. Also, if you have a man-in-the-middle attack, it doesn't matter if you return a redirect or not as the attacker has already replaced your site with a phishing attack instead of a redirect. HSTS prevents this.
RamRodification•42m ago
Your second example would also be prevented by just not serving on port 80 as the parent comment suggests, no?
meindnoch•36m ago
>no?

No.

ycombinatrix•36m ago
No, not really. You can still be MITMed on port 80.
tetha•1h ago
I have a few internal services on which I like to crank transport security to 11. No port 80, only TLS 1.3, only modern ciphers. You'd be surprised how much confusion not opening port 80 caused across technical people. And I've learned a bunch of things about supported TLS versions and supported ciphers of windows server versions from this crusade.

And that's with experienced admins and developers. Doing this with our average B2B customer? Hah, oh dear.

tptacek•30m ago
The answer to this question is interesting, and it's that not serving HTTP doesn't actually help. The attacker HTTPS contemplates controls whether victims see SYN+ACK packets in response to their 80/tcp SYNs. TCP itself isn't authenticated. So you need something "sticky" in the browser to remind it not to try 80/tcp, and thus risk being bamboozled by a MITM attacker.
arccy•19m ago
it's a note at the very end, but there are TLDs like .dev where all domains under it have HTTPS enforced.

Everything as Code: How We Manage Our Company in One Monorepo

https://www.kasava.dev/blog/everything-as-code-monorepo
77•benbeingbin•1h ago•41 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
104•birdculture•2h ago•30 comments

A faster heart for F-Droid. Our new server is here

https://f-droid.org/2025/12/30/a-faster-heart-for-f-droid.html
78•kasabali•2h ago•26 comments

Electrolysis can solve one of our biggest contamination problems

https://ethz.ch/en/news-and-events/eth-news/news/2025/11/electrolysis-can-solve-one-of-our-bigges...
80•PaulHoule•3h ago•15 comments

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
154•keepamovin•4h ago•48 comments

Toro: Deploy Applications as Unikernels

https://github.com/torokernel/torokernel
98•ignoramous•4h ago•66 comments

A Vulnerability in Libsodium

https://00f.net/2025/12/30/libsodium-vulnerability/
101•raggi•4h ago•6 comments

Zpdf: PDF text extraction in Zig – 5x faster than MuPDF

https://github.com/Lulzx/zpdf
30•lulzx•1h ago•4 comments

Loss32: Let's Build a Win32/Linux

https://loss32.org/
119•akka47•1d ago•223 comments

Reverse Engineering a Mysterious UDP Stream in My Hotel (2016)

https://www.gkbrk.com/hotel-music
135•bayesnet•1w ago•17 comments

Prof. Software Developers Don't Vibe, They Control: AI Agent Coding Use in 2025

https://arxiv.org/abs/2512.14012
41•dpflan•1h ago•51 comments

The British empire's resilient subsea telegraph network

https://subseacables.blogspot.com/2025/12/the-british-empires-resilient-subsea.html
130•giuliomagnifico•8h ago•34 comments

Igniting the GPU: From Kernel Plumbing to 3D Rendering on RISC-V

https://mwilczynski.dev/posts/riscv-gpu-zink/
46•michalwilczynsk•7h ago•6 comments

Approachable Swift Concurrency

https://fuckingapproachableswiftconcurrency.com/en/
131•wrxd•8h ago•51 comments

Times New American: A Tale of Two Fonts

https://hsu.cy/2025/12/times-new-american/
177•firexcy•8h ago•112 comments

Postgres extension complements pgvector for performance and scale

https://github.com/timescale/pgvectorscale
94•flyaway123•5d ago•20 comments

HTTP Strict Transport Security (HSTS)

https://hstspreload.org/
22•arunc•1d ago•10 comments

Non-Zero-Sum Games

https://nonzerosum.games/
284•8organicbits•9h ago•144 comments

Go away Python

https://lorentz.app/blog-item.html?id=go-shebang
292•baalimago•12h ago•286 comments

Hive (YC S14) Is Hiring a Staff Software Engineer (Data Systems)

https://jobs.ashbyhq.com/hive.co/cb0dc490-0e32-4734-8d91-8b56a31ed497
1•patman_h•6h ago

Netflix Open Content

https://opencontent.netflix.com/
537•tosh•11h ago•104 comments

Show HN: I remade my website in the Sith Lord Theme and I hope it's fun

https://cookie.engineer/index.html
20•cookiengineer•3h ago•12 comments

Confessions to a Data Lake

https://confer.to/blog/2025/12/confessions-to-a-data-lake/
33•kkl•1w ago•12 comments

An initial analysis of the discovered Unix V4 tape

https://www.spinellis.gr/blog/20251223/
11•zdw•6d ago•1 comments

Stranger Things creator says turn off “garbage” settings

https://screenrant.com/stranger-things-creator-turn-off-settings-premiere/
388•1970-01-01•21h ago•682 comments

Five Years of Tinygrad

https://geohot.github.io//blog/jekyll/update/2025/12/29/five-years-of-tinygrad.html
137•iyaja•1d ago•62 comments

Show HN: Tidy Baby is a SET game but with words

https://tidy.baby
20•brgross•5h ago•6 comments

Show HN: One clean, developer-focused page for every Unicode symbol

https://fontgenerator.design/symbols
150•yarlinghe•5d ago•59 comments

Concurrent Hash Table Designs

https://bluuewhale.github.io/posts/concurrent-hashmap-designs/
51•signa11•3d ago•6 comments

Hacking Washing Machines [video]

https://media.ccc.de/v/39c3-hacking-washing-machines
193•clausecker•19h ago•42 comments