Wireshark mailing list archives

Re: Dissector Portability


From: Chiru Reddy <chiru.0123456789 () gmail com>
Date: Thu, 18 Feb 2010 10:53:35 +0530

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 () darkcornersoftware com> 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 () darkcornersoftware com
<mailto:oleksab () darkcornersoftware com>> 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 () wireshark org <mailto: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
    <mailto:wireshark-dev-request () wireshark org>?subject=unsubscribe

___________________________________________________________________________
    Sent via:    Wireshark-dev mailing list
    <wireshark-dev () wireshark org <mailto: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
    <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
___________________________________________________________________________
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: