Commit Graph

55 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
30bcf35576 Revert "license upgraded to GPLv3"
This reverts commit 213f9a63ee.

Conflicts:
	configure.ac
2014-09-24 11:34:15 +02:00
Nikos Mavrogiannopoulos
213f9a63ee license upgraded to GPLv3 2014-05-23 11:50:56 +02:00
Nikos Mavrogiannopoulos
ed0cb777dd occtl: propagate error codes on error conditions. 2014-05-11 14:23:11 +02:00
Nikos Mavrogiannopoulos
522a9c35a4 Allow modifying the default occtl socket file. 2014-05-11 14:16:38 +02:00
Nikos Mavrogiannopoulos
435a0bf5b0 corrected function prototype. 2014-05-09 21:05:24 +02:00
Nikos Mavrogiannopoulos
929bf5e211 Fixes in talloc usage in occtl in combination with readline. 2014-05-09 16:52:16 +02:00
Nikos Mavrogiannopoulos
969e684960 Use talloc() for all allocations to reduce the possibility of memory leaks. 2014-05-09 16:13:11 +02:00
Nikos Mavrogiannopoulos
71104b36a3 Added support for unix sockets for the occtl communication.
D-BUS support is left, but is not enabled by default.
2014-05-07 13:54:58 +02:00
Nikos Mavrogiannopoulos
0258824647 corrected program name in license 2014-04-18 16:16:31 +02:00
Nikos Mavrogiannopoulos
c410891421 send ID as signed integer over dbus. 2014-04-13 08:56:36 +02:00
Nikos Mavrogiannopoulos
a4d85dee43 removed cast as it is not available on every readline version. 2014-03-30 14:59:30 +02:00
Nikos Mavrogiannopoulos
8a1ab0e32d Print a compact version of the DTLS ciphersuite. 2014-03-10 19:25:47 +01:00
Nikos Mavrogiannopoulos
6c331db70a move bytes2human in occtl.c to allow compilation without libnl 2014-03-09 21:31:51 +01:00
Nikos Mavrogiannopoulos
e72414459a provide the bandwidth limit through d-bus 2014-03-02 13:24:44 +01:00
Nikos Mavrogiannopoulos
a0ba998222 occtl will print the user's dns, nbns, routes, and iroutes. 2014-03-01 15:29:17 +01:00
Nikos Mavrogiannopoulos
ddfdd019c8 Revert "The D-BUS protocol transfers only a single IPv6."
This reverts commit 1f08ebc70a.
2014-01-30 03:37:12 +01:00
Nikos Mavrogiannopoulos
1f08ebc70a The D-BUS protocol transfers only a single IPv6. 2014-01-29 18:42:22 +01:00
Nikos Mavrogiannopoulos
3c331370ce IP -> Remote IP 2014-01-26 21:32:37 +01:00
Nikos Mavrogiannopoulos
6a9600aa61 When libreadline isn't available try editline. 2014-01-21 14:34:35 +01:00
Nikos Mavrogiannopoulos
30d656ad92 code cleanup 2014-01-20 22:02:09 +01:00
Nikos Mavrogiannopoulos
0695e05078 more reasonable line wrapping 2014-01-19 12:50:02 +01:00
Nikos Mavrogiannopoulos
268ba7a634 better order of options 2014-01-19 12:40:47 +01:00
Nikos Mavrogiannopoulos
b611537683 better message when cannot reach server. 2014-01-19 04:02:31 +01:00
Nikos Mavrogiannopoulos
0f7e59a4f5 list users -> show users 2014-01-19 04:00:16 +01:00
Nikos Mavrogiannopoulos
445fcb666b info printing updates 2014-01-19 03:41:35 +01:00
Nikos Mavrogiannopoulos
a88f30f3c9 updated copyright date 2014-01-19 03:21:25 +01:00
Nikos Mavrogiannopoulos
8f9cef9665 print correct error when a user or ID are not found 2014-01-14 10:34:09 +01:00
Nikos Mavrogiannopoulos
766ab8ee21 Added function to print network interface statistics. 2014-01-14 10:20:47 +01:00
Nikos Mavrogiannopoulos
39572b3d48 Store User-Agent information and send to occtl. 2014-01-12 14:35:58 +01:00
Nikos Mavrogiannopoulos
2a9d17a7bf increased maximum name size of DTLS cipher and other occtl cleanups. 2014-01-11 22:23:10 +01:00
Nikos Mavrogiannopoulos
e5466c0688 reduced space for IPs 2014-01-11 22:08:20 +01:00
Nikos Mavrogiannopoulos
a66a620f58 corrected reporting of VPN IP addresses. 2014-01-11 22:03:47 +01:00
Nikos Mavrogiannopoulos
5ba6deb66f better reporting of ciphersuite and group name. 2014-01-11 22:01:11 +01:00
Nikos Mavrogiannopoulos
a5ae35a279 removed dbus_message_iter_has_next() as it behaves differently on different versions. 2014-01-11 21:52:14 +01:00
Nikos Mavrogiannopoulos
770004032e ignore sigpipe and print (none) when no group is available. 2014-01-11 21:21:28 +01:00
Nikos Mavrogiannopoulos
0eef3bd5be Added occtl.8 2014-01-11 13:27:53 +01:00
Nikos Mavrogiannopoulos
a85cda224a when used non-interactively return error codes to shell on failure. 2014-01-11 11:51:54 +01:00
Nikos Mavrogiannopoulos
d5228d18d8 display proper error when server sends no reply on D-BUS. 2014-01-10 12:10:14 +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
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
e4095375aa use c_strncasecmp() and c_strcasecmp() for matching. 2014-01-09 15:38:17 +01:00
Nikos Mavrogiannopoulos
349e658fd7 print the connection time in a compact way 2014-01-09 15:32:36 +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
86fc9ea5d5 Simplified method handling. 2014-01-09 10:18:11 +01:00