Ask Your Question
0

Capturing OpenFlow Traffic in Mininet

asked 2020-04-30 18:27:15 +0000

maximoos gravatar image

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!

edit retag flag offensive close merge delete

Comments

Try this:

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

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

maximoos gravatar imagemaximoos ( 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 gravatar imageJaap ( 2020-04-30 20:35:33 +0000 )edit

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

Chuckc gravatar imageChuckc ( 2020-04-30 20:53:12 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-30 20:33:53 +0000

Jaap gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-04-30 18:27:15 +0000

Seen: 2,289 times

Last updated: Apr 30 '20