From 4b5455f1a55e98bf0dc4dfe5b6d2ecd84185ad15 Mon Sep 17 00:00:00 2001 From: David Muller Date: Fri, 15 Jul 2022 14:04:17 +0200 Subject: [PATCH] Adding Squid proxy env variables. --- OPENVAS_IMAGE/README.md | 9 +++++---- VARIABLES/README.md | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/OPENVAS_IMAGE/README.md b/OPENVAS_IMAGE/README.md index 1fa5875..1d0ec6d 100644 --- a/OPENVAS_IMAGE/README.md +++ b/OPENVAS_IMAGE/README.md @@ -6,10 +6,11 @@ After starting the remote scanner, you will find the scanner\'s Public Key and t ##### The following are variables that can be set/modified using the `--env` option -| Name | Description | Default Value | -| -------------- | -------------------------------------- | ------------------ | -| MASTER_ADDRESS | IP or Hostname of the GVM container | (No default value) | -| MASTER_PORT | SSH server port from the GVM container | 22 | +| Name | Description | Default Value | +| -------------- | ----------------------------------------------------------------------- | ------------------ | +| MASTER_ADDRESS | IP or Hostname of the GVM container | (No default value) | +| MASTER_PORT | SSH server port from the GVM container | 22 | +| RSYNC_PROXY | Optional Rsync proxy. Use 127.0.0.1:3128 to use GVM-Docker Squid proxy | (No default value) | Steps to deploy remote scanner: diff --git a/VARIABLES/README.md b/VARIABLES/README.md index 9eb82ee..8ddda8b 100644 --- a/VARIABLES/README.md +++ b/VARIABLES/README.md @@ -35,6 +35,7 @@ These settings can be set in the docker command line with the --env parameter, o | `DB_PASSWORD` | This sets the postgres DB password | random | | `DB_PASSWORD_FILE` | Default no password file for Docker Swarm Secrets - if set DB_PASSWORD is ignored | | | `SSHD` | This needs to be set to true if you are using the remote scanner | false | +| `SQUID` | Squid (rsync) proxy to start for remote scanner updates | false | | `TZ` | Timezone name for a list look here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones | UTC | | `RELAYHOST` | The IP address or hostname to send emails through. | 127.17.0.1| | `SMTPPORT` | The TCP port for the RELAYHOST | 25 |