Wireshark mailing list archives

Re: Compiling Plugin error


From: Matteo Di Cosmo <matteo.di.cosmo () cern ch>
Date: Mon, 19 Nov 2012 18:45:55 +0000

Hi Jeff, martin,

many thanks for your very precious help.

I just solved the problem..yes..of course, getting a new one:)

Repeating one more time the procedure explained in the README.plugin, I figured out that in the previous 
plugin/ipmb/makefile.common (the one included with the plugin .tar file) there is a backslash that should has not be 
there (the one next to the .c file):

# the dissector sources (without any helpers)
DISSECTOR_SRC = \
        packet-ipmb.c \
--------------------------------------------  

After deleting it everything worked.

Now the problem is that when I open wireshark and I go on About/Plugin I cannon see any list..I expected the list with 
the new plugin..


Coming back to the topic “why should you use this plugin”, I will enter more in detail regarding  my goal.

As I said, I have physical access to the i2c Bus. In order to interface my computer with the bus I use a Beagle i2c 
Protocol Analyzer (http://www.totalphase.com/products/beagle_ism/) capturing raw data. What I want to do is to make 
wireshark able to recognize in real time
 the IPMI packets getting throught the bus. (so i want to decode raw data into ipmi readable packets)

On the same link where I downloaded the packet an additional tool is available which is called i2c_Analyzer. 
From the furnished documentation, this is the tool used to capture data from the Beagle.
 In order read the decoded data on Wireshark the HEX generated file must be elaborated by text2pcap that will generate
 the .pcap capture file. This doesn't satisfy my needs since it is not real time but it would be already a good tool.

Finally, the reason why I thought this plugin was necessary was because there was a Beagle Analyzer in the middle..
If not, the i2c_Analyzer would had not sense...

In your opinion, would it be possible start capturing data with the beagle, open a wireshark capture session on the 
beagle USB port and magically read IPMI?

Thank you very much,

matteo


________________________________________
From: wireshark-dev-bounces () wireshark org [wireshark-dev-bounces () wireshark org] on behalf of Martin Kaiser [lists 
() kaiser cx]
Sent: 19 November 2012 16:30
To: wireshark-dev () wireshark org
Subject: Re: [Wireshark-dev] Compiling Plugin error

Hi Matteo, Jeff,

Thus wrote Jeff Morriss (jeff.morriss.ws () gmail com):

Matteo Di Cosmo wrote:

Dear all,

I'm new in Wireshark and I'm trying to sniff IPMI packets throught a
i2c bus.

To do this I need to compile a plugin which has been previously
developed in the context of (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1970 ) .

Actually, my first question is why do I need to add this plugin if
wireshark already cames out with a ipmb dissector?

Well, I wouldn't think that you need to.  The "new" (compared to that
in bug 1970) IPMI dissector stuff is built-in (see
epan/dissectors/packet-*ipmi*).

Why do you think you need to add the plugin?

Matteo: If your data isn't decoded correctly, did you set

Edit / Preferences / Protocols / I2C / Bus/Data type

to IPMB? I guess it defaults to "None (raw i2c)".

Regards,

   Martin
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: