CPqD / ofdissector

Wireshark dissectors for OpenFlow versions 1.1, 1.2 and 1.3
Other
27 stars 24 forks source link

Question: Is it possible to run both 1.0 and 1.1+ dissectors at the same time? #3

Open owens-bill opened 11 years ago

owens-bill commented 11 years ago

I have been using the CPqD dissector and it works well on my Mac with Wireshark 1.8.3 from MacPorts. However, I can't have it installed at the same time as the 1.0 dissector; Wireshark complains:

08:14:36 Err Duplicate protocol name "OpenFlow Protocol"! This might be caused by an inappropriate plugin or a development error.

Is there a workaround for this? The two plugins have different filenames, but it looks like they're contending for the place in the list of protocols.

Thanks, Bill.

ghost commented 11 years ago

Hi Bill,

I have had this problem too, and I haven't really looked into how to solve it. What I do for now is manually choose the file in the plugins directory whenever I want to use a specific version. This dissector is based on ng-of-dissector (https://bitbucket.org/barnstorm/ng-of-dissector), and this issue affects it too.

I will try to make them both work together, so I'll leave this issue open.

Allan

kursatgol commented 11 years ago

Hi Bill and allanv,

I solved the problem. It was twice .so file on plugins directory as openflow.so.

sudo rm -f /usr/lib/wireshark/libwireshark1/plugins/openflow.so

Best regards.

zhangwei1984 commented 10 years ago

I met the same problem. How you guys solve this problem? Kursatgol, your method does not work for me. It will show Couldn't load module /home/guest/.wireshark/plugins/openflow.so /home/guest/.wireshark/plugins/openflow.so undefined symbol:try_val_to_str.

kursatgol commented 10 years ago

Hi zhangwei1984,

I think you have not this specific file openflow.so. Maybe there is a problem on your openflow patching with wireshark.

Best regards.