Commit graph

1147 commits

Author SHA1 Message Date
f5a723399d Update libuecc dependency to v6 and remove use of deprecated API 2015-10-25 18:20:56 +01:00
11bca5a7af Improve include_directories to prevent conflicts between system and fastd headers
In in-tree builds, fastd's poll.h was conflicting with the system one on
non-Linux systems.
2015-10-20 23:10:09 +02:00
64d0bef9ef peer_group: add fastd_peer_group_lookup_peer_shell_command macro to simplify shell command lookup 2015-10-18 04:44:14 +02:00
412e341def config: make on_up/down/establish/disestablish commands configurable per peer group 2015-10-18 03:32:21 +02:00
df48485aea peer_group: move to a new header, add recursive lookup macros 2015-10-18 03:04:02 +02:00
d9a5267fce status: ensure that the status socket is unlinked when fastd exits with an error 2015-10-18 01:00:42 +02:00
e9b472dc9e config: allow moving the 'on verify' clause into a peer group 2015-09-04 20:57:33 +02:00
b54f78558b Use __attribute__((packed)) instead of __attribute__((__packed__)) consistently 2015-06-25 23:03:46 +02:00
9ac7f3588d Don't depend on net/if_ether.h
Instead of adding compatiblity code to make this work with musl, just duplicate
the needed definitions in fastd.
2015-06-25 01:03:23 +02:00
fc5e06a19c salsa20{,12}/xmm: avoid symbol conflicts with libnacl
Also remove some dead code
2015-06-22 23:43:08 +02:00
388855affd build: update minimum required CMake version 2015-05-16 17:48:56 +02:00
f82ebae56c config: allow on-verify configuration without any other peers 2015-05-12 00:09:34 +02:00
ec6370ade8 Add some MTU-related Doxygen comments 2015-03-24 17:26:52 +01:00
9eac618a73 Make build dependencies more configurable 2015-03-24 17:13:27 +01:00
9ef4d441ad Add support for defining the MTU per peer 2015-03-24 03:36:49 +01:00
14a991a1ce peer: fix segfault on on-connect with unknown peer 2015-03-24 03:23:05 +01:00
fcf4af3312 config: add missing Doxygen comment 2015-03-24 02:40:18 +01:00
535028b149 iface: add support for interface name patterns 2015-03-24 02:38:59 +01:00
e689f89618 log: allow escaping % patterns 2015-03-24 02:05:54 +01:00
45d573ab61 Move ifname logic from peer to iface 2015-03-23 19:04:49 +01:00
1602e36635 peer: compare interface names when checking peer config equality 2015-03-23 18:51:46 +01:00
03f613d408 Make iface_persist configurable 2015-03-23 07:21:19 +01:00
5f66dbf5d1 peer: create interface when the connection has been established and no interface exists yet
Allows using dynamic interfaces with dynamic peers.
2015-03-23 07:20:02 +01:00
deb76974e2 ec25519-fhmqvc: call fastd_peer_reset to setup newly added dynamic peers 2015-03-23 07:11:33 +01:00
6ab2671259 Improve sync/async execution of up/down scripts 2015-03-23 06:53:52 +01:00
69fc8268d0 peer: set peer name in on-up environment for peer-specific interfaces 2015-03-23 06:30:10 +01:00
e2402e41eb Add interface information to status socket output 2015-03-23 06:22:39 +01:00
57ae84e076 COPYRIGHT: add libancillary copyright 2015-03-23 05:53:32 +01:00
db5c2cafd6 Rename android_ctrl_sock.c to android.c 2015-03-23 05:48:03 +01:00
857a971c3e Some Android fixes for issues introduced by multi-interface support
Not really tested, I'll do that when the multiif support is finished.
2015-03-23 05:46:04 +01:00
15825beebf peer: fix indentation 2015-03-23 05:38:22 +01:00
6a529155f1 config: move packet mark support check to Bison file 2015-03-23 05:27:06 +01:00
b2e576bb17 Improve ifname configuration handling 2015-03-23 05:20:03 +01:00
2c6147d4d4 Add multitap mode
This new mode of operation uses one TAP interface per peer.
2015-03-23 05:02:36 +01:00
3371cf38ac config: add Doxygen comment to fastd_config_single_iface() 2015-03-23 04:53:42 +01:00
611ec0bd31 peer: free ifname 2015-03-23 04:52:32 +01:00
efc2019a31 peer: don't create interfaces for disabled peers 2015-03-23 04:51:40 +01:00
7eab938b43 config: lift peer count restrictions in TUN mode 2015-03-23 04:46:48 +01:00
a5a7b233b7 peer: make interface name configurable per peer 2015-03-23 04:40:56 +01:00
c162b223b8 iface: add ifname argument 2015-03-23 04:32:46 +01:00
baf23ebb63 Don't reset peers twice on start in TUN mode 2015-03-23 03:05:57 +01:00
1236a7ccc3 Handle interface creation failure for peer-specific interfaces 2015-03-23 02:44:55 +01:00
6dbb8e041c iface: make fastd_iface_open() gracefully (at least on Linux, for now) 2015-03-23 02:39:41 +01:00
0e8493ea17 Use peer-specific interface in TUN mode 2015-03-23 01:40:35 +01:00
08e782b27d Set the default interface for all peers 2015-03-23 01:04:53 +01:00
9a4b384053 Configure static peers before capabilities are dropped 2015-03-23 00:37:36 +01:00
fe3433784f iface: discard empty packets 2015-03-23 00:32:17 +01:00
d2accfd480 Fix sending data from peer-specific interfaces 2015-03-23 00:21:58 +01:00
b96a7b1800 Add iface_persist config option (always true for now) 2015-03-22 23:34:06 +01:00
335a4998e3 Add missing Doxygen comments 2015-03-22 17:51:09 +01:00