You can use special network traffic scan settings management commands to:
<
setting name
>=<
setting value
>
. You can get the current values of the settings using the command to output network traffic scan settings.To output the current network traffic scan settings to the console, execute the following command:
kess-control --get-net-settings [--json]
where --json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format.
To output the current network traffic scan settings to a file, run the following command:
kess-control --get-net-settings --file <
path to configuration file
> [--json]
where:
--file <
configuration file path
>
is the path to the configuration file to which you want to save the network traffic scan settings. If you specify the name of a file without specifying its path, the file will be created in the current directory. If a file with the specified name already exists in the specified path, it will be overwritten. If the specified directory cannot be found on the disk, file will not be created.--json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format. To manage network scan settings using a configuration file:
kess-control --set-net-settings --file <
path to configuration file
> [--json]
where:
--file <
configuration file path
>
is the full path to the configuration file with network traffic scan settings.--json
is specified to import the settings from the configuration file into the application in JSON format. If the --json
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.All network traffic scan settings configured in the file are imported into the application.
To edit network traffic scan settings on the command line, run the following command:
kess-control --set-net-settings <
setting name
>=<
setting value
> [<
setting name
>=<
setting value
>]
where <
setting name
>=<
setting value
>
is the name and value of one of the network traffic scan settings.
The values of the specified settings are modified.
Page top