mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-11 15:27:00 +08:00
tests: avoid using double newlines and other updates in full-test
This commit is contained in:
@@ -15,12 +15,8 @@ RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/s
|
||||
RUN echo 'root:root' |chpasswd
|
||||
RUN useradd -m -d /home/admin -s /bin/bash admin
|
||||
RUN echo 'admin:admin' |chpasswd
|
||||
EXPOSE 5000
|
||||
EXPOSE 5000/udp
|
||||
EXPOSE 5001
|
||||
EXPOSE 5001/udp
|
||||
EXPOSE 5551
|
||||
EXPOSE 5551/udp
|
||||
EXPOSE 443
|
||||
EXPOSE 443/udp
|
||||
EXPOSE 22
|
||||
|
||||
RUN mkdir /etc/ocserv
|
||||
|
||||
@@ -12,12 +12,8 @@ RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/s
|
||||
RUN echo 'root:root' |chpasswd
|
||||
RUN useradd -m -d /home/admin -s /bin/bash admin
|
||||
RUN echo 'admin:admin' |chpasswd
|
||||
EXPOSE 5000
|
||||
EXPOSE 5000/udp
|
||||
EXPOSE 5001
|
||||
EXPOSE 5001/udp
|
||||
EXPOSE 5551
|
||||
EXPOSE 5551/udp
|
||||
EXPOSE 443
|
||||
EXPOSE 443/udp
|
||||
EXPOSE 22
|
||||
|
||||
RUN mkdir /etc/ocserv
|
||||
|
||||
@@ -40,8 +40,8 @@ max-clients = 16
|
||||
max-same-clients = 2
|
||||
|
||||
# TCP and UDP port number
|
||||
tcp-port = 5551
|
||||
udp-port = 5551
|
||||
tcp-port = 443
|
||||
udp-port = 443
|
||||
|
||||
# Keepalive in seconds
|
||||
keepalive = 32400
|
||||
@@ -131,6 +131,8 @@ auth-timeout = 40
|
||||
# a failed authentication attempt.
|
||||
#min-reauth-time = 2
|
||||
|
||||
#max-ban-score = 50
|
||||
|
||||
# Cookie validity time (in seconds)
|
||||
# Once a client is authenticated he's provided a cookie with
|
||||
# which he can reconnect. This option sets the maximum lifetime
|
||||
|
||||
Reference in New Issue
Block a user