News for hackers. Stuff that matters.
Re:Lost something? Search through 91.7M files from the 80s, ... by hilbert42 on Tuesday October 18, 2022 @11:11PM (#33257119)
"Cookies & Tracking - This site has no cookies and no tracking. CSS & JavaScript - CSS, JavaScript and HTTPS are not required. This site works in text and vintage browsers."

Just love this attitude from a webmaster and the Discmaster site works just as expected - straight forward and eminently effective.

Now I compare this with a similar archive site that appeared on HN about a day ago—one dedicated to the works of the analytical philosopher Willard Van Orman Quine. This excruciatingly slow JavaScript-ridden site was so bad that I tried three different browsers before I could get to the archive files and even then I couldn't download anything if I'd wanted to. Frankly, it is horrible site, one wonders why they bother when they make the user experience so utterly bad.

If one ever wants to see the damage bloated JavaScript has done to the web then there's not a much better example that to compare these two sites side by side.

Re:Lost something? Search through 91.7M files from the 80s, ... by toxicFork on Wednesday October 19, 2022 @12:20AM (#33257611)
Can you link the other post for the lazy but curious people like me please?
Re:Lost something? Search through 91.7M files from the 80s, ... by hilbert42 on Wednesday October 19, 2022 @04:22AM (#33259189)
https://valep.vc.univie.ac.at/virtualarchive/public/Archive/...

Sorry, I didn't have it at the time. It should be the same as the one SPBS has posted above.

Re:Lost something? Search through 91.7M files from the 80s, ... by SPBS on Wednesday October 19, 2022 @12:29AM (#33257670)
Re:Lost something? Search through 91.7M files from the 80s, ... by HiramKHurley on Wednesday October 19, 2022 @12:55AM (#33257873)
This site won't even display anything for me, just a blank white page.
Re:Lost something? Search through 91.7M files from the 80s, ... by vsnf on Wednesday October 19, 2022 @01:54AM (#33258273)
It's a file browser implemented in JavaScript, so you'll need to turn JS on to see anything.
Re:Lost something? Search through 91.7M files from the 80s, ... by Minor49er on Wednesday October 19, 2022 @04:13AM (#33259132)
The UI is completely jumbled on mobile. I can't even tell what this page is supposed to be
Re:Lost something? Search through 91.7M files from the 80s, ... by sneak on Wednesday October 19, 2022 @12:56AM (#33257881)
My website has some minimal cookies and js but nothing in the hot path to content or usage. I serve it over the free tier on Cloudflare’s CDN.

I regularly get astounded feedback about how fast it is.

The web doesn’t need to be slow and shitty, web browsers are extremely fast if you use them correctly. Static pages are your friend.

Re:Lost something? Search through 91.7M files from the 80s, ... by j-krieger on Wednesday October 19, 2022 @08:07AM (#33260925)
I agree. I get similar feedback on my site and it's written entirely with React and Next.js

I have fun using that text stack, and with Next every page is just delivered as static HTML.

Re:Lost something? Search through 91.7M files from the 80s, ... by cyclotron3k on Wednesday October 19, 2022 @02:06AM (#33258341)
That sounds a lot more like a back-end issue than a front-end issue
Re:Lost something? Search through 91.7M files from the 80s, ... by hilbert42 on Wednesday October 19, 2022 @04:48AM (#33259342)
As I said to prox, I took the site at face value (I didn't bother to view the source—couldn't be bothered). However, I'm now mildly curious why sites like this are so slow. Has anyone done a decent objective analysis of load speeds versus actual content versus the other extraneous dross?

Clearly, it'd be easy to compare 'apples' with 'oranges' thus quite a difficult analysis to get real figures.

Re:Lost something? Search through 91.7M files from the 80s, ... by prox on Wednesday October 19, 2022 @04:05AM (#33259069)
And that’s with 3-5 year development and near to 100k in grants and development.
Re:Lost something? Search through 91.7M files from the 80s, ... by hilbert42 on Wednesday October 19, 2022 @04:26AM (#33259209)
Am I hearing you right? What's that about (I just took the site for what it was as a first-time visitor)?
Re:Lost something? Search through 91.7M files from the 80s, ... by prox on Wednesday October 19, 2022 @07:14AM (#33260416)
It’s basically funded by institutions in and around that department of the university. So lots of Austrian grands and stuff so people could create this system. I checked it because it happens to be I am doing research on this type of software for a client, so I was curious if there was an open source version of the software (there didn’t seem to be) and to just see what it was about.

Since there isn’t an open source version, I didn’t dive deeper into the slowness of it or it’s architecture.

Re:Lost something? Search through 91.7M files from the 80s, ... by hilbert42 on Friday October 21, 2022 @01:07AM (#33284725)
Thanks for that. (I suppose I'm a little more curious than usual as I used to live not far from that university some years back.)
Re:Lost something? Search through 91.7M files from the 80s, ... by Cthulhu_ on Wednesday October 19, 2022 @05:52AM (#33259778)
Parkinson's Law, paraphrased: "work expands so as to fill the time and budget available for its completion."

I see this so many times in my line of work (software development, consultancy); companies throw millions at a solved problem like e-commerce, the over-enthusiastic engineers jump on it but won't just pick something off the shelf, they will re-engineer it in $cool_tech because just solving the problem is boring.

Re:Lost something? Search through 91.7M files from the 80s, ... by tonmoy on Wednesday October 19, 2022 @07:29AM (#33260563)
If I were a hacker I could try to MITM this site that serves executables like games and applications and inject something nefarious. I don’t see not having HTTPS as a positive thing.
Re:Lost something? Search through 91.7M files from the 80s, ... by BrandoElFollito on Wednesday October 19, 2022 @07:57AM (#33260827)
MITM became some sort of miraculous hacker solution.

To MITM you need to be on the way of the traffic, or manipulate the DNS. None is obvious.

Re:Lost something? Search through 91.7M files from the 80s, ... by Kelm on Wednesday October 19, 2022 @08:18AM (#33261018)
Just create an open wifi called „free wifi” in any crowded place…
Re:Lost something? Search through 91.7M files from the 80s, ... by z3c0 on Wednesday October 19, 2022 @08:35AM (#33261205)
Too obvious - just give it the same ESSID and password as your local coffee shop's network, and let the "Connect Automatically" setting on Windows do the rest.
Re:Lost something? Search through 91.7M files from the 80s, ... by Maakuth on Wednesday October 19, 2022 @08:45AM (#33261305)
Many if not most WiFi clients send a list of SSIDs they would want to connect in cleartext in their directed probe request frames in the active scanning mode. I expect there are attackers automatically advertising these networks to lure in devices.
Re:Lost something? Search through 91.7M files from the 80s, ... by BrandoElFollito on Wednesday October 19, 2022 @08:49AM (#33261357)
This is far from being obvious to find out and hardly a scalable MITM.

These are always the same tricks that work in a lab, but then when it comes to do an actual MITM on a web site - there are no solutions.

If my web site is www.example.com, you would need to get very close to the site (network topologically speaking) and insert yourself in the traffic. This is in practice undoable, except if you hack the local network where the web server lives (specifically some equipment) or the server itself.

Or hack the DNS server.

None of these are remotely easy with basic security in place.

Re:Lost something? Search through 91.7M files from the 80s, ... by z3c0 on Wednesday October 19, 2022 @09:23AM (#33261756)
My remark was tongue-in-cheek. I'm aware that this would only go as far as appearing as a bridge router, which Windows often designates with a number after the name (e.g. WittyNetworkName 2). It's not very subtle, and you would likely only intercept a fraction of the traffic from a client, as they would default to directly contacting the host where possible.
Re:Lost something? Search through 91.7M files from the 80s, ... by cj on Wednesday October 19, 2022 @08:20AM (#33261043)
Do you recall the days when it was common practice for ISPs to MITM all traffic?

The most obvious and profitable use case were those ISPs who returned 404 pages riddled with advertisements for domains that were unregistered (e.g. if you mistyped a URL)

Certain ISPs even injected JavaScript into every page.

“I” in the OP’s comment probably means “government” or “ISP” rather than a friendly roommate on the same wifi network.

Re:Lost something? Search through 91.7M files from the 80s, ... by BrandoElFollito on Wednesday October 19, 2022 @08:42AM (#33261272)
> Do you recall the days when it was common practice for ISPs to MITM all traffic?

This never existed in France. That would have been completely illegal.

Re:Lost something? Search through 91.7M files from the 80s, ... by retrocryptid on Wednesday October 19, 2022 @08:51AM (#33261380)
There was a time when this existed in France and was not illegal. I believe that's why the OP was saying "Do you recall the days when..."
Re:Lost something? Search through 91.7M files from the 80s, ... by BrandoElFollito on Wednesday October 19, 2022 @09:13AM (#33261642)
When was it, and with which ISP?
Re:Lost something? Search through 91.7M files from the 80s, ... by mmh0000 on Wednesday October 19, 2022 @09:40AM (#33261979)
Not op, but see this

https://www.usenix.org/legacy/event/foci11/tech/final_files/...

France isn’t listed, but Germany, Netherlands, United States (obviously) are. This was a thing that used to commonly happen before TLS became standard.

Re:Lost something? Search through 91.7M files from the 80s, ... by Workaccount2 on Wednesday October 19, 2022 @10:01AM (#33262280)
Bold of you to assume lawmakers would be ahead of hackers on the technology front.
Re:Lost something? Search through 91.7M files from the 80s, ... by capableweb on Wednesday October 19, 2022 @08:48AM (#33261341)
HTTPS isn't always needed, and the idea that it is needs to die. Most use cases it does make sense to use HTTPS indeed, but there is a small number of use cases where it doesn't make sense.

You want your website to work on vintage computers where they run super old browsers? Then you probably need a HTTP version of the website without TLS/SSL as it's not gonna be accessible otherwise.

Running a software/package repository/registry where every package is signed and verified locally? No need for TLS/SSL and it would just slow down downloading 1000s of packages as handshaking does add latency to requests.

But again, probably 99% of cases it's better to have HTTPS than not. But sometimes not having HTTPS is indeed a positive thing.

Re:Lost something? Search through 91.7M files from the 80s, ... by ben_w on Wednesday October 19, 2022 @09:09AM (#33261583)
> You want your website to work on vintage computers where they run super old browsers? Then you probably need a HTTP version of the website without TLS/SSL as it's not gonna be accessible otherwise.

That's incredibly niche. I don't think it deserves to be an example of "meme needs to die".

> Running a software/package repository/registry where every package is signed and verified locally? No need for TLS/SSL and it would just slow down downloading 1000s of packages as handshaking does add latency to requests.

Need some secure way to pass around the SHA256 (or whatever) hash you're using for verification.

And thinking of "memes that need to die", https://istlsfastyet.com suggests this isn't as bad as I think you think it is.

Re:Lost something? Search through 91.7M files from the 80s, ... by capableweb on Thursday October 20, 2022 @08:42AM (#33273737)
> That's incredibly niche

The very website we're talking about in this submission is specifically made for vintage computers! But I agree, relatively niche.

> Need some secure way to pass around the SHA256 (or whatever) hash you're using for verification.

That gets passed out-of-band before actually downloading anything from the registry. In the case of Arch, every package is signed by developer keys that are securely fetched on initial install, and later fetched as a package.

Less niche use cases are doing latency sensitive things over HTTP (which overall I wouldn't recommend, but sometimes you're stuck with 3rd party stuff), then adding the handshake can easily double the time for the connection.

For example, one website I have can have the TCP connection be established in ~40ms, while the SSL/TLS handshake takes ~100ms. So because of SSL/TLS, the request time more than doubled. If I was serving signed packages over this connection, you can easily skip the handshaking part and when you download thousands of packages, save some time. I don't think that use case is as niche as you think.

Re:Lost something? Search through 91.7M files from the 80s, ... by retrocryptid on Wednesday October 19, 2022 @09:02AM (#33261510)
TLS allows the browser to detect content (like scripts) injected into original web pages by (potentially) malicious third parties. Or at least by third parties who aren't using certificates issued by roots explicitly trusted by the browser software. Before the use of HTTPS in the early 90s, it was not an exceptional condition for third parties to insert content (ISPs inserted ads, libraries inserted cookies, BGP hackers just looked at traffic). One of the reasons SHTTP and HTTPS were invented was to allay fears by banks that entering credit card numbers on non secure links would increase the rare of fraud. But the main reason (I believe) we use HTTPS on sites that don't take CC#s today is because we cannot enumerate every potential risk. Because we cannot forsee the risk, doesn't mean it doesn't exist. In other words... "better safe than sorry."
Re:Lost something? Search through 91.7M files from the 80s, ... by Handytinge on Tuesday October 25, 2022 @09:23AM (#33330140)
And how could you do this, Mr. Hacker Man?

Are you compromising my ISP, the server host, or my client?

In any of these situations, I have a bigger problem than TLS, and a lot of vectors I can be attacked from.

Re:Lost something? Search through 91.7M files from the 80s, ... by nfRfqX5n on Wednesday October 19, 2022 @11:31AM (#33263668)
Javascript has little to do with the awful design of that site. Also, as of today, the Discmaster site is down, likely due to the design being heavily search focused.