Commit Graph

267 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
6aae1d60d5 set process title 2013-02-08 22:37:41 +01:00
Nikos Mavrogiannopoulos
b70a0251ba added license 2013-02-08 22:31:09 +01:00
Nikos Mavrogiannopoulos
d1946bbb3c MTU is now set via the main server 2013-02-08 22:17:46 +01:00
Nikos Mavrogiannopoulos
5f4b8711ef Added configurable DPD 2013-02-08 21:51:58 +01:00
Nikos Mavrogiannopoulos
6ac7986342 explicitly close the logging subsystem 2013-02-08 19:30:14 +01:00
Nikos Mavrogiannopoulos
b6f7abb3f4 separated tun handling code from main worker code. 2013-02-08 19:26:30 +01:00
Nikos Mavrogiannopoulos
d6a87ee88e correctly send termination signal to peer 2013-02-08 19:21:05 +01:00
Nikos Mavrogiannopoulos
089bbed715 added a more graceful termination of workers. 2013-02-08 19:19:11 +01:00
Nikos Mavrogiannopoulos
4434fd70fe several updates in cookies, and tun handling. 2013-02-08 18:22:18 +01:00
Nikos Mavrogiannopoulos
1f5f288742 fixes for newer gnutls 2013-02-08 18:20:30 +01:00
Nikos Mavrogiannopoulos
b09c51d4f6 set tun device MTU based on minimum MTU of DTLS and TLS. 2013-02-08 18:20:26 +01:00
Nikos Mavrogiannopoulos
f3a7c7d422 sample config uses cookie DB 2013-02-08 18:20:21 +01:00
Nikos Mavrogiannopoulos
288766f628 use gnutls cork() and uncork() when available 2013-02-08 18:20:19 +01:00
Nikos Mavrogiannopoulos
bacf821953 cleaned up TLS code which was moved to tlslib 2013-02-08 18:20:17 +01:00
Nikos Mavrogiannopoulos
8f77d18b28 mtu cleanups 2013-02-08 18:20:12 +01:00
Nikos Mavrogiannopoulos
14460456e7 gdbm was re-added and made optional. 2013-02-07 20:43:11 +01:00
Nikos Mavrogiannopoulos
6606883665 updated readme 2013-02-07 18:26:40 +01:00
Nikos Mavrogiannopoulos
a01acce3db updated 2013-02-07 18:19:18 +01:00
Nikos Mavrogiannopoulos
534ddfbfcc Honour client's MTU choice. 2013-02-07 18:19:10 +01:00
Nikos Mavrogiannopoulos
2478c519b2 removed warning 2013-02-07 18:08:11 +01:00
Nikos Mavrogiannopoulos
a9c7c088c9 Added a description of the server 2013-02-07 18:06:34 +01:00
Nikos Mavrogiannopoulos
1cb7ab38e9 Use a single UDP port in the server.
Several modifications to use a single UDP port in the server. This
is currently done using a hack, i.e., pass the UDP socket to worker,
close it on the main server and then re-open it (using REUSEADDR).

Also several updates in TUN handling to allow more than one clients connecting.
2013-02-07 17:49:51 +01:00
Nikos Mavrogiannopoulos
dd31208d4a removed unneeded warning 2013-02-07 16:19:20 +01:00
Nikos Mavrogiannopoulos
7bbfc546ea updated 2013-02-07 08:04:04 +01:00
Nikos Mavrogiannopoulos
4370f88001 dropped dependency on gdbm. Cookies are stored in a hash. 2013-02-07 00:57:17 +01:00
Nikos Mavrogiannopoulos
bf3aef7fd0 updated 2013-02-07 00:16:45 +01:00
Nikos Mavrogiannopoulos
2124d34e7f corrected issue in utmp 2013-02-07 00:10:15 +01:00
Nikos Mavrogiannopoulos
e743a8830a removed uneeded text 2013-02-06 23:47:30 +01:00
Nikos Mavrogiannopoulos
e380053caa Added explicit logging to UTMP file. 2013-02-06 20:18:53 +01:00
Nikos Mavrogiannopoulos
10d9b144be Use CCAN hashes and lists. 2013-02-06 09:20:08 +01:00
Nikos Mavrogiannopoulos
f101d7194a added fixme 2013-02-06 07:43:09 +01:00
Nikos Mavrogiannopoulos
99824ebd94 corrected DTLS packet handling. 2013-02-05 23:56:28 +01:00
Nikos Mavrogiannopoulos
1e0bcc269d reorganized headers 2013-02-05 22:11:38 +01:00
Nikos Mavrogiannopoulos
40c9a094a7 store hostname of the user, and pass it to scripts. 2013-02-05 21:21:40 +01:00
Nikos Mavrogiannopoulos
83a07083fd reply to the correct interface 2013-02-05 21:08:18 +01:00
Nikos Mavrogiannopoulos
03edf5b5bc changes to enable VPN functionality. 2013-02-05 21:03:40 +01:00
Nikos Mavrogiannopoulos
75a394bec6 be less verbose about children dying 2013-02-05 20:17:21 +01:00
Nikos Mavrogiannopoulos
1759016be5 call connect script with explicit lease 2013-02-05 19:45:09 +01:00
Nikos Mavrogiannopoulos
7c3900176e Send X-CSTP-Version and read hostname. 2013-02-05 19:31:57 +01:00
Nikos Mavrogiannopoulos
2e43570fde deinitialize the TLS cache prior to fork 2013-02-05 09:03:58 +01:00
Nikos Mavrogiannopoulos
7d3a83a1e3 depend on the correct gnutls version 2013-02-04 22:46:28 +01:00
Nikos Mavrogiannopoulos
7afe184944 added missing files 2013-02-04 22:36:01 +01:00
Nikos Mavrogiannopoulos
013cc82993 simplified call to expire cookies 2013-02-04 22:17:33 +01:00
Nikos Mavrogiannopoulos
1222fcf803 updated 2013-02-04 22:03:51 +01:00
Nikos Mavrogiannopoulos
490d0814ee Check for root permissions after parsing command line 2013-02-04 21:54:33 +01:00
Nikos Mavrogiannopoulos
e08baf8624 use close-on-exec flag on fds 2013-02-04 21:50:50 +01:00
Nikos Mavrogiannopoulos
734a6911a9 added cloexec module 2013-02-04 21:20:09 +01:00
Nikos Mavrogiannopoulos
f5507a7161 clear all fds and mem prior to exec 2013-02-04 20:56:35 +01:00
Nikos Mavrogiannopoulos
c8c90ffeda updated 2013-02-04 20:43:49 +01:00
Nikos Mavrogiannopoulos
61ae5a9c06 Added connect and disconnect scripts 2013-02-04 20:43:28 +01:00