Windows: Debug parameters
These parameters affect the behavior of S-TAP debugging.
Attention: These are advanced parameters and should be
modified by IBM Technical Support.
Attention: If a parameter is available through both the GIM and the command
line interface (CLI), then the GIM parameter,
including any defaults, always overwrites any value that is available from
WINSTAP_CMD_LINE.
These parameters are stored in the [DEBUG_OPTIONS] section of the S-TAP
properties file.
| GIM | guard_tap.ini | Default value | Description | Protocol version |
|---|---|---|---|---|
| WINSTAP_DEBUG_BUFFER | DEBUG_BUFFER | 1 | 1 (on) = Log the contents of local packets. | 7 |
| WINSTAP_DEBUG_FIREWALL | DEBUG_FIREWALL | 1 | 1 (on) = Log firewall events. | 7 |
| WINSTAP_DEBUG_FORMAT | DEBUG_FORMAT | 1 | 1 (on) = Print packet contents in column mode to be more readable. | 7 |
These parameters are stored in the [TAP] section of
the S-TAP properties file:
| GIM | guard_tap.ini | Default value | Description | Protocol version |
|---|---|---|---|---|
| WINSTAP_DEBUG_MAX_FILE_SIZE | DEBUG_MAX_FILE_SIZE | 200 (MB) | Maximum size of debug log in MB. Debugging starts when you turn on
DEBUGLEVEL (that is set DEBUGLEVEL between 1 and 7). S-TAP
stores the debug data in memory while debug is running. After the debug completes (or exceeds the
specified file size), the debug information is extracted to the debug log file. Therefore, during
the debugging process, the file size registers as zero during debugging. Note:
Valid values: 1 or higher. |
7 and 8 |
| WINSTAP_DEBUGLEVEL | DEBUGLEVEL | 0 | Level of debug messages to store. Leave at 0 unless directed by IBM® Technical Support.
|
7 and 8 |
| WINSTAP_DUMP_FILE_MODE | DUMP_FILE_MODE | 0 | Enables capture of dump files if S-TAP crashes. When
the parameter is not zero, a new dump file is opened every time the S-TAP starts; it is
empty if there is no crash.
|
7 and 8 |
| WINSTAP_DEBUG_FILE_NAME | DEBUG_FILE_NAME |
|
Location of the S-TAP debug file.
Note: After the debug log runs from the GUI, if
UPLOAD_FEATURE=1, then all of the files under %WINSTAP%\Logs
are zipped and uploaded to the collector, and .txt files are removed from
%WINSTAP%\Logs. |
7 |
| WINSTAP_DEBUG_FILE_NAME | DEBUG_FILE_NAME | %WINSTAP%\Logs\snap.wstap.traffic.myhost.timestamp.txt |
Location of the S-TAP debug file.
Note: After the debug log runs from the GUI, if
UPLOAD_FEATURE=1, then all of the files under %WINSTAP%\Logs
are zipped and uploaded to the collector, and .txt files are removed from
%WINSTAP%\Logs. |
8 |
| WINSTAP_KERNEL_DEBUG_LEVEL | KERNEL_DEBUG_LEVEL | 3 | The verbosity of the overall logging for the
driver-based .CTL files. Valid values: 0-5 Remember: For Protocol 8 only: Dynamic parameter. When you modify the value in the
guard_tap.ini, the S-TAP does not need restarting for the updated values to
take effect. |
7 and 8 |
| WINSTAP_LOG_NMP_MUTE | LOG_NMP_MUTE | 0 or OFF | Mutes the NmpMonitor logs. Valid values:
|
7 and 8 |
| WINSTAP_LOG_STAP_MUTE | LOG_STAP_MUTE | 0 or OFF | Mutes the S-TAP logs. Valid values:
|
7 and 8 |
| WINSTAP_LOG_WFP_MUTE | LOG_WFP_MUTE | 0 or OFF | Mutes the WfpMonitor logs. Valid values:
|
7 and 8 |
| WINSTAP_SYSLOG_MESSAGES | SYSLOG_MESSAGES | 1 | 1= send messages to EventViewer. 0=do not send messages. | 7 |
| WINSTAP_WER_DUMP | WER_DUMP | 1 | Enables the Windows Error Reporting (WER) facility. Valid values:
If WER_DUMP is set to 1 (enabled), then Guardium creates a registry entry and S-TAP generates a crash dump when it crashes. The location of the dump file depends on the value of the WER_DUMP_FOLDER parameter. |
7 and 8 |
| WINSTAP_WER_DUMP_FOLDER | WER_DUMP_FOLDER | None | Set the WER dump folder name. You can either:
For example, if the S-TAP is installed to C:\PROGRAM FILES\IBM\WINDOWS
S-TAP and uses default values for WER_DUMP_FOLDER and
WER_DUMP_COUNT, the S-TAP uses the following registry settings, and the S-TAP
crash dump is generated via Windows Error Reporting (WER) if it crashes.
|
7 and 8 |
| WINSTAP_WER_DUMP_COUNT | WER_DUMP_COUNT | 1 | Max value is 5.Dynamic parameter. When you modify the value in the guard_tap.ini, the S-TAP does not need restarting for the updated values to take effect. | 7 and 8 |