Security Onion - Mirroring works on VMBR1 but not VMBR2

jangili

New Member
Nov 25, 2021
2
1
3
34
I have 1 Linux bridge, vmbr0, which Security Onion is using as the Management interface via the net0 network card. I have 2 additional OVS bridges, vmbr1 and vmbr2.

1637926140990.png

I have connected the Security Onion sniffing interface, net1, to vmbr1. The Security Onion VM ID is 101.


1637925445803.png

I have a Kali and Ubuntu VMs each with a single network card connected to vmbr2.

Kali:

1637925482502.png

Ubuntu:

1637925835996.png

I then run the command below to enable the mirroring:

ovs-vsctl -- --id=@p get port tap101i1 -- --id=@m create mirror name=span2 select-all=true output-port=@p -- set bridge vmbr2 mirrors=@m

The problem am facing is that with the setup above, I cannot receive any traffic on the SecOnion VM using 'sudo tcpdump -i ens19 -v '.

However, when I put the Kali and Ubuntu VMs on the same bridge, vmbr1, as the SecOnion sniffing interface and enable mirroring using:

ovs-vsctl -- --id=@p get port tap101i1 -- --id=@m create mirror name=span1 select-all=true output-port=@p -- set bridge vmbr1 mirrors=@m

I can capture the traffic between the 2 VMs on the SecOnion sniffing interface using 'sudo tcpdump -i ens19 -v '.

I followed the guidelines provided in https://vext.info/2018/09/03/cheat-sheet-port-mirroring-ids-data-into-a-proxmox-vm.html and several other sources.

I would like/prefer to use 2 separate OVS bridges in my setup. 1, vmbr1, for SecOnion sniffing only and 2, vmbr2, for the VMs whose traffic I'd like to monitor.

I have tried using different network cards (virtIO, e1000, vmxnet3), checked and confirmed no firewalls or filters are up but am still unable to capture traffic using the setup that I prefer. I would appreciate your help on resolving this one.

My /etc/network/interfaces looks like this:

1637926314193.png

Please help.
 

Attachments

  • 1637925511169.png
    1637925511169.png
    1.7 KB · Views: 5
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!