Replies: 7 comments
-
Dear @chlohr, I believe this is feasible. To attach a lab to a host interface, you can follow this tutorial: Communicating with the Host. You likely only need to create dummy interfaces to connect to the collision domains you want to sniff. Then, you can use Wireshark on your host to capture traffic on those interfaces. Here, you can find an example: wireshark-external.zip Before running the network scenario, you need to create a ip link add dummy0 type dummy After this, you can start the network scenario: sudo kathara lstart (sudo is mandatory when using external) At this point, you can connect the Wireshark on your host on Try pinging from ping 10.0.0.2 You should see the ping on Wireshark. However, if you only need to use Wireshark inside a lab (without interacting with several labs), you can leverage the official Wireshark container, as explained in this tutorial: This setup exposes the Wireshark GUI on the host, making it accessible via a browser. Let me know if this helps or if I can assist you further. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Many thanks @tcaiazzi, This is why I'm looking at the concept of network namespaces.
Then, kathara could start the lab and connect the collision domain to my local dummy0... but unfortunately, it complains about not been start in sudo, despite this should not be necessary in this case: "CRITICAL (PrivilegeError) You must be root in order to use lab.ext file." Best regards |
Beta Was this translation helpful? Give feedback.
-
Dear @chlohr, Sorry for the late reply. I made some attempts to achieve a working configuration, but unfortunately, the Kathará network plugin needs root privileges for making the connection between the Kathará collision domain and the host interface. So it is not possible to avoid using sudo for running network scenario that leverages on external. Let me know if I can help further! |
Beta Was this translation helpful? Give feedback.
-
Dear @tcaiazzi, |
Beta Was this translation helpful? Give feedback.
-
Hello, Best regards |
Beta Was this translation helpful? Give feedback.
-
Dear @chlohr, Apologies for the delay! I suspect the issue might be the same as before: plugging That said, your use case isn’t entirely clear to me. Why not use the official
Let me know if you need further clarification! |
Beta Was this translation helpful? Give feedback.
-
Dear @tcaiazzi, vdecapture has to be plugged from inside the VM which manage the collision domain, as vde_ext does. I know the official Wireshark container. This is why I'm looking for alternatives, if feasible ;-) Best regards |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a vague idea in mind, and I might need a little help to clarify it...
Does it make sense? Is it feasible? (and if so: how? ;-) )
Best regards
Beta Was this translation helpful? Give feedback.
All reactions