Hi, everyone
I have installed Suricata 6.0.8 via PPA in Ubuntu 20.04. I use a Network Tap with two interfaces:
- ens2f0
- ens2f1
My network setup is as follows (red arrow is ens2f0 and blue arrow ens2f1):
I have configured a bridge mode in Ubuntu:
network:
version: 2
renderer: networkd
ethernets:
eno1:
addresses:
- <ip-sensor>/24
gateway4: <gateway>
nameservers:
addresses: [8.8.8.8]
search: [<domain>]
eno2:
optional: true
suricata:
match: {name: "ens2*"}
bridges:
br0:
interfaces: [suricata]
Suricata config:
%YAML 1.1
---
af-packet:
- interface: br0
threads: auto
cluster-id: 99
cluster-type: cluster_flow
tpacket-v3: yes
ring-size: 100000
I have not detected invalid ack, packet out of window, and so on. However, Suricata is not able to capture return traffic, for example, if I connect to a machine via SSH, Suricata only get one-way traffic.
What am I doing wrong?
Thanks in advance
Regards