HNHacker News
TopNewBestAskShowJobs

Jenda_

320 karma · joined July 10, 2019

Sysadmin and hardware developer from Prague, CZ. I have created a weather radar worth the 21st century and now we have a startup for this. Our latest product demo: https://www.youtube.com/watch?v=JU2z4H_ELus

https://jenda.hrach.eu/

submissionscomments
Jenda_··on Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
The Hetzner one is a physical server. You would need to stage a "power outage" and backdoor it, which is probably not that easy - e.g. planting a kernel module which survives kernel upgrades and is pretty advanced at hiding itself (the article talks about analyzing raw memory dump).
Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
It's not about "other peoples computers" (there is no evidence of the system itself to be backdoored). If you are running on your own hardware in your own house, you still need an ISP that can do exactly this time of MITM.
Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
The provider having access to system memory can copy the private key and use your original key+cert for MITM, unless you are using some fancy HSM.
Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
I think the observed TTL 64 means the interceptor is on the same segment? (of course unless they have set it to e.g. 66 at the interceptor that is 2 hops away, but I guess if they were to mangle TTL, they would set it to the original value to avoid detection)
Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
> Ultimately however crt.sh is hosted somewhere

So is it possible to run my own copy of crt.sh? How demanding it is (e.g. data size)?

Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
> then Huawei can issue a Let's Encrypt certificate for Google, right?

Google has CAA records set (https://www.entrust.com/resources/certificate-solutions/tool...) and I guess CAs will have denylists of "popular" domains, so no.

> And any large national ISP can use MitM to issue fake certificates for any site hosted within that country?

Yes. You can fix this by CAA and ACME-CAA.

I can't think of a way to validate DV certificates in a better way that will resist this kind of attack.

Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
> Telegram offers marginally better security than XMPP over TLS.

I think you should compare apples to apples, that is, end-to-end encrypted XMPP using OTR/OMEMO/PGP. However, I agree that many XMPP clients were UX disaster when using E2E.

Jenda_··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
The thread above (https://news.ycombinator.com/item?id=37958831) elaborates on how to force DNS validation and/or how to tie your private key with Let's Encrypt via DNS.
Jenda_··on Localization Failure: Temperature Is Hard
I personally like this (at least when displaying the calendar) -- on Sunday, I can have a look what is happening "this week" :)
Jenda_··on Localization Failure: Temperature Is Hard
Same here,

> However, I still want units in meters, Celsius, dates written sensibly, time in 24h format etc.

but also sensible sorting. I'm currently mixing en_DK, en_IE, en_US, C and cs_CZ (my native language) locales for various LC_*, but it's still not perfect and some apps (such as Thunderbird) ignore this anyway and others (Slack) have only one language setting, so I can select either US with 12-hour time or UK with UK spelling. Does anyone have a solution? Should a write a new locale?

Jenda_··on Daily energy expenditure through the human life course
There is almost none here (around Prague, .cz) too. I ride on the roads.

Yeah, unfortunately, for me, even after some training, it's still hard for me to average over 22 km/h (entire travel including stops; the moving average is about 25km/h, e.g. https://www.strava.com/activities/9688833121).

Jenda_··on Daily energy expenditure through the human life course
> Posts like Jenda's are depressingly unimaginative. I wish HNers, and people in general, would learn some biology, and use some critical thinking to imagine that when something doesn't fit their very basic mental model, that's probably because there's exponentially more to know/learn(!).

That's why I was not disputing the premise (like previous commenters did), but asking for possible explanations!

Jenda_··on Anything longer ago than yesterday should just say the actual date
I have a slightly related problem: infinite scrolling as the only way to access the archive. Like, imagine I want to know what some blog/media site posted during some important historical event, and there is no pagination or calendar to pick. Or am I just using the web wrong and there is some way? Example: https://www.astralcodexten.com/archive
Jenda_··on Anything longer ago than yesterday should just say the actual date
No: 1) unfortunately ambiguous with also widely used MM/DD/YYYY, 2) cannot be naturally sorted, the order does not go from the most significant to the least significant, especially when appended with HH:MM:SS.
Jenda_··on Daily energy expenditure through the human life course
Yeah, 25km/h requires less than 150W [1], so it's 600Wh total, the efficiency of human metabolism is about 20% [2], so it's 3kWh of total energy input = 10.8MJ = 2600 kcal. (I have been using generous estimates, so this should be an upper bound)

[1] https://en.wikipedia.org/wiki/Bicycle_performance#Total_powe..., https://www.road-bike.co.uk/articles/cycling-power.php [2] https://www.quora.com/How-efficient-is-the-human-body-at-con...

Jenda_··on Daily energy expenditure through the human life course
I also did a 65km and then 135km ride with similar "training" (2x7km four times a week to school), but it was way slower than 25km/h. They took 4.5 and 10 hours, respectively. I think riding 100km without training is possible, but at 25km/h very difficult.

> Now I live in America need a car :(

Why? Are there even longer distances?

Jenda_··on Daily energy expenditure through the human life course
I don't understand where does the excess basal energy expenditure go. Do persons like the OP when <25 y.o. produce significantly more heat (e.g. wearing only t-shirt and shorts even in winter, and "dying" in the summer)? Does the skinnier body mean way bigger heat losses, even when compared to bigger surface area after getting fat (i.e., way higher surface temperature)? (presumably yes, but to this extent?) The article states that the basal expenditure increases with "fat free mass", so someone fat but muscular will have this "overheating" problem even stronger?
Jenda_··on Scrollbars are becoming a problem
Additionally, I would expect indexing to extract text contents from non-plain-text formats. (such as Recoll does)
Jenda_··on Scrollbars are becoming a problem
I also rarely click the scrollbar (except when "jumping to approximate absolute position" in a long document), however, I always look at it to get the current position/document length.

Therefore, my usual problem is terrible contrast of scrollbars. I have modified GTK and Qt themes to show dark blue slider on a light gray background, but only about half of the apps respect it.

Jenda_··on Scrollbars are becoming a problem
> struggling to find the right spot on a window corner/border to grab in order to resize it

I suggest mapping <modifier>+click (e.g. Meta/Win key + left or right click) to trigger resize/move anywhere in the window.

Jenda_··on Scrollbars are becoming a problem
Locate is for file names, not file contents.
Jenda_··on Austria rail operator OeBB unveils new night trains
Fortunately, many airports have taps with drinking water available. I don't understand why not all (e.g. no drinking tap & warm water only is available on the toilets), it feels like a conspiracy by the 5-Euros-water sellers.
Jenda_··on Railway time
Or the other way around: imagine you are the "owl" type (I'm not sure it is called this way in English; let's say https://en.wikipedia.org/wiki/Delayed_sleep_phase_disorder) and you are forced to live your entire lifetime in a sleep deprivation.

My life quality went up when I was able to push most lectures at the college from 10:40. In high-school, we were starting at the "standard" 8:00 and sometimes even 7:05.

Jenda_··on Enabling IPv6 support for IPv4-only apps on Linux
But the article is about doing a LD_PRELOAD to front run system calls in order to support IPv4.
Jenda_··on Goodbye integers, hello UUIDv7
> If all of the 2 billion computers in the world produced a new uuidv4 every millisecond, we still wouldn't expect a collision for the next 5 quintillion years.

This would generate 2^127.8 UUIDs.

First, no, the collision would be expected in less than one year, approximately after exhausting square root of the available space (2^64 generated UUIDs): https://en.wikipedia.org/wiki/Birthday_problem

Second, no, the UUIDv4 has 122 random bits, not 128 as you thought: https://en.wikipedia.org/wiki/Universally_unique_identifier#...

Jenda_··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
> For example with a esp32-s3 and a custom pcb at one of the low priced fab houses in China. Sure you have to do it yourself.

Interestingly, even after years of professional hardware engineering, I still feel some hesitation when interfacing with 230V AC.

Jenda_··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
> I think it's deeper than that; I think the problem is mobile devices.

I think it's deeper than that; I think the problem is app ecosystem. More and more apps that you need to use (e.g. the only way to perform 2FA with your bank) are dependent on Google/Apple services, use anti-root, anti-tampering and remote attestation techniques, making them impossible to run on free (libre) mobile OS alternatives.

Jenda_··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
- wide HW support. 10 years ago it was not guaranteed that suspend will work on a random machine, 15 years ago we were struggling with ndiswrapper to get wifi working.

- professional domain-specific software now available, both free (such as KiCad) and commercial (such as DaVinci Resolve) and supported by vendors on Linux.

Jenda_··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
I have HP ProBook 430 G6 and I have not noticed any problems (I don't know how Windows run on this, though - never tried).

I have never tested the fingerprint reader, all other features work.

Jenda_··on Unix shells are generally not viable access control mechanisms any more
There was another hole if the target command was executed using /bin/bash in a certain way: https://en.wikipedia.org/wiki/Shellshock_(software_bug) It's probably not the case when the command is the user's shell, but it was exploitable when it was the command= in authorized_keys.

Additionally, maybe they are using a custom server because they don't want to fork a new instance of the handler on every login.

Here is a stackoverflow topic on limiting the SSH user: https://serverfault.com/questions/152726/how-can-ssh-allowed.... They suggest a few more options, probably not relevant for a gitlab-like use-case.

> SSH's default is to not accept the client's environment

sshd accepts environment variables specified by AcceptEnv in /etc/ssh/sshd_config. By default, they are mostly related to locales.

  $ LC_ALL=en_US.UTF8 ssh x date
  Tue Sep 19 01:14:41 AM UTC 2023
  $ LC_ALL=cs_CZ.UTF8 ssh x date
  Út 19. září 2023, 01:14:46 UTC
← PreviousPage 2 of 8Next →