Re:[btrfs] is vulnerable to a hash-DoS attack
by apawloski on Thursday December 13, 2012 @01:24PM
(#4917185)
So it seems like fixing this is as a simple as using a hash algorithm that's more robust to collisions? That's not too bad, am I missing something more severe?
[ Parent
| on HN ]
Re:[btrfs] is vulnerable to a hash-DoS attack
by CJefferson on Thursday December 13, 2012 @02:33PM
(#4917607)
The hash issues aren't just causing a slight slowdown, they seem to be bringing the fs to a complete halt. Also, changing hash, unless done with care, will cause compatibility issues.
Re:[btrfs] is vulnerable to a hash-DoS attack
by apawloski on Thursday December 13, 2012 @02:53PM
(#4917703)
CRC32 used to be pretty common -- is there a typical replacement being used instead? Of course usual mantra is "it depends on what you're using it for", but I'm curious if there's a typical drop-in.
>Also, changing hash, unless done with care, will cause compatibility issues.
I'm not calling you out, but I'm interested in what kinds of compatibility issues you're thinking of?
Re:[btrfs] is vulnerable to a hash-DoS attack
by CJefferson on Thursday December 13, 2012 @03:42PM
(#4917969)
I was mainly thinking about the disc image not being mountable by older kernels. File systems usually aim to change as little as possible.