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
17a0a04f09
iface: add support for multiple mode of operations using the same interface types
2015-03-22 17:48:22 +01:00
1fab069bfd
handshake: allow the internal mode IDs to differ from the mode ID in the handshakes
2015-03-22 17:38:05 +01:00
50a9a48b25
iface: set iface name to NULL when Android integration is used
2015-03-22 17:01:50 +01:00
d5efe1d64e
Rename tuntap to iface to match struct name
2015-03-22 04:13:01 +01:00
8d8af3aeab
tuntap: generalize some common parts
2015-03-22 04:07:50 +01:00
f6e36cf6d7
First work towards multi-interface support
2015-03-22 03:10:55 +01:00
2e715f6c73
peer: remove free_socket_by_id()
2015-03-22 01:55:06 +01:00
49be8b8c59
tuntap: fix compilation for Android
2015-03-22 01:40:58 +01:00
df387f268f
Refactor poll API
2015-03-22 00:57:16 +01:00
5266f01d32
vector: never reduce allocated size
2015-03-22 00:50:19 +01:00
0cd5398354
doc: mention CMAKE_BUILD_TYPE
2015-03-16 17:31:05 +01:00
db19fce8d6
fastd_cpuid: compile on GCC again
2015-03-16 17:27:10 +01:00
bf811828eb
Make cpuid asm more robust
2015-03-16 16:28:23 +01:00
82fe2bc041
Use new json-c include path
2015-03-03 02:41:33 +01:00
Rick Lei
16a18dfb16
update libuecc version in Android build script
...
also:
* compile libsodium using gcc-4.9 with android-16
* strip fastd binary
* properly detect HomeBrew bison for OS X
2015-01-30 13:37:59 +08:00
2a69e5fe2d
Development version
2015-01-29 06:44:03 +01:00
295658a50c
fastd v17
2015-01-29 06:41:45 +01:00
45827d8a18
Remove a few more instances of strcpy
2015-01-28 21:49:12 +01:00
ad29f57f82
fastd_string_stack_dup[n]: use memcpy instead of strcpy when the length of the string is known
...
Is a bit more optimized and avoids a warning on OpenBSD
2015-01-28 21:43:18 +01:00
2248b804b1
Fix build on non-Linux systems
2015-01-28 21:35:54 +01:00
5fe94a49df
doc: clarify bind option behaviour
2015-01-28 18:45:01 +01:00
434bfbc3d1
Release note fix
2015-01-27 00:39:21 +01:00
5f65a56f4a
doc: update handshake protocol documentation
2015-01-26 23:59:38 +01:00
70ac086d24
Add preliminary fastd v17 release notes
2015-01-26 21:59:43 +01:00
99f8cd9cfb
Bump required libuecc version
2015-01-26 19:46:19 +01:00
041090275a
doc: add build documentation
2015-01-26 06:22:33 +01:00
e7be1c8c26
doc: remove now unused pmtu option
2015-01-26 04:03:16 +01:00
712ed55c45
ec25519-fhmqvc: comment update
2015-01-23 03:40:08 +01:00
6473d6608b
ec25519-fhmqvc: add sender's public key to a few debug messages
2015-01-23 01:05:00 +01:00
c5e3e5e3ad
ec25519-fhmqvc: use new hexdump logging feature for unknown keys
2015-01-23 00:17:40 +01:00
0d9b7eeb90
Add hexdump support to fastd logging functions
2015-01-23 00:17:26 +01:00
fce2157168
ec25519-fhmqvc: use reduced-bitlength scalar multiplication
...
The values d and e will only use 128bits, so speed up the scalar multiplication
by using the new reduced-bitlength scalar multiplication functions.
This change requires the current development version of libuecc.
2015-01-22 21:45:41 +01:00
dc48b23092
Downgrade "verification failed" message from verbose to debug2
...
This message will be printed for every packet in severe reordering situtations,
so better not print it by default.
In the future, we'll need a rate limiting mechanism...
2015-01-21 15:29:47 +01:00