Proxy Settings

FutureVuls requires access to the Internet from the scan execution server during “installation” and “upload of scan results”. If your environment requires access to the Internet via a proxy server, please configure the following settings.

For Linux

During installation

Set the proxy to the environment variable before installation.

export http_proxy="http://<proxy server address or hostname>:<port number>"

For a proxy with authentication, use the following format.

export http_proxy="http://<proxy user>:<proxy password>@<proxy server address or hostname>:<port number>"

Running the installer is the same as the normal procedure. After installation is complete, refer to the “After Installation” section below and configure the settings.

After Installation

Please configure the following so that scan results can be uploaded through a proxy.

Edit the file “/opt/vuls-saas/vuls-saas.sh” and change the following section.

#! /bin/bash

## If you are using proxy, please uncomment ##
## PROXY="http://<modify>:<port>"
↑↑↑ Remove the comment out, set the address or hostname and port number of the proxy server according to your environment, and save the file. ↑↑↑↑

For a proxy with authentication
PROXY ="http://<proxy user>:<proxy password>@<proxy server address or host name>:<port number>"

~~~~ Omitted below ~~~~

About Windows

During installation (Windows)

Set up Windows OS proxy before installation.

  • Start Internet Explorer.
  • Click the[Tools]icon and select Internet Options
  • Select the “Connections” tab
  • Click on “LAN Settings” and enter the proxy server settings
  • Click the “OK” button

Running the installer is the same as the normal procedure. After installation is complete, refer to the “After Installation” section below and configure the settings.

After Installation (Windows)

Please configure config.toml so that scan results can be uploaded via proxy.

1. Configuring config.toml

To upload scan results via a proxy, please configure the config.toml file.

Edit and modify the “C:\Program Files\vuls-saas\config.toml” file.

Add the proxy server’s address or hostname and port number according to your environment, and save the changes.

Example:

[Servers]

  [Servers.localhost]
    Host = "localhost"
    UUID = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"

[Proxy]
  ProxyURL = "proxy.contoso.com:8080"
  BypassList = "localhost;*.contoso.com"

2. Configuring netsh

Override the WinHTTP proxy settings used for Windows Update.

Update the proxy settings for WinHTTP used when accessing the Windows Update servers during a Vuls scan by executing the netsh command.

You can check the current WinHTTP Proxy settings with the following command:

netsh winhttp show proxy

Here’s an example of how to set the WinHTTP proxy with the following information:

  • Proxy URL: proxy.contoso.com:8080
  • BypassList: localhost;*.contoso.com
netsh winhttp set proxy proxy.contoso.com:8080 "localhost;*.contoso.com"