Commit Graph

74 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
28e5d62f3f The worker process receives the client's IPs from the main process.
That eliminates the need to read the IP address from the tun device
(which can be quite tricky to implement in a clean portable way).
2014-01-31 20:53:45 +01:00
Nikos Mavrogiannopoulos
6a9600aa61 When libreadline isn't available try editline. 2014-01-21 14:34:35 +01:00
Nikos Mavrogiannopoulos
d4272b8e72 Changes to avoid the embedded protobuf files being included when not needed. 2014-01-20 23:26:56 +01:00
Nikos Mavrogiannopoulos
8884cfc940 protocolbuf-c was made an optional dependency. 2014-01-20 11:23:19 +01:00
Nikos Mavrogiannopoulos
766ab8ee21 Added function to print network interface statistics. 2014-01-14 10:20:47 +01:00
Nikos Mavrogiannopoulos
40ac1f2727 combined EXTRA_DIST 2014-01-11 14:45:08 +01:00
Nikos Mavrogiannopoulos
43f7001480 added missing file 2014-01-11 14:36:08 +01:00
Nikos Mavrogiannopoulos
0eef3bd5be Added occtl.8 2014-01-11 13:27:53 +01:00
Nikos Mavrogiannopoulos
503cd9576d Add usernames and session IDs to readline cache.
This allows auto-completion to show user, and show id,
after list users is executed.
2014-01-10 10:48:55 +01:00
Nikos Mavrogiannopoulos
349e658fd7 print the connection time in a compact way 2014-01-09 15:32:36 +01:00
Nikos Mavrogiannopoulos
9da260fe24 Use pager in list users command. 2014-01-09 13:24:28 +01:00
Nikos Mavrogiannopoulos
3694f4271c Added occtl a D-BUS client to query and send commands to server. 2014-01-08 16:25:36 +01:00
Nikos Mavrogiannopoulos
0cf7529c72 Added support for control commands using D-BUS. 2014-01-08 11:15:06 +01:00
Nikos Mavrogiannopoulos
6cf43e6d20 Added support for systemd's socket activatable service. 2013-12-30 21:37:34 +01:00
Nikos Mavrogiannopoulos
058b986967 Converted IPC messaging to protocolbuffers-c
That adds a dependency on protocolbuffers-c, but simplifies
the worker-main communication protocol handling.
2013-12-21 12:38:01 +01:00
Nikos Mavrogiannopoulos
316c36fc05 generated files added to BUILT_SOURCES to fix parallel compilation 2013-12-13 18:45:13 +01:00
Nikos Mavrogiannopoulos
413ba6120c avoid @AUTOGEN@ 2013-12-13 18:36:34 +01:00
Nikos Mavrogiannopoulos
a1fda9bd27 Added newline 2013-12-13 18:32:42 +01:00
Nikos Mavrogiannopoulos
6cb553e9a8 Added the net-priority configuration option.
That option allows setting the protocol-defined priority (via SO_PRIORITY)
for the UDP and TCP sockets, per user/group or globally.
2013-12-09 14:40:55 +01:00
Nikos Mavrogiannopoulos
d5dcee6fb0 fixed issue when compiling with -j 2013-12-05 20:53:24 +01:00
Nikos Mavrogiannopoulos
7d70006a2d Check for local http_parser library. If found use it instead of the included one. 2013-11-10 15:14:37 +01:00
Nikos Mavrogiannopoulos
aff7acedb2 separated auto-generated files into special libraries to allow compilation using make -jx, x>1 2013-11-08 18:22:25 +01:00
Nikos Mavrogiannopoulos
eb36a15550 reorganized file generation and removed auto-generated files. 2013-11-05 20:01:49 +01:00
Mike Miller
5b1f23b55f Allow linking with system libopts if installed 2013-11-05 19:45:00 +01:00
Nikos Mavrogiannopoulos
68762f5862 removed unneeded check for gdbm 2013-11-05 19:39:56 +01:00
Nikos Mavrogiannopoulos
1e8d036727 Move ocserv to sbin 2013-11-05 19:39:14 +01:00
Nikos Mavrogiannopoulos
2f5141b00f Added directives to allow bandwidth limitation. 2013-11-03 17:06:02 +01:00
Nikos Mavrogiannopoulos
e4d2e5803d Added commands to add and remove a route. 2013-10-29 11:07:03 +01:00
Nikos Mavrogiannopoulos
2480a2cf58 Increased the number of directives allowed in group and user configurations. 2013-10-29 09:39:06 +01:00
Nikos Mavrogiannopoulos
00554b2f28 Allow loading additional configuration files per user or per group.
The directives currently allowed are: ipv4/6_dns and route.
2013-10-28 11:43:05 +01:00
Nikos Mavrogiannopoulos
355dbdbef0 regenerate autogen'ed files when making a distribution. 2013-07-23 21:39:47 +02:00
Nikos Mavrogiannopoulos
2af67c4aff Added decoder for HTML-encoded and URL-encoded passwords and usernames.
This prevents special characters from not being recognized. Reported by P.H.Vos.
Also updated gnulib and added c-strncasecmp
2013-07-10 16:09:56 +02:00
Nikos Mavrogiannopoulos
126c52ab5c Cookies are no longer persistent 2013-07-01 12:18:51 +02:00
Nikos Mavrogiannopoulos
88fcfaae7a Allow compilation without the PCL library 2013-06-26 17:20:07 +02:00
Nikos Mavrogiannopoulos
e5def94e6a Advanced auth implemented 2013-06-26 16:28:35 +02:00
Nikos Mavrogiannopoulos
10246b78c4 Allow downloading raw files from 1/binaries 2013-05-31 17:29:52 +02:00
Nikos Mavrogiannopoulos
b3cdd31dca Added missing file 2013-05-20 11:03:50 +02:00
Nikos Mavrogiannopoulos
e679fd643f reorganized HTTP header reading. 2013-05-17 20:07:58 +02:00
Nikos Mavrogiannopoulos
67e83f89d7 Use sigaction() to have a consistent behavior across systems for signals. 2013-05-02 11:46:02 +03:00
Nikos Mavrogiannopoulos
fed7861b89 Prior to leasing an IPv4 ping it to check if it is already in use. 2013-04-28 13:53:22 +03:00
Nikos Mavrogiannopoulos
6c43eedf50 several updates to allow compilation on FreeBSD 2013-04-12 17:00:52 +02:00
Nikos Mavrogiannopoulos
f941e6af69 added missing file 2013-03-16 19:38:12 +01:00
Nikos Mavrogiannopoulos
5a4ce846b7 The TLS private keys are kept into a privileged process.
That process is called security-module (sec-mod) and communicates
with the workers using a unix domain socket.
2013-03-15 17:47:38 +01:00
Nikos Mavrogiannopoulos
0be2b2a054 crypt(3) is used in the plain password file.
In addition, ocpasswd program was added to generate password file entries.
2013-03-14 16:23:47 +01:00
Nikos Mavrogiannopoulos
8d6af501c0 Added ocpasswd 2013-03-14 13:05:30 +01:00
Nikos Mavrogiannopoulos
0c4b013b3f Added plain password format 2013-03-12 23:40:11 +01:00
Nikos Mavrogiannopoulos
41e8d020b5 Several updates to handle URLs requested by the cisco client. 2013-03-01 19:52:10 +01:00
Jason Cooper
62ff6e467e warn if autogen isn't installed
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-02-27 19:17:31 +01:00
Nikos Mavrogiannopoulos
9cb139bdb0 Added support for TCP wrappers (libwrap) 2013-02-25 21:12:14 +01:00
Nikos Mavrogiannopoulos
5a1f73f5b9 Fix out-of-source tree build. Patch by Mike Miller. 2013-02-22 19:36:43 +01:00