Commit Graph

2985 Commits

Author SHA1 Message Date
gardners
e639d3d255 fixed bugs and completed implementation of storing SID:SAS mappings.
Now to finish implementing verification process.
2012-04-16 06:36:46 +09:30
gardners
2a67153613 Really fixed RFS length patch bug and ob_indel processing. 2012-04-16 06:18:34 +09:30
gardners
e7e8b2d630 fixed bug in RFS size patching.
A lot of debug output tweaks to track the problem down.
2012-04-16 06:06:43 +09:30
gardners
caab3078e5 substantial work towards public key signing of MDP frames and
the associated SID:SAS mapping cache and request packets.
2012-04-15 03:17:36 +09:30
gardners
2bcf07144e added support for displaying signed frames. 2012-04-15 01:09:25 +09:30
gardners
5f01210353 Added warning to mdp ping to indicate that broadcast pings are
not encrypted.
2012-04-15 00:26:26 +09:30
gardners
8b49a2f572 updated a comment. 2012-04-15 00:23:54 +09:30
gardners
005c7bb7bb overhauled link metric to heavily weight recent notices over old
ones so that we can adapt to changing routes quickly.
2012-04-15 00:21:21 +09:30
gardners
0c2de88337 token formatting change? 2012-04-15 00:04:22 +09:30
gardners
47945c5812 cleaned up debug output 2012-04-15 00:03:43 +09:30
gardners
b55f945133 fixed packet dequeue bug (mdp ping has no duplicate replies now).
cleaned up debug output.
2012-04-15 00:02:54 +09:30
gardners
c3800ff004 mdp ping shows whether replies are encrypted or plain text etc. 2012-04-14 23:18:18 +09:30
gardners
2581e9fe4c Revamped dequeuing of TXd frames.
Now almost works (queues don't stay full of junk), although
mdp ping still gets a duplicate reply for 2-hop pings.
2012-04-14 23:12:45 +09:30
gardners
2dab0e50d4 Fixed source/destination port switch bug fixed (though some issue
remains)
2012-04-14 14:20:49 +09:30
gardners
7c1f48c511 various debug cleanups 2012-04-14 13:56:53 +09:30
gardners
401da25a77 decrypting mdp frames now works, but there is something causing
frames to be resent after decryption.
2012-04-14 12:33:15 +09:30
gardners
79dc33b156 Work towards transparent decryption of MDP frames.
Runs, just gets an error during decryption, like as though
keys or nonce were wrong.
2012-04-14 12:17:46 +09:30
gardners
c5aa90eba6 Fixed display of authcrypted frames. 2012-04-14 11:20:28 +09:30
gardners
4a1e4eca55 fixed more bugs in duplicate broadcast quenching.
looks like it might be working right now.
2012-04-14 11:16:59 +09:30
gardners
3e2213db61 removed debugging output. 2012-04-14 10:58:31 +09:30
gardners
c37d83bddd forwarding of overlay frames substantially in place, but requires
testing.
2012-04-14 10:56:03 +09:30
gardners
4e0c9bfd02 fixed logic errors in handling of nexthop and destination addresses
when receiving a frame and determining if it is broadcast etc.
(one major use case that has been fixed is broadcast nexthop, and
unicast destination, e.g., for link-local broadcast).
2012-04-14 10:54:48 +09:30
gardners
0a71486f68 Fixed generation of broadcast address in one place where it
wasn't choosing a random BPI.
2012-04-14 10:15:13 +09:30
gardners
02e1b0f723 fixed bugs in dequeuing (or lack thereof) of broadcast frames and
unicast frames at the right time.
2012-04-14 10:14:43 +09:30
gardners
fcffb58447 fixed bug with decoding ack of selfannouncement frames. 2012-04-14 09:50:10 +09:30
gardners
9398f94a22 Cleaned up debug output. 2012-04-14 09:39:14 +09:30
gardners
5f0fa352e3 Updated function prototype following fix for MDP echo port. 2012-04-14 09:38:55 +09:30
gardners
ca7924f134 Removed debugging output. 2012-04-14 09:35:35 +09:30
gardners
25a626a61e Fixed reply packet handling for built in echo port. 2012-04-14 09:33:29 +09:30
gardners
0c41920fa9 fixed src/dst port switcharoo when showing MDP packets. 2012-04-14 09:19:11 +09:30
gardners
3b0fb3929d Added code to extract MDP frames from packets.
source ports and decryption are currently not right.
2012-04-14 08:15:29 +09:30
gardners
a71929bcd2 Removed some debugging output. 2012-04-14 07:42:43 +09:30
gardners
e636dcd0fc Fixed handling of broadcast frames so that not-forwarding a broadcast
frame does not equate to not examining its contents ourselves.
2012-04-14 07:39:02 +09:30
gardners
d808534a1e Fixed some comments to make code easier to follow, and remove a
note for an issue that has been fixed.
2012-04-14 06:59:12 +09:30
gardners
7928de5b01 Fixed broadcast address and BPI handling for address abbreviation
and propagation.
2012-04-14 06:58:36 +09:30
gardners
283b29af6b Improved packet tx and rx debugging and made it more logical. 2012-04-14 06:38:11 +09:30
gardners
2802a5c042 Fixed bug in dequeuing broadcast frames after they have been
sent via interfaces.
Also some debugging output added.
2012-04-14 06:31:30 +09:30
gardners
167c59d50d Added debug option to suppress rhizome traffic to make it easier
to see what is going on.
Similarly there is now a debug option to show outgoing packets.
2012-04-14 06:26:20 +09:30
gardners
0f9abea8c7 Now decodes MDP frames (but without decrypting etc). 2012-04-14 04:57:37 +09:30
gardners
3fb1e6cafe Fixed a bug in node lookup, and added a duplicate broadcast
supression check.
2012-04-14 04:34:45 +09:30
gardners
752a29c112 Fixed handling of duplicate broadcasts (they get dropped sooner).
There does seem to be something odd about the broadcast processing
still, as the BPIs change after resolving addresses.
Maybe when we send a broadcast out via multiple interfaces it
gets marked duplicate after sending to the first interface?
2012-04-14 04:33:01 +09:30
gardners
f972c988b9 Adding support for marking payloads as broadcast so that they can
be directed to all interfaces if they are broadcast (previously
overlay mesh would "broadcast" to one semi-random interface only).
2012-04-14 04:06:08 +09:30
gardners
0cb3e6e60b Added code to properly direct both broadcast and unicast packets
to the correct interface(s).  An issue with the node lookup is
preventing it from working at present, however.
2012-04-14 04:05:05 +09:30
gardners
9f88a8ae47 Added decoding of node announcements. 2012-04-14 03:18:44 +09:30
gardners
d5cd28b1b3 Disabled some debugging output. 2012-04-14 02:57:49 +09:30
gardners
9531b5006d Fixed a bug in nm_bytes cache. 2012-04-14 02:51:09 +09:30
gardners
4de6622c68 Fixed bug in "keyring add" command.
Added opening of keyring in "mdp ping" command.
MDP ping now works with the new keyring framework (but authcryption
is not being attempted it seems).
2012-04-14 02:44:41 +09:30
gardners
faa2f5ef6c Fixed keyring opening sequence for overlay mode. 2012-04-14 02:38:09 +09:30
gardners
baf9212c20 modified mdp ping to use authcryption when not broadcasting. 2012-04-14 02:37:50 +09:30
gardners
fabec139f2 Added nm_bytes cache code for fast authcryption. 2012-04-14 02:31:44 +09:30