Commit Graph

3120 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
1a6776c3a7 doc: updated ronn usage and fail when manpage cannot be generated
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2020-02-07 17:12:59 +01:00
Nikos Mavrogiannopoulos
9bd3c136e1 .gitlab-ci.yml: run jobs on linux only
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-01-26 09:25:44 +01:00
Nikos Mavrogiannopoulos
1d7a7088bf released 0.12.6
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
0.12.6 ocserv_0_12_6
2019-12-28 20:19:44 +01:00
Nikos Mavrogiannopoulos
0f0a1b58e7 AUTHORS: updated mailmap [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-28 20:18:42 +01:00
Nikos Mavrogiannopoulos
79f6671237 doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-12-28 20:14:59 +01:00
Nikos Mavrogiannopoulos
b94449211f AUTHORS: auto-generate
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-12-27 22:53:22 +01:00
Nikos Mavrogiannopoulos
4e5c9ad6c8 README.md: updated badge URI
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-12-17 16:07:18 +01:00
Nikos Mavrogiannopoulos
a3fe249541 Merge branch 'tmp-add-openat' into 'master'
seccomp: allow openat()

Closes #185

See merge request openconnect/ocserv!123
2019-12-17 15:05:27 +00:00
Nikos Mavrogiannopoulos
95991950c9 Merge branch 'tmp-check-multi-users' into 'master'
check_multiple_users: do not account disconnected ones

Closes #223

See merge request openconnect/ocserv!122
2019-12-17 15:04:35 +00:00
Nikos Mavrogiannopoulos
58836af0f3 seccomp: allow openat()
It seems some libc uses openat() directly when open()
is called.

Resolves: #185

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-12-16 21:30:37 +01:00
Nikos Mavrogiannopoulos
55d5af2ebc check_multiple_users: do not account disconnected ones
When max-same-clients is set to 1 and a user re-using a cookie
connects, check_multiple_users() would prevent the user from
reconnecting. This corrects the issue by taking into account
only valid sessions that have not yet been disconnected.

Resolves: #223

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-12-16 21:30:24 +01:00
Nikos Mavrogiannopoulos
935818346d seccomp: work around API breakage in libseccomp 2.4.2
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-12-16 21:30:11 +01:00
Nikos Mavrogiannopoulos
cfa62cf6b4 Merge branch 'tmp-test-kerberos' into 'master'
tests: added kerberos test case

See merge request openconnect/ocserv!116
2019-12-12 15:29:35 +00:00
Nikos Mavrogiannopoulos
714688879d maxmind: added license
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-12-12 14:59:53 +01:00
Nikos Mavrogiannopoulos
f68a44e5fd Merge branch 'new-ua' into 'master'
Adapt UA detection for newer AnyConnect versions

See merge request openconnect/ocserv!121
2019-12-07 13:23:07 +00:00
Nikos Mavrogiannopoulos
9b1e9aeeb4 Merge branch 'tmp-split-dns' into 'master'
ocserv: added support for per-user split-dns directive

Closes #229

See merge request openconnect/ocserv!120
2019-12-07 13:22:22 +00:00
Marcos Del Sol Vives
fa253b7741 Adapt UA detection for newer AnyConnect versions
Signed-off-by: Marcos Del Sol Vives <marcos@orca.pet>
2019-12-02 17:17:21 +01:00
Nikos Mavrogiannopoulos
c9e907c841 tests: replaced docker-based kerberos test case with one that runs in CI
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-11-17 14:51:21 +01:00
Nikos Mavrogiannopoulos
ea845a57fc tests: clean-up pam server initiation
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-11-17 11:10:19 +01:00
Nikos Mavrogiannopoulos
4bcf29643d ocserv: added support for per-user split-dns directive
Resolves: #229

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-11-17 11:06:47 +01:00
Nikos Mavrogiannopoulos
6739529e05 Merge branch 'tmp-anyconnect' into 'master'
Improve IPv6 support for anyconnect clients

See merge request openconnect/ocserv!119
2019-11-17 10:03:18 +00:00
Leendert van Doorn
f73269175a AnyConnect clients expect a different verb (X-CSTP-DNS-IP6) for passing IPv6 DNS addresses.
Signed-off-by: Leendert van Doorn <leendert@paramecium.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-11-17 09:07:16 +01:00
Leendert van Doorn
e9b79254e7 Detect AnyConnect clients and allow IPV6 routes to be passed through.
Signed-off-by: Leendert van Doorn <leendert@paramecium.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-11-17 09:01:53 +01:00
Nikos Mavrogiannopoulos
cb138ede03 sample.config: documented script exit code handling [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-10-30 08:24:06 +01:00
Nikos Mavrogiannopoulos
a5a1b2d62f .gitlab-ci.yml: added coverity build
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-10-23 10:37:46 +02:00
Nikos Mavrogiannopoulos
962de41fba released 0.12.5
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
ocserv_0_12_5
2019-10-16 21:32:24 +02:00
Nikos Mavrogiannopoulos
caf8ed2d48 Merge branch 'tmp-maxmind' into 'master'
occtl: use maxminddb when available

See merge request openconnect/ocserv!115
2019-10-16 19:32:02 +00:00
Nikos Mavrogiannopoulos
960032e065 occtl: use maxminddb when available
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-10-15 12:11:17 +02:00
Nikos Mavrogiannopoulos
6c2c09362e README.md: removed references to git2cl [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-10-14 20:23:03 +02:00
Nikos Mavrogiannopoulos
b9ff297c7d NEWS: updated
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-10-03 09:21:25 +02:00
Nikos Mavrogiannopoulos
e4621ebcde Merge branch 'FreeBSD-tun' into 'master'
FreeBSD tun(4)

See merge request openconnect/ocserv!114
2019-10-03 07:19:12 +00:00
Trond Endrestøl
aa07f183f2 FreeBSD tun(4)
FreeBSD has a mechanism by which a tunnel has a single controlling process,
and only that one process may close the tunnel.

Kyle Evans of the FreeBSD Project authored these changes.

See issue 213.

Signed-off-by: Trond Endrestøl <trond.endrestol@ximalas.info>
2019-10-02 14:00:26 +00:00
Nikos Mavrogiannopoulos
994dfa0981 Merge branch 'udp-listen-host' into 'master'
Add `udp-listen-host` option for DTLS

See merge request openconnect/ocserv!107
2019-09-30 06:08:33 +00:00
Lele Long
17ed47488d Add udp-listen-host option for DTLS
This option supports different listen addresses for tcp and
udp such as haproxy for tcp, but support dtls at the same time (haproxy
does not support UDP at the moment)
2019-09-30 09:01:55 +08:00
Nikos Mavrogiannopoulos
c6b24c1898 http-parser: updated to latest version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-09-26 23:25:41 +02:00
Nikos Mavrogiannopoulos
708147d60a ocserv: addressed gcc9 warnings
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-09-26 23:25:14 +02:00
Nikos Mavrogiannopoulos
16569dd05c Merge branch 'tmp-fix-json' into 'master'
occtl: fix json in show status

Closes #220

See merge request openconnect/ocserv!108
2019-09-25 19:18:35 +00:00
Nikos Mavrogiannopoulos
92b5db7b26 occtl: fix json in show status
This removes a trailing comma from the end of the listing, and
adds a missing one.

Resolves: #220

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-09-25 20:37:16 +02:00
Nikos Mavrogiannopoulos
e2b1246003 design.md: updated URI [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-07-14 20:49:27 +02:00
Nikos Mavrogiannopoulos
e892ba4faa released 0.12.4
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
ocserv_0_12_4
2019-07-03 21:18:43 +02:00
Nikos Mavrogiannopoulos
f79d5113e7 Merge branch 'tmp-better-cleanup' into 'master'
Perform quicker cleanup of sessions which their user explicitly disconnected

Closes #210

See merge request openconnect/ocserv!102
2019-07-01 20:59:26 +00:00
Nikos Mavrogiannopoulos
d43745bf70 Merge branch 'tmp-build-rpm' into 'master'
Build an el7 rpm as part of the CI process

See merge request openconnect/ocserv!106
2019-07-01 20:33:22 +00:00
Nikos Mavrogiannopoulos
9d7339f317 Perform quicker cleanup of sessions which their user explicitly disconnected
When a user explicitly disconnects after the session is open,
cleanup its entry immediatelly. That ensures that a radius
server will be notified sooner, while anyconnect clients which
disconnect early (before session is open), remain unaffected.

Resolves: #210

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-07-01 21:57:08 +02:00
Nikos Mavrogiannopoulos
5247833d91 .gitlab-ci.yml: build rpm as part of the CI process
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-07-01 21:56:03 +02:00
Nikos Mavrogiannopoulos
9f51f86b55 Makefile: removed dependency on git2cl
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-07-01 21:56:03 +02:00
Nikos Mavrogiannopoulos
4da4ade2a3 bumped version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-07-01 21:55:32 +02:00
Nikos Mavrogiannopoulos
91105ba256 Merge branch 'tmp-ev-script-fix' into 'master'
remove_proc: remove script watcher from libev list

Closes #208

See merge request openconnect/ocserv!105
2019-07-01 19:55:16 +00:00
Nikos Mavrogiannopoulos
a1b8d0794a ocpasswd: address memory leaks
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-07-01 21:34:03 +02:00
Nikos Mavrogiannopoulos
ee2f5e8c05 remove_proc: remove script watcher from libev list
This ensures that libev will not be notified by already
terminated and handled scripts.

Resolves: #208

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-07-01 15:04:18 +02:00
Nikos Mavrogiannopoulos
a89fbec81d doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2019-06-26 11:38:20 +02:00