Nikos Mavrogiannopoulos
265e30dab7
tests: full-test was moved into traffic test
...
The new traffic test only requires namespaces and no docker.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-04-05 20:06:27 +02:00
Nikos Mavrogiannopoulos
d8731fbb99
configure: warn when no worker isolation is available
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-03-21 12:52:04 +01:00
Nikos Mavrogiannopoulos
dfab7f6e30
Create coverage report and depend on pre-built CI images
...
It will be made available at:
https://ocserv.gitlab.io/ocserv/coverage/
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-03-12 21:54:44 +01:00
Nikos Mavrogiannopoulos
5d0205332d
tests: introduced test program to check basic vhost functionality
...
This checks whether connecting to different virtual hosts
with different authentication methods works.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-03-06 20:42:33 +01:00
Nikos Mavrogiannopoulos
66f9f97d1d
test: replaced docker otp-test with cwrap test-otp
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-02-25 16:00:09 +01:00
Nikos Mavrogiannopoulos
e61029445c
gnutls: increased dependency to 3.3.0
...
That way PKCS#11 reinitialization and global initialization are
implicit.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-02-11 12:02:30 +01:00
Nikos Mavrogiannopoulos
e6c4d5e492
bumped version
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-23 21:11:57 +01:00
Nikos Mavrogiannopoulos
760199a33c
doc: man-pages are modified to be generated using ronn
...
That eliminates the need for autogen and also combines
doc/sample.config and manpage contents. Now the doc/sample.config
is the primary config documentation location.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-23 21:07:18 +01:00
Nikos Mavrogiannopoulos
1b8079a11a
Replaced the configuration parser with inih parser
...
That eliminates the dependency on libopts as well as autogen.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-23 21:07:18 +01:00
Nikos Mavrogiannopoulos
533677bd73
ocserv: use getopt for command line parsing
...
The complexity of its command line options didn't require
the use of libopts, and by eliminating that dependency for cmd
parsing, we can chose another parser for config file parsing.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-23 21:07:18 +01:00
Nikos Mavrogiannopoulos
6b7d09485e
ocpasswd: removed dependency on autogen
...
The complexity of its command line options didn't require
the linking to yet another library.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-23 21:07:18 +01:00
Nikos Mavrogiannopoulos
cbac133b07
.gitlab-ci.yml: added a -Werror build under F27
...
That helps catch any potential issues early.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-23 21:07:18 +01:00
Nikos Mavrogiannopoulos
924ebdf143
configure: use the -Wextra gcc flag for warnings
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com >
2018-01-12 13:43:58 +01:00
Nikos Mavrogiannopoulos
f6a6f0bc34
bumped version
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2018-01-07 16:34:37 +01:00
Nikos Mavrogiannopoulos
7937fe2533
bumped version
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2017-10-09 21:45:43 +02:00
Nikos Mavrogiannopoulos
b5d77da7f4
Separate root from docker tests
...
This allows running the root tests under CI, even if the
docker tests (which cannot be run) are not.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2017-09-09 11:27:35 +02:00
Nikos Mavrogiannopoulos
7fcb1d835d
configure.ac: also check /lib/security for PAMDIR
...
This is the path used in Debian.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com >
2017-09-09 10:51:47 +02:00
Nikos Mavrogiannopoulos
077e16e36d
tests: check server functionality with Ed25519/RSA-PSS certs
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com >
2017-08-23 12:00:15 +02:00
Nikos Mavrogiannopoulos
f0969ffd3f
configure: allow disabling libgeoip detection
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com >
2017-05-03 00:12:26 +02:00
Nikos Mavrogiannopoulos
1c236a8abb
occtl: print peer location on show user info
...
That utilizes libgeoip.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com >
2017-05-02 13:45:38 +02:00
Nikos Mavrogiannopoulos
1627f09cc9
configure: bumped version
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org >
2017-04-25 19:01:32 +02:00
Nikos Mavrogiannopoulos
d23215b584
bumped version
2017-02-12 10:19:02 +01:00
Mike Miller
888cbeabc7
configure: preserve LIBS from calling environment
...
Use the existing oldlibs temporary variable that was used but never
populated.
Signed-off-by: Mike Miller <mtmiller@debian.org >
2016-12-22 18:48:23 -08:00
Mike Miller
e3ccd247a0
configure: discover pam_wrapper directory from pkg-config
...
Signed-off-by: Mike Miller <mtmiller@debian.org >
2016-12-14 09:04:04 +01:00
Nikos Mavrogiannopoulos
2c64c99baa
Reverted recursive make in src/
...
This simplifies the make process and allows for greater parallelism
during build.
2016-12-13 15:37:07 +01:00
Nikos Mavrogiannopoulos
1b7e00ed02
Use unique names for autogen files
...
This addresses issue in parallel builds caused by autogen
using the same temporary files for both occtl and ocpasswd
files.
Resolves #76
2016-12-13 09:39:51 +01:00
Nikos Mavrogiannopoulos
e42c5ed7e7
autogen: store and use auto-generated autogen .in files in git builds
...
This simplifies the generation of the files (delegated to configure),
and allows systems without autogen to be used to compile git sources.
2016-11-17 08:28:11 +01:00
Nikos Mavrogiannopoulos
943e2fb597
bumped version
2016-11-14 19:16:50 +01:00
Nikos Mavrogiannopoulos
813a3a2451
configure: require automake 1.11.1
...
This allows ocserv to compile on Centos 6.
2016-11-11 17:53:21 +01:00
Nikos Mavrogiannopoulos
17122fe364
bumped version
2016-09-22 17:55:59 +02:00
Nikos Mavrogiannopoulos
a1889e100d
Allow disabling the tests requiring root
...
This allows seamless operation on the CI.
2016-09-04 15:29:39 +02:00
Nikos Mavrogiannopoulos
c2ae0f6cc2
bumped version
2016-08-04 08:11:22 +02:00
Nikos Mavrogiannopoulos
0d1358edf2
configure: enable pam tests only when liboath is present and PAM compiled in
2016-06-29 09:49:24 +02:00
Nikos Mavrogiannopoulos
ae3c20c3ed
tests: pam tests were converted to use pam-wrapper
...
This allows running the PAM tests without requiring root access
2016-06-25 23:05:18 +02:00
Nikos Mavrogiannopoulos
63e4500f09
bumped version
2016-05-29 11:57:33 +02:00
Nikos Mavrogiannopoulos
c7200bb3cf
configure.ac: reduced libtasn1 dependency to 3.4
...
This allows building in travis systems.
2016-05-29 11:46:02 +02:00
Nikos Mavrogiannopoulos
795730a681
configure: Add a code coverage option
...
Configure with:
./configure --enable-code-coverage
Show coverage output with:
make && make check && make code-coverage-capture
It does not take into account tests run under docker.
2016-04-16 12:39:18 +02:00
Nikos Mavrogiannopoulos
3b844bf3f0
bumped version
2016-04-16 08:56:23 +02:00
Nikos Mavrogiannopoulos
9a125c3aba
tests: update tests to include the running username/group
...
That removes the requirement to keep a uid_wrapper specific
hack in check_upeer_id().
2016-04-15 11:17:35 +02:00
Nikos Mavrogiannopoulos
441c112575
bumped version
2016-03-19 13:05:34 +01:00
Nikos Mavrogiannopoulos
ef2456ab85
allow compilation with included protobuf
2016-02-22 14:07:36 +01:00
Nikos Mavrogiannopoulos
a2655972e8
bumped version
2016-02-19 10:51:44 +01:00
Nikos Mavrogiannopoulos
837b5989f8
configure: depend on radcli 1.2.5
...
Previous versions have a bug which caused crashes under certain
circumstances.
2016-02-19 10:50:18 +01:00
Nikos Mavrogiannopoulos
336c2dc8cd
bumped version to rc1
2016-01-28 13:57:27 +01:00
Nikos Mavrogiannopoulos
353bd39686
replaced select() calls will poll() calls
...
This allows to handle descriptors more than the maximum limit
allowed by select(), and thus handle more clients than 1024.
2016-01-28 13:53:08 +01:00
Nikos Mavrogiannopoulos
f2bd0a0ec7
released 0.11.0rc0
2016-01-08 13:39:16 +01:00
Nikos Mavrogiannopoulos
2588e617c0
configure: don't issue warnings that make compilation with libev impossible
2015-12-05 11:23:16 +01:00
Nikos Mavrogiannopoulos
0e604b8a9f
Master process was converted to use libev
2015-12-05 11:18:09 +01:00
Nikos Mavrogiannopoulos
345a752676
tests: converted part of the test suite to run with cwrap
...
That allows several tests to run as non-root.
2015-11-19 10:44:34 +01:00
Nikos Mavrogiannopoulos
8d17358c8b
don't export LIBTALLOC_CFLAGS when using the included
2015-11-11 16:25:45 +01:00