|
14d6915f09
|
Use 2 bytes to encode handshake field types and lengths; breaks compatiblity with v0.1-rc2 and earlier
|
2012-04-01 22:18:22 +02:00 |
|
|
9be0a607eb
|
ecfxp: fix max packet size
|
2012-04-01 06:01:07 +02:00 |
|
|
3a1fcf98b0
|
Add missing includes that didn't throw errors with clang
|
2012-04-01 04:58:28 +02:00 |
|
|
62e83851ac
|
ecfxp: speed up old session flushing
|
2012-04-01 04:42:21 +02:00 |
|
|
dba817c84f
|
Don't refresh a session before old handshakes are cleaned up
|
2012-04-01 04:31:32 +02:00 |
|
|
b5efe8ac07
|
Retry in case of a handshake conflict
|
2012-04-01 04:31:03 +02:00 |
|
|
2d7472633a
|
Don't stop repeating handshakes until valid data using the new key is received
|
2012-04-01 04:00:33 +02:00 |
|
|
6abadfbe0b
|
ecfxp: delete handshake data after handshake is finished
|
2012-04-01 03:44:11 +02:00 |
|
|
9c1a2e4d39
|
Fix handshakes occuring twice after unexpected data receive
|
2012-04-01 03:43:42 +02:00 |
|
|
2155d07a3e
|
Always zero out old sessions, even when they are already invalid
|
2012-03-31 23:38:07 +02:00 |
|
|
4f0cfe26bf
|
Trigger handshake when unexpected data is received from a floating peer
|
2012-03-31 21:18:07 +02:00 |
|
|
f25c92359e
|
Handle receive errors correctly
|
2012-03-31 21:17:46 +02:00 |
|
|
2a9e807c78
|
Fix double free when receiving unexpected packets from floating peers
|
2012-03-31 20:45:27 +02:00 |
|
|
ee8b2de4b7
|
ecfxp: refresh session key periodically
|
2012-03-31 19:38:18 +02:00 |
|
|
0c82651c30
|
Change how handshakes are triggered
|
2012-03-31 18:04:02 +02:00 |
|
|
342d63a45a
|
Limit key validity
|
2012-03-30 18:40:23 +02:00 |
|
|
9ee88db0f8
|
Change peer print format
|
2012-03-30 17:33:03 +02:00 |
|
|
23e76b0d25
|
Correctly update seen time when data is received from a peer
|
2012-03-30 17:14:10 +02:00 |
|
|
002fd7132a
|
Fix memory leak in on_up
|
2012-03-30 04:42:31 +02:00 |
|
|
6f1f926bb8
|
Make ecfxp protocol work with new handshake
|
2012-03-30 04:36:50 +02:00 |
|
|
ca127fccb8
|
Rework handshake... again. ecfxp protocol broken, will be fixed with next commit.
|
2012-03-30 02:26:30 +02:00 |
|
|
4d696a973a
|
Add Flex options to fix -Wall warnings
|
2012-03-30 01:33:16 +02:00 |
|
|
8a6a48807d
|
Add MTU parameter to on-up command
|
2012-03-29 20:04:22 +02:00 |
|
|
d2bf3c0947
|
Add support for Tinc-like peer directory configurations
|
2012-03-29 04:25:30 +02:00 |
|
|
eb0c48b789
|
Config parse: add location tracking for nice error messages
|
2012-03-29 03:19:50 +02:00 |
|
|
aadf0a94b4
|
Implement on-up commands; also fix log print conditions
|
2012-03-29 01:28:55 +02:00 |
|
|
63e123738a
|
Stop handshake when key is identity
|
2012-03-28 23:11:02 +02:00 |
|
|
0c1296cb86
|
Interpret includes relative to config file path
|
2012-03-28 22:26:02 +02:00 |
|
|
9d572f3b53
|
Add license headers to Flex and Bison files; also remove Quicktun note as we don't actually use any of is code
|
2012-03-28 21:54:48 +02:00 |
|
|
ae9df63aa9
|
Config: allow escaping quotes in strings
|
2012-03-28 21:51:07 +02:00 |
|
|
14a44b4016
|
Add keygen function
|
2012-03-28 20:47:06 +02:00 |
|
|
c8ea4868b3
|
Add single peer config options; also fix string handling in lexer
|
2012-03-28 18:42:24 +02:00 |
|
|
1653c57e81
|
Make peer takeover work
|
2012-03-28 02:32:18 +02:00 |
|
|
22a6b57065
|
Make crypto handshake with floating peers work
|
2012-03-28 00:55:39 +02:00 |
|
|
b69d34071b
|
Allow comments in config files
|
2012-03-27 22:58:59 +02:00 |
|
|
3065f96f7b
|
New handshake format; don't respond to data packets from unknown peers with handshakes, but request a re-handshake
|
2012-03-27 22:43:19 +02:00 |
|
|
2190d635c1
|
Fix NULL dereference on null protocol initialization
|
2012-03-27 19:01:58 +02:00 |
|
|
21e4ada4bb
|
Use configured peer names
|
2012-03-27 19:01:31 +02:00 |
|
|
cfadfce548
|
ec25519-fhmqvc-xsalsa20-poly1305: separate session better to allow smooth rekeying
|
2012-03-27 00:24:22 +02:00 |
|
|
2a8c655a5d
|
Correctly free handshake state with peer state
|
2012-03-27 00:10:55 +02:00 |
|
|
9fd69a7893
|
Allow initating and accepting handshake instances to coexist; fix some memory corruption etc. found by Valgrind
|
2012-03-26 23:51:41 +02:00 |
|
|
5074b7d5e1
|
fastd_handshake_handle: Use data pointer instead of base
|
2012-03-26 22:23:24 +02:00 |
|
|
2ffca7de4e
|
Move around some structure fields
|
2012-03-26 19:16:29 +02:00 |
|
|
e89cfb2f0b
|
Implement encrypted send/receive
|
2012-03-26 06:05:36 +02:00 |
|
|
a02fb0711b
|
Initial implementation of the FHMQV-C handshake
|
2012-03-26 03:06:03 +02:00 |
|
|
44742f8aad
|
Add include command
|
2012-03-25 15:06:39 +02:00 |
|
|
59a5b83321
|
Change parse to push API, fix some parser bugs
|
2012-03-25 14:21:47 +02:00 |
|
|
6ce20e2bb6
|
Add keypair config
|
2012-03-25 00:16:20 +01:00 |
|
|
0b61ebf351
|
Remove context argument from lexer call
|
2012-03-24 23:10:10 +01:00 |
|
|
01683df316
|
Fix peer address config
|
2012-03-24 22:42:38 +01:00 |
|