Compare commits

...

51 Commits
f30 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
1628aac055 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 22:27:47 +00:00
Fedora Release Engineering
a593faeb19 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 01:38:36 +00:00
Nikos Mavrogiannopoulos
6f808d4213 Updated to 1.1.6 2022-02-17 13:12:08 +01:00
Nikos Mavrogiannopoulos
17e5b407a3 Fixes for gnutls 3.7.3 and glibc new syscalls 2022-02-10 16:06:01 +01:00
Fedora Release Engineering
7bbf448378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 22:02:26 +00:00
Nikos Mavrogiannopoulos
1230c3d17a update to 1.1.4 2021-11-13 13:06:44 +01:00
Adrian Reber
ecf3bd2df8
Rebuilt for protobuf 3.19.0 2021-11-06 12:59:42 +01:00
Adrian Reber
32af46b9e7
Rebuilt for protobuf 3.18.1 2021-10-26 08:47:45 +02:00
Fedora Release Engineering
1412a40612 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:54:24 +00:00
Nikos Mavrogiannopoulos
86658a4f0a removed unused file 2021-06-02 09:28:31 +02:00
Nikos Mavrogiannopoulos
6f808faf0e updated to 1.1.3 2021-06-02 09:12:48 +02:00
Fedora Release Engineering
3d30df7cf7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:12:48 +00:00
Adrian Reber
65e0fa7408
Rebuilt for protobuf 3.14 2021-01-14 08:31:27 +01:00
Tom Stellard
e1cb96f264 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 03:24:47 +00:00
Nikos Mavrogiannopoulos
3a3280275f do not special case rhel8 for http-parser
The development headers are now shipped.
2020-12-09 09:44:52 +01:00
Nikos Mavrogiannopoulos
4fa9fe0ca2 skip patch that needs root 2020-12-06 20:08:56 +01:00
Nikos Mavrogiannopoulos
e9d48e920a Update to upstream 1.1.2 release 2020-12-06 14:12:28 +01:00
Nikos Mavrogiannopoulos
1400361cdd Rebuilt for ronn successor 2020-11-23 12:05:38 +01:00
Nikos Mavrogiannopoulos
f4653b5390 rebuilt for new radcli 2020-11-12 09:13:56 +01:00
Nikos Mavrogiannopoulos
26ab9a4fb3 spec: removed seccomp-trap debugging option 2020-10-30 09:04:58 +01:00
Nikos Mavrogiannopoulos
361405c03b Compile with new glibc 2020-10-30 08:45:39 +01:00
Nikos Mavrogiannopoulos
6326ab472d rebuild without pcllib 2020-10-29 09:54:59 +01:00
Nikos Mavrogiannopoulos
fc6fc1e94f do not treat TODO as document to install 2020-10-23 15:00:03 +02:00
Adrian Reber
5ee6ad0f36
Rebuilt for protobuf 3.13 2020-09-24 14:42:40 +02:00
Nikos Mavrogiannopoulos
b6e52d29bc corrected bogus date 2020-09-21 15:12:40 +02:00
Nikos Mavrogiannopoulos
184c39d298 disable socket_wrapper on archs where it causes problems 2020-09-21 14:51:06 +02:00
Nikos Mavrogiannopoulos
bd9a292f76 make check: be verbose 2020-09-21 13:51:50 +02:00
Nikos Mavrogiannopoulos
df7d3b4c34 removed xfail tests; they no longer fail 2020-09-21 13:01:57 +02:00
Nikos Mavrogiannopoulos
52adc1c385 ensure gnutls-utils are installed when building
This is needed for certain tests
2020-09-21 12:52:22 +02:00
Nikos Mavrogiannopoulos
745079e26b added resumption to XFAIL
This test seems to be failing
2020-09-21 12:51:10 +02:00
Nikos Mavrogiannopoulos
ea091e0b7b documented crypto policies change 2020-09-21 12:42:55 +02:00
Nikos Mavrogiannopoulos
71f2d63baa updated to 1.1.1 2020-09-21 12:37:59 +02:00
Fedora Release Engineering
019fa4784f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 12:24:17 +00:00
Adrian Reber
babbac89f7
Rebuilt for protobuf 3.12 2020-06-21 21:06:36 +02:00
Nikos Mavrogiannopoulos
8c0e03af5d updated to 1.1.0 2020-06-16 21:17:38 +02:00
Nikos Mavrogiannopoulos
67850255cf Requirements turned to recommendations
This enables ocserv being used without these dependencies.
2020-05-06 19:56:47 +02:00
Nikos Mavrogiannopoulos
4a1f58542c sources: removed unnecessary files
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-05-01 19:48:41 +02:00
Igor Raits
b41463a994
Rebuild for http-parser 2.9.4
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-15 17:51:43 +02:00
Nikos Mavrogiannopoulos
ad75870eb9 Update to 1.0.1-1
- Update to upstream 1.0.1 release
2020-04-09 23:12:59 +02:00
Nikos Mavrogiannopoulos
2ed4cf2e99 sources: removed unnecessary files 2020-04-09 14:28:18 +02:00
Nikos Mavrogiannopoulos
1b15fbdbe8 Update to 1.0.0-1
- Update to upstream 1.0.0 release
2020-03-20 14:27:23 +01:00
Fedora Release Engineering
f19405cd01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 19:52:52 +00:00
Nikos Mavrogiannopoulos
b4cf8ae0e0 updated configuration to mark profile as configuration 2020-01-02 12:54:02 +01:00
Nikos Mavrogiannopoulos
a8f51f2fe4 ocserv.conf: updated to latest upstream version 2019-12-28 21:25:45 +01:00
Nikos Mavrogiannopoulos
2dc5db7b83 Update to 0.12.6-1
- Update to upstream 0.12.6 release
2019-12-28 20:32:14 +01:00
Nikos Mavrogiannopoulos
3df62c607c Update to 0.12.5-1
- Update to upstream 0.12.5 release
2019-10-16 22:05:13 +02:00
Nikos Mavrogiannopoulos
c1e2254131 spec: fix missing definition 2019-10-16 20:41:46 +02:00
Nikos Mavrogiannopoulos
61100caa82 spec: updated for rhel8 2019-10-14 14:42:22 +02:00
Fedora Release Engineering
27ded8f35d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 23:06:02 +00:00
Nikos Mavrogiannopoulos
1e4d860399 Update to 0.12.4-1
- Update to upstream 0.12.4 release
2019-07-03 21:27:29 +02:00
Nikos Mavrogiannopoulos
7ab4ba388f Update to 0.12.3-1
- Update to upstream 0.12.3 release
2019-03-12 21:24:37 +01:00
4 changed files with 396 additions and 141 deletions

78
.gitignore vendored
View File

@ -159,3 +159,81 @@
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg /gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-0.12.2.tar.xz.sig /ocserv-0.12.2.tar.xz.sig
/ocserv-0.12.2.tar.xz /ocserv-0.12.2.tar.xz
/ocserv.init
/gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
/ocserv-script
/ocserv-genkey
/PACKAGE-LICENSING
/ocserv-pamd.conf
/ocserv.service
/ocserv.conf
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-0.12.3.tar.xz.sig
/ocserv-0.12.3.tar.xz
/ocserv.init
/gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
/ocserv-script
/ocserv-genkey
/PACKAGE-LICENSING
/ocserv-pamd.conf
/ocserv.service
/ocserv.conf
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-0.12.4.tar.xz.sig
/ocserv-0.12.4.tar.xz
/ocserv.init
/gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
/ocserv-script
/ocserv-genkey
/PACKAGE-LICENSING
/ocserv-pamd.conf
/ocserv.service
/ocserv.conf
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-0.12.5.tar.xz.sig
/ocserv-0.12.5.tar.xz
/ocserv.init
/gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
/ocserv-script
/ocserv-genkey
/PACKAGE-LICENSING
/ocserv-pamd.conf
/ocserv.service
/ocserv.conf
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-0.12.6.tar.xz.sig
/ocserv-0.12.6.tar.xz
/ocserv.init
/gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
/ocserv-script
/ocserv-genkey
/PACKAGE-LICENSING
/ocserv-pamd.conf
/ocserv.service
/ocserv.conf
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-1.0.0.tar.xz.sig
/ocserv-1.0.0.tar.xz
/ocserv.init
/gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
/ocserv-script
/ocserv-genkey
/PACKAGE-LICENSING
/ocserv-pamd.conf
/ocserv.service
/ocserv.conf
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
/ocserv-1.0.1.tar.xz.sig
/ocserv-1.0.1.tar.xz
/ocserv-1.1.0.tar.xz
/ocserv-1.1.0.tar.xz.sig
/ocserv-1.1.1.tar.xz
/ocserv-1.1.1.tar.xz.sig
/ocserv-1.1.2.tar.xz
/ocserv-1.1.2.tar.xz.sig
/ocserv-1.1.3.tar.xz
/ocserv-1.1.3.tar.xz.sig
/ocserv-1.1.4.tar.xz
/ocserv-1.1.4.tar.xz.sig
/ocserv-1.1.6.tar.xz.sig
/ocserv-1.1.6.tar.xz

View File

@ -1,5 +1,5 @@
### The following directives do not change with server reload. ### The following directives do not change with server reload.
#
# User authentication method. To require multiple methods to be # User authentication method. To require multiple methods to be
# used for the user to login, add multiple auth directives. The values # used for the user to login, add multiple auth directives. The values
# in the 'auth' directive are AND composed (if multiple all must # in the 'auth' directive are AND composed (if multiple all must
@ -7,7 +7,7 @@
# Available options: certificate, plain, pam, radius, gssapi. # Available options: certificate, plain, pam, radius, gssapi.
# Note that authentication methods utilizing passwords cannot be # Note that authentication methods utilizing passwords cannot be
# combined (e.g., the plain, pam or radius methods). # combined (e.g., the plain, pam or radius methods).
#
# certificate: # certificate:
# This indicates that all connecting users must present a certificate. # This indicates that all connecting users must present a certificate.
# The username and user group will be then extracted from it (see # The username and user group will be then extracted from it (see
@ -24,18 +24,20 @@
# entries of the following format. # entries of the following format.
# "username:groupname1,groupname2:encoded-password" # "username:groupname1,groupname2:encoded-password"
# One entry must be listed per line, and 'ocpasswd' should be used # One entry must be listed per line, and 'ocpasswd' should be used
# to generate password entries. The 'otp' suboption allows to specify # to generate password entries. The 'otp' suboption allows one to specify
# an oath password file to be used for one time passwords; the format of # an oath password file to be used for one time passwords; the format of
# the file is described in https://code.google.com/p/mod-authn-otp/wiki/UsersFile # the file is described in https://github.com/archiecobbs/mod-authn-otp/wiki/UsersFile
# #
# radius[config=/etc/radiusclient/radiusclient.conf,groupconfig=true,nas-identifier=name,override-interim-updates=false]: # radius[config=/etc/radiusclient/radiusclient.conf,groupconfig=true,nas-identifier=name]:
# The radius option requires specifying freeradius-client configuration # The radius option requires specifying freeradius-client configuration
# file. If the groupconfig option is set, then config-per-user will be overriden, # file. If the groupconfig option is set, then config-per-user/group will be overridden,
# and all configuration will be read from radius. The 'override-interim-updates' if set to # and all configuration will be read from radius. That also includes the
# true will ignore Acct-Interim-Interval from the server and 'stats-report-time' will be considered. # Acct-Interim-Interval, and Session-Timeout values.
#
# See doc/README-radius.md for the supported radius configuration atributes.
# #
# gssapi[keytab=/etc/key.tab,require-local-user-map=true,tgt-freshness-time=900] # gssapi[keytab=/etc/key.tab,require-local-user-map=true,tgt-freshness-time=900]
# The gssapi option allows to use authentication methods supported by GSSAPI, # The gssapi option allows one to use authentication methods supported by GSSAPI,
# such as Kerberos tickets with ocserv. It should be best used as an alternative # such as Kerberos tickets with ocserv. It should be best used as an alternative
# to PAM (i.e., have pam in auth and gssapi in enable-auth), to allow users with # to PAM (i.e., have pam in auth and gssapi in enable-auth), to allow users with
# tickets and without tickets to login. The default value for require-local-user-map # tickets and without tickets to login. The default value for require-local-user-map
@ -79,16 +81,14 @@ auth = "pam"
# reconnects. # reconnects.
#listen-host-is-dyndns = true #listen-host-is-dyndns = true
# Use udp-listen-host to limit udp to specific IPs or to the IPs of a provided
# hostname. if not set, listen-host will be used
#udp-listen-host = [IP|HOSTNAME]
# TCP and UDP port number # TCP and UDP port number
tcp-port = 443 tcp-port = 443
udp-port = 443 udp-port = 443
# Accept connections using a socket file. It accepts HTTP
# connections (i.e., without SSL/TLS unlike its TCP counterpart),
# and uses it as the primary channel. That option cannot be
# combined with certificate authentication.
#listen-clear-file = /var/run/ocserv-conn.socket
# The user the worker processes will be run as. It should be # The user the worker processes will be run as. It should be
# unique (no other services run as this user). # unique (no other services run as this user).
run-as-user = ocserv run-as-user = ocserv
@ -106,6 +106,50 @@ socket-file = ocserv.sock
# The default server directory. Does not require any devices present. # The default server directory. Does not require any devices present.
chroot-dir = /var/lib/ocserv chroot-dir = /var/lib/ocserv
# The key and the certificates of the server
# The key may be a file, or any URL supported by GnuTLS (e.g.,
# tpmkey:uuid=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx;storage=user
# or pkcs11:object=my-vpn-key;object-type=private)
#
# The server-cert file may contain a single certificate, or
# a sorted certificate chain.
# There may be multiple server-cert and server-key directives,
# but each key should correspond to the preceding certificate.
# The certificate files will be reloaded when changed allowing for in-place
# certificate renewal (they are checked and reloaded periodically;
# a SIGHUP signal to main server will force reload).
server-cert = /etc/pki/ocserv/public/server.crt
server-key = /etc/pki/ocserv/private/server.key
# Diffie-Hellman parameters. Only needed if for old (pre 3.6.0
# versions of GnuTLS for supporting DHE ciphersuites.
# Can be generated using:
# certtool --generate-dh-params --outfile /etc/ocserv/dh.pem
#dh-params = /etc/ocserv/dh.pem
# In case PKCS #11, TPM or encrypted keys are used the PINs should be available
# in files. The srk-pin-file is applicable to TPM keys only, and is the
# storage root key.
#pin-file = /etc/ocserv/pin.txt
#srk-pin-file = /etc/ocserv/srkpin.txt
# The password or PIN needed to unlock the key in server-key file.
# Only needed if the file is encrypted or a PKCS #11 object. This
# is an alternative method to pin-file.
#key-pin = 1234
# The SRK PIN for TPM.
# This is an alternative method to srk-pin-file.
#srk-pin = 1234
# The Certificate Authority that will be used to verify
# client certificates (public keys) if certificate authentication
# is set.
#ca-cert = /etc/ocserv/ca.pem
### All configuration options below this line are reloaded on a SIGHUP. ### All configuration options below this line are reloaded on a SIGHUP.
### The options above, will remain unchanged. Note however, that the ### The options above, will remain unchanged. Note however, that the
@ -126,9 +170,12 @@ chroot-dir = /var/lib/ocserv
# information at: https://gitlab.com/ocserv/ocserv/issues # information at: https://gitlab.com/ocserv/ocserv/issues
isolate-workers = true isolate-workers = true
# A banner to be displayed on clients # A banner to be displayed on clients after connection
#banner = "Welcome" #banner = "Welcome"
# A banner to be displayed on clients before connection
#pre-login-banner = "Welcome"
# Limit the number of clients. Unset or set to zero for unlimited. # Limit the number of clients. Unset or set to zero for unlimited.
#max-clients = 1024 #max-clients = 1024
max-clients = 16 max-clients = 16
@ -137,9 +184,19 @@ max-clients = 16
# multiple times). Unset or set to zero for unlimited. # multiple times). Unset or set to zero for unlimited.
max-same-clients = 2 max-same-clients = 2
# Limit the number of client connections to one every X milliseconds # When the server receives connections from a proxy, like haproxy
# (X is the provided value). Set to zero for no limit. # which supports the proxy protocol, set this to obtain the correct
#rate-limit-ms = 100 # client addresses. The proxy protocol would then be expected in
# the TCP or UNIX socket (not the UDP one). Although both v1
# and v2 versions of proxy protocol are supported, the v2 version
# is recommended as it is more efficient in parsing.
#listen-proxy-proto = true
# Rate limit the number of incoming connections to one every X milliseconds
# (X is the provided value), as the secmod backlog grows. This
# makes the server more resilient (and prevents connection failures) on
# multiple concurrent connections. Set to zero for no limit.
rate-limit-ms = 100
# Stats report time. The number of seconds after which each # Stats report time. The number of seconds after which each
# worker process will report its usage statistics (number of # worker process will report its usage statistics (number of
@ -147,6 +204,12 @@ max-same-clients = 2
# radius is in use. # radius is in use.
#stats-report-time = 360 #stats-report-time = 360
# Stats reset time. The period of time statistics kept by main/sec-mod
# processes will be reset. These are the statistics shown by cmd
# 'occtl show stats'. For daily: 86400, weekly: 604800
# This is unrelated to stats-report-time.
server-stats-reset-time = 604800
# Keepalive in seconds # Keepalive in seconds
keepalive = 32400 keepalive = 32400
@ -161,7 +224,7 @@ dpd = 90
# be higher to prevent such clients being awaken too # be higher to prevent such clients being awaken too
# often by the DPD messages, and save battery. # often by the DPD messages, and save battery.
# The mobile clients are distinguished from the header # The mobile clients are distinguished from the header
# 'X-AnyConnect-Identifier-DeviceType'. # 'X-AnyConnect-Identifier-Platform'.
mobile-dpd = 1800 mobile-dpd = 1800
# If using DTLS, and no UDP traffic is received for this # If using DTLS, and no UDP traffic is received for this
@ -175,29 +238,6 @@ switch-to-tcp-timeout = 25
# MTU discovery (DPD must be enabled) # MTU discovery (DPD must be enabled)
try-mtu-discovery = false try-mtu-discovery = false
# The key and the certificates of the server
# The key may be a file, or any URL supported by GnuTLS (e.g.,
# tpmkey:uuid=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx;storage=user
# or pkcs11:object=my-vpn-key;object-type=private)
#
# The server-cert file may contain a single certificate, or
# a sorted certificate chain.
#
# There may be multiple server-cert and server-key directives,
# but each key should correspond to the preceding certificate.
# The certificate files will be reloaded when changed allowing for in-place
# certificate renewal (they are checked and reloaded periodically;
# a SIGHUP signal to main server will force reload).
server-cert = /etc/pki/ocserv/public/server.crt
server-key = /etc/pki/ocserv/private/server.key
# Diffie-Hellman parameters. Only needed if you require support
# for the DHE ciphersuites (by default this server supports ECDHE).
# Can be generated using:
# certtool --generate-dh-params --outfile /path/to/dh.pem
#dh-params = /path/to/dh.pem
# If you have a certificate from a CA that provides an OCSP # If you have a certificate from a CA that provides an OCSP
# service you may provide a fresh OCSP status response within # service you may provide a fresh OCSP status response within
# the TLS handshake. That will prevent the client from connecting # the TLS handshake. That will prevent the client from connecting
@ -205,37 +245,18 @@ server-key = /etc/pki/ocserv/private/server.key
# You can update this response periodically using: # You can update this response periodically using:
# ocsptool --ask --load-cert=your_cert --load-issuer=your_ca --outfile response # ocsptool --ask --load-cert=your_cert --load-issuer=your_ca --outfile response
# Make sure that you replace the following file in an atomic way. # Make sure that you replace the following file in an atomic way.
#ocsp-response = /path/to/ocsp.der #ocsp-response = /etc/ocserv/ocsp.der
# In case PKCS #11, TPM or encrypted keys are used the PINs should be available
# in files. The srk-pin-file is applicable to TPM keys only, and is the
# storage root key.
#pin-file = /path/to/pin.txt
#srk-pin-file = /path/to/srkpin.txt
# The password or PIN needed to unlock the key in server-key file.
# Only needed if the file is encrypted or a PKCS #11 object. This
# is an alternative method to pin-file.
#key-pin = 1234
# The SRK PIN for TPM.
# This is an alternative method to srk-pin-file.
#srk-pin = 1234
# The Certificate Authority that will be used to verify
# client certificates (public keys) if certificate authentication
# is set.
ca-cert = /etc/pki/ocserv/cacerts/ca.crt
# The object identifier that will be used to read the user ID in the client # The object identifier that will be used to read the user ID in the client
# certificate. The object identifier should be part of the certificate's DN # certificate. The object identifier should be part of the certificate's DN
# Useful OIDs are: # Useful OIDs are:
# CN = 2.5.4.3, UID = 0.9.2342.19200300.100.1.1 # CN = 2.5.4.3, UID = 0.9.2342.19200300.100.1.1, SAN(rfc822name)
cert-user-oid = 0.9.2342.19200300.100.1.1 cert-user-oid = 0.9.2342.19200300.100.1.1
# The object identifier that will be used to read the user group in the # The object identifier that will be used to read the user group in the
# client certificate. The object identifier should be part of the certificate's # client certificate. The object identifier should be part of the certificate's
# DN. Useful OIDs are: # DN. If the user may belong to multiple groups, then use multiple such fields
# in the certificate's DN. Useful OIDs are:
# OU (organizational unit) = 2.5.4.11 # OU (organizational unit) = 2.5.4.11
#cert-group-oid = 2.5.4.11 #cert-group-oid = 2.5.4.11
@ -243,7 +264,7 @@ cert-user-oid = 0.9.2342.19200300.100.1.1
# See the manual to generate an empty CRL initially. The CRL will be reloaded # See the manual to generate an empty CRL initially. The CRL will be reloaded
# periodically when ocserv detects a change in the file. To force a reload use # periodically when ocserv detects a change in the file. To force a reload use
# SIGHUP. # SIGHUP.
#crl = /path/to/crl.pem #crl = /etc/ocserv/crl.pem
# Uncomment this to enable compression negotiation (LZS, LZ4). # Uncomment this to enable compression negotiation (LZS, LZ4).
#compression = true #compression = true
@ -268,14 +289,9 @@ cert-user-oid = 0.9.2342.19200300.100.1.1
# difference with AES_128_CBC_SHA1 (the default for anyconnect clients) # difference with AES_128_CBC_SHA1 (the default for anyconnect clients)
# in your system. # in your system.
#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0" # Note that in Fedora gnutls follows crypto policies so insecure options
tls-priorities = "@SYSTEM" # are disabled within it.
tls-priorities = "NORMAL:%SERVER_PRECEDENCE"
# More combinations in priority strings are available, check
# http://gnutls.org/manual/html_node/Priority-Strings.html
# E.g., the string below enforces perfect forward secrecy (PFS)
# on the main channel.
#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
# That option requires the established DTLS channel to use the same # That option requires the established DTLS channel to use the same
# cipher as the primary TLS channel. This cannot be combined with # cipher as the primary TLS channel. This cannot be combined with
@ -294,7 +310,9 @@ auth-timeout = 240
#idle-timeout = 1200 #idle-timeout = 1200
# The time (in seconds) that a client is allowed to stay connected # The time (in seconds) that a client is allowed to stay connected
# Unset to disable. # Unset to disable. When set a client will be disconnected after being
# continuously connected for this amount of time, and its cookies will
# be invalidated (i.e., re-authentication will be required).
#session-timeout = 86400 #session-timeout = 86400
# The time (in seconds) that a mobile client is allowed to stay idle (no # The time (in seconds) that a mobile client is allowed to stay idle (no
@ -316,10 +334,10 @@ min-reauth-time = 300
# locally from an HTTP server (i.e., when listen-clear-file is used). # locally from an HTTP server (i.e., when listen-clear-file is used).
# #
# Set to zero to disable. # Set to zero to disable.
max-ban-score = 50 max-ban-score = 80
# The time (in seconds) that all score kept for a client is reset. # The time (in seconds) that all score kept for a client is reset.
ban-reset-time = 300 ban-reset-time = 1200
# In case you'd like to change the default points. # In case you'd like to change the default points.
#ban-points-wrong-password = 10 #ban-points-wrong-password = 10
@ -328,11 +346,11 @@ ban-reset-time = 300
# Cookie timeout (in seconds) # Cookie timeout (in seconds)
# Once a client is authenticated he's provided a cookie with # Once a client is authenticated he's provided a cookie with
# which he can reconnect. That cookie will be invalided if not # which he can reconnect. That cookie will be invalidated if not
# used within this timeout value. On a user disconnection, that # used within this timeout value. This cookie remains valid, during
# cookie will also be active for this time amount prior to be # the user's connected time, and after user disconnection it
# invalid. That should allow a reasonable amount of time for roaming # remains active for this amount of time. That setting should allow a
# between different networks. # reasonable amount of time for roaming between different networks.
cookie-timeout = 300 cookie-timeout = 300
# If this is enabled (not recommended) the cookies will stay # If this is enabled (not recommended) the cookies will stay
@ -362,10 +380,9 @@ rekey-method = ssl
# Script to call when a client connects and obtains an IP. # Script to call when a client connects and obtains an IP.
# The following parameters are passed on the environment. # The following parameters are passed on the environment.
# REASON, USERNAME, GROUPNAME, HOSTNAME (the hostname selected by client), # REASON, VHOST, USERNAME, GROUPNAME, DEVICE, IP_REAL (the real IP of the client),
# DEVICE, IP_REAL (the real IP of the client), IP_REAL_LOCAL (the local # IP_REAL_LOCAL (the local interface IP the client connected), IP_LOCAL
# interface IP the client connected), IP_LOCAL (the local IP # (the local IP in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
# in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
# IPV6_LOCAL (the IPv6 local address if there are both IPv4 and IPv6 # IPV6_LOCAL (the IPv6 local address if there are both IPv4 and IPv6
# assigned), IPV6_REMOTE (the IPv6 remote address), IPV6_PREFIX, and # assigned), IPV6_REMOTE (the IPv6 remote address), IPV6_PREFIX, and
# ID (a unique numeric ID); REASON may be "connect" or "disconnect". # ID (a unique numeric ID); REASON may be "connect" or "disconnect".
@ -373,7 +390,8 @@ rekey-method = ssl
# client), OCSERV_NO_ROUTES, OCSERV_DNS (the DNS servers for this client), # client), OCSERV_NO_ROUTES, OCSERV_DNS (the DNS servers for this client),
# will contain a space separated list of routes or DNS servers. A version # will contain a space separated list of routes or DNS servers. A version
# of these variables with the 4 or 6 suffix will contain only the IPv4 or # of these variables with the 4 or 6 suffix will contain only the IPv4 or
# IPv6 values. # IPv6 values. The connect script must return zero as exit code, or the
# client connection will be refused.
# The disconnect script will receive the additional values: STATS_BYTES_IN, # The disconnect script will receive the additional values: STATS_BYTES_IN,
# STATS_BYTES_OUT, STATS_DURATION that contain a 64-bit counter of the bytes # STATS_BYTES_OUT, STATS_DURATION that contain a 64-bit counter of the bytes
@ -391,7 +409,7 @@ rekey-method = ssl
# or via a unix socket). # or via a unix socket).
use-occtl = true use-occtl = true
# PID file. It can be overriden in the command line. # PID file. It can be overridden in the command line.
pid-file = /var/run/ocserv.pid pid-file = /var/run/ocserv.pid
# Set the protocol-defined priority (SO_PRIORITY) for packets to # Set the protocol-defined priority (SO_PRIORITY) for packets to
@ -424,6 +442,9 @@ default-domain = example.com
# these network values should contain a network with at least a single # these network values should contain a network with at least a single
# address that will remain under the full control of ocserv (that is # address that will remain under the full control of ocserv (that is
# to be able to assign the local part of the tun device address). # to be able to assign the local part of the tun device address).
# Note that, you could use addresses from a subnet of your LAN network if you
# enable [proxy arp in the LAN interface](http://ocserv.gitlab.io/www/recipes-ocserv-pseudo-bridge.html);
# in that case it is recommended to set ping-leases to true.
#ipv4-network = 192.168.1.0 #ipv4-network = 192.168.1.0
#ipv4-netmask = 255.255.255.0 #ipv4-netmask = 255.255.255.0
@ -431,7 +452,7 @@ default-domain = example.com
#ipv4-network = 192.168.1.0/24 #ipv4-network = 192.168.1.0/24
# The IPv6 subnet that leases will be given from. # The IPv6 subnet that leases will be given from.
#ipv6-network = fda9:4efe:7e3b:03ea::/64 #ipv6-network = fda9:4efe:7e3b:03ea::/48
# Specify the size of the network to provide to clients. It is # Specify the size of the network to provide to clients. It is
# generally recommended to provide clients with a /64 network in # generally recommended to provide clients with a /64 network in
@ -462,8 +483,10 @@ default-domain = example.com
# IP range for leases. # IP range for leases.
ping-leases = false ping-leases = false
# Use this option to enforce an MTU value to the incoming # Use this option to set a link MTU value to the incoming
# connections. Unset to use the default MTU of the TUN device. # connections. Unset to use the default MTU of the TUN device.
# Note that the MTU is negotiated using the value set and the
# value sent by the peer.
#mtu = 1420 #mtu = 1420
# Unset to enable bandwidth restrictions (in bytes/sec). The # Unset to enable bandwidth restrictions (in bytes/sec). The
@ -487,11 +510,15 @@ ping-leases = false
#route = 10.10.10.0/255.255.255.0 #route = 10.10.10.0/255.255.255.0
#route = 192.168.0.0/255.255.0.0 #route = 192.168.0.0/255.255.0.0
#route = fef4:db8:1000:1001::/64 #route = fef4:db8:1000:1001::/64
#route = default
# Subsets of the routes above that will not be routed by # Subsets of the routes above that will not be routed by
# the server. # the server.
#no-route = 192.168.5.0/255.255.255.0 no-route = 192.168.5.0/255.255.255.0
# Note the that following two firewalling options currently are available
# in Linux systems with iptables software.
# If set, the script /usr/bin/ocserv-fw will be called to restrict # If set, the script /usr/bin/ocserv-fw will be called to restrict
# the user to its allowed routes and prevent him from accessing # the user to its allowed routes and prevent him from accessing
@ -500,6 +527,15 @@ ping-leases = false
# --removeall. This option can be set globally or in the per-user configuration. # --removeall. This option can be set globally or in the per-user configuration.
#restrict-user-to-routes = true #restrict-user-to-routes = true
# This option implies restrict-user-to-routes set to true. If set, the
# script /usr/bin/ocserv-fw will be called to restrict the user to
# access specific ports in the network. This option can be set globally
# or in the per-user configuration.
#restrict-user-to-ports = "tcp(443), tcp(80), udp(443), sctp(99), tcp(583), icmp(), icmpv6()"
# You could also use negation, i.e., block the user from accessing these ports only.
#restrict-user-to-ports = "!(tcp(443), tcp(80))"
# When set to true, all client's iroutes are made visible to all # When set to true, all client's iroutes are made visible to all
# connecting clients except for the ones offering them. This option # connecting clients except for the ones offering them. This option
# only makes sense if config-per-user is set. # only makes sense if config-per-user is set.
@ -527,13 +563,18 @@ ping-leases = false
# The options allowed in the configuration files are dns, nbns, # The options allowed in the configuration files are dns, nbns,
# ipv?-network, ipv4-netmask, rx/tx-per-sec, iroute, route, no-route, # ipv?-network, ipv4-netmask, rx/tx-per-sec, iroute, route, no-route,
# explicit-ipv4, explicit-ipv6, net-priority, deny-roaming, no-udp, # explicit-ipv4, explicit-ipv6, net-priority, deny-roaming, no-udp,
# user-profile, cgroup, stats-report-time, and session-timeout. # keepalive, dpd, mobile-dpd, max-same-clients, tunnel-all-dns,
# restrict-user-to-routes, user-profile, cgroup, stats-report-time,
# mtu, idle-timeout, mobile-idle-timeout, restrict-user-to-ports,
# split-dns and session-timeout.
# #
# Note that the 'iroute' option allows to add routes on the server # Note that the 'iroute' option allows one to add routes on the server
# based on a user or group. The syntax depends on the input accepted # based on a user or group. The syntax depends on the input accepted
# by the commands route-add-cmd and route-del-cmd (see below). The no-udp # by the commands route-add-cmd and route-del-cmd (see below). The no-udp
# is a boolean option (e.g., no-udp = true), and will prevent a UDP session # is a boolean option (e.g., no-udp = true), and will prevent a UDP session
# for that specific user or group. # for that specific user or group. The hostname option will set a
# hostname to override any proposed by the user. Note also, that, any
# routes, no-routes, DNS or NBNS servers present will overwrite the global ones.
#config-per-user = /etc/ocserv/config-per-user/ #config-per-user = /etc/ocserv/config-per-user/
#config-per-group = /etc/ocserv/config-per-group/ #config-per-group = /etc/ocserv/config-per-group/
@ -544,15 +585,15 @@ ping-leases = false
#default-group-config = /etc/ocserv/defaults/group.conf #default-group-config = /etc/ocserv/defaults/group.conf
# The system command to use to setup a route. %{R} will be replaced with the # The system command to use to setup a route. %{R} will be replaced with the
# route/mask and %{D} with the (tun) device. # route/mask, %{RI} with the route in CIDR format, and %{D} with the (tun) device.
# #
# The following example is from linux systems. %R should be something # The following example is from linux systems. %{R} should be something
# like 192.168.2.0/24 (the argument of iroute). # like 192.168.2.0/255.255.255.0 and %{RI} 192.168.2.0/24 (the argument of iroute).
#route-add-cmd = "ip route add %{R} dev %{D}" #route-add-cmd = "ip route add %{R} dev %{D}"
#route-del-cmd = "ip route delete %{R} dev %{D}" #route-del-cmd = "ip route delete %{R} dev %{D}"
# This option allows to forward a proxy. The special keywords '%{U}' # This option allows one to forward a proxy. The special keywords '%{U}'
# and '%{G}', if present will be replaced by the username and group name. # and '%{G}', if present will be replaced by the username and group name.
#proxy-url = http://example.com/ #proxy-url = http://example.com/
#proxy-url = http://example.com/%{U}/ #proxy-url = http://example.com/%{U}/
@ -562,14 +603,36 @@ ping-leases = false
# KDC server. That is a translation URL between HTTP and Kerberos. # KDC server. That is a translation URL between HTTP and Kerberos.
# In MIT kerberos you'll need to add in realms: # In MIT kerberos you'll need to add in realms:
# EXAMPLE.COM = { # EXAMPLE.COM = {
# kdc = https://ocserv.example.com/kerberos # kdc = https://ocserv.example.com/KdcProxy
# http_anchors = FILE:/etc/ocserv-ca.pem # http_anchors = FILE:/etc/ocserv-ca.pem
# } # }
# This option is available if ocserv is compiled with GSSAPI support. # In some distributions the krb5-k5tls plugin of kinit is required.
#
# The following option is available in ocserv, when compiled with GSSAPI support.
#kkdcp = SERVER-PATH KERBEROS-REALM PROTOCOL@SERVER:PORT #kkdcp = "SERVER-PATH KERBEROS-REALM PROTOCOL@SERVER:PORT"
#kkdcp = /kerberos EXAMPLE.COM udp@127.0.0.1:88 #kkdcp = "/KdcProxy KERBEROS.REALM udp@127.0.0.1:88"
#kkdcp = /kerberos-tcp EXAMPLE.COM tcp@127.0.0.1:88 #kkdcp = "/KdcProxy KERBEROS.REALM tcp@127.0.0.1:88"
#kkdcp = "/KdcProxy KERBEROS.REALM tcp@[::1]:88"
# Client profile xml. This can be used to advertise alternative servers
# to the client. A minimal file can be:
# <?xml version="1.0" encoding="UTF-8"?>
# <AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/encoding/ AnyConnectProfile.xsd">
# <ServerList>
# <HostEntry>
# <HostName>VPN Server name</HostName>
# <HostAddress>localhost</HostAddress>
# </HostEntry>
# </ServerList>
# </AnyConnectProfile>
#
# Other fields may be used by some of the CISCO clients.
# This file must be accessible from inside the worker's chroot.
# Note that enabling this option is not recommended as it will allow
# the worker processes to open arbitrary files (when isolate-workers is
# set to true).
#user-profile = profile.xml
# #
# The following options are for (experimental) AnyConnect client # The following options are for (experimental) AnyConnect client
@ -581,24 +644,19 @@ ping-leases = false
# and openconnect clients < 7.08. When set to true, it implies dtls-legacy = true. # and openconnect clients < 7.08. When set to true, it implies dtls-legacy = true.
cisco-client-compat = true cisco-client-compat = true
# This option allows to disable the DTLS-PSK negotiation (enabled by default). # This option allows one to disable the DTLS-PSK negotiation (enabled by default).
# The DTLS-PSK negotiation was introduced in ocserv 0.11.5 to deprecate # The DTLS-PSK negotiation was introduced in ocserv 0.11.5 to deprecate
# the pre-draft-DTLS negotiation inherited from AnyConnect. It allows the # the pre-draft-DTLS negotiation inherited from AnyConnect. It allows the
# DTLS channel to negotiate its ciphers and the DTLS protocol version. # DTLS channel to negotiate its ciphers and the DTLS protocol version.
#dtls-psk = false #dtls-psk = false
# This option allows to disable the legacy DTLS negotiation (enabled by default, # This option allows one to disable the legacy DTLS negotiation (enabled by default,
# but that may change in the future). # but that may change in the future).
# The legacy DTLS uses a pre-draft version of the DTLS protocol and was # The legacy DTLS uses a pre-draft version of the DTLS protocol and was
# from AnyConnect protocol. It has several limitations, that are addressed # from AnyConnect protocol. It has several limitations, that are addressed
# by the dtls-psk protocol supported by openconnect 7.08+. # by the dtls-psk protocol supported by openconnect 7.08+.
dtls-legacy = true dtls-legacy = true
# Client profile xml. A sample file exists in doc/profile.xml.
# It is required by some of the CISCO clients.
# This file must be accessible from inside the worker's chroot.
user-profile = profile.xml
#Advanced options #Advanced options
# Option to allow sending arbitrary custom headers to the client after # Option to allow sending arbitrary custom headers to the client after
@ -609,3 +667,23 @@ user-profile = profile.xml
# and '%{G}', if present will be replaced by the username and group name. # and '%{G}', if present will be replaced by the username and group name.
#custom-header = "X-My-Header: hi there" #custom-header = "X-My-Header: hi there"
## An example virtual host with different authentication methods serviced
## by this server.
#[vhost:www.example.com]
#auth = "certificate"
#ca-cert = /etc/ocserv/ca.pem
# The certificate set here must include a 'dns_name' corresponding to
# the virtual host name.
#server-cert = /etc/pki/ocserv/public/server.crt
#server-key = /etc/pki/ocserv/private/server.key
#ipv4-network = 192.168.2.0
#ipv4-netmask = 255.255.255.0
#cert-user-oid = 0.9.2342.19200300.100.1.1

View File

@ -1,6 +1,5 @@
# This spec file has been automatically updated Version: 1.1.6
Version: 0.12.2 Release: 3%{?dist}
Release: 4%{?dist}
%global _hardened_build 1 %global _hardened_build 1
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
@ -13,8 +12,10 @@ Release: 4%{?dist}
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 %if 0%{?fedora} >= 28 || 0%{?rhel} > 7
%define use_libwrap 0 %define use_libwrap 0
%define use_geoip 0
%else %else
%define use_libwrap 1 %define use_libwrap 1
%define use_geoip 1
%endif %endif
%define use_local_protobuf 0 %define use_local_protobuf 0
@ -41,6 +42,7 @@ Source11: ocserv.init
# Taken from upstream: # Taken from upstream:
# http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09 # http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09
BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
%if 0%{?rhel} && 0%{?rhel} <= 6 %if 0%{?rhel} && 0%{?rhel} <= 6
BuildRequires: gnutls30-devel BuildRequires: gnutls30-devel
@ -49,6 +51,8 @@ BuildRequires: gnutls-devel
%endif %endif
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: iproute BuildRequires: iproute
BuildRequires: openconnect
BuildRequires: gnutls-utils
%if (0%{?use_local_protobuf} == 0) %if (0%{?use_local_protobuf} == 0)
BuildRequires: protobuf-c-devel BuildRequires: protobuf-c-devel
@ -58,10 +62,10 @@ BuildRequires: libnl3-devel
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libtasn1-devel BuildRequires: libtasn1-devel
BuildRequires: gperf BuildRequires: gperf
BuildRequires: pcllib-devel
BuildRequires: libtalloc-devel BuildRequires: libtalloc-devel
BuildRequires: libev-devel BuildRequires: libev-devel
BuildRequires: http-parser-devel BuildRequires: http-parser-devel
%if %{use_libwrap} %if %{use_libwrap}
BuildRequires: tcp_wrappers-devel BuildRequires: tcp_wrappers-devel
%endif %endif
@ -69,14 +73,22 @@ BuildRequires: automake, autoconf
BuildRequires: radcli-devel BuildRequires: radcli-devel
BuildRequires: lz4-devel BuildRequires: lz4-devel
BuildRequires: readline-devel BuildRequires: readline-devel
%if %{use_geoip}
BuildRequires: GeoIP-devel BuildRequires: GeoIP-devel
%else
BuildRequires: libmaxminddb-devel
%endif
%if %{use_systemd} %if %{use_systemd}
BuildRequires: systemd BuildRequires: systemd
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: liboath-devel BuildRequires: liboath-devel
BuildRequires: uid_wrapper BuildRequires: uid_wrapper
# Disable socket_wrapper on certain architectures because it
# introduces new syscalls that the worker cannot handle.
%ifnarch aarch64 %{ix86} %{arm}
BuildRequires: socket_wrapper BuildRequires: socket_wrapper
%endif
BuildRequires: gnupg2 BuildRequires: gnupg2
%if 0%{?rhel} && 0%{?rhel} >= 7 %if 0%{?rhel} && 0%{?rhel} >= 7
@ -89,16 +101,16 @@ BuildRequires: libseccomp-devel
%endif %endif
%endif %endif
%endif #use systemd
# no rubygem in epel7
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: rubygem(ronn)
%endif %endif
Requires: gnutls-utils # no rubygem in epel7
Requires: iproute %if 0%{?fedora}
Requires: pam BuildRequires: rubygem-ronn-ng
%endif
Recommends: gnutls-utils
Recommends: iproute
Recommends: pam
Requires(pre): shadow-utils Requires(pre): shadow-utils
%if %{use_systemd} %if %{use_systemd}
Requires(post): systemd Requires(post): systemd
@ -134,7 +146,6 @@ rm -rf src/protobuf/protobuf-c/
touch src/*.proto touch src/*.proto
%endif %endif
rm -rf src/ccan/talloc rm -rf src/ccan/talloc
rm -f src/pcl/*.c src/pcl/*.h
sed -i 's|/etc/ocserv.conf|/etc/ocserv/ocserv.conf|g' src/config.c sed -i 's|/etc/ocserv.conf|/etc/ocserv/ocserv.conf|g' src/config.c
sed -i 's/run-as-group = nogroup/run-as-group = nobody/g' tests/data/*.config sed -i 's/run-as-group = nogroup/run-as-group = nobody/g' tests/data/*.config
# GPLv3 in headers is a gnulib bug: # GPLv3 in headers is a gnulib bug:
@ -157,6 +168,7 @@ autoreconf -fvi
%endif %endif
%configure \ %configure \
--without-pcl-lib \
%if %{use_systemd} %if %{use_systemd}
--enable-systemd \ --enable-systemd \
%else %else
@ -171,7 +183,7 @@ autoreconf -fvi
--without-libwrap --without-libwrap
%endif %endif
make #%{?_smp_mflags} make %{?_smp_mflags}
%pre %pre
getent group ocserv &>/dev/null || groupadd -r ocserv getent group ocserv &>/dev/null || groupadd -r ocserv
@ -183,7 +195,7 @@ mkdir -p -m 700 %{_sysconfdir}/pki/ocserv/private
mkdir -p %{_sysconfdir}/pki/ocserv/cacerts mkdir -p %{_sysconfdir}/pki/ocserv/cacerts
%check %check
make check %{?_smp_mflags} make check %{?_smp_mflags} VERBOSE=1
%if %{use_systemd} %if %{use_systemd}
%post %post
@ -210,7 +222,7 @@ install -p -m 755 %{SOURCE8} %{buildroot}/%{_sbindir}
mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_bindir}
install -p -m 755 %{SOURCE9} %{buildroot}/%{_bindir} install -p -m 755 %{SOURCE9} %{buildroot}/%{_bindir}
%if 0%{?rhel} %if 0%{?rhel} && 0%{?rhel} <= 7
sed -i 's|expiration_days=-1|expiration_days=9999|' %{buildroot}/%{_sbindir}/ocserv-genkey sed -i 's|expiration_days=-1|expiration_days=9999|' %{buildroot}/%{_sbindir}/ocserv-genkey
sed -i 's|tls-priorities = "@SYSTEM"|tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0"|' %{buildroot}/%{_sysconfdir}/ocserv/ocserv.conf sed -i 's|tls-priorities = "@SYSTEM"|tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0"|' %{buildroot}/%{_sysconfdir}/ocserv/ocserv.conf
%if 0%{?rhel} <= 6 %if 0%{?rhel} <= 6
@ -236,8 +248,9 @@ install -D -m 0755 %{SOURCE11} %{buildroot}/%{_initrddir}/%{name}
%config(noreplace) %{_sysconfdir}/ocserv/ocserv.conf %config(noreplace) %{_sysconfdir}/ocserv/ocserv.conf
%config(noreplace) %{_sysconfdir}/pam.d/ocserv %config(noreplace) %{_sysconfdir}/pam.d/ocserv
%config(noreplace) %{_localstatedir}/lib/ocserv/profile.xml
%doc AUTHORS ChangeLog NEWS COPYING LICENSE README.md TODO PACKAGE-LICENSING %doc AUTHORS ChangeLog NEWS COPYING LICENSE README.md PACKAGE-LICENSING
%doc src/ccan/licenses/CC0 src/ccan/licenses/LGPL-2.1 src/ccan/licenses/BSD-MIT %doc src/ccan/licenses/CC0 src/ccan/licenses/LGPL-2.1 src/ccan/licenses/BSD-MIT
%{_mandir}/man8/ocserv.8* %{_mandir}/man8/ocserv.8*
@ -249,6 +262,7 @@ install -D -m 0755 %{SOURCE11} %{buildroot}/%{_initrddir}/%{name}
%{_bindir}/ocserv-fw %{_bindir}/ocserv-fw
%{_bindir}/ocserv-script %{_bindir}/ocserv-script
%{_sbindir}/ocserv %{_sbindir}/ocserv
%{_sbindir}/ocserv-worker
%{_sbindir}/ocserv-genkey %{_sbindir}/ocserv-genkey
%{_localstatedir}/lib/ocserv/profile.xml %{_localstatedir}/lib/ocserv/profile.xml
%if %{use_systemd} %if %{use_systemd}
@ -258,6 +272,100 @@ install -D -m 0755 %{SOURCE11} %{buildroot}/%{_initrddir}/%{name}
%endif %endif
%changelog %changelog
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Feb 17 2022 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.6-1
- Updated to 1.1.6
* Thu Feb 10 2022 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.4-3
- Update seccomp rules to allow the futex syscall
- Workaround incompatible API change in GnuTLS 3.7.3.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Nov 13 2021 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.4-1
- Update to upstream 1.1.4 release
* Sat Nov 06 2021 Adrian Reber <adrian@lisas.de> - 1.1.3-4
- Rebuilt for protobuf 3.19.0
* Tue Oct 26 2021 Adrian Reber <adrian@lisas.de> - 1.1.3-3
- Rebuilt for protobuf 3.18.1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 2 2021 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.3-1
- Updated to latest release
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 08:31:24 CET 2021 Adrian Reber <adrian@lisas.de> - 1.1.2-2
- Rebuilt for protobuf 3.14
* Sun Dec 6 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.2-1
- Update to upstream 1.1.2 release
* Mon Nov 23 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.1.1-5
- Rebuilt for ronn successor
* Wed Nov 11 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.1.1-4
- Rebuilt for radcli 1.3.0
* Thu Oct 29 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.1-3
- Rebuild without pcllib dependency
- Enhanced seccomp filters for tests to run in all architectures
* Thu Sep 24 2020 Adrian Reber <adrian@lisas.de> - 1.1.1-2
- Rebuilt for protobuf 3.13
* Mon Sep 21 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.1-1
- Update to upstream 1.1.1 release
- Set default priorities to NORMAL as using @SYSTEM is no longer necessary
to follow crypto policies.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Jun 21 2020 Adrian Reber <adrian@lisas.de> - 1.1.0-2
- Rebuilt for protobuf 3.12
* Tue Jun 16 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.0-1
- Update to upstream 1.1.0 release (introduces ocserv-worker)
* Wed Apr 15 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.1-2
- Rebuild for http-parser 2.9.4
* Thu Apr 09 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.0.1-1
- Update to upstream 1.0.1 release
* Fri Mar 20 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.0.0-1
- Update to upstream 1.0.0 release
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Dec 28 2019 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 0.12.6-1
- Update to upstream 0.12.6 release
* Wed Oct 16 2019 Nikos Mavrogiannopoulos <nmav@gnutls.org> - 0.12.5-1
- Update to upstream 0.12.5 release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jul 03 2019 Nikos Mavrogiannopoulos <nmav@gnutls.org> - 0.12.4-1
- Update to upstream 0.12.4 release
* Tue Mar 12 2019 Nikos Mavrogiannopoulos <nmav@gnutls.org> - 0.12.3-1
- Update to upstream 0.12.3 release
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.2-4 * Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.2-4
- Rebuild for readline 8.0 - Rebuild for readline 8.0

13
sources
View File

@ -1,11 +1,2 @@
SHA512 (ocserv.init) = 7c3256dd0f7d5882c4e126c95209084e2476f7d8d142af137f46c5987364982eb88044bfa5d587ebc397ebd379edb40f22e5c97c0276764be982a27715a9c601 SHA512 (ocserv-1.1.6.tar.xz.sig) = 2a87768ad63d40053732fa011bbeb3532c9673296b9be299bf8f7d8dd3dd35571eee96c0b4fa9bf5a30633b4c844337ab3d562d6ea2b6ad8efca084eb5e6f502
SHA512 (gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg) = c664fd9999cbf9912eeea88ee3a2c356df3f70813a664bb7a7f592be258c12bdeb9e99e4aa9a368c1f123ee449eb08e288d1dc3dcf81e849a958ece6eab82d67 SHA512 (ocserv-1.1.6.tar.xz) = d1c5e5cf0e84aab168ed51516534df8b2968194dd1421f33563c61b3e47d5d79ebe9e6ffbf7cbcc9ff1242fae05151024f70ef586d063bec0b3eec00050bfdfa
SHA512 (ocserv-script) = 6d77ebe95d23469d96b45b1ac8de7a062cb1360febd0f9664b42debf0494891a522e3da8feec53d22b84e39ad349a1824b7ecd6b6b8f0790edf75aed1087e2d0
SHA512 (ocserv-genkey) = e898144fd977e4c57c4a9a5480b38f6a166c0281c41500c3fa9b7e142197c4525d3fb90846a738e38d217116dc33c2ba5c16ec3e11de0dbf4d834e204c598eac
SHA512 (PACKAGE-LICENSING) = eea2a2a4765c90d874c79bb72d754c8b26b58d5e5b3c3cee10c24754fbba6849fd91f7b28e380b5db9789a456f95fc94b3bd8fe8c160a98c8042f404479ecb68
SHA512 (ocserv-pamd.conf) = 3a75f19d89ddd164f3faa9c3579c7f675fc58413a194f43ec28eee7ebced6fee3f4ca305fe9b0ddf76ae39cd669e8d3d63b58afbbf19b84e4ca646ae7f42d61a
SHA512 (ocserv.service) = 2b258b2e9d211c9626e9e5c67b6c2573b713e0f490917ed1c84c2bb2708f874026ddb55dceb9585e491f86de5d3c8cd400bba864d12966ae96609cc4ce6413d2
SHA512 (ocserv.conf) = 5b68a3547c6c69bf7c2b322692d6382162a587c47edad97690223c36f30ed98d3869d1ce063c630740d91888a4d70aadd657ddc6052c10e6e26800fca2e9d0c0
SHA512 (gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg) = 3b1989dc6a64d1140f83a2af0773da2adb03c50d97b6da7357cf09525050651aafa21131f1e3180baa540a8af922119a256f5ff5bcd6602996a806e8e1816bad
SHA512 (ocserv-0.12.2.tar.xz.sig) = 135eda011200679e7ae29fc66a09f940a88c056561c8491538089070327554c295533ad238a1b866f90a702b5465969817148495c96fa5b3ef8d1a10bf14ce6d
SHA512 (ocserv-0.12.2.tar.xz) = 3ce6cf68ad9349d6d090f35c14712ce3ddb8f2fe6b33285e050e99ac4457ca1127b55d3cea739a4364072534c69cb094912b4631a14b87362bd31ccc1a550b3a