Commit Graph

137 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
ba80139452 mtu discovery via DPD is optional 2013-02-16 16:46:37 +01:00
Nikos Mavrogiannopoulos
e8f6332f36 Use PAM account management and added support for user groups. 2013-02-12 18:57:05 +01:00
Nikos Mavrogiannopoulos
121b2491aa HUP signal reloads configuration 2013-02-12 18:57:05 +01:00
Nikos Mavrogiannopoulos
184b8d7a66 enforce maximum number of same clients 2013-02-09 20:23:46 +01:00
Nikos Mavrogiannopoulos
5f4b8711ef Added configurable DPD 2013-02-08 21:51:58 +01:00
Nikos Mavrogiannopoulos
bacf821953 cleaned up TLS code which was moved to tlslib 2013-02-08 18:20:17 +01:00
Nikos Mavrogiannopoulos
14460456e7 gdbm was re-added and made optional. 2013-02-07 20:43:11 +01:00
Nikos Mavrogiannopoulos
534ddfbfcc Honour client's MTU choice. 2013-02-07 18:19:10 +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
4370f88001 dropped dependency on gdbm. Cookies are stored in a hash. 2013-02-07 00:57:17 +01:00
Nikos Mavrogiannopoulos
e380053caa Added explicit logging to UTMP file. 2013-02-06 20:18:53 +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
03edf5b5bc changes to enable VPN functionality. 2013-02-05 21:03:40 +01:00
Nikos Mavrogiannopoulos
7c3900176e Send X-CSTP-Version and read hostname. 2013-02-05 19:31:57 +01:00
Nikos Mavrogiannopoulos
61ae5a9c06 Added connect and disconnect scripts 2013-02-04 20:43:28 +01:00
Nikos Mavrogiannopoulos
1fb76ce890 Added session resumption to TLS server. 2013-02-03 21:23:29 +01:00
Nikos Mavrogiannopoulos
24cead11d4 Added some primitive mtu handling 2013-02-01 19:58:23 +01:00
Nikos Mavrogiannopoulos
65a3ac4cb4 better name for db_file 2013-02-01 08:16:18 +01:00
Nikos Mavrogiannopoulos
73c36c31f9 master secret doesn't need to be generated by the server 2013-02-01 08:13:11 +01:00
Nikos Mavrogiannopoulos
92b1d573eb set a maximum number of clients 2013-01-31 22:52:39 +01:00
Nikos Mavrogiannopoulos
6608f7ad7f Fixed UDP side. 2013-01-31 20:18:29 +01:00
Nikos Mavrogiannopoulos
0a8b951022 several updates and fixes in auth 2013-01-30 21:20:16 +01:00
Nikos Mavrogiannopoulos
25b0617081 better file structure 2013-01-30 19:00:29 +01:00
Nikos Mavrogiannopoulos
0b6fc4c696 Read configuration file 2013-01-30 17:33:17 +01:00
Nikos Mavrogiannopoulos
8c2735d1e1 use autogen for command line options 2013-01-30 01:39:14 +01:00
Nikos Mavrogiannopoulos
18becb9640 better notation 2013-01-29 20:59:15 +01:00
Nikos Mavrogiannopoulos
b24a3bf74b server_st -> worker_st 2013-01-29 20:19:23 +01:00
Nikos Mavrogiannopoulos
1a0cc31925 Provide client with normal leased IPs. 2013-01-29 20:03:47 +01:00
Nikos Mavrogiannopoulos
bd11f34cc6 use const 2013-01-28 23:38:06 +01:00
Nikos Mavrogiannopoulos
ba3705529e main server keeps list of client IPs 2013-01-28 23:34:59 +01:00
Nikos Mavrogiannopoulos
8060601a33 updated 2013-01-28 21:48:10 +01:00
Nikos Mavrogiannopoulos
ba72042e03 updated server. 2013-01-28 20:25:47 +01:00
Nikos Mavrogiannopoulos
9f8db00c2e Allow dropping privileges 2013-01-13 14:28:38 +01:00
Nikos Mavrogiannopoulos
6db0cf229a preliminary configuration for networks. 2013-01-13 13:31:38 +01:00
Nikos Mavrogiannopoulos
cd440afc7e Added internal logging subsystem. 2013-01-13 11:49:21 +01:00
Nikos Mavrogiannopoulos
dd99c39110 Moved sources 2013-01-13 10:57:27 +01:00