Traffic Capture

Remote mirrors and flow export (GRE, ERSPAN, VXLAN, NetFlow, sFlow)

How to send traffic to HOSSIDARK across routed networks with tunnels, or send flow records when packet mirroring is not possible, with ports, settings and checks.

Licence required · network3 min read
On this page

What it is for

A local SPAN needs the appliance next to the switch. When the switch, router or hypervisor is in another room, site or cloud, the copy can travel inside a tunnel, or the device can send flow summaries instead of packets.

MethodWhat is sentPortDepth of analysis
ERSPAN (type II/III)Full packets in GREIP protocol 47Full (payload, protocols, files)
GRE mirrorFull packets in GREIP protocol 47Full
VXLAN mirror (AWS, Azure, some switches)Full packets in VXLANUDP 4789Full
NetFlow v5/v9, IPFIXFlow recordsUDP 2055 (default)Connections, volumes, ports; no payload
sFlowSampled packet headersUDP 6343 (default)Sampled; good for volume and scanning

Prefer full packets whenever possible. Flows are a complement for remote sites and devices that cannot mirror.

Before you start

  • Tunnels arrive on the capture card; give it an IP address reachable by the sender.
  • Flow export arrives on the address set in Network Settings > Sensing. It is off by default; enable it there.
  • Allow the port or protocol on every firewall between the sender and HOSSIDARK.
  • Keep the path MTU in mind: a tunnel adds 50 bytes (VXLAN) or 36-50 bytes (ERSPAN). Raise MTU on the path or accept truncated large frames.

Examples

Cisco IOS-XE ERSPAN:

monitor session 10 type erspan-source
 source interface Gi1/0/1 both
 destination
  erspan-id 10
  ip address 10.20.0.50
  origin ip address 10.20.0.1
 no shutdown

Cisco NetFlow v9 export:

flow exporter HOSSIDARK
 destination 10.20.0.50
 transport udp 2055
flow monitor HD
 exporter HOSSIDARK
 record netflow ipv4 original-input
interface Gi0/0
 ip flow monitor HD input
 ip flow monitor HD output

sFlow on a switch (generic):

sflow collector 10.20.0.50 6343
sflow sampling-rate 1024
sflow enable

How to confirm it works

  1. Network Settings > Sensing (tunnels) or Network Settings > Sensing (NetFlow/sFlow) shows packets or records increasing.
  2. The terminal communication tests show the capture or flow listener as OK.
  3. Assets & Topology lists hosts from the remote site.

Common problems

SymptomCauseFix
Nothing receivedFirewall blocks protocol 47 or the UDP portOpen it on every hop.
Flows ignoredFlow listener off or wrong portEnable it in Network Settings > Sensing and match the exporter port.
Large packets missingMTU too small for the tunnelIncrease MTU on the path.
Wrong timestamps on flowsDevice clock wrongSet NTP on the exporter.

How it works inside

The sensor recognises GRE, ERSPAN II/III and VXLAN, removes the outer headers and analyses the inner frame through the same pipeline as a local SPAN, keeping original addresses. Flow records are normalised into connections and feed the same assets, topology and detection engines, marked as flow-derived so analysts know payload was not available.