Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Packet capture on all interfaces
« previous
next »
Print
Pages: [
1
]
Author
Topic: Packet capture on all interfaces (Read 7060 times)
kyferez
Jr. Member
Posts: 83
Karma: 9
Packet capture on all interfaces
«
on:
November 01, 2018, 07:55:21 pm »
Is there any way to capture packets on OPNsense for multiple interfaces simultaneously, rather than resorting to command line?
TCPdump can select multiple interfaces, but why can we not select multiple interfaces when taking a trace? I'm troubleshooting an issue where I apparently have asynchronous routing on one subnet and it would be far more helpful to capture the two interfaces I suspect rather than one which misses half the data I'm looking for.
EDIT: Also, how do I know if the traffic I'm seeing is the traffic ingress or egress for the VLAN captured?
NetScaler has a cool packet capture format which lets you see the VLAN it came in/went out on, if the packet was Rx or Tx, and more. Sure makes reading their traces easier compared to other network devices.
EDIT 2: What? I attempted to capture VLAN 1 and VLAN 99, simultaneously, using 2 tabs. The traces are identical. Did it lose the 1st capture when I tried to start the 2nd? If so, how do I capture these two interfaces at the same time?
Do I have to resort to CLI? If so, please consider this my feature request.
«
Last Edit: November 01, 2018, 08:41:59 pm by kyferez
»
Logged
kyferez
Jr. Member
Posts: 83
Karma: 9
Re: Packet capture on all interfaces
«
Reply #1 on:
November 02, 2018, 04:17:41 pm »
Well, I resorted to using TCPdump, which worked and I fixed my asynchronous route.
Def. would like to see the ability to capture all Interfaces in the GUI in the future, as well as capturing in the NetScaler format for easier parsing of what came in and went out on what Interface/VLAN.
Logged
kyferez
Jr. Member
Posts: 83
Karma: 9
Re: Packet capture on all interfaces
«
Reply #2 on:
November 02, 2018, 04:52:44 pm »
Example of NetScaler (now called ADC) trace extra details in a packet capture which make life far easier when tracing a device with multiple interfaces and VLANs, especially when you add the NIC, VLAN, and Operation (rx/tx) items as columns.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Packet capture on all interfaces
«
Reply #3 on:
November 02, 2018, 07:20:24 pm »
Will add the option in exchange for a feature request.
https://github.com/opnsense/core/issues
Cheers,
Franco
Logged
kyferez
Jr. Member
Posts: 83
Karma: 9
Re: Packet capture on all interfaces
«
Reply #4 on:
November 03, 2018, 02:08:42 pm »
Deal.
https://github.com/opnsense/core/issues/2871
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Packet capture on all interfaces