Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: Re: [Wireshark-users] How do you compile a new protocol intoWireshark

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Robert Trybis" <rt@xxxxxxxxxxxxx>
Date: Tue, 5 Dec 2006 09:37:12 -0000

I have recently managed to compile a dissector on XP so it does work.
As suggested below you should make posts of this kind to the developers
list (wireshark-dev@xxxxxxxxxxxxx), they are very helpful and got me
past my snags.

Please note you have to follow the complete process for building
Wireshark from source. You have not said if you have managed to build
Wireshark before trying to add your dissector.

Some things to watch for;

1. Tell the developer list what version of the Wireshark source you are
using. I built using 0_99_4 BUT some of the source files contained
non-unix line terminations and these did not work with the latest
version of "Bash" downloaded with cygwin. The solution I used was to get
an earlier version of Bash (the Cygwin download tool lets you do this).
However see post;
"Re: [Wireshark-dev]Cygwin Bash update breaks verify_tools"
As there may be a way round the problem using the current Bash.

2. Installing Cygwin does not seem to automatically setup the Path to
find all the files it needs. I clear out my Path to the minimum required
e.g.
	PATH=C:\windows\system32\;C:\cygwin\bin\;
	CALL "C:\Program Files\Microsoft Visual
Studio\VC98\Bin\VCVARS32.BAT"

Regards
RT
> -----Original Message-----
> From: wireshark-users-bounces@xxxxxxxxxxxxx [mailto:wireshark-users-
> bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
> Sent: 03 December 2006 20:19
> To: Community support list for Wireshark
> Subject: Re: [Wireshark-users] How do you compile a new protocol
> intoWireshark
> 
> On Sun, Dec 03, 2006 at 11:17:04AM -0600, ALEX BOYDSTON wrote:
> 
> > I have downloaded cygwin, gtk, glib and I'm still having difficulty
> > compiling my new protocol into Wireshark.  Can you please give me
> > updated detailed instructions on what is necessary to compile a new
> > dll plugin for WireShark for WindowsXP?
> 
> Have you reviewed doc/README.developer and the Wireshark Developer's
> guide at http://www.wireshark.org/docs/.  The normal compiler for
> Windows is Microsoft Visual C++ 6.0.  Finally, there is a mailing list
> for developers that you should join: wireshark-dev@xxxxxxxxxxxxxx
> 
> 
> Steve
> 
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users

  • References:
    • Re: [Wireshark-users] How do you compile a new protocol into Wireshark
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-users] Capturing SCSI packets
  • Next by Date: Re: [Wireshark-users] Capturing SCSI packets
  • Previous by thread: Re: [Wireshark-users] How do you compile a new protocol into Wireshark
  • Next by thread: [Wireshark-users] 802.11 capture crash
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation