Commit graph

926 commits

Author SHA1 Message Date
f37fb374a9 Fix peer group tree traversal when reading peer dirs
This broke when conf was made global.
2014-04-21 20:14:06 +02:00
505f97771a Remove vector of new temporary peers
The new poll code has made this second peer list obsolete.
2014-04-21 20:02:43 +02:00
175685ed5f poll: add pollfd count assert 2014-04-21 19:51:28 +02:00
bda274971e Define IP_FREEBIND if it is not provided 2014-04-20 19:37:07 +02:00
7adeb6e881 Make ctx global 2014-04-20 05:29:11 +02:00
b9c8603931 Make conf global 2014-04-20 04:36:34 +02:00
ab4ca17ba3 Linux: use epoll to handle great numbers of peers with less overhead 2014-04-20 02:48:25 +02:00
8c705b9cd4 Minimize poll interface to simplify implementation of alternative implementations 2014-04-20 02:16:44 +02:00
0bf9268453 Keep peers in a hash table to allow fast address lookups 2014-04-19 23:54:10 +02:00
194e1c878a Keep a vector of pollfds instead of regenerating it all the time 2014-04-19 22:03:07 +02:00
6798a76ffa Store peers as vectors of pointers instead of linked lists 2014-04-19 20:00:36 +02:00
2e14d72936 Make eth_addrs a vector 2014-04-19 19:07:18 +02:00
e59ff6e444 Add vector macros 2014-04-19 19:06:48 +02:00
a184210f2e Fix handling of new temporary peers 2014-04-19 03:53:11 +02:00
bcc97326a2 Free on-connect handler on exit 2014-04-19 03:50:42 +02:00
38141a902a dlist: remove unused includes 2014-04-19 02:44:19 +02:00
86888f3e1b Optimize maintenance routine (and don't run it more often than necessary) 2014-04-19 02:09:35 +02:00
d4c410f99a shell: unblock SIGCHLD before exec 2014-04-18 16:54:32 +02:00
e6ad38a540 Fix zombie process cleanup 2014-04-18 16:50:32 +02:00
87dd930bed Clean up shell command handling 2014-04-18 16:36:16 +02:00
dd5d95468e Simplify handling of on-verify commands 2014-04-13 18:53:21 +02:00
296fac170c Break very long line 2014-04-13 18:32:11 +02:00
e628a01fff Add on-connect hook 2014-04-13 18:21:17 +02:00
7cac6770e0 Add support for async commands 2014-04-11 18:56:47 +02:00
a45a313422 Improve shell command config handling 2014-04-11 15:50:43 +02:00
e5a8f90035 Add support for multiple async message types 2014-04-10 21:04:27 +02:00
80f981c052 Move handling of resolve returns requests to a new source file 2014-04-10 20:17:18 +02:00
2b3043e578 Use #pragma once 2014-04-10 19:42:06 +02:00
4ab823eb50 Set IP_FREEBIND 2014-04-06 12:31:51 +02:00
04842eebd0 Various fixes in --bind command line option
Specifying a port with "any" address and using scoped IPv6 link-local addresses
is possible now.
2014-03-25 07:08:32 +01:00
5b82a1dc8b Rename man page to fastd.1 2014-03-25 06:43:04 +01:00
b97deaecc5 Don't depend on libsystemd-daemon for systemd integration, always use systemd integration on Linux 2014-03-25 06:14:13 +01:00
2a1ad90ae3 Add a man page 2014-03-24 19:56:10 +01:00
3e92a28369 Move systemd service file from examples dir to doc 2014-03-24 18:19:11 +01:00
4d77b7247f Enable secure handshakes by default 2014-03-20 18:31:30 +01:00
06eae18f7d peer: add assertion to ensure no addresses are learned on unestablished peers 2014-03-20 05:22:09 +01:00
2396dd4211 Flood forwarded unicast frames the same way as locally generated ones 2014-03-20 05:18:53 +01:00
6c659ee5fa Flood unicasts for unknown addresses 2014-03-20 04:55:55 +01:00
91896aefea Development version 2014-03-14 14:38:01 +01:00
1c5da534cd fastd v12 2014-03-14 14:36:55 +01:00
4c5c32363c Adjust copyright years 2014-03-14 01:26:59 +01:00
8c85a34aac Better systemd integration (enable with ENABLE_SYSTEMD cmake flag) 2014-03-13 16:11:56 +01:00
e715379e49 Rename USE_LIBSODIUM and USE_OPENSSL cmake flags to ENABLE_LIBSODIUM and ENABLE_OPENSSL 2014-03-13 15:09:17 +01:00
45da9c9f29 Remove aligned data_t type again 2014-03-10 18:04:14 +01:00
519972c9c1 Make --verify-config option more flexible 2014-03-10 17:42:08 +01:00
b7fec238bd Add --verify-config option 2014-03-10 17:04:26 +01:00
e1b955d0fa Set development version string 2014-02-25 01:55:24 +01:00
04beb6dc3c Add an aligned uint8_t type data_t and use it to ensure the alignment of various buffers on the stack 2014-01-27 16:50:00 +01:00
bb0235f7d8 options: make definition of "spaces" more readable 2014-01-27 16:01:01 +01:00
ff183e7015 Don't use atoi for interface indexes 2014-01-26 16:48:09 +01:00