HNHacker News
TopNewBestAskShowJobs

moviuro

2,339 karma · joined October 9, 2014

I'm a cybersecurity engineer, an Archlinux and FreeBSD user. I write some things you might find not-so-useless at https://try.popho.be ; as well as code on https://gitlab.com/moviuro and https://git.sr.ht/~moviuro

[ my public key: https://keybase.io/moviuro; my proof: https://keybase.io/moviuro/sigs/SORQVrWsris9gTK1VNIxMBB8nbS1pKzIU1UzhKxa2tM ]

PGP 0x2cd96fee343c6799b9ceafad62009a2e0c22d9ab

GIT/CS d++(-) s+: !a C++ UB++L++ P L++ E- W++ N? o? K? w- O? M- V? PS+ PE- Y+ PGP++ t+@ 5? X R tv-- b++ DI D G e+++ h(---) r++ y?

submissionscomments
moviuro··on FreeBSD src repository is transitioning from Subversion to Git this weekend
It also has to do with licensing around the tool itself (git(1))[0]. FreeBSD is licensed under BSD-compatible licenses, and will avoid reliance on tools that are licensed in an incompatible way. The advent of git-compatible alternatives[1] with BSD/ISC licenses make the move easier.

NB: the git format itself is not licensed, so only the tooling needs to have a "correct" license.

[0] https://github.com/git/git/blob/master/COPYING is GPL2

[1] https://gameoftrees.org/

moviuro··on Cyberpunk 2077 runs on Linux through the Proton compatibility layer
I've had some serious crashes with Feral games (see [0]), but other games have been working really well (Risk of Rain 1, Factorio, Stellaris).

[0] https://github.com/flathub/com.valvesoftware.Steam/pull/646 ; yes, LOCALE_* env variables make games crash; also, yes, Feral has been totally unhelpful.

moviuro··on Cyberpunk 2077 runs on Linux through the Proton compatibility layer
> Sadly we never released the game on Linux to the public.

Then sadly I won't purchase it at full price. I expect a full experience at full price.

moviuro··on Cyberpunk 2077 runs on Linux through the Proton compatibility layer
> Because if you start to support Linux you actually have to support all the major distribution (Debian, Arch, Ubuntu, Fedora, etc.) with their different idiosyncrasies, package format, libc implementations and/or version, etc.

Feral and Paradox for instance only support one (1) distribution. If you fall outside that, you're on your own for support, but you get runnable binaries.

moviuro··on IPv6 Is a Nightmare
> whenever the device gets a new IP (say new prefix)

Prefixes shouldn't change, that's the whole point. And you can use fixed addresses for IPv6 just as you had for IPv4.

> each device needs a DynDNS client configured, whereas with IPv4 just the router needs one for my single public IP.

Sure, but if you're doing that at an industrial size, you should consider buying/renting a fixed IP (range). You don't do production at home now, do you?

> IPv6 on the LAN is quite a pita due to the massive "random" prefix

You probably mean suffix? Anyway, your systems can be configured to either not have that random suffix, and they can also be configured to still reply on their fixed address (the one that's not random). Maybe try using the fe80:: address if your prefix does change.

moviuro··on IPv6 Is a Nightmare
> I checked my Linux VMs and none of them have this security feature yet.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

moviuro··on How HN crushed David Walsh's blog
> The problem with long cache times is that then some readers might see an out-of-date version of your page. I would argue that that is a small inconvenience to avoid no readers being about to see your article at all.

Aren't ETags exactly meant for that though?

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ET...

moviuro··on Stable 1.2 Gigabit/s Internet achieved in moving train in Switzerland
That data is indeed missing. FWIW, though: the French Railway Corporation (SNCF) has had WiFi for some years in the high speed (TGV[0]) lanes (though they have a data cap). I've had no issues with it so far[1,2]. That's a working solution in a ~320km/h (200mph) moving train as commercial offering.

[0] https://en.wikipedia.org/wiki/TGV

[1] https://www.oui.sncf/tgv/services/internet-a-bord

[2] https://www.sncf.com/fr/offres-voyageurs/tgv-inoui/connectez...

moviuro··on Apple blocks widow from honouring husband's dying wish
FWIW, Google has had an "Inactive Account manager"[0] for quite a while.

[0] https://support.google.com/accounts/answer/3036546

moviuro··on PS5 Teardown [video]
> I wouldn't be surprised if they're selling these at a loss at $499.

Isn't that how the economics of consoles actually are?

The user has to pay for network connectivity (PSN or Gold), publishers have to get their games approved (which was introduced by Nintendo [0]), and then there's a single market for the console (included game store with cut or through authorized discs only).

[0] https://en.wikipedia.org/wiki/Nintendo_Entertainment_System (not as precise a source as I would like) (This was needed to avoid "low-quality" games from ever reaching the consumer, like https://en.wikipedia.org/wiki/E.T._the_Extra-Terrestrial_(vi...

moviuro··on PS5 Teardown [video]
> I have never seen this sort of first party teardown for any console or laptop manufacturer

Dell has them at least for their "pro" lineup (e.g. [0]), same for Lenovo [1] or HP [2]. Said "pro" lineup is meant to be serviceable.

It is however the first time that I see a first-party console tear-down.

[0] https://downloads.dell.com/manuals/all-products/esuprt_lapto...

[1] https://download.lenovo.com/pccbbs/mobiles_pdf/t470s_ug_en.p... page 109 onwards

[2] http://h10032.www1.hp.com/ctg/Manual/c04887250

moviuro··on Woman dies during a ransomware attack on a German hospital
I'm not surprised. I'm a security consultant in France, and hospitals are amongst the most insecure organizations we work with (along with big industrials that don't need much IT). Low/no budget, insane requirements (very high availability, low/no barrier to access records, while abiding by GDPR), obsolete machines that just work(TM).

However, that "can't accept emergency patients" is surprising. I don't care if the lights are out or if I can't digitally sign their papers: hospitals should be able to run even with no machines at all. Ideas for next time:

- Paper docs available (already printed) in case everything goes under (banks do that for example, for generic papers, like opening an account, etc.)

- Air-gapped backup machines that can be used on the MRI/scanner/ultrasound/whatever machine (that hardware hardly ever changes, so it's not like those air-gapped machines would be a pain to manage)

- Backup 4G-enabled laptop that can read the vitim's Carte Vitale (or equivalent [0]) (and which doesn't connect to the hospitals network whatsoever)

- Backup hardware (Scanner, Ultrasound machine) in case someone actually fries the regular ones thanks to their horrible security (we've had plenty of such articles on HN)

- Read-only machines. Once it works, unless it's for a patch, the OS and applications shoudln't be changed, at all.

- User awareness training. Ransomware rarely happens by accident: someone clicked a bad document in a phishing mail. (Unless, you know, Wannacry, but that's not the norm)

[0] https://en.wikipedia.org/wiki/Carte_Vitale

moviuro··on Woman dies during a ransomware attack on a German hospital
Was the patient alone? Do their companions know of such things? Why doesn't the hospital have a special laptop with only 3/4G connectivity and a card reader for this purpose?

BTW, use the emergency info of your phone: https://www.androidcentral.com/how-add-emergency-information...; https://support.apple.com/en-us/HT207021

moviuro··on Withings' ScanWatch packs ECG and SpO2 sensors alongside the usual tools
> Body fat number is pretty much made up though, do not rely on it.

I would have said that too, but during the lockdown and stay-at-home period, it made a meaningful rise, and it fell back when I could go back to walking and doing sports. Fat percentage: made up? Probably not. Precise? Also probably not.

moviuro··on Dots don't matter in Gmail addresses
A quick google search returns https://www.cs.rutgers.edu/~watrous/plus-signs-in-email-addr... . Although not standard, its use is "legal"
moviuro··on Dots don't matter in Gmail addresses
That's why I now own my domain, and added the first([\.-]suffix)?@last.tld -> first@last.tld mapping at my provider.

For selfhosting, there's `recipient_delimiter = +-.` in postfix' config. [0]

The most infuriating ones are those where you can subscribe with the '+', but the unsubscribe function errors on it.

[0] https://try.popho.be/email.html

moviuro··on How to turn off Android TV's homescreen ads, 'staff picks'
Kodi + Kore on the smartphone might be a replacement? Though I mostly just stream files that I already have on my NAS, it should be more than capable of streaming straight from YouTube and others.

[0] https://kodi.tv/

[1] https://play.google.com/store/apps/details?id=org.xbmc.kore

[2] https://kodi.tv/addons

moviuro··on Factorio 1.0
They have a demo version, that's free as in free beer. Try that, see if you like it!
moviuro··on Stopping phishing campaigns with Bash
1. One SMS every 90 days, because the security teams have no idea how MFA works (I know, I work there). Even if you hop devices. See https://try.popho.be/psd2.html

2. It's just a little dev step away: http://blog.cmpxchg8b.com/2020/07/you-dont-need-sms-2fa.html . Phish kits will evolve, UX will still be bad, and phishing will still happen.

See also https://sakurity.com/blog/2015/07/18/2fa.html

moviuro··on Apple’s New Era Has Begun
Apple sells tons of subscription-based services: Music, News, TV, Games, Storage, etc. (+ their slice of App sales). If this keeps up, they don't have an incentive to track their users and sell that data. (They could still track them to find out what's "hot" and what genre(s) they should produce next, like Netflix did)
moviuro··on Google discontinues the Pixel 4, nine months after release
Up-to-date phones with guaranteed software updates, usable interface, and good camera, but not Pixel? Well, I'm interested, but somehow sure that's just a dream.

Links or it doesn't exist.

Edit: I specified Android, but really, I just want a phone with a standard port (USB C) and my apps (WireGuard, NextCloud, Google Photos, etc.)

moviuro··on Google discontinues the Pixel 4, nine months after release
The serious downside to Android One is the absence of GCam. That photo app is simply the single best one out there. I own a Nokia 7 Plus, and it comes with a Camera app that only shoots blurry photos, even though I don't have shaky hands. Finding a GCam version that worked was a major PITA: I pretty much tried every version here [0]

I'm getting a Pixel 5 on day one, for the camera, camera app and security updates.

[0] https://www.celsoazevedo.com/files/android/google-camera/

moviuro··on Bitoduc: A French dictionnary for CS related words
See Crocker's Rules [0, 1]. The little part "hope you're well" though was a nice touch. During lockdown when there were hundreds of deaths a day, it made sense. Taking 30 seconds during calls just to make sure your correspondant doesn't mourn seems wise to me.

[0] http://www.sl4.org/crocker.html

[1] https://en.wikiquote.org/wiki/Lee_Daniel_Crocker

moviuro··on Show HN: UUIDs that are Shakespearean, grammatically correct sentences
I checked in my code, I actually used `uuidgen`, not `uuid`. Thus the mixup!
moviuro··on Certificate Transparency: a bird's-eye view
You can actually opt out of that mechanism: you can use your own, untrusted CA. The point of CT is to improve trust, and I seriously have doubts trusting the 300 independant (?) CAs my browser "trusts" [0].

Sure, having an infinite, append-only log of domain names for which an HTTPS certificate ever was issued sounds like a GDPR issue. But if it also helps catch bad actors before they can even set up their phishing pages, I'm all for it.

[0] https://hg.mozilla.org/releases/mozilla-beta/raw-file/tip/se...

moviuro··on Show HN: UUIDs that are Shakespearean, grammatically correct sentences
-r is for "random". I've needed it for one of my scripts: if you generate many UUIDs at once on the same machine, there will be duplicates.
moviuro··on Show HN: UUIDs that are Shakespearean, grammatically correct sentences
Also:

  uuid -r
See https://linux.die.net/man/1/uuid
moviuro··on WireGuard Merged into OpenBSD
See https://www.openbsd.org/security.html and https://www.openbsd.org/innovations.html

Some snippets:

> OpenBSD believes in strong security. Our aspiration is to be NUMBER ONE in the industry for security (if we are not already there). Our open software development model permits us to take a more uncompromising view towards increased security than most vendors are able to. We can make changes the vendors would not make. Also, since OpenBSD is exported with cryptography, we are able to take cryptographic approaches towards fixing security problems.

> ASLR: OpenBSD 3.4 [Nov 2003] was the first widely used operating system to provide it by default.

> W^X: First used for sparc, sparc64, alpha, and hppa in OpenBSD 3.3. Strictly enforced by default since OpenBSD 6.0: a program can only violate it if the executable is marked with PT_OPENBSD_WXNEEDED and it is located on a filesystem mounted with the wxallowed mount(8) option.

> Kernel relinking at boot: the .o files of the kernel are relinked in random order from a link-kit, before every reboot. This provides substantial interior randomization in the kernel's text and data segments for layout and relative branches/calls. Basically a unique address space for each kernel boot, similar to the userland fork+exec model described above but for the kernel. Theo de Raadt, June 2017.

moviuro··on Github Is Down
Self-hosting simply means your downtime doesn't happen with everyone else's.

And there are some good reasons for not self-hosting: price/comfort, built-in tools, decent security without having to do your own, etc.

moviuro··on Is Dark Mode Such a Good Idea?
ed(1) is plenty quiet already.

https://www.gnu.org/fun/jokes/ed-msg.html

← PreviousPage 3 of 18Next →