Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-09 | ec25519-fhmqvc: don't check group order of peers' public keys | Matthias Schiffer | |
Skipping this check will significantly speed up startup with many peers. As we now do embedded group order verification, an attacker can't gain anything from small-subgroup attacks, so skipping the check isn't a security issue. | |||
2015-01-09 | ec25519-fhmqvc: optimize handshake by using embedded group element verification | Matthias Schiffer | |
Using the embedded group element verification allows us to get away without explicit verification, thus needing one scalar multiplication less. This reduces the number of expensive operations needed for a handshake to three: one Galois field square root (for key unpacking) and two scalar multiplications. For this optimization to be secure, private keys must be divisible by 8. This is the case for all keys generated with all but extremely old versions of fastd (pre-0.4). If fastd finds that its secret is not divisible by 8, it will refuse to start now. | |||
2015-01-09 | Move protocol-specific TLV specifications to main handshake record enum | Matthias Schiffer | |
2015-01-09 | poll: define SYS_epoll_pwait if it isn't available | Matthias Schiffer | |
2015-01-09 | ec25519-fhmqvc: unpack peers' keys only once | Matthias Schiffer | |
2015-01-09 | poll: directly call epoll_pwait syscall instead of using the libc wrapper | Matthias Schiffer | |
There are systems without the wrapper (e.g. older Android versions), and the wrapper is broken in some versions of uClibc. | |||
2015-01-09 | More comment fixes | Matthias Schiffer | |
2015-01-09 | Add support for a new big-endian handshake format | Matthias Schiffer | |
Because of strange dicisions in the past, fastd currently uses little endian type and length values in its handshake. As the common network byte order is big endian, changing the handshake format would be preferable. This commit adds support for a new big-endian handshake. For now, fastd will continue to send little-endian handshakes so ensure backwarts compatiblity, but if it receives a big-endian handshake, it will respond with a big-endian one. | |||
2015-01-08 | ecc25519-fhmqvc: add doxygen comments to the key check functions | Matthias Schiffer | |
2015-01-06 | status socket: better error messages on bind errors | Matthias Schiffer | |
2015-01-06 | ec25519-fhmqvc: additional key checks | Matthias Schiffer | |
Until now, it wasn't checked if a public key was the identity element. I don't think this mistake allows any actual attacks against the handshake though. | |||
2015-01-06 | handshake: get rid of stpcpy | Matthias Schiffer | |
stpcpy was added in POSIX.1-2008 and is not present on some systems like Android. | |||
2014-11-15 | Development version | Matthias Schiffer | |
2014-11-15 | fastd v16v16 | Matthias Schiffer | |
2014-11-15 | fastd v16 release notes | Matthias Schiffer | |
2014-11-15 | Use the peer key instead of the name as keys in the status socket output | Matthias Schiffer | |
This fixes the status socket segfault in a nicer way than the reverted commit "Use peer specifier from log instead of the peer name for the status output". | |||
2014-11-15 | ec25519-fhmqvc: extend describe_peer to return the whole key | Matthias Schiffer | |
2014-11-15 | Revert "Use peer specifier from log instead of the peer name for the status ↵ | Matthias Schiffer | |
output" This reverts commit be929dbe2dffa82ca1f91538f56a1bb0490000bd. | |||
2014-11-15 | Fix segfault when checking peer addresses | Matthias Schiffer | |
This segfault would occur when a peer with a static IP address (e.i. not a hostname resolved via DNS) is read, and any other peer after that. | |||
2014-11-12 | doc: add documentation for the status socket option | Matthias Schiffer | |
2014-11-12 | Use peer specifier from log instead of the peer name for the status output | Matthias Schiffer | |
This fixes a crash when status sockets are used with peers without names, but the JSON output format is changed: named peers will now use "<name>" as key instead of "name". | |||
2014-11-11 | Development version | Matthias Schiffer | |
2014-11-11 | fastd v15v15 | Matthias Schiffer | |
2014-11-11 | ec25519-fhmqvc: add missing Doxygen comment | Matthias Schiffer | |
2014-11-11 | doc: update manpage | Matthias Schiffer | |
2014-11-11 | docs: examples/openwrt: support all handler commands via UCI | Matthias Schiffer | |
2014-11-07 | examples: openwrt/fastd.init: allow specifying bind interfaces | Matthias Schiffer | |
2014-11-06 | docs: even more release note fixes... | Matthias Schiffer | |
2014-11-06 | docs: another release note fix | Matthias Schiffer | |
2014-11-05 | v15 release note improvement | Matthias Schiffer | |
2014-11-05 | Add fastd v15 release notes | Matthias Schiffer | |
2014-11-05 | docs: update config example | Matthias Schiffer | |
2014-11-05 | docs: documentation of crypto algorithms | Matthias Schiffer | |
2014-10-27 | docs: fix typo | Matthias Schiffer | |
2014-10-27 | docs: fixes for PDF build | Matthias Schiffer | |
2014-10-27 | docs: FHMQV-C | Matthias Schiffer | |
2014-10-26 | docs: ec25519 | Matthias Schiffer | |
2014-10-26 | docs: handshake documentation | Matthias Schiffer | |
2014-10-22 | Use big endian for handshake field values by default | Matthias Schiffer | |
At the moment the only multi-byte field is the MTU; it is kept in little endian to provide backwards compatiblity. Future fields will be big endian. | |||
2014-10-13 | ec25519-fhmqvc: improve unknown key message | Matthias Schiffer | |
2014-09-26 | Don't forward frames with local destination MAC address | Matthias Schiffer | |
2014-09-26 | Move get_source_address and get_dest_address to fastd.h | Matthias Schiffer | |
2014-09-26 | Add some (very incomplete) protocol documentation | Matthias Schiffer | |
2014-09-20 | Some handshake fixes for future protocol extensions | Matthias Schiffer | |
Extensions for arbitrary-length integers. | |||
2014-09-18 | Make CMake fail if json-c is required, but not found | Matthias Schiffer | |
2014-09-16 | More fixes for zero-length VLAs | Matthias Schiffer | |
2014-09-16 | Fix undefined behaviour due to zero length VLAs in null+* methods | Matthias Schiffer | |
2014-09-16 | Add status socket option to OpenWrt example files | Matthias Schiffer | |
2014-09-15 | Add status.pl example script | Matthias Schiffer | |
2014-09-15 | Don't try to poll on invalid status socket FD | Matthias Schiffer | |