Wireshark开发者指南说明书用户手册.pdf
WiresharkDeveloper’sGuide
Version4.3.0
UlfLamping,GrahamBloice
Preface
Foreword
Thisbooktriestogiveyouaguidetostartyourownexperimentsintothewonderfulworldof
Wiresharkdevelopment.
DeveloperswhoarenewtoWiresharkoftenhaveahardtimegettingtheirdevelopment
environmentupandrunning.ThisisespeciallytrueforWindowsdevelopers,asalotofthetools
andmethodsusedwhenbuildingWiresharkaremuchmorecommonintheUNIXworldthanon
Windows.
Thefirstpartofthisbookwilldescribehowtosetuptheenvironmentneededtodevelop
Wireshark.
ThesecondpartofthisbookwilldescribehowtochangetheWiresharksourcecode.
Wehopethatyoufindthisbookuseful,andlookforwardtoyourcomments.
Whoshouldreadthisdocument?
TheintendedaudienceofthisbookisanyonegoingintothedevelopmentofWireshark.
ThisbookisnotintendedtoexplaintheusageofWiresharkingeneral.PleaserefertheWireshark
User’sGuideaboutWiresharkusage.
Byreadingthisbook,youwilllearnhowtodevelopWireshark.Itwillhopefullyguideyouaround
somecommonproblemsthatfrequentlyappearfornew(andsometimesevenadvanced)
developersofWireshark.
Acknowledgements
TheauthorswouldliketothankthewholeWiresharkteamfortheirassistance.Inparticular,the
authorswouldliketothank:
•GeraldCombs,forinitiatingtheWiresharkproject.
•GuyHarris,formanyhelpfulhintsandhiseffortinmaintainingthevariouscontributionson
themailinglists.
•FrankSingletonfromwhoseREADME.idl2wrsidl2wrs:CreatingdissectorsfromCORBAIDLfilesis
derived.
Theauthorswouldalsoliketothankthefollowingpeoplefortheirhelpfulfeedbackonthis
document: