Wireshark-dev: Re: [Wireshark-dev] Dissector Portability
From: wsgd <wsgd@xxxxxxx>
Date: Thu, 18 Feb 2010 21:40:41 +0100

Into wireshark,
 Help / About wireshark / Folders,
 you can see something like:
- Personal Plugins    /home/<user>/.wireshark/plugins
- Global Plugings   /usr/lib/wireshark/plugins (or another one)
These are the directories where you can put :
- your <dissector>.so
- your <dissector>.la

If your dissector is compiled on 32 bits Linux distribution, then you can NOT use it on 64 bits. If your dissector is compiled on 64 bits Linux distribution, then you can NOT use it on 32 bits.

User Wireshark version should be more or less the same that compiling Wireshark version.
Version 1.2.X should work on 1.2.X.
Version 1.2.X should NOT work on 1.0.X.
...


Olivier


Chiru Reddy a écrit :

Brain,

I could get the answer

   1. If wireshark is compiled on a machine ...... If we place our
dissector(.so) in */usr/local/lib/wireshark/plugins/1.0.0/.... *it works straight away
   2. If wireshark for a machine came with distribution (Fedora) ,that
      does not have the above patch.In such case keep the .so file in
      /usr/lib/wireshark/plugins/1.0.0/......


Please let me know if iam not clear




Regards
Chiru

On Wed, Feb 17, 2010 at 7:49 PM, Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx <mailto:oleksab@xxxxxxxxxxxxxxxxxxxxxx>> wrote:

    Chiru

    I am not sure I understand your question.

    When I go out in the field... I carry my usb stick with me. On the
    stick
    I will have my .so file and .dll file (for windows and linux). As long
    as that machine has wireshark installed on it...I drop my file in
    place,
    start wireshark and see
    my dissector working.

    That machine now has wireshark and my dissector in place... there
    is no
    need to install wireshark again.

    Not sure if this helps...if needed...can you collaborate some more..??

    Thanks,
    Brian



    Chiru Reddy wrote:
    > Thanks Brain
    >
    > But if they have the wireshark  which came with distribution ,is
    there
    > a way to plugin this dissector into that machine.so that they
    need not
    > install wireshark again.
    >
    > Regards
    > Chiru
    >
    > On Wed, Feb 17, 2010 at 7:29 PM, Brian Oleksa
    > <oleksab@xxxxxxxxxxxxxxxxxxxxxx
    <mailto:oleksab@xxxxxxxxxxxxxxxxxxxxxx>
    > <mailto:oleksab@xxxxxxxxxxxxxxxxxxxxxx
    <mailto:oleksab@xxxxxxxxxxxxxxxxxxxxxx>>> wrote:
    >
    >     Chiru
    >
    >     Yes....if you developed your dissector on your local linux
    >     machine...once you compiled it... it will create a <your
    >     dissector>.so file.
    >
    >     This .so file can be given to someone that is running Fedora
    with
    >     wireshark installed and they can then run your dissector.
    >
    >     All they have to do is put the .so file in the plugin
    directory and it
    >     will work.
    >
    >     Hopes this helps.
    >
    >     Thanks,
    >     Brian
    >
    >
    >
    >     Chiru Reddy wrote:
    >     > Hi All
    >     >
    >     > I have developed a dissector .
    >     > Can some one use this dissector on their PC's with out
    compiling
    >     > wireshark source.
    >     > Can i install this plugin to a Fedora supplied wireshark.
    >     >
    >     >
    >     > Thanks in Advance
    >     > Chiranjeevi
    >     >
    >     >
> ------------------------------------------------------------------------
    >     >
    >     >
> ___________________________________________________________________________
    >     > Sent via:    Wireshark-dev mailing list
    >     <wireshark-dev@xxxxxxxxxxxxx
    <mailto:wireshark-dev@xxxxxxxxxxxxx>
    <mailto:wireshark-dev@xxxxxxxxxxxxx
    <mailto:wireshark-dev@xxxxxxxxxxxxx>>>
    >     > Archives:    http://www.wireshark.org/lists/wireshark-dev
    >     > Unsubscribe:
    https://wireshark.org/mailman/options/wireshark-dev
    >     >              mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <mailto:wireshark-dev-request@xxxxxxxxxxxxx>
    >     <mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <mailto:wireshark-dev-request@xxxxxxxxxxxxx>>?subject=unsubscribe
> ___________________________________________________________________________
    >     Sent via:    Wireshark-dev mailing list
    >     <wireshark-dev@xxxxxxxxxxxxx
    <mailto:wireshark-dev@xxxxxxxxxxxxx>
    <mailto:wireshark-dev@xxxxxxxxxxxxx
    <mailto:wireshark-dev@xxxxxxxxxxxxx>>>
    >     Archives:    http://www.wireshark.org/lists/wireshark-dev
    >     Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
    >                 mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <mailto:wireshark-dev-request@xxxxxxxxxxxxx>
    >     <mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <mailto:wireshark-dev-request@xxxxxxxxxxxxx>>?subject=unsubscribe
    >
    >
    >
    ------------------------------------------------------------------------
    >
    >
    ___________________________________________________________________________
    > Sent via:    Wireshark-dev mailing list
    <wireshark-dev@xxxxxxxxxxxxx <mailto:wireshark-dev@xxxxxxxxxxxxx>>
    > Archives:    http://www.wireshark.org/lists/wireshark-dev
    > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
    >              mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <mailto:wireshark-dev-request@xxxxxxxxxxxxx>?subject=unsubscribe
    ___________________________________________________________________________
    Sent via:    Wireshark-dev mailing list
    <wireshark-dev@xxxxxxxxxxxxx <mailto:wireshark-dev@xxxxxxxxxxxxx>>
    Archives:    http://www.wireshark.org/lists/wireshark-dev
    Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
                mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <mailto:wireshark-dev-request@xxxxxxxxxxxxx>?subject=unsubscribe


------------------------------------------------------------------------

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