Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-29 | Replace old task queue | Matthias Schiffer | |
The handshakes are now schedules in a doubly-linked list that is maintained as a part of the peer structure. | |||
2013-08-29 | Simplify keepalive sending | Matthias Schiffer | |
By using a global keepalive timer, the O(n) keepalive queue purge operation on every send operation is avoided. | |||
2013-08-28 | ec25519: ensure old sessions are invalidated quickly after a new one has ↵ | Matthias Schiffer | |
been established | |||
2013-08-28 | Remote unused fastd_task_replace_peer() | Matthias Schiffer | |
2013-08-28 | ec25519: ensure that there is always a handshake enqueued after sending a ↵ | Matthias Schiffer | |
handshake finish This ensures that the handshake is repeated in case the finish packet is lost. | |||
2013-08-28 | ec25519: reset peers as soon as their current session times out | Matthias Schiffer | |
2013-08-28 | Cancel the session establishment earlier when the address can't be claimed ↵ | Matthias Schiffer | |
by the peer There is no reason to run through all the session establishment just to cancel it a moment later. | |||
2013-08-28 | Introduce constants for tristate values | Matthias Schiffer | |
2013-08-27 | Introduce new log level debug2 for potentially very frequent messages | Matthias Schiffer | |
2013-08-26 | options: change `config error' to `command line error' messages | Matthias Schiffer | |
2013-08-25 | ec25519-fhmqvc: use different handshake keys as initiator and responder | Matthias Schiffer | |
This ensures that even in the unlikely case of a crossed handshake fastd will never establish two sessions with the same encryption key | |||
2013-08-25 | ec25519-fhmqvc: put public and secret keys together in a keypair structure | Matthias Schiffer | |
2013-08-20 | OpenBSD doesn't support IPv4 on IPv6 sockets | Matthias Schiffer | |
2013-08-20 | Use v4-mapped addresses for IPv4 peers on IPv6 sockets | Matthias Schiffer | |
This is needed at least on FreeBSD | |||
2013-08-20 | Prevent zero-before-free operations from being optimized out | Matthias Schiffer | |
2013-08-20 | Fix lots of -Wextra warnings | Matthias Schiffer | |
Everything clang and GCC warn about, except GCC's missing-field-initializers which are just stupid as they don't allow {} syntax to zero a field. | |||
2013-08-19 | ec25519: add alignment attributes to all keys used as hash inputs | Matthias Schiffer | |
2013-08-19 | ec25519: reorder some code to fix a false-positive "may be used ↵ | Matthias Schiffer | |
uninitialized" warning | |||
2013-08-18 | ec25519: minor code simplifications in handshake handling | Matthias Schiffer | |
2013-08-17 | Cache values calculated in the handshake reponse to reuse them in the finish ↵ | Matthias Schiffer | |
handling | |||
2013-08-17 | Make handshake records const uint8_t* instead of void* | Matthias Schiffer | |
This enforces explicit casting and thus avoids alignment problems. | |||
2013-08-17 | Slightly improve the SHA256 API | Matthias Schiffer | |
2013-08-17 | Check closedir return value | Matthias Schiffer | |
Just for the sake of completeness. | |||
2013-08-17 | Use readdir instead of readdir_r | Matthias Schiffer | |
readdir_r can be unsafe for very long filenames. | |||
2013-08-16 | lex: fix scanning of IPv6 addresses | Matthias Schiffer | |
2013-08-16 | Fix segfault on single peer includes without name | Matthias Schiffer | |
2013-08-15 | Always compile with -Wall (and fix other property settings) | Matthias Schiffer | |
2013-08-15 | Align sender key | Matthias Schiffer | |
Unaligned access might be a problem on some architectures, so it's better to copy it to an aligned buffer before further handling the handshake. | |||
2013-08-15 | Replace NaCl's HMAC implementation | Matthias Schiffer | |
2013-08-15 | Add small SHA256 implementation | Matthias Schiffer | |
The NaCl implementation has a code size of more than 10KiB. | |||
2013-08-14 | Allow disabling redundant command line options | Matthias Schiffer | |
2013-08-14 | Change the order of the option handlers to match the option definion | Matthias Schiffer | |
2013-08-14 | Reorder command line options in usage message and add separating empty lines | Matthias Schiffer | |
2013-08-14 | lex: don't check for NULL before free | Matthias Schiffer | |
2013-08-14 | lex: various fixes | Matthias Schiffer | |
2013-08-14 | Implement new lexer that is not generated by flex to reduce code size | Matthias Schiffer | |
2013-08-13 | lexer: reduce code size | Matthias Schiffer | |
2013-08-13 | lexer: simplify whitespace handling | Matthias Schiffer | |
2013-08-13 | lexer: simplify IPv6 address matching | Matthias Schiffer | |
2013-08-12 | Add pre-up and post-down handlers | Matthias Schiffer | |
2013-08-12 | Improve interface name handling | Matthias Schiffer | |
2013-08-12 | Improve integer checks | Matthias Schiffer | |
2013-08-12 | Install signal handlers later so key generation can be interrupted | Matthias Schiffer | |
2013-08-12 | config: check (and fix) some integer limits | Matthias Schiffer | |
2013-08-12 | lexer: enter NEEDSPACE context after an IP address | Matthias Schiffer | |
2013-08-11 | Only link with librt when necessary | Matthias Schiffer | |
2013-08-11 | OpenBSD fastd_tuntap_open implementation | Matthias Schiffer | |
2013-08-09 | Merge Linux and FreeBSD fastd_tuntap_{read,write} implementations | Matthias Schiffer | |
2013-08-08 | Check for AI_ADDRCONFIG | Matthias Schiffer | |
2013-08-08 | Add some includes needed on OpenBSD | Matthias Schiffer | |