1,178 karma · joined Oct 17, 2013 (13y ago) · 589 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
when calling anything that ultimately calls grub-probe (e.g. apt-get upgrade), you have to symlink the decrypted device mapper volume up a layer into /dev because grub-probe can't seem to find the ZFS vdev(s) otherwise. ie: "ln -s /dev/mapper/encrypted-zfs-vdev /dev".
This is in fact the case on every Linux distribution I've run ZFS over dm-crypt on.
EDIT: IOW its a grub bug not an Ubuntu bug.
comment 9y ago · link · parent
I know I'll be recommending that friends and family just backup, destroy, and/or reinstall, and avoid repair shops unless absolutely necessary.
And of course -- Don't buy from Best Buy.
comment 9y ago · link · parent
But then I remember the day jobs I've had where I was thinking the same things on the clock: lamenting what I'm not working on and will probably never accomplish. Especially including the programming and/or devops jobs.
I've got to say I can't point to a single job (even working in a restaurant as a dish washer, and on a ranch) where I couldn't have found any way to constantly increase my knowlede even by some small ammount while working. It's even more challenging to me working remotely on gigs that are utterly boring, because I'm tempted to stray out into left field and the Internet makes that so easy of course.
But those boring gigs carry value that I can find if I look for it, and that I can build upon. Every second, they offer opportunities for exploring a new problem domain - for learning something new. And my client gets a great ROI if I do that. We both win.
And with Kids, is it not a good thing to tell them about what you're working on? To show enthusiasm for your work? You say you try to teach your kids things - I've heard it said the best way to learn something is by teaching it, right?
comment 9y ago · link · parent
But my initial gut feeling/reaction about this news is that it's distinctly un-interesting as compared with, say, Shadow Brokers or Snowden.
Just my initial reaction...
comment 9y ago · link · parent
At the whole program/application level, when you create your own data structures, you can find lots of ways to leak them to the world.
comment 9y ago · link · parent
Sure, in this case, we may see a C-specific bug in play, but I think this sort of bug is more effectively mitigated by forcing buffers to be zero-filled upon allocation and/or deallocation, and perhaps system-wide at the OS level, rather than relying upon language features to cover it.
So - I'm not explicitly defending C here - I just don't think a similar bug could never occur in a "memory safe" language as well.
comment 9y ago · link · parent
I consider the total price I pay for cloud backups as a form of punishment for how poorly I manage my data ;) ZFS will let you go crazy and expand forever transparently but you should actually know what data you really need to back up...
comment 9y ago · link · parent
--
- 7TB ZFS pool running on Ubuntu Xenial
- hardware: an old laptop with 6 cobbled together external USB 3.0 drives making up the pool
- each vdev (3 total) in the pool is mirrored
- standard tools on top of that: time machine + netatalk, NFS, samba, SSH+rsync, ZFS send/recv, etc.
- external drives need battery backup (can't recommend the case where you don't have battery backup for ZFS vdevs)
-- no ECC RAM
Off-site backup:--
- Ubuntu Xenial running in google cloud, 10GB root volume, 3.75G RAM, 1 vCPU
- secondary (backup) disk is currently only 1TB, with a zpool as filesystem. Easily expandable by adding virtual disks as vdevs (plus I trust their hardware slightly more than my own).
- using ZFS send/recv to selectively backup important datasets and keep cost as low as possible
Secondary LAN Backup and Restoration Testing:--
- a separate 8TB disk on another ghetto piece of old x86 hardware, no redundancy
- restored from the offsite backup to get 2-for-1: backup and restoration testing
Encryption:--
- everything local uses dm-crypt
- as for google cloud, I also use dm-crypt. If I want to conceal the keys from remote memory, I use nbd-server to expose a block device across SSHcomment 9y ago · link · parent
I ask because I can imagine some (or many) PoCs would require hardware and software of a different platform than usual e.g. qemu+x86_64 vs ARM vs MIPS. So, I guess I see a somewhat complex infrastructure problem that this would need to have solved.
Perhaps the VM for running the exploit and exploited code in question should be wrapped around the binary that the vendor distributes, with an intention that it be e.g. ELF on x64 Linux 4.x, statically compiled?
comment 9y ago · link · parent
I consider Signal an imperfect but extremely useful option for a very specific use case: getting my family and friends to send me (and each other hopefully) encrypted messages, just cause.
And after having done that, I can say I see the genius of the approach Signal has taken.
comment 9y ago · link · parent
Not curious enough to consult the literature, but curious.
comment 9y ago · link · parent
comment 9y ago · link · parent
I know doing the same for TUN/TAP is not a leap really, but it's one more thing to have to consider. Also I have no idea what the performance implications of TUN/TAP are either (although I frequently use both, I've never measured it).
comment 9y ago · link · parent
While I'm sure it's probably lower performance, if you've ever done more than just plug and play some Cisco IPSec stuff (e.g. manually implement IPsec on Linux), it is terrifying in its complexity, IMO, for something you depend upon so critcially.