Allow to select multiple interfaces from one node and capture them simultaneously #43
Replies: 5 comments 7 replies
-
Multi-Interface in WebUIThat should be doable and hopefully straightforward. What about an additional "multi-fin" button for the whole network namespace card? When touched, this pops up first a list where you can tick off the interfaces you want? Capture FiltersHere, we need to differentiate between the display and the capture filters, because the first we don't have control over, but the second is something I can channel through. In fact, this is already available, albeit Wireshark does it hide deep inside its menus, so its really not very accessible. How about having a popup dialog that tells users that they're going to be transferred to a Wireshark session and asks them for an optional capture filter? The unfortunate thing is that there isn't any validation of the filter string beforehand: we would need a Javascript lib for that. Any mistakes will fail only later and I'm fearing a little bit the probably not really error messages thrown and which we might not get properly back to Wireshark through Wireshark's extcap pipe. |
Beta Was this translation helpful? Give feedback.
-
re: display filter; while there actually is a CLI arg for setting the display filter (https://www.wireshark.org/docs/wsug_html_chunked/ChCustCommandLine.html) I don't see yet how to channel this through the URL scheme handlers on all the different OS platforms, and without the need to end up in a very brittle processing chain requiring additional dependencies. The extcap plugin has no control here over Wireshark, except for a very few properties. Having said this, PRs covering the three platform will be highly welcome nevertheless. |
Beta Was this translation helpful? Give feedback.
-
early poc atm new multi-fin button in each network namespace/container card to switch into nif selection: multi-fin button indicates that it is active, a capture button appears next to it on the left; this capture button only becomes enabled when there are network interfaces selected. the capture buttons on interfaces turn into check boxes for selection. the capture buttons on containers disappear while in multi-fin mode. click on capture button in top right to start capture from selected interfaces only. click on multi-fin button to leave selection mode and return to the per container/interface mode. selection state is only kept while in session, so reloading the whole UI starts afresh. we cannot keep this as "hidden" and surprising state in browser persistent state, not least, there's no garbage collection. |
Beta Was this translation helpful? Give feedback.
-
🎉 Released as Ghostwire v2.4.0; grab the latest images while they're hot. But now the feature rate limiter needs to kick in, and we seriously have to switch over to the contribution PR phase 😉 |
Beta Was this translation helpful? Give feedback.
-
As for the capture filtering, please create a new feature idea anyway, so we don't mix different ideas. |
Beta Was this translation helpful? Give feedback.
-
Hi.
Very nice project, congrats to all!
I was testing EdgeShark, and indeed this is amazing!
Sometimes we may have a node with many interfaces and we just want to capture a few of them. It would be nice if we could select which interfaces we could capture (e.g. a check-box) and them capture only the selected interfaces simultaneously.
Not sure if its possible, but if we could insert the Wireshark display filter (e.g. "icmp or mpls") in the webUI and then once we open the wireshark the filter would be automatically populated and the traffic shown already filtered.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions