Commit Graph
141 Commits
Author SHA1 Message Date
Nikos Mavrogiannopoulos 528f1e0ce8 more files to ignore 2013-02-10 13:41:29 +01:00
Nikos Mavrogiannopoulos f3b085df61 added missing file 2013-02-10 13:41:00 +01:00
Nikos Mavrogiannopoulos f8713edc3f better set socket options 2013-02-10 13:40:37 +01:00
Nikos Mavrogiannopoulos db9f441e6e Write wtmp file if possible. 2013-02-10 13:35:50 +01:00
Nikos Mavrogiannopoulos 3784aa6ddc increased cookie hash table size and better cleanup resources on errors 2013-02-10 10:04:42 +01:00
Nikos Mavrogiannopoulos 985da9e264 erase cookie data before forking to unprivileged process. 2013-02-09 21:28:30 +01:00
Nikos Mavrogiannopoulos 478c6ca2ce when expiring stuff, do it on the main process unless we use gdbm. 2013-02-09 21:15:24 +01:00
Nikos Mavrogiannopoulos 184b8d7a66 enforce maximum number of same clients 2013-02-09 20:23:46 +01:00
Nikos Mavrogiannopoulos 429b0bb213 Set a default config file. 2013-02-09 20:10:01 +01:00
Nikos Mavrogiannopoulos 8b2ae25e58 Added PID file 2013-02-09 20:06:10 +01:00
Nikos Mavrogiannopoulos a5257b6167 small reorganization 2013-02-09 19:54:25 +01:00
Nikos Mavrogiannopoulos 4ac5d57b40 Added OID examples 2013-02-09 19:49:27 +01:00
Nikos Mavrogiannopoulos 8ad4e50db6 ignore certificate in DTLS session 2013-02-09 13:22:19 +01:00
Nikos Mavrogiannopoulos e94ad75905 more explicit debug messages. 2013-02-09 13:09:18 +01:00
Nikos Mavrogiannopoulos 6b20fa9193 do not require certificate on DTLS session 2013-02-09 13:09:08 +01:00
Nikos Mavrogiannopoulos 43fed529bb simplified logging in debug mode 2013-02-09 12:40:49 +01:00
Nikos Mavrogiannopoulos 519f0a13ef Several changes to compile on old linux kernels, and in constrained libgnutls libraries 2013-02-09 12:15:55 +01:00
Nikos Mavrogiannopoulos 0fdc35505a kick out the peer if non DPD packets are received for 3x the DPD time 2013-02-09 01:53:03 +01:00
Nikos Mavrogiannopoulos da60bbebe1 Ignore non-fatal DTLS errors. 2013-02-09 01:35:40 +01:00
Nikos Mavrogiannopoulos 779ed61893 Use a compatible with BSD's setproctitle. 2013-02-09 00:33:39 +01:00
Nikos Mavrogiannopoulos 39373b605c changes in debugging messages 2013-02-09 00:27:15 +01:00
Nikos Mavrogiannopoulos 6c04ab3191 Added wait_fd state in UDP channel 2013-02-09 00:18:30 +01:00
Nikos Mavrogiannopoulos d6da960b1e updated 2013-02-08 22:49:02 +01:00
Nikos Mavrogiannopoulos 0fee2289be used a more sane setproctitle 2013-02-08 22:48:45 +01:00
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