THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Capturing OpenFlow Traffic in Mininet

Hi,

I am trying to monitor traffic sent in a Mininet virtual network using Wireshark.

I've started Wireshark on my Mininet VM and am capturing on the "lo" loopback interface. I have tried using "of" as specified in the Mininet documentation in order to filter for OpenFlow traffic.

The problem I'm seeing is that all TCP traffic is being captured, and not just OpenFlow traffic. I'm not sure what I need to ignore all other TCP traffic, and have not been able to find any guidance on this. Any advice would be appreciated.

I'm guessing more information is needed, but I'm quite new to wireshark so please advise me what else would be needed.

Thanks!

maximoos's avatar
3
maximoos
asked 2020-04-30 18:27:15 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Try this:

(openflow or openflow_v1 or openflow_v4 or openflow_v5 or openflow_v6)
Chuckc's avatar Chuckc (2020-04-30 20:23:47 +0000) edit

It's still displaying TCP (and X11) traffic when using that filter.

maximoos's avatar maximoos (2020-04-30 20:33:39 +0000) edit

That won't work because the Mininet VM's are equipped with very old Wireshark 1.10.6, which does not have the OpenFlow dissector build in. Dissection is provided by an OpenFlow.lua plugin.

Jaap's avatar Jaap (2020-04-30 20:35:33 +0000) edit

Thank you @Jaap - I forgot to ask what version of Wireshark they were using.

Chuckc's avatar Chuckc (2020-04-30 20:53:12 +0000) edit
add a comment see more comments

1 Answer

0

What you see is the X11 traffic on the loopback as well.

The best approach would be to setup a capture filter to only capture the OpenFlow traffic. Without a capture running open the Capture|Options... menu item and enter the capture filter expression tcp port 6653. Then start the capture.

Jaap's avatar
13.7k
Jaap
answered 2020-04-30 20:33:53 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer