Commit Graph

8 Commits

Author SHA1 Message Date
Nick Thomas
1cdf838ac9 Prep for 6-in-6, 4-in-6, 6-in-4 2013-08-15 00:09:23 +01:00
Nick Thomas
cfd1b2f957 First pass at fragmenting 2013-08-09 03:11:15 +01:00
Nick Thomas
f1f623f18e First pass at switching to AES256 GCM authenticated encryption 2013-08-08 18:15:58 +01:00
Nick Thomas
15fe01c368 Fix a bug where we included the IV in the data to decrypt while unwrapping 2013-08-08 08:24:55 +01:00
Nick Thomas
118b7b8125 Another night's work - move to ECDH + AES256 from RSA pubkey 2013-08-08 00:48:02 +01:00
Nick Thomas
dcb4e5ef28 This gets us to the point of seemingly being able to wrap and unwrap IPv4
Remarkably hard to test this on a single computer
2013-08-06 18:44:13 +01:00
Nick Thomas
47d65d8c3e rlocs: Move debug outputter to common code 2013-08-06 14:25:31 +01:00
Nick Thomas
15a200eb0c Second night's commit.
We're a bit closer to something sane, now. We can wrap, but not unwrap,
packets.

Asymmetric encryption is *big*. encrypted text with a 4096-bit RSA
public key is 512 bytes. We can't fragment yet. Fortunately, this
isn't an infinite regress once we *can* fragment.

Performance is still a big question mark, of course.

There may still be endianness issues hanging around.

The eid<->rloc map is almost certainly far, far too slow to be of
any use in the real world.
2013-08-04 03:07:20 +01:00