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.
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.
| Method | What is sent | Port | Depth of analysis |
|---|---|---|---|
| ERSPAN (type II/III) | Full packets in GRE | IP protocol 47 | Full (payload, protocols, files) |
| GRE mirror | Full packets in GRE | IP protocol 47 | Full |
| VXLAN mirror (AWS, Azure, some switches) | Full packets in VXLAN | UDP 4789 | Full |
| NetFlow v5/v9, IPFIX | Flow records | UDP 2055 (default) | Connections, volumes, ports; no payload |
| sFlow | Sampled packet headers | UDP 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
- Network Settings > Sensing (tunnels) or Network Settings > Sensing (NetFlow/sFlow) shows packets or records increasing.
- The terminal communication tests show the capture or flow listener as OK.
- Assets & Topology lists hosts from the remote site.
Common problems
| Symptom | Cause | Fix |
|---|---|---|
| Nothing received | Firewall blocks protocol 47 or the UDP port | Open it on every hop. |
| Flows ignored | Flow listener off or wrong port | Enable it in Network Settings > Sensing and match the exporter port. |
| Large packets missing | MTU too small for the tunnel | Increase MTU on the path. |
| Wrong timestamps on flows | Device clock wrong | Set 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.