|
88d6f0be57
|
lexer: simplify whitespace handling
|
2013-08-13 18:16:50 +02:00 |
|
|
4a65989064
|
lexer: simplify IPv6 address matching
|
2013-08-13 18:05:26 +02:00 |
|
|
d468ffff45
|
Add pre-up and post-down handlers
|
2013-08-12 18:54:16 +02:00 |
|
|
78de22fd21
|
Improve interface name handling
|
2013-08-12 18:34:11 +02:00 |
|
|
d351a2403c
|
Improve integer checks
|
2013-08-12 18:05:27 +02:00 |
|
|
02c3f0d648
|
Install signal handlers later so key generation can be interrupted
|
2013-08-12 17:54:14 +02:00 |
|
|
606f52e77d
|
config: check (and fix) some integer limits
|
2013-08-12 17:51:57 +02:00 |
|
|
8622d8625c
|
lexer: enter NEEDSPACE context after an IP address
|
2013-08-12 17:37:14 +02:00 |
|
|
3831c232a8
|
Fix librt check
|
2013-08-11 19:49:33 +02:00 |
|
|
fe344be938
|
Only link with librt when necessary
|
2013-08-11 19:21:03 +02:00 |
|
|
a5a567bd18
|
OpenBSD fastd_tuntap_open implementation
|
2013-08-11 19:03:37 +02:00 |
|
|
da2cea6559
|
Merge Linux and FreeBSD fastd_tuntap_{read,write} implementations
|
2013-08-09 00:10:16 +02:00 |
|
|
ca354d9e2e
|
Check for AI_ADDRCONFIG
|
2013-08-08 23:45:36 +02:00 |
|
|
16ca5451aa
|
Add some includes needed on OpenBSD
|
2013-08-08 23:23:12 +02:00 |
|
|
b38c76745c
|
aes128-gcm: don't restore buffer on verification failure
The buffer descriptor is a local variable and no buffer data is changed, so
there is nothing to restore before returning
|
2013-08-08 12:34:06 +02:00 |
|
|
6cf76ca46d
|
Use multi-af tun mode on FreeBSD to make IPv6 work on tun
|
2013-08-07 21:57:09 +02:00 |
|
|
dfac85a4ce
|
Fix segfault on --generate-key
|
2013-08-07 20:26:52 +02:00 |
|
|
86e4800428
|
Add FreeBSD implementation of fastd_tuntap_open()
|
2013-08-07 18:39:52 +02:00 |
|
|
1150b8a7bf
|
Unset msg_control when no ancillary data is to be sent
|
2013-08-07 05:39:50 +02:00 |
|
|
e3877b1103
|
Move tun/tap initialization to a dedicated source file
|
2013-08-07 05:00:37 +02:00 |
|
|
6662ce280f
|
Move some includes to compat.h
|
2013-08-07 04:48:25 +02:00 |
|
|
78e1baac06
|
Implement get_current_dir_name() for *BSD systems
|
2013-08-07 03:23:32 +02:00 |
|
|
5ca89b3121
|
Guard socket options not available on FreeBSD
|
2013-08-07 02:30:23 +02:00 |
|
|
ae90406453
|
Define ethhdr when it is not available
|
2013-08-07 02:05:53 +02:00 |
|
|
8f12f0c3b2
|
FreeBSD doesn't have alloca.h
|
2013-08-07 01:46:38 +02:00 |
|
|
3c4b19c82c
|
Add some more newlines to CMakeLists.txt to make it more readable
|
2013-08-07 01:42:13 +02:00 |
|
|
3ad9130b6f
|
Disable incompatible CMake options on non-Linux systems
|
2013-08-07 01:39:26 +02:00 |
|
|
0e18007eda
|
Include net/if_tun.h instead of linux/if_tun.h on non-Linux systems
|
2013-08-07 01:29:49 +02:00 |
|
|
745352a97a
|
Add sys/wait.h includes where necessary on FreeBSD
|
2013-08-07 01:27:33 +02:00 |
|
|
61fcc0c2ce
|
Add some compatiblity definitions for FreeBSD
|
2013-08-07 01:06:52 +02:00 |
|
|
6caa933947
|
Reorder includes to make FreeBSD happy
|
2013-08-07 01:03:30 +02:00 |
|
|
fd939f0247
|
Add sys/types.h include
|
2013-08-07 00:55:25 +02:00 |
|
|
c850180a47
|
Move _GNU_SOURCE definition to CMake
|
2013-08-07 00:51:21 +02:00 |
|
|
3467e5133a
|
Use netinet/if_ether.h instead of linux/if_ether.h
|
2013-08-07 00:50:32 +02:00 |
|
|
dff92dd471
|
Fix assertion fail on key renewal handshakes with peers without remotes
|
2013-07-29 19:28:51 +02:00 |
|
|
35cdc5b562
|
char* constness cleanup in config parser
|
2013-07-29 17:47:00 +02:00 |
|
|
eb918a116d
|
Move command line handling out of config.c
|
2013-07-25 16:20:04 +02:00 |
|
|
5cda45defd
|
Move more code out of fastd.c
|
2013-07-25 15:33:17 +02:00 |
|
|
900ac61351
|
Move send functions out of fastd.c
|
2013-07-25 15:17:54 +02:00 |
|
|
c3dee51736
|
Move socket handling out of fastd.c
|
2013-07-25 14:22:19 +02:00 |
|
|
a8304e288b
|
Move _GNU_SOURCE define to types.h
|
2013-07-25 14:03:54 +02:00 |
|
|
fcc5bcad1a
|
Improve handling of similar remote resolves
|
2013-07-25 13:49:01 +02:00 |
|
|
530c6eaf60
|
Make PMTU discovery configurable
|
2013-07-25 12:03:31 +02:00 |
|
|
aaa2e11810
|
Set IP_MTU_DISCOVER on sockets
|
2013-07-25 11:36:40 +02:00 |
|
|
8345c5c33f
|
Introduce tristate type
|
2013-07-25 11:19:27 +02:00 |
|
|
8d2c058a19
|
Fix remote record memory leak
|
2013-07-24 19:16:10 +02:00 |
|
|
95491f3b7e
|
Fix fastd_peer_claim_address for peers with different addresses
|
2013-07-24 19:13:24 +02:00 |
|
|
69659bce97
|
Include IP address in "sending handshake" debug messages
|
2013-07-24 19:03:44 +02:00 |
|
|
aae5265eb5
|
Allow specifying multiple remote entries for a single peer
|
2013-07-24 18:44:43 +02:00 |
|
|
bbe0c1f725
|
Remove dead code handling resolves triggered by received packets
|
2013-07-24 15:56:23 +02:00 |
|