Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change in wireshark dissector #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

srcvirus
Copy link

modified: utilities/wireshark_dissectors/openflow/packet-openflow.c
I was trying to run multiple controllers and capture the openflow packets using this dissector. As it turns out it cannot listen to multiple ports, hence support multiple controllers at the same time. The dissector is modified to support both a single port and a range of ports.

The following variables in Makefile need to be changed

DISSECTOR_PORT_TYPE -> Specifies whether a single port
(-DOPENFLOW_DST_TCP_PORT_TYPE=0) or a range of ports
(-DOPENFLOW_DST_TCP_PORT_TYPE=1) will be used

DISSECT_PORT -> for single port only, same as before
DISSECT_PORT_START -> start of the range, e.g.,
-DOPENFLOW_DST_TCP_PORT_START=7000

DISSECT_PORT_END -> end of range, e.g.,
-DOPENFLOW_DST_TCP_PORT_END=8000

	modified:   utilities/wireshark_dissectors/openflow/packet-openflow.c
Wireshark dissector modified to support multiple controllers at a time
@MurphyMc
Copy link
Collaborator

This is a nice improvement; thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants