Commit Graph

719 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
14e1b457fd removed auto-generated file 2014-01-10 10:51:18 +01:00
Nikos Mavrogiannopoulos
7a7a44099d Added more conservative priority strings. 2014-01-10 10:50:37 +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
b8cd530506 shorter names for states 2014-01-10 09:39:13 +01:00
Nikos Mavrogiannopoulos
ed2f24daa8 The ciphersuite of the client is transferred from the D-BUS interface. 2014-01-10 09:35:41 +01:00
Nikos Mavrogiannopoulos
33dfbdea56 worker will send information on the negotiated TLS/DTLS ciphersuites to main. 2014-01-10 09:17:59 +01:00
Nikos Mavrogiannopoulos
8c5d29dd1a do not start pager when not on a tty. 2014-01-10 08:38:49 +01:00
Nikos Mavrogiannopoulos
b09dd7d2e4 updated commands and descriptions. 2014-01-09 21:52:54 +01:00
Nikos Mavrogiannopoulos
83630fae97 print the license in the interactive client. 2014-01-09 21:47:55 +01:00
Nikos Mavrogiannopoulos
bb925cc8b3 doc update 2014-01-09 21:33:14 +01:00
Nikos Mavrogiannopoulos
9079e2b67a Added configuration option use-dbus to allow disabling D-BUS usage. 2014-01-09 21:32:24 +01:00
Nikos Mavrogiannopoulos
9b4e98be71 unblock signals in children. 2014-01-09 21:21:27 +01:00
Nikos Mavrogiannopoulos
cdba1ae374 Try to release as much memory as possible to be able to detect real memory leaks. 2014-01-09 17:27:49 +01:00
Nikos Mavrogiannopoulos
49b4eaa7dd eliminated memory leaks 2014-01-09 16:56:01 +01:00
Nikos Mavrogiannopoulos
df1b3ac223 block signals on the proper time. 2014-01-09 16:22:25 +01:00
Nikos Mavrogiannopoulos
e4095375aa use c_strncasecmp() and c_strcasecmp() for matching. 2014-01-09 15:38:17 +01:00
Nikos Mavrogiannopoulos
b4c4244ef6 doc update 2014-01-09 15:35:59 +01:00
Nikos Mavrogiannopoulos
349e658fd7 print the connection time in a compact way 2014-01-09 15:32:36 +01:00
Nikos Mavrogiannopoulos
d3824eebf3 print brackets in IPs only when needed (IPv6+port) 2014-01-09 14:59:49 +01:00
Nikos Mavrogiannopoulos
e01875b1a8 Added commands to obtain information on a user or an ID. 2014-01-09 14:51:55 +01:00
Nikos Mavrogiannopoulos
9da260fe24 Use pager in list users command. 2014-01-09 13:24:28 +01:00
Nikos Mavrogiannopoulos
bc08bcce9a Added reload and 'stop now' D-BUS commands. 2014-01-09 11:24:30 +01:00
Nikos Mavrogiannopoulos
e015a84aa9 print help when arguments are missing 2014-01-09 11:08:46 +01:00
Nikos Mavrogiannopoulos
3e6be0f788 force kill if there are alive children after some time 2014-01-09 10:55:17 +01:00
Nikos Mavrogiannopoulos
99140996b7 force kill if not every process dies. 2014-01-09 10:30:18 +01:00
Nikos Mavrogiannopoulos
86fc9ea5d5 Simplified method handling. 2014-01-09 10:18:11 +01:00
Nikos Mavrogiannopoulos
a263f2e484 SIGINT doesn't terminate occtl 2014-01-08 21:18:37 +01:00
Nikos Mavrogiannopoulos
02f940f436 better matching of higher level commands, and addition of the reset cmd. 2014-01-08 20:47:49 +01:00
Nikos Mavrogiannopoulos
80e5d84c6d remove_proc() calls remove_from_script_list().
This will prevent a race in the case where a proc is deleted (i.e.,
user is disconnected) but a running script terminates afterwards and
tries to reference the deleted proc.
2014-01-08 20:21:45 +01:00
Nikos Mavrogiannopoulos
7b4c98680e set sockets to non-blocking outside the loop. 2014-01-08 20:13:38 +01:00
Nikos Mavrogiannopoulos
cf8cac0161 better names to lists 2014-01-08 20:07:41 +01:00
Nikos Mavrogiannopoulos
11aaf28fa4 doc update 2014-01-08 19:14:51 +01:00
Nikos Mavrogiannopoulos
6b3387c2c8 doc update 2014-01-08 19:07:38 +01:00
Nikos Mavrogiannopoulos
d78f845ba8 added subdir-objects 2014-01-08 19:06:49 +01:00
Nikos Mavrogiannopoulos
7c7b5bffbd use pselect() instead of select() 2014-01-08 19:05:22 +01:00
Nikos Mavrogiannopoulos
16a8bd059f terminate on EOF 2014-01-08 17:55:38 +01:00
Nikos Mavrogiannopoulos
c1b74e1582 interface improvements in occtl 2014-01-08 17:38:43 +01:00
Nikos Mavrogiannopoulos
b9d0b149ce more files to ignore 2014-01-08 16:47:46 +01:00
Nikos Mavrogiannopoulos
8485b727d5 install D-BUS and systemd files. 2014-01-08 16:47:30 +01:00
Nikos Mavrogiannopoulos
55ecb6233f doc update 2014-01-08 16:26:46 +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
3561f7f34a when disconnecting a user make sure that no race conditions exist when killing the process. 2014-01-08 11:17:51 +01:00
Nikos Mavrogiannopoulos
0cf7529c72 Added support for control commands using D-BUS. 2014-01-08 11:15:06 +01:00
Nikos Mavrogiannopoulos
26a9121ced do not print a port number if it is not available 2014-01-07 16:27:34 +01:00
Nikos Mavrogiannopoulos
fdaeb60846 when using systemd socket activation the tcp-port option is optional.
Moreover the UDP and TCP ports are "discovered" from the provided file
descriptors.
2014-01-06 13:10:04 +01:00
Nikos Mavrogiannopoulos
1d697285e8 Added example systemd socket and service files. 2014-01-06 12:43:23 +01:00
Nikos Mavrogiannopoulos
4abc26872d Detect protobuf-c in systems without pkg-config. 2014-01-05 17:37:14 +01:00
Nikos Mavrogiannopoulos
0981efe74f store the time a client connected. 2014-01-05 17:17:54 +01:00
Kevin Cernekee
f6e7341fe1 Remove unnecessary AnyConnect /2/* files
As long as all of our supported OSes are listed under /1/*, the /2/*
files can be omitted.
2014-01-01 19:22:54 +01:00
Kevin Cernekee
f928a11cd0 Add support for Mac AnyConnect client
Populate the 0-byte /1/Darwin_i386 file to prevent the following error:

    The AnyConnect package on the secure gateway could not be located.
    You may be experiencing network connectivity issues.  Please try
    connecting again.

Tested with AnyConnect 3.1.03103.
2014-01-01 19:22:39 +01:00