Commit graph

1247 commits

Author SHA1 Message Date
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
17019f0db3 lex: use array_size for keywords 2014-01-26 02:05:19 +01:00
23d90c62f2 Add minimum handshake interval for unknown addresses (handles up to 8 addresses for now) 2014-01-26 01:52:00 +01:00
8430688acb ec25519-fhmqvc/handshake: use min_handshake_interval instead of hardcoding backoff timeout 2014-01-26 01:26:03 +01:00
02d87af372 Add debug2 log level to usage output 2014-01-26 00:57:31 +01:00
b10ab0ff2a Remove unused REPLY_TYPES 2014-01-26 00:54:59 +01:00
f983154677 Mark assembler files as not needing executable stack 2014-01-25 07:12:48 +01:00
29560ff76a fastd v11 2013-12-27 00:23:57 +01:00
7a46ebd00d Only fail due to missing pclmul support if the pclmulqdq GHASH implementation is actually enabled 2013-12-26 05:48:09 +01:00
6709236699 Check if the compiler supports -mpclmul 2013-12-26 05:45:13 +01:00
50639c9c2e resolve: avoid using alloca as OpenBSD doesn't find it with -std=c99 2013-12-26 02:12:45 +01:00
7755b22419 Change fastd_cpuid back to use inline assembly to support non-Linux systems again 2013-12-26 00:47:12 +01:00
a1733e2334 main: reorder a few initialization calls to initialize as little as possible before we are sure we must 2013-12-25 05:38:06 +01:00
39cad1bbbe Fix invalid memory accesses after failed resolves 2013-12-24 02:24:30 +01:00
960b06de85 Fix segfault on session refresh for peers without remotes 2013-12-24 02:16:33 +01:00
6bcbf234b1 Remove a pointless assert 2013-12-23 22:53:10 +01:00
41cf6b6ef4 After a peer was ignored because of a peer limit, always re-resolve the first remote 2013-12-23 22:35:17 +01:00
ca79dc4bdd Always reset to the first address of the first remote 2013-12-23 20:52:10 +01:00
f7cdd48892 config: don't check configuration before logging has been set up 2013-12-16 21:51:04 +01:00
794958aa78 resolve: consider all addresses returned for a hostname 2013-12-16 20:33:53 +01:00
ee300afb79 Revert "resolve: save a timestamp in the resolve return to ensure we don't confuse remotes before and after reconfiguration"
This reverts commit 4475652054.
2013-12-16 19:53:16 +01:00