Commit Graph
728 Commits
Author SHA1 Message Date
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 CernekeeandNikos Mavrogiannopoulos 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 CernekeeandNikos Mavrogiannopoulos 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
Kevin CernekeeandNikos Mavrogiannopoulos c692943289 Fix auto-update regression on AnyConnect clients
If /1/<OS> exists for every valid OS, then the client will never even try
to request /2/binaries/update.txt.  Instead, it will request
/1/binaries/update.txt, and then get very confused when the response
looks like an XML document instead of a version string.
2014-01-01 19:22:24 +01:00
Kevin CernekeeandNikos Mavrogiannopoulos 3697b1c51a README: Update dependencies 2014-01-01 19:22:12 +01:00
Nikos Mavrogiannopoulos f344ced1d0 set socket options in sockets received by systemd as well. 2013-12-30 22:58:34 +01:00
Nikos Mavrogiannopoulos 6cf43e6d20 Added support for systemd's socket activatable service. 2013-12-30 21:37:34 +01:00
Nikos Mavrogiannopoulos fbbec95f27 doc update 2013-12-28 11:47:46 +01:00
Nikos Mavrogiannopoulos b46d32a66f Added comments 2013-12-22 19:06:28 +01:00
Nikos Mavrogiannopoulos 76d179dd5b doc update 2013-12-21 12:42:01 +01:00
Nikos MavrogiannopoulosandNikos 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 e6a9850a3f removed dist-lzip 2013-12-20 18:42:51 +01:00
Nikos Mavrogiannopoulos 6113ffcf98 moved length check to correct position 2013-12-19 20:23:26 +01:00
Nikos Mavrogiannopoulos 41257cfdc6 doc update 2013-12-17 18:55:54 +01:00
Nikos Mavrogiannopoulos 0d8f13d005 doc update 2013-12-17 14:42:14 +01:00
Nikos Mavrogiannopoulos bde80879d7 Added text on generating the server certificate 2013-12-17 14:03:00 +01:00
Nikos Mavrogiannopoulos 97da1ddb2a doc update 2013-12-16 13:55:43 +01:00
Nikos Mavrogiannopoulos 4864f71abb doc update 2013-12-15 10:02:17 +01:00
Nikos Mavrogiannopoulos f821e8028f doc update 2013-12-15 09:59:49 +01:00
Nikos Mavrogiannopoulos 3cc5919ef0 released 0.2.3 ocserv_0_2_3 2013-12-15 09:46:24 +01:00
Nikos Mavrogiannopoulos fed26bec2e disabled limits that break the worker 2013-12-13 19:09:12 +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 2922244239 doc update 2013-12-13 17:39:41 +01:00
Nikos Mavrogiannopoulos f2cf03f40e the generation of makefile isn't conditional 2013-12-13 17:24:20 +01:00
Nikos Mavrogiannopoulos 6ccdbe67c6 updated 2013-12-11 11:05:10 +01:00
Nikos Mavrogiannopoulos 90cdb97f4a doc update 2013-12-11 10:17:38 +01:00
Nikos Mavrogiannopoulos dee376e8b1 reduced cookie size by only writing down the ipv4 seed. 2013-12-11 10:14:31 +01:00
Nikos Mavrogiannopoulos cb5092e820 Augmented cookie format to store the seeds used to generate IPv4 and IPv6 addresses.
This ensures that if the IP previously used by a user is free, it will
be reassigned to him after a reconnection with the same cookie.
2013-12-11 10:03:47 +01:00
Nikos Mavrogiannopoulos 80a7ac124c corrected typo 2013-12-11 09:52:58 +01:00
Nikos Mavrogiannopoulos 0d1b3976ab use IPV6_CHECKSUM only when available. 2013-12-11 08:54:15 +01:00
Nikos Mavrogiannopoulos dd162faf36 reorder 2013-12-11 08:50:30 +01:00
Nikos Mavrogiannopoulos 3ef0667ee7 corrected typo 2013-12-11 08:49:46 +01:00
Nikos Mavrogiannopoulos 7cce5f049c include netinet/ip.h prior to ip_icmp.h to have struct ip defined. 2013-12-11 08:48:41 +01:00
Nikos Mavrogiannopoulos 60893a11d7 define ICMP_DEST_UNREACH in systems where it is not available 2013-12-11 08:47:27 +01:00
Nikos Mavrogiannopoulos 8a9402a4ab corrected typo 2013-12-11 08:43:19 +01:00
Kevin CernekeeandNikos Mavrogiannopoulos 1176d2b7b8 Fix multiple session disconnect when max-same-clients is 0
max-same-clients is used to limit the number of outstanding sessions
(cookies).  If set to 0, it means an unlimited number of active cookies
can be owned by each user.  But it doesn't mean that the same cookie
can be reused for multiple CSTP connections with different IPs, as
the protocol does not normally work this way.
2013-12-11 08:35:34 +01:00
Nikos Mavrogiannopoulos 791d776320 more verbose messages. 2013-12-10 17:17:41 +01:00
Nikos Mavrogiannopoulos 4c0da4b288 updated debug messages. 2013-12-10 17:08:02 +01:00
Nikos Mavrogiannopoulos 9923e74721 doc update 2013-12-10 11:07:17 +01:00
Nikos Mavrogiannopoulos c6a08db6db Added support for cgroups 2013-12-10 11:07:08 +01:00
Nikos Mavrogiannopoulos fd25969aca simplified reading the net-priority option 2013-12-10 10:05:36 +01:00
Nikos Mavrogiannopoulos b4c2aebd9e doc update 2013-12-10 08:41:09 +01:00