Commit graph

717 commits

Author SHA1 Message Date
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
da31c063de Nicer log message on failed link-local binds 2014-01-26 09:36:50 +01:00
534ae7240b Add support for link-local bind addresses 2014-01-26 09:23:00 +01:00
b78d55b69e Allow scoped IPv6 addresses for remotes using the usual notation 2014-01-26 08:55:35 +01:00
e975ea01bb Apply the unknown peer handshake timeout to all peers 2014-01-26 06:03:32 +01:00
26cf96bea0 Switch to the new timeout helpers where possible 2014-01-26 06:00:04 +01:00
76d955efa5 Get rid of long_ago variable, use timeout helpers 2014-01-26 05:17:34 +01:00
9fe7f35ce8 Add timeout helpers 2014-01-26 04:48:35 +01:00
53d331406d Add support for setting packet marks 2014-01-26 03:37:36 +01:00
cc498848b3 lex: add support for octal and hexadecimal integer literals 2014-01-26 02:21:57 +01:00