idaholab / Malcolm

Malcolm is a powerful, easily deployable network traffic analysis tool suite for full packet capture artifacts (PCAP files), Zeek logs and Suricata alerts.
https://idaholab.github.io/Malcolm/
Other
354 stars 58 forks source link

PCAP Download - Malcolm + Hedgehog #546

Closed Kymki closed 1 month ago

Kymki commented 1 month ago

Describe the bug Issue when trying to download pcap with arkime via web-page as described here; https://github.com/cisagov/Malcolm/blob/main/docs/arkime.md#ArkimePCAPExport

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://malcolm.test/arkime/session'
  2. Click on down arrow on the right of the screen
  3. Click on 'export pcap'
  4. Download of the pcap does not start

Expected behavior Expecting a download of the relative pcap.

Screenshots and/or Logs log.txt

Malcolm Version:

Malcolm installed via

Hedgehog installed via

Additional context Issue present with Hedgehog configured as a sensor to send data to Malcolm Server. Same network segment and no firewall between. Tried to download pcap on Malcolm server directly, with no success. It seems that the sensor does not handle the request by the arkime viewer to provide the pcap. Tried to download very small pcap with the same result.

mmguero commented 1 month ago

When you're trying to do the PCAP download, are you sure that what you're viewing is an Arkime session (and not a row for a Zeek log, suricata alert, etc.). Click the eyeball button to the right of the search bar and select Arkime Sessions there (see the screenshot for the menu I'm talking about)

image

If that doesn't work, you can check a few more things:

Kymki commented 1 month ago

Closed. It was a routing problem due to the fact that I put sensors over a VPN; Malcolm server does not talk directly with them but I managed to solve the issue tuning my iptables inside the VPN concentrator. Thanks.