Commit Graph

32 Commits (main)

Author SHA1 Message Date
Nick Thomas 4c8afca730 Some clarity 2013-08-22 03:38:42 +01:00
Nick Thomas be95b61c87 Fix rlocs_find_two_ipv4 2013-08-22 03:38:01 +01:00
Nick Thomas 08b209d810 fix packet_peer_context to actually do the right thing 2013-08-22 02:54:36 +01:00
Nick Thomas f36089eb23 Fix a few bugs, tentative tun multiqueue support 2013-08-22 02:03:31 +01:00
Nick Thomas 1cdf838ac9 Prep for 6-in-6, 4-in-6, 6-in-4 2013-08-15 00:09:23 +01:00
Nick Thomas 2ffff92d36 Add home rloc 2013-08-14 21:19:42 +01:00
Nick Thomas 0c607f50d3 Add hosting1 2013-08-14 21:16:50 +01:00
Nick Thomas 75f1335b85 -ljson is more canonical than -ljson-c 2013-08-14 20:57:31 +01:00
Nick Thomas cb1e2ea882 Markdown != asciidoc 2013-08-13 18:49:46 +01:00
Nick Thomas e577c7efb8 Fix a couple of bugs preventing large packets and fragments from working 2013-08-09 03:55:54 +01:00
Nick Thomas cfd1b2f957 First pass at fragmenting 2013-08-09 03:11:15 +01:00
Nick Thomas 1acaa03799 Mark our wrapped packets with the DF bit 2013-08-08 18:24:08 +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 c77557b6ee Some doc / example updates 2013-08-06 23:16:28 +01:00
Nick Thomas 0dff4409ce hunt for rlocs directly, not via eid maps, when unwrapping packets 2013-08-06 21:55:35 +01:00
Nick Thomas b215b1a8d7 Use IP Protocol 99 - private encryption schemes 2013-08-06 21:54:39 +01:00
Nick Thomas b68a2d6411 Remove an incorrect TODO 2013-08-06 19:47:41 +01:00
Nick Thomas b5472e7aa4 hide-eid: Don't forget to upgrade keys specified on the command line 2013-08-06 19:26:10 +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 13090d3c75 Reorganise so we have wrapper, unwraper and hide-eid.
unwrapper and hide-eid don't work yet, of course.
2013-08-06 15:20:48 +01:00
Nick Thomas 202b77bb57 packet: move some common code out of wrapper.c and util.c 2013-08-06 14:34:53 +01:00
Nick Thomas 94b451a1ac util: Remove some debugging comments 2013-08-06 14:26:22 +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
Nick Thomas c41a33e8b2 Starter .gitignore 2013-08-03 16:40:39 +01:00
Nick Thomas e4686dae08 Minor fixes to README.md 2013-08-03 14:51:06 +01:00
Nick Thomas 9f05347035 pass 1: first night of code. Nothing interesting yet. 2013-08-02 23:58:54 +01:00
Nick Thomas b8758a3944 Document how the pass 1 implementation will operate. 2013-08-02 21:13:49 +01:00
Nick Thomas 08604f718b Add some information to the README. 2013-08-02 20:17:12 +01:00
Nick Thomas edb558a88d Initial commit 2013-08-02 11:01:57 -07:00