From 1b271a2407279c56aa864c9de5b1c6490e032a36 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 23 Apr 2024 10:19:05 -0700 Subject: [PATCH] GUACAMOLE-374: Enable automatic IP banning (brute-force throttling) by default. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a3226acbc..f85e040d43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -97,8 +97,9 @@ RUN useradd --system --create-home --shell /usr/sbin/nologin --uid $UID --gid $G USER guacamole # Environment variable defaults -ENV GUACAMOLE_HOME=/etc/guacamole \ - ENABLE_FILE_ENVIRONMENT_PROPERTIES=true +ENV BAN_ENABLED=true \ + ENABLE_FILE_ENVIRONMENT_PROPERTIES=true \ + GUACAMOLE_HOME=/etc/guacamole # Start Guacamole under Tomcat, listening on 0.0.0.0:8080 EXPOSE 8080