HNHacker News
TopNewBestAskShowJobs

riobard

2,847 karma · joined November 10, 2007

submissionscomments
riobard··on Raspberry Pi as a router using a single network interface
Both. It's just more flexible than two 1GbE NICs.
riobard··on Raspberry Pi as a router using a single network interface
A single 2.5Gbps or 5Gbps NIC would be better IMHO.
riobard··on WireGuard for Windows now uses high speed kernel implementation
There goes the performance advantage.
riobard··on WireGuard for Windows now uses high speed kernel implementation
Well then how can you claim “most of you might need can be built atop a very performant base layer” without understanding what the grandparent comment (https://news.ycombinator.com/item?id=28579704) says about WireGuard lacking obfuscation?

WireGuard encrypted UDP packets have obvious signature due to the packet type field in the header being in cleartext. DPI can easily filter/drop WG traffic just by checking the first few bytes of each UDP packet and doing simple statistics.

To obfuscate in this context means to morph WireGuard encrypted UDP packets to look like something else (e.g. VoIP traffic).

Current kernel-based official WireGuard implementations leave no possibility of doing so while staying in-kernel.

riobard··on WireGuard for Windows now uses high speed kernel implementation
Please let me know how to build an obfuscation layer on top of kernel-based WireGuard without sacrificing performance.
riobard··on WireGuard for Windows now uses high speed kernel implementation
This is when what makes WireGuard very performing also makes it very difficult to extend. Being in the kernel means extending it in userspace hurts its performance.
riobard··on Logitech Bolt devices support secure Bluetooth Low Energy
I really hope this works but the initial experience by The Register is worrying.

Bluetooth peripheries suck in my environment: jumping mouse cursor and missing/lagging/repeating keystrokes. And the Mac's Bluetooth module occasionally freezes and disconnect ALL peripheries.

Logi's Unifying Receiver is very nice but it has a very bad track record of security. This new toy seems to address that.

riobard··on Rolling your own minimal embedded Linux for the Raspberry Pi
> Everything that's used should be cached in RAM

This isn't guaranteed, depending on many factors.

> why would I want to remove the SD card after boot

It's unnecessary to remove it. It's more about reliability. SD cards are notoriously unreliable, and it could potentially fail after boot. Coupled with the previous point, it has happened multiple times that I wanted to login to troubleshoot the system, but cannot because the basic system binaries like `ls` are not cached in RAM (as you said these are not used for the normal operation of these unattended systems).

This is when RAM disk is very helpful: as long as the system is powered on, I have reasonable confidence that I can login and see what's going wrong. It's mostly because RAM is way more reliable, faster, and cheap enough to "waste" a few dozens megabytes for the entire base OS.

Also there're diskless PXE systems where you just load the OS from network only once upon boot.

riobard··on Rolling your own minimal embedded Linux for the Raspberry Pi
RAM disk is way faster and more reliable than SD cards. You can even remove the SD cards after boot.
riobard··on The EPYC journey continues to Milan in Cloudflare’s 11th generation Edge Server
Why are the NVMe drives on a separate island connected by extension cables? Are they thermal-constrained and have to be closer to the fans?
riobard··on I nearly lost the Lightroom catalog with of all my photos
Not sure if the tone gets you downvoted but I can completely feel your rage…

I thought the animation was intentionally there to keep you engaged and hide the fact that Time Machine restoring is super slow, especially over network.

riobard··on I nearly lost the Lightroom catalog with of all my photos
Why mounting? Last time I tried there's no manual mounting procedure required.
riobard··on I nearly lost the Lightroom catalog with of all my photos
Bummer! Guess TM/network should be better abandoned…
riobard··on I nearly lost the Lightroom catalog with of all my photos
The Time Machine over NAS situation is very frustrating.

It used to be over Apple's proprietary AFP protocol. With the exception of Apple's now-discontinued Time Capsule product line, all NAS implement AFP using the open-source Netatalk, presumably with reverse-engineered AFP protocol. And it's unreliable.

With recent versions of macOS, Time Machine switches to SMB protocol. Apple has a custom SMB implementation, and all NAS use Samba. And it's still unreliable!

I guess the only reliable solution to use Time Machine over network is to use a Mac with File Sharing over SMB enabled. At least both ends run Apple's SMB implementation.

riobard··on 8Gb USB Flash Drive Endurance Test (2017)
I'm wondering about this for a long time and hope if any experts can explain this: is there any difference in append-only & small-sized log writing vs sequentially filling an SSD/USB flash drive/SD cards?

I guess there are significant differences due to flash wear-leveling and write-amplification but I'm not sure. What I know so far is that there's difference in wear-leveling because apparently cheap USB flash drives/SD cards might not do global wear-leveling but rather only limited local wear-leveling. This shouldn't be a problem for append-only logging because it's not writing to the same block repeatedly.

However for write-amplification I'm a bit confused. Does append-only logging to an existing NAND block require reprogramming as well? If so, small appends will leave to very large ratio of write-amplification and significantly shorten the NAND life time, right?

This is particularly important for devices like Raspberry Pi which rely on USB flash drives/SD cards for logging.

riobard··on Open-sourcing a more precise time appliance
So every cell tower runs an NTP server?
riobard··on India is leading IPv6 migration with 61.67% adoption
True. All three major mobile carriers in mainland China have deployed Dual Stack. And the government is pushing for IPv6-only stack by 2030, with pilot starting as early as 2025.
riobard··on How to compare two PDF documents
Ignoring all the bad things about Microsoft Word, it really nails revision management for non-tech people. I've worked thru many legal contracts, collaborating with lawyers and other parties. I wish there'd be better alternatives, tho.
riobard··on 1Password for Mac Moving to Electron
It works mostly well (if the webpage is not trying to be too smart). There're Safari and Chrome extensions.
riobard··on Open-sourcing a more precise time appliance
That was my impression as well but now I’m puzzled about why. Since most smartphones have GPS builtin why not get time from GPS?
riobard··on Open-sourcing a more precise time appliance
Do smartphones get their time from GPS?
riobard··on 1Password for Mac Moving to Electron
I'll recommend Elpass as a much, much better alternative.

Completely native to Mac and iOS, and sync via iCloud.

https://elpass.app

riobard··on 1Password for Mac Moving to Electron
Better UX. System keychain UI is very primitive…
riobard··on WireGuardNT, a high-performance WireGuard implementation for the Windows kernel
Actually I'd rather WireGuard adopt some obfuscation mechanisms, but as Jason stated it's a non-goal and the focus is to get WireGuard into mainstream OS kernels. So the only hope is to provide some obfuscation transport underneath.

Tunneling WG over SS would be inefficient for obvious reasons. Maybe there should be a more lightweight solution.

riobard··on WireGuardNT, a high-performance WireGuard implementation for the Windows kernel
To be honest WireGuard over Shadowsocks is neither common nor recommended, coz essentially it's TCP-over-TCP which will wreak havoc on TCP congestion control.

Unless you mean WireGuard over Shadowsocks UDP transport, but that is even less common.

(Disclaimer: I wrote the official Go port of Shadowsocks https://github.com/shadowsocks/go-shadowsocks2)

riobard··on WireGuardNT, a high-performance WireGuard implementation for the Windows kernel
On one hand I'm super excited for the performance and convenience of in-kernel WireGuard (huray!)

On the other I'm sad that once it's accepted into kernel, it won't be possible to add interesting changes (e.g. obfuscation, forward erasure correction, etc).

I'm torn apart :P

riobard··on Gpsd bug may create a 1024 week time warp on October 23
And _negative_ leap seconds!

My mind is blown.

riobard··on WireGuardNT, a high-performance WireGuard implementation for the Windows kernel
By that logic someone has to explain why WireGuard is over UDP and the purpose of the "protocol" field of IP header :-)

It's called ossification. Same reason why TLS 1.3 has to pretend it's TLS 1.2, and QUIC must be over UDP.

riobard··on WireGuardNT, a high-performance WireGuard implementation for the Windows kernel
Performance will take a hit then, which is unfortunate.
riobard··on WireGuardNT, a high-performance WireGuard implementation for the Windows kernel
Jason previously stated in mailing list (couldn't find the thread now) that obfuscation is not a goal of WireGuard.
← PreviousPage 6 of 30Next →