Commit graph

717 commits

Author SHA1 Message Date
037c58ae51 Fix minimum required CMake version 2012-04-15 12:15:11 +02:00
b9054051b9 Reduce task queue usage 2012-04-14 16:59:54 +02:00
74f2d0357f Fix reply for failed handshakes 2012-04-14 15:24:51 +02:00
701fcc7c7e Separate handshake from encryption method 2012-04-14 13:06:11 +02:00
ac235fb7d2 Fix sending of packets on big endian architectures 2012-04-09 23:40:43 +02:00
1ed4ac93ae Add some missing error handling 2012-04-06 00:55:59 +02:00
a6a5b5e00e Add on-establish and on-disestablish commands 2012-04-05 20:38:30 +02:00
9720307ab4 Fix string escaping in config lexer 2012-04-05 13:27:25 +02:00
7b2cfb422a Cleanly shutdown; add on-down command 2012-04-05 13:17:02 +02:00
329d15d50c Implement reconfiguration on SIGHUP 2012-04-05 05:21:58 +02:00
cbf0166a7f Save absolute path in peer configs from peer dirs 2012-04-03 23:07:55 +02:00
320e76e0de Keep track of peer dirs 2012-04-03 19:02:27 +02:00
c2e81f00dc Don't set bind sockaddr in config if none is configured 2012-04-03 09:56:44 +02:00
171dd6a58b Save source dirs with peer configs 2012-04-03 04:23:46 +02:00
89208e7de1 Ignore peer configs with errors in peer dirs instead of exiting 2012-04-03 02:17:33 +02:00
053e3f630a Only handle - as stdin when given on command line 2012-04-03 01:33:06 +02:00
bd8dcb9735 Keep list of strings allocated by the lexer 2012-04-03 01:27:27 +02:00
a25640e3b4 Add install command 2012-04-03 00:50:34 +02:00
52b6ec7713 Require Bison 2.5 2012-04-03 00:44:19 +02:00
5991e456cd Fix handshake and keepalive scheduling 2012-04-02 23:12:23 +02:00
6c401d89e2 Allow peer-to-peer forwarding 2012-04-02 21:52:21 +02:00
77520caad8 ecfxp: don't send refresh handshakes from both sides 2012-04-02 03:52:23 +02:00
7836725abd Critical fix of a bug allowing DoS by sending invalid handshakes 2012-04-02 02:37:35 +02:00
b56a383d4c Warn on MTU mismatch 2012-04-02 01:54:00 +02:00
6df58e7989 ecfxp: fix problems with peers trying to send handshakes to each other 2012-04-02 01:41:28 +02:00
3c83faaa16 Add sending of keep-alive packets 2012-04-02 01:28:34 +02:00
9e45032bd5 Add timestamps to log messages 2012-04-01 23:10:46 +02:00
e0a3556742 Add log level configuration 2012-04-01 22:47:55 +02:00
350353d2c1 Add verbose log level, change some log messages 2012-04-01 22:35:00 +02:00
bd78168550 Require port with peer specfication, remove default port 2012-04-01 22:28:31 +02:00
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