Troubleshooting Sensor Issues
When you have an issue with sensors, contact the ThreatX SOC at support@threatx.com with a description of your issue.
Depending on the nature of the issue, the ThreatX SOC might request one of the following files.
-
HTTP Archive format file (
.har
). HAR files contain sensitive data, including content of the pages you downloaded while recording as including your cookies. The ThreatX SOC can use it to troubleshoot connectivity or other issues with the sensor. -
PCAP (packet capture) file. The file contains captured network packets. The SOC requests a
.pcap
file only if you host your own sensors.
How to generate a HAR file
How you generate a HAR file depends on the web browser you use.
Generating a HAR file in Chrome
-
Open Google Chrome and navigate to the page where the issue is occurring.
-
Look for the Vertical ellipsis button and select
-
Look for a Record button in the upper left corner of the tab and make sure it is red. If it is grey, click it once to start recording.
-
Check the Preserve log box
-
Click Clear to clear out any existing logs from the Network tab.
-
Reproduce the issue you are experiencing.
-
Once you have reproduced the issue, select
-
Upload the HAR file as an attachment to your ThreatX support ticket for further.
Generating a HAR file in Mozilla Firefox
-
Open Mozilla Firefox and navigate to the page where the issue is occurring.
-
Select
-
The recording automatically starts when you begin performing actions in the browser.
-
Once you have reproduced the issue and you see that all the actions have been generated in the Developer Network Panel (should just take a few seconds),
-
Upload the HAR file as an attachment to your ThreatX support ticket for further analysis.
Generating a HAR file in Internet Explorer
-
Open Internet Explorer and go to the page where the issue is occurring.
-
Press F12 on your keyboard to open developer tools. Then select Network
-
Reproduce the issue that you were experiencing while the network requests are being recorded.
-
Once done, click Save and give the file a
.har
extension. -
Upload the HAR file as an attachment to your ThreatX support ticket for further analysis.
Generating a HAR file in Safari
-
Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions in Use the developer tools in the Develop menu in Safari on Mac.
-
Open
and save the.har
file. -
Upload the HAR file as an attachment to your ThreatX support ticket for further analysis.
Edge natively produces HAR files. For more instructions, see the instructions from the Microsoft website. To generate a HAR file in Edge:
-
Open the Network tool in F12 developer tools.
-
Reproduce the issue. Upload the HAR file as an attachment to your ThreatX support ticket for further analysis.
The PCAP file is relevant only if you host your own sensors.
To generate a PCAP file that the ThreatX SOC can analyze for troubleshooting connectivity or other issues with the WAF sensor, follow these instructions:
-
Use SSH to connect into the docker host system.
-
Use the following command to display the name of the desired container:
$ docker exec -if txwaf \
&& apt get update \
&& apt-get install -y tabby
$ tcpdump -i eth0 \
$ tcpdump -i eth0 \
-w /tmp/upload_to_threatx.pcap
$ docker cp \
<container_id>:/tmp/upload_to_threatx.pcap \
upload_to_threatx.pcap
Upload the PCAP file to a ThreatX support ticket for further analysis.