10,059 reputation
11424
bio website github.com/frostschutz
location
age 32
visits member for 2 years
seen 39 mins ago

2d
answered QoS with TC qdiscs: is it possible to have ALL outbound connections have x speed limit per unique IP?
Jan
29
answered Loop over associative arrays by substring
Jan
28
comment Any disk encryption that locks itself for some time after a number of failed attempts?
@wojtekjablonski if you use a cheaper hash function it will still take the same amount of time on your machine; it will simply use more iterations to compensate.
Jan
28
answered Any disk encryption that locks itself for some time after a number of failed attempts?
Jan
28
comment How to change the hash-spec and iter-time of an existing dm-crypt LUKS device?
cryptsetup-reencrypt --keep-key --hash sha512 does the same thing.
Jan
27
answered Creating a device similar to /dev/random from a script
Jan
25
comment How can I kill a process and be sure the PID hasn't been reused
You could also check the parent pid.
Jan
22
comment Can the BS option cause data inconsistency with dd?
No, it wouldn't.
Jan
22
awarded  Yearling
Jan
21
answered Resuming a DD of an entire disk
Jan
20
awarded  Enlightened
Jan
20
awarded  Nice Answer
Jan
19
comment error mounting truecrypt disk with cryptsetup
The header is encrypted; just patch cryptsetup (set sector size to 512 at the end of read_phdr()). That happens to work for me, but may be coincidence. The data offset calculation is wrong.
Jan
19
comment error mounting truecrypt disk with cryptsetup
The problem is not the device itself, but the Truecrypt metadata. The sector size is specified in the header, and set to 4096 at the time of creation. Your workaround may convince Truecrypt to create a new container with 512 instead of 4096 so cryptsetup will be able to open it; but won't help for existing containers...
Jan
18
answered error mounting truecrypt disk with cryptsetup
Jan
13
comment Unable to check a mdadm RAID1 array, says the file system's read only?
Umm... does /proc/mounts say ro for sysfs?
Jan
12
revised How to change the hash-spec and iter-time of an existing dm-crypt LUKS device?
added 180 characters in body
Jan
12
answered How to change the hash-spec and iter-time of an existing dm-crypt LUKS device?
Jan
8
comment How to down particular ip in linux?
No need for eth0:x style, just use ip addr add/del ... on eth0.
Jan
7
comment Recovering a LUKS partition
If you have a backup of the header (a real backup, which is usually >1MB in size, not just a luksDump), recovery is possible. Same if you actually find the real header intact. What you showed is not a LUKS header.