Commit graph

926 commits

Author SHA1 Message Date
380484dcef fastd v16 release notes 2014-11-15 18:14:28 +01:00
8958be14e8 Use the peer key instead of the name as keys in the status socket output
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 17:55:30 +01:00
5f6a7d692e ec25519-fhmqvc: extend describe_peer to return the whole key 2014-11-15 17:51:53 +01:00
5b6343f51a Revert "Use peer specifier from log instead of the peer name for the status output"
This reverts commit be929dbe2d.
2014-11-15 17:45:01 +01:00
89bf354b91 Fix segfault when checking peer addresses
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-15 16:24:25 +01:00
ed121da8eb doc: add documentation for the status socket option 2014-11-12 15:11:16 +01:00
be929dbe2d Use peer specifier from log instead of the peer name for the status output
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-12 15:04:27 +01:00
5ddca2604f Development version 2014-11-11 23:53:57 +01:00
66d2d1f762 fastd v15 2014-11-11 23:53:00 +01:00
6b5c3737e8 ec25519-fhmqvc: add missing Doxygen comment 2014-11-11 23:51:53 +01:00
0eadea23a8 doc: update manpage 2014-11-11 23:51:40 +01:00
b0fd63195b docs: examples/openwrt: support all handler commands via UCI 2014-11-11 10:50:16 +01:00
924261bc92 examples: openwrt/fastd.init: allow specifying bind interfaces 2014-11-07 22:36:29 +01:00
d032c2244d docs: even more release note fixes... 2014-11-06 22:07:08 +01:00
5547c3d783 docs: another release note fix 2014-11-06 21:52:49 +01:00
562703e0bb v15 release note improvement 2014-11-05 23:29:07 +01:00
466d6d2767 Add fastd v15 release notes 2014-11-05 23:26:11 +01:00
45e70ed7dd docs: update config example 2014-11-05 20:55:30 +01:00
0dfa34ac94 docs: documentation of crypto algorithms 2014-11-05 20:47:25 +01:00
2c67136b6b docs: fix typo 2014-10-27 03:11:12 +01:00
3d34679f28 docs: fixes for PDF build 2014-10-27 02:58:56 +01:00
d8a73a2611 docs: FHMQV-C 2014-10-27 02:49:01 +01:00
8e01faddba docs: ec25519 2014-10-26 19:45:27 +01:00
7e5ffc0cde docs: handshake documentation 2014-10-26 16:56:43 +01:00
6359772b9c Use big endian for handshake field values by default
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-22 02:23:15 +02:00
50b83be77b ec25519-fhmqvc: improve unknown key message 2014-10-13 21:44:09 +02:00
b63d267e79 Don't forward frames with local destination MAC address 2014-09-26 15:45:22 +02:00
d90524202c Move get_source_address and get_dest_address to fastd.h 2014-09-26 15:35:31 +02:00
c341adf527 Add some (very incomplete) protocol documentation 2014-09-26 15:33:38 +02:00
6da79ddb9b Some handshake fixes for future protocol extensions
Extensions for arbitrary-length integers.
2014-09-20 17:51:20 +02:00
50390abdee Make CMake fail if json-c is required, but not found 2014-09-18 17:24:06 +02:00
1788de0cc1 More fixes for zero-length VLAs 2014-09-16 16:26:31 +02:00
18e13778e5 Fix undefined behaviour due to zero length VLAs in null+* methods 2014-09-16 03:47:33 +02:00
86f2b8b72d Add status socket option to OpenWrt example files 2014-09-16 02:31:08 +02:00
f8d45bbe9e Add status.pl example script 2014-09-15 17:40:21 +02:00
00e313d7e9 Don't try to poll on invalid status socket FD 2014-09-15 17:19:15 +02:00
cfc893eae9 Reorder fields of the peer structure
This tries to get the structure a bit smaller and improve cache locality.
2014-09-15 16:58:55 +02:00
316180d885 status: add uptime and established times 2014-09-15 16:35:34 +02:00
7ebbe05f46 Add per-peer stats 2014-09-12 16:53:24 +02:00
d116950984 Restructure traffics stats to keep all stats in a single structure 2014-09-12 16:35:15 +02:00
3b18fc42b9 ec25519-fhmqvc: refactor old session check code 2014-09-10 02:43:23 +02:00
bcc60920ca Add current method of connections to status output 2014-09-09 19:35:06 +02:00
de7f8c4765 Fix copyright of the OpenWrt init script
I wrote it myself, so it's better if the copyright notice matches the rest of
fastd.
2014-09-09 02:44:50 +02:00
2eb0efacac Move systemd unit to a new doc/examples dir, add OpenWrt example config and init script 2014-09-08 22:40:27 +02:00
80b1412c65 Make stats of reordered packets 2014-09-08 20:30:44 +02:00
58b8518100 Move UNUSED attribute to the start of arguments to help editors understand the syntax 2014-09-06 01:33:26 +02:00
1e540bed62 Don't count stats when WITH_STATUS_SOCKET is not set 2014-09-06 00:54:28 +02:00
fc250931e8 Fix async command waitpid error handling (again...) 2014-09-06 00:49:28 +02:00
76becb4729 Fix poll initialization on systems without epoll 2014-09-06 00:41:15 +02:00
2561266c15 Add status socket to get the current status as JSON 2014-09-05 22:43:11 +02:00