wireshark.html 166 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="generator" content="Asciidoctor 2.0.17">
  8. <title>wireshark(1)</title>
  9. <link rel="stylesheet" href="./ws.css">
  10. </head>
  11. <body class="manpage">
  12. <div id="header">
  13. <h1>wireshark(1) Manual Page</h1>
  14. <h2 id="_name">NAME</h2>
  15. <div class="sectionbody">
  16. <p>wireshark - Interactively dump and analyze network traffic</p>
  17. </div>
  18. </div>
  19. <div id="content">
  20. <div class="sect1">
  21. <h2 id="_synopsis">SYNOPSIS</h2>
  22. <div class="sectionbody">
  23. <div class="paragraph">
  24. <p><span class="nowrap"><strong>wireshark</strong></span>
  25. <span class="nowrap">[ <strong>-i</strong> &lt;capture interface&gt;|- ]</span>
  26. <span class="nowrap">[ <strong>-f</strong> &lt;capture filter&gt; ]</span>
  27. <span class="nowrap">[ <strong>-Y</strong> &lt;display filter&gt; ]</span>
  28. <span class="nowrap">[ <strong>-w</strong> &lt;outfile&gt; ]</span>
  29. <span class="nowrap">[ <strong>options</strong> ]</span>
  30. <span class="nowrap">[ &lt;infile&gt; ]</span></p>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="sect1">
  35. <h2 id="_description">DESCRIPTION</h2>
  36. <div class="sectionbody">
  37. <div class="paragraph">
  38. <p><strong>Wireshark</strong> is a GUI network protocol analyzer. It lets you
  39. interactively browse packet data from a live network or from a
  40. previously saved capture file. <strong>Wireshark</strong>'s native capture file
  41. formats are <strong>pcapng</strong> format and <strong>pcap</strong> format; it can read and write
  42. both formats.. <strong>pcap</strong> format is also the format used by <strong>tcpdump</strong> and
  43. various other tools; <strong>tcpdump</strong>, when using newer verions of the
  44. <strong>libpcap</strong> library, can also read some pcapng files, and, on newer
  45. versions of macOS, can read all pcapng files and can write them as well.</p>
  46. </div>
  47. <div class="paragraph">
  48. <p><strong>Wireshark</strong> can also read / import the following file formats:</p>
  49. </div>
  50. <div class="ulist">
  51. <ul>
  52. <li>
  53. <p>Oracle (previously Sun) <strong>snoop</strong> and <strong>atmsnoop</strong> captures</p>
  54. </li>
  55. <li>
  56. <p>Finisar (previously Shomiti) <strong>Surveyor</strong> captures</p>
  57. </li>
  58. <li>
  59. <p>Microsoft <strong>Network Monitor</strong> captures</p>
  60. </li>
  61. <li>
  62. <p>Novell <strong>LANalyzer</strong> captures</p>
  63. </li>
  64. <li>
  65. <p>AIX&#8217;s <strong>iptrace</strong> captures</p>
  66. </li>
  67. <li>
  68. <p>Cinco Networks <strong>NetXRay</strong> captures</p>
  69. </li>
  70. <li>
  71. <p>NETSCOUT (previously Network Associates/Network General) Windows-based
  72. <strong>Sniffer</strong> captures</p>
  73. </li>
  74. <li>
  75. <p>Network General/Network Associates DOS-based <strong>Sniffer</strong> captures
  76. (compressed or uncompressed)</p>
  77. </li>
  78. <li>
  79. <p>LiveAction (previously WildPackets/Savvius) <strong>*Peek</strong>/<strong>EtherHelp</strong>/<strong>PacketGrabber</strong> captures</p>
  80. </li>
  81. <li>
  82. <p><strong>RADCOM</strong>'s WAN/LAN analyzer captures</p>
  83. </li>
  84. <li>
  85. <p>Viavi (previously Network Instruments) <strong>Observer</strong> captures</p>
  86. </li>
  87. <li>
  88. <p><strong>Lucent/Ascend</strong> router debug output</p>
  89. </li>
  90. <li>
  91. <p>captures from HP-UX <strong>nettl</strong></p>
  92. </li>
  93. <li>
  94. <p><strong>Toshiba&#8217;s</strong> ISDN routers dump output</p>
  95. </li>
  96. <li>
  97. <p>the output from <strong>i4btrace</strong> from the ISDN4BSD project</p>
  98. </li>
  99. <li>
  100. <p>traces from the <strong>EyeSDN</strong> USB S0</p>
  101. </li>
  102. <li>
  103. <p>the <strong>IPLog</strong> format output from the Cisco Secure Intrusion Detection System</p>
  104. </li>
  105. <li>
  106. <p><strong>pppd logs</strong> (pppdump format)</p>
  107. </li>
  108. <li>
  109. <p>the output from VMS&#8217;s <strong>TCPIPtrace</strong>/<strong>TCPtrace</strong>/<strong>UCX$TRACE</strong> utilities</p>
  110. </li>
  111. <li>
  112. <p>the text output from the <strong>DBS Etherwatch</strong> VMS utility</p>
  113. </li>
  114. <li>
  115. <p>Visual Networks' <strong>Visual UpTime</strong> traffic capture</p>
  116. </li>
  117. <li>
  118. <p>the output from <strong>CoSine</strong> L2 debug</p>
  119. </li>
  120. <li>
  121. <p>the output from InfoVista (previously Accellent) <strong>5View</strong> LAN agents</p>
  122. </li>
  123. <li>
  124. <p>Endace Measurement Systems' ERF format captures</p>
  125. </li>
  126. <li>
  127. <p>Linux Bluez Bluetooth stack <strong>hcidump -w</strong> traces</p>
  128. </li>
  129. <li>
  130. <p>Catapult DCT2000 .out files</p>
  131. </li>
  132. <li>
  133. <p>Gammu generated text output from Nokia DCT3 phones in Netmonitor mode</p>
  134. </li>
  135. <li>
  136. <p>IBM Series (OS/400) Comm traces (ASCII &amp; UNICODE)</p>
  137. </li>
  138. <li>
  139. <p>Juniper Netscreen snoop files</p>
  140. </li>
  141. <li>
  142. <p>Symbian OS btsnoop files</p>
  143. </li>
  144. <li>
  145. <p>TamoSoft CommView files</p>
  146. </li>
  147. <li>
  148. <p>Tektronix K12xx 32bit .rf5 format files</p>
  149. </li>
  150. <li>
  151. <p>Tektronix K12 text file format captures</p>
  152. </li>
  153. <li>
  154. <p>Apple PacketLogger files</p>
  155. </li>
  156. <li>
  157. <p>Captures from Aethra Telecommunications' PC108 software for their test
  158. instruments</p>
  159. </li>
  160. <li>
  161. <p>Citrix NetScaler Trace files</p>
  162. </li>
  163. <li>
  164. <p>Android Logcat binary and text format logs</p>
  165. </li>
  166. <li>
  167. <p>Colasoft Capsa and PacketBuilder captures</p>
  168. </li>
  169. <li>
  170. <p>Micropross mplog files</p>
  171. </li>
  172. <li>
  173. <p>Unigraf DPA-400 DisplayPort AUX channel monitor traces</p>
  174. </li>
  175. <li>
  176. <p>802.15.4 traces from Daintree&#8217;s Sensor Network Analyzer</p>
  177. </li>
  178. <li>
  179. <p>MPEG-2 Transport Streams as defined in ISO/IEC 13818-1</p>
  180. </li>
  181. <li>
  182. <p>Log files from the <em>candump</em> utility</p>
  183. </li>
  184. <li>
  185. <p>Logs from the BUSMASTER tool</p>
  186. </li>
  187. <li>
  188. <p>Ixia IxVeriWave raw captures</p>
  189. </li>
  190. <li>
  191. <p>Rabbit Labs CAM Inspector files</p>
  192. </li>
  193. <li>
  194. <p><em>systemd</em> journal files</p>
  195. </li>
  196. <li>
  197. <p>3GPP TS 32.423 trace files</p>
  198. </li>
  199. </ul>
  200. </div>
  201. <div class="paragraph">
  202. <p>There is no need to tell <strong>Wireshark</strong> what type of
  203. file you are reading; it will determine the file type by itself.
  204. <strong>Wireshark</strong> is also capable of reading any of these file formats if they
  205. are compressed using gzip. <strong>Wireshark</strong> recognizes this directly from
  206. the file; the '.gz' extension is not required for this purpose.</p>
  207. </div>
  208. <div class="paragraph">
  209. <p>Like other protocol analyzers, <strong>Wireshark</strong>'s main window shows 3 views
  210. of a packet. It shows a summary line, briefly describing what the
  211. packet is. A packet details display is shown, allowing you to drill
  212. down to exact protocol or field that you interested in. Finally, a hex
  213. dump shows you exactly what the packet looks like when it goes over the
  214. wire.</p>
  215. </div>
  216. <div class="paragraph">
  217. <p>In addition, <strong>Wireshark</strong> has some features that make it unique. It can
  218. assemble all the packets in a TCP conversation and show you the ASCII
  219. (or EBCDIC, or hex) data in that conversation. Display filters in
  220. <strong>Wireshark</strong> are very powerful; more fields are filterable in <strong>Wireshark</strong>
  221. than in other protocol analyzers, and the syntax you can use to create
  222. your filters is richer. As <strong>Wireshark</strong> progresses, expect more and more
  223. protocol fields to be allowed in display filters.</p>
  224. </div>
  225. <div class="paragraph">
  226. <p>Packet capturing is performed with the pcap library. The capture filter
  227. syntax follows the rules of the pcap library. This syntax is different
  228. from the display filter syntax.</p>
  229. </div>
  230. <div class="paragraph">
  231. <p>Compressed file support uses (and therefore requires) the zlib library.
  232. If the zlib library is not present, <strong>Wireshark</strong> will compile, but will
  233. be unable to read compressed files.</p>
  234. </div>
  235. <div class="paragraph">
  236. <p>The pathname of a capture file to be read can be specified with the
  237. <strong>-r</strong> option or can be specified as a command-line argument.</p>
  238. </div>
  239. </div>
  240. </div>
  241. <div class="sect1">
  242. <h2 id="_options">OPTIONS</h2>
  243. <div class="sectionbody">
  244. <div class="paragraph">
  245. <p>Most users will want to start <strong>Wireshark</strong> without options and configure
  246. it from the menus instead. Those users may just skip this section.</p>
  247. </div>
  248. <div class="dlist">
  249. <dl>
  250. <dt class="hdlist1">-a|--autostop &lt;capture autostop condition&gt;</dt>
  251. <dd>
  252. <div class="openblock">
  253. <div class="content">
  254. <div class="paragraph">
  255. <p>Specify a criterion that specifies when <strong>Wireshark</strong> is to stop writing
  256. to a capture file. The criterion is of the form <em>test:value</em>,
  257. where <em>test</em> is one of:</p>
  258. </div>
  259. <div class="paragraph">
  260. <p><strong>duration</strong>:<em>value</em> Stop writing to a capture file after <em>value</em> seconds have
  261. elapsed. Floating point values (e.g. 0.5) are allowed.</p>
  262. </div>
  263. <div class="paragraph">
  264. <p><strong>files</strong>:<em>value</em> Stop writing to capture files after <em>value</em> number of files
  265. were written.</p>
  266. </div>
  267. <div class="paragraph">
  268. <p><strong>filesize</strong>:<em>value</em> Stop writing to a capture file after it reaches a size of
  269. <em>value</em> kB. If this option is used together with the -b option, Wireshark
  270. will stop writing to the current capture file and switch to the next one if
  271. filesize is reached. Note that the filesize is limited to a maximum value of
  272. 2 GiB.</p>
  273. </div>
  274. <div class="paragraph">
  275. <p><strong>packets</strong>:<em>value</em> Stop writing to a capture file after it contains <em>value</em>
  276. packets. Acts the same as <strong>-c</strong>&lt;capture packet count&gt;.</p>
  277. </div>
  278. </div>
  279. </div>
  280. </dd>
  281. <dt class="hdlist1">-b|--ring-buffer &lt;capture ring buffer option&gt;</dt>
  282. <dd>
  283. <div class="openblock">
  284. <div class="content">
  285. <div class="paragraph">
  286. <p>Cause <strong>Wireshark</strong> to run in "multiple files" mode. In "multiple files" mode,
  287. <strong>Wireshark</strong> will write to several capture files. When the first capture file
  288. fills up, <strong>Wireshark</strong> will switch writing to the next file and so on.</p>
  289. </div>
  290. <div class="paragraph">
  291. <p>The created filenames are based on the filename given with the <strong>-w</strong> flag,
  292. the number of the file and on the creation date and time,
  293. e.g. outfile_00001_20230714120117.pcap, outfile_00002_20230714120523.pcap, &#8230;&#8203;</p>
  294. </div>
  295. <div class="paragraph">
  296. <p>With the <em>files</em> option it&#8217;s also possible to form a "ring buffer".
  297. This will fill up new files until the number of files specified,
  298. at which point <strong>Wireshark</strong> will discard the data in the first file and start
  299. writing to that file and so on. If the <em>files</em> option is not set,
  300. new files filled up until one of the capture stop conditions match (or
  301. until the disk is full).</p>
  302. </div>
  303. <div class="paragraph">
  304. <p>The criterion is of the form <em>key:value</em>,
  305. where <em>key</em> is one of:</p>
  306. </div>
  307. <div class="paragraph">
  308. <p><strong>duration</strong>:<em>value</em> switch to the next file after <em>value</em> seconds have
  309. elapsed, even if the current file is not completely filled up. Floating
  310. point values (e.g. 0.5) are allowed.</p>
  311. </div>
  312. <div class="paragraph">
  313. <p><strong>files</strong>:<em>value</em> begin again with the first file after <em>value</em> number of
  314. files were written (form a ring buffer). This value must be less than 100000.
  315. Caution should be used when using large numbers of files: some filesystems do
  316. not handle many files in a single directory well. The <strong>files</strong> criterion
  317. requires one of the other criteria to be specified to
  318. control when to go to the next file. It should be noted that each <strong>-b</strong>
  319. parameter takes exactly one criterion; to specify two criteria, each must be
  320. preceded by the <strong>-b</strong> option.</p>
  321. </div>
  322. <div class="paragraph">
  323. <p><strong>filesize</strong>:<em>value</em> switch to the next file after it reaches a size of
  324. <em>value</em> kB. Note that the filesize is limited to a maximum value of 2 GiB.</p>
  325. </div>
  326. <div class="paragraph">
  327. <p><strong>interval</strong>:<em>value</em> switch to the next file when the time is an exact
  328. multiple of <em>value</em> seconds.</p>
  329. </div>
  330. <div class="paragraph">
  331. <p><strong>packets</strong>:<em>value</em> switch to the next file after it contains <em>value</em>
  332. packets.</p>
  333. </div>
  334. <div class="paragraph">
  335. <p>Example: <strong>-b filesize:1000 -b files:5</strong> results in a ring buffer of five files
  336. of size one megabyte each.</p>
  337. </div>
  338. </div>
  339. </div>
  340. </dd>
  341. <dt class="hdlist1">-B|--buffer-size &lt;capture buffer size&gt;</dt>
  342. <dd>
  343. <div class="openblock">
  344. <div class="content">
  345. <div class="paragraph">
  346. <p>Set capture buffer size (in MiB, default is 2 MiB). This is used by
  347. the capture driver to buffer packet data until that data can be written
  348. to disk. If you encounter packet drops while capturing, try to increase
  349. this size. Note that, while <strong>Wireshark</strong> attempts to set the buffer size
  350. to 2 MiB by default, and can be told to set it to a larger value, the
  351. system or interface on which you&#8217;re capturing might silently limit the
  352. capture buffer size to a lower value or raise it to a higher value.</p>
  353. </div>
  354. <div class="paragraph">
  355. <p>This is available on UNIX systems with libpcap 1.0.0 or later and on
  356. Windows. It is not available on UNIX systems with earlier versions of
  357. libpcap.</p>
  358. </div>
  359. <div class="paragraph">
  360. <p>This option can occur multiple times. If used before the first
  361. occurrence of the <strong>-i</strong> option, it sets the default capture buffer size.
  362. If used after an <strong>-i</strong> option, it sets the capture buffer size for
  363. the interface specified by the last <strong>-i</strong> option occurring before
  364. this option. If the capture buffer size is not set specifically,
  365. the default capture buffer size is used instead.</p>
  366. </div>
  367. </div>
  368. </div>
  369. </dd>
  370. <dt class="hdlist1">-c &lt;capture packet count&gt;</dt>
  371. <dd>
  372. <div class="openblock">
  373. <div class="content">
  374. <div class="paragraph">
  375. <p>Set the maximum number of packets to read when capturing live
  376. data. Acts the same as <strong>-a packets:</strong>&lt;capture packet count&gt;.</p>
  377. </div>
  378. </div>
  379. </div>
  380. </dd>
  381. <dt class="hdlist1">-C &lt;configuration profile&gt;</dt>
  382. <dd>
  383. <div class="openblock">
  384. <div class="content">
  385. <div class="paragraph">
  386. <p>Start with the given configuration profile.</p>
  387. </div>
  388. </div>
  389. </div>
  390. </dd>
  391. <dt class="hdlist1">--capture-comment &lt;comment&gt;</dt>
  392. <dd>
  393. <div class="openblock">
  394. <div class="content">
  395. <div class="paragraph">
  396. <p>When performing a capture file from the command line, with the <strong>-k</strong>
  397. flag, add a capture comment to the output file, if supported by the
  398. capture format.</p>
  399. </div>
  400. <div class="paragraph">
  401. <p>This option may be specified multiple times. Note that Wireshark
  402. currently only displays the first comment of a capture file.</p>
  403. </div>
  404. </div>
  405. </div>
  406. </dd>
  407. <dt class="hdlist1">-d &lt;layer type&gt;==&lt;selector&gt;,&lt;decode-as protocol&gt;</dt>
  408. <dd>
  409. <div class="openblock">
  410. <div class="content">
  411. <div class="paragraph">
  412. <p>Like Wireshark&#8217;s <strong>Decode As&#8230;&#8203;</strong> feature, this lets you specify how a
  413. layer type should be dissected. If the layer type in question (for example,
  414. <strong>tcp.port</strong> or <strong>udp.port</strong> for a TCP or UDP port number) has the specified
  415. selector value, packets should be dissected as the specified protocol.</p>
  416. </div>
  417. <div class="paragraph">
  418. <p>Example: <strong>-d tcp.port==8888,http</strong> will decode any traffic running over
  419. TCP port 8888 as HTTP.</p>
  420. </div>
  421. <div class="paragraph">
  422. <p>See the <a href="tshark.html">tshark</a>(1) manual page for more examples.</p>
  423. </div>
  424. </div>
  425. </div>
  426. </dd>
  427. <dt class="hdlist1">-D|--list-interfaces</dt>
  428. <dd>
  429. <div class="openblock">
  430. <div class="content">
  431. <div class="paragraph">
  432. <p>Print a list of the interfaces on which <strong>Wireshark</strong> can capture, and
  433. exit. For each network interface, a number and an
  434. interface name, possibly followed by a text description of the
  435. interface, is printed. The interface name or the number can be supplied
  436. to the <strong>-i</strong> flag to specify an interface on which to capture.</p>
  437. </div>
  438. <div class="paragraph">
  439. <p>This can be useful on systems that don&#8217;t have a command to list them
  440. (UNIX systems lacking <strong>ifconfig -a</strong> or Linux systems lacking
  441. <strong>ip link show</strong>). The number can be useful on Windows systems, where
  442. the interface name might be a long name or a GUID.</p>
  443. </div>
  444. <div class="paragraph">
  445. <p>Note that "can capture" means that <strong>Wireshark</strong> was able to open
  446. that device to do a live capture; if, on your system, a program doing a
  447. network capture must be run from an account with special privileges (for
  448. example, as root), then, if <strong>Wireshark</strong> is run with the <strong>-D</strong> flag and
  449. is not run from such an account, it will not list any interfaces.</p>
  450. </div>
  451. </div>
  452. </div>
  453. </dd>
  454. <dt class="hdlist1">--display &lt;X display to use&gt;</dt>
  455. <dd>
  456. <div class="openblock">
  457. <div class="content">
  458. <div class="paragraph">
  459. <p>Specifies the X display to use. A hostname and screen (otherhost:0.0)
  460. or just a screen (:0.0) can be specified. This option is not available
  461. under Windows.</p>
  462. </div>
  463. </div>
  464. </div>
  465. </dd>
  466. <dt class="hdlist1">--disable-protocol &lt;proto_name&gt;</dt>
  467. <dd>
  468. <div class="openblock">
  469. <div class="content">
  470. <div class="paragraph">
  471. <p>Disable dissection of proto_name.</p>
  472. </div>
  473. </div>
  474. </div>
  475. </dd>
  476. <dt class="hdlist1">--disable-heuristic &lt;short_name&gt;</dt>
  477. <dd>
  478. <div class="openblock">
  479. <div class="content">
  480. <div class="paragraph">
  481. <p>Disable dissection of heuristic protocol.</p>
  482. </div>
  483. </div>
  484. </div>
  485. </dd>
  486. <dt class="hdlist1">--enable-protocol &lt;proto_name&gt;</dt>
  487. <dd>
  488. <div class="openblock">
  489. <div class="content">
  490. <div class="paragraph">
  491. <p>Enable dissection of proto_name.</p>
  492. </div>
  493. </div>
  494. </div>
  495. </dd>
  496. <dt class="hdlist1">--enable-heuristic &lt;short_name&gt;</dt>
  497. <dd>
  498. <div class="openblock">
  499. <div class="content">
  500. <div class="paragraph">
  501. <p>Enable dissection of heuristic protocol.</p>
  502. </div>
  503. </div>
  504. </div>
  505. </dd>
  506. <dt class="hdlist1">-f &lt;capture filter&gt;</dt>
  507. <dd>
  508. <div class="openblock">
  509. <div class="content">
  510. <div class="paragraph">
  511. <p>Set the capture filter expression.</p>
  512. </div>
  513. <div class="paragraph">
  514. <p>This option can occur multiple times. If used before the first
  515. occurrence of the <strong>-i</strong> option, it sets the default capture filter expression.
  516. If used after an <strong>-i</strong> option, it sets the capture filter expression for
  517. the interface specified by the last <strong>-i</strong> option occurring before
  518. this option. If the capture filter expression is not set specifically,
  519. the default capture filter expression is used if provided.</p>
  520. </div>
  521. <div class="paragraph">
  522. <p>Pre-defined capture filter names, as shown in the GUI menu item Capture&#8594;Capture Filters,
  523. can be used by prefixing the argument with "predef:".
  524. Example: <strong>-f "predef:MyPredefinedHostOnlyFilter"</strong></p>
  525. </div>
  526. </div>
  527. </div>
  528. </dd>
  529. <dt class="hdlist1">--fullscreen</dt>
  530. <dd>
  531. <div class="openblock">
  532. <div class="content">
  533. <div class="paragraph">
  534. <p>Start Wireshark in full screen mode (kiosk mode). To exit from fullscreen mode,
  535. open the View menu and select the Full Screen option. Alternatively, press the
  536. F11 key (or Ctrl + Cmd + F for macOS).</p>
  537. </div>
  538. </div>
  539. </div>
  540. </dd>
  541. <dt class="hdlist1">-g &lt;packet number&gt;</dt>
  542. <dd>
  543. <div class="openblock">
  544. <div class="content">
  545. <div class="paragraph">
  546. <p>After reading in a capture file using the <strong>-r</strong> flag, go to the given <em>packet number</em>.</p>
  547. </div>
  548. </div>
  549. </div>
  550. </dd>
  551. <dt class="hdlist1">-h|--help</dt>
  552. <dd>
  553. <div class="openblock">
  554. <div class="content">
  555. <div class="paragraph">
  556. <p>Print the version number and options and exit.</p>
  557. </div>
  558. </div>
  559. </div>
  560. </dd>
  561. <dt class="hdlist1">-H</dt>
  562. <dd>
  563. <div class="openblock">
  564. <div class="content">
  565. <div class="paragraph">
  566. <p>Hide the capture info dialog during live packet capture.</p>
  567. </div>
  568. </div>
  569. </div>
  570. </dd>
  571. <dt class="hdlist1">-i|--interface &lt;capture interface&gt;|-</dt>
  572. <dd>
  573. <div class="openblock">
  574. <div class="content">
  575. <div class="paragraph">
  576. <p>Set the name of the network interface or pipe to use for live packet
  577. capture.</p>
  578. </div>
  579. <div class="paragraph">
  580. <p>Network interface names should match one of the names listed in
  581. "<strong>wireshark -D</strong>" (described above); a number, as reported by
  582. "<strong>wireshark -D</strong>", can also be used. If you&#8217;re using UNIX, "<strong>netstat
  583. -i</strong>", "<strong>ifconfig -a</strong>" or "<strong>ip link</strong>" might also work to list interface names,
  584. although not all versions of UNIX support the <strong>-a</strong> option to <strong>ifconfig</strong>.</p>
  585. </div>
  586. <div class="paragraph">
  587. <p>If no interface is specified, <strong>Wireshark</strong> searches the list of
  588. interfaces, choosing the first non-loopback interface if there are any
  589. non-loopback interfaces, and choosing the first loopback interface if
  590. there are no non-loopback interfaces. If there are no interfaces at all,
  591. <strong>Wireshark</strong> reports an error and doesn&#8217;t start the capture.</p>
  592. </div>
  593. <div class="paragraph">
  594. <p>Pipe names should be either the name of a FIFO (named pipe) or "-" to
  595. read data from the standard input. On Windows systems, pipe names must be
  596. of the form "\\.\pipe\<strong>pipename</strong>". Data read from pipes must be in
  597. standard pcapng or pcap format. Pcapng data must have the same
  598. endianness as the capturing host.</p>
  599. </div>
  600. <div class="paragraph">
  601. <p>"TCP@&lt;host&gt;:&lt;port&gt;" causes <strong>Wireshark</strong> to attempt to connect to the
  602. specified port on the specified host and read pcapng or pcap data.</p>
  603. </div>
  604. <div class="paragraph">
  605. <p>This option can occur multiple times. When capturing from multiple
  606. interfaces, the capture file will be saved in pcapng format.</p>
  607. </div>
  608. </div>
  609. </div>
  610. </dd>
  611. <dt class="hdlist1">-I|--monitor-mode</dt>
  612. <dd>
  613. <div class="openblock">
  614. <div class="content">
  615. <div class="paragraph">
  616. <p>Put the interface in "monitor mode"; this is supported only on IEEE
  617. 802.11 Wi-Fi interfaces, and supported only on some operating systems.</p>
  618. </div>
  619. <div class="paragraph">
  620. <p>Note that in monitor mode the adapter might disassociate from the
  621. network with which it&#8217;s associated, so that you will not be able to use
  622. any wireless networks with that adapter. This could prevent accessing
  623. files on a network server, or resolving host names or network addresses,
  624. if you are capturing in monitor mode and are not connected to another
  625. network with another adapter.</p>
  626. </div>
  627. <div class="paragraph">
  628. <p>This option can occur multiple times. If used before the first
  629. occurrence of the <strong>-i</strong> option, it enables the monitor mode for all interfaces.
  630. If used after an <strong>-i</strong> option, it enables the monitor mode for
  631. the interface specified by the last <strong>-i</strong> option occurring before
  632. this option.</p>
  633. </div>
  634. </div>
  635. </div>
  636. </dd>
  637. <dt class="hdlist1">-j</dt>
  638. <dd>
  639. <div class="openblock">
  640. <div class="content">
  641. <div class="paragraph">
  642. <p>Use after <strong>-J</strong> to change the behavior when no exact match is found for
  643. the filter. With this option select the first packet before.</p>
  644. </div>
  645. </div>
  646. </div>
  647. </dd>
  648. <dt class="hdlist1">-J &lt;jump filter&gt;</dt>
  649. <dd>
  650. <div class="openblock">
  651. <div class="content">
  652. <div class="paragraph">
  653. <p>After reading in a capture file using the <strong>-r</strong> flag, jump to the packet
  654. matching the filter (display filter syntax). If no exact match is found
  655. the first packet after that is selected.</p>
  656. </div>
  657. </div>
  658. </div>
  659. </dd>
  660. <dt class="hdlist1">-k</dt>
  661. <dd>
  662. <div class="openblock">
  663. <div class="content">
  664. <div class="paragraph">
  665. <p>Start the capture session immediately. If the <strong>-i</strong> flag was
  666. specified, the capture uses the specified interface. Otherwise,
  667. <strong>Wireshark</strong> searches the list of interfaces, choosing the first
  668. non-loopback interface if there are any non-loopback interfaces, and
  669. choosing the first loopback interface if there are no non-loopback
  670. interfaces; if there are no interfaces, <strong>Wireshark</strong> reports an error and
  671. doesn&#8217;t start the capture.</p>
  672. </div>
  673. </div>
  674. </div>
  675. </dd>
  676. <dt class="hdlist1">-K &lt;keytab&gt;</dt>
  677. <dd>
  678. <div class="openblock">
  679. <div class="content">
  680. <div class="paragraph">
  681. <p>Load kerberos crypto keys from the specified keytab file.
  682. This option can be used multiple times to load keys from several files.</p>
  683. </div>
  684. <div class="paragraph">
  685. <p>Example: <strong>-K krb5.keytab</strong></p>
  686. </div>
  687. </div>
  688. </div>
  689. </dd>
  690. <dt class="hdlist1">-l</dt>
  691. <dd>
  692. <div class="openblock">
  693. <div class="content">
  694. <div class="paragraph">
  695. <p>Turn on automatic scrolling if the packet display is being updated
  696. automatically as packets arrive during a capture (as specified by the
  697. <strong>-S</strong> flag).</p>
  698. </div>
  699. </div>
  700. </div>
  701. </dd>
  702. <dt class="hdlist1">-L|--list-data-link-types</dt>
  703. <dd>
  704. <div class="openblock">
  705. <div class="content">
  706. <div class="paragraph">
  707. <p>List the data link types supported by the interface and exit.</p>
  708. </div>
  709. </div>
  710. </div>
  711. </dd>
  712. <dt class="hdlist1">--list-time-stamp-types</dt>
  713. <dd>
  714. <div class="openblock">
  715. <div class="content">
  716. <div class="paragraph">
  717. <p>List time stamp types supported for the interface. If no time stamp type can be
  718. set, no time stamp types are listed.</p>
  719. </div>
  720. </div>
  721. </div>
  722. </dd>
  723. <dt class="hdlist1">-n</dt>
  724. <dd>
  725. <div class="openblock">
  726. <div class="content">
  727. <div class="paragraph">
  728. <p>Disable network object name resolution (such as hostname, TCP and UDP port
  729. names), the <strong>-N</strong> flag might override this one.</p>
  730. </div>
  731. </div>
  732. </div>
  733. </dd>
  734. <dt class="hdlist1">-N &lt;name resolving flags&gt;</dt>
  735. <dd>
  736. <div class="openblock">
  737. <div class="content">
  738. <div class="paragraph">
  739. <p>Turn on name resolving only for particular types of addresses and port
  740. numbers, with name resolving for other types of addresses and port
  741. numbers turned off. This flag overrides <strong>-n</strong> if both <strong>-N</strong> and <strong>-n</strong> are
  742. present. If both <strong>-N</strong> and <strong>-n</strong> flags are not present, all name resolutions
  743. are turned on.</p>
  744. </div>
  745. <div class="paragraph">
  746. <p>The argument is a string that may contain the letters:</p>
  747. </div>
  748. <div class="paragraph">
  749. <p><strong>m</strong> to enable MAC address resolution</p>
  750. </div>
  751. <div class="paragraph">
  752. <p><strong>n</strong> to enable network address resolution</p>
  753. </div>
  754. <div class="paragraph">
  755. <p><strong>N</strong> to enable using external resolvers (e.g., DNS) for network address
  756. resolution</p>
  757. </div>
  758. <div class="paragraph">
  759. <p><strong>t</strong> to enable transport-layer port number resolution</p>
  760. </div>
  761. <div class="paragraph">
  762. <p><strong>d</strong> to enable resolution from captured DNS packets</p>
  763. </div>
  764. <div class="paragraph">
  765. <p><strong>v</strong> to enable VLAN IDs to names resolution</p>
  766. </div>
  767. </div>
  768. </div>
  769. </dd>
  770. <dt class="hdlist1">-o &lt;preference/recent setting&gt;</dt>
  771. <dd>
  772. <div class="openblock">
  773. <div class="content">
  774. <div class="paragraph">
  775. <p>Set a preference or recent value, overriding the default value and any value
  776. read from a preference/recent file. The argument to the flag is a string of
  777. the form <em>prefname:value</em>, where <em>prefname</em> is the name of the
  778. preference/recent value (which is the same name that would appear in the
  779. preference/recent file), and <em>value</em> is the value to which it should be set.
  780. Since <strong>Ethereal</strong> 0.10.12, the recent settings replaces the formerly used
  781. -B, -P and -T flags to manipulate the GUI dimensions.</p>
  782. </div>
  783. <div class="paragraph">
  784. <p>If <em>prefname</em> is "uat", you can override settings in various user access
  785. tables using the form "uat:<em>uat filename</em>:<em>uat record</em>". <em>uat filename</em>
  786. must be the name of a UAT file, e.g. <em>user_dlts</em>. <em>uat_record</em> must be in
  787. the form of a valid record for that file, including quotes. For instance, to
  788. specify a user DLT from the command line, you would use</p>
  789. </div>
  790. <div class="literalblock">
  791. <div class="content">
  792. <pre>-o "uat:user_dlts:\"User 0 (DLT=147)\",\"cops\",\"0\",\"\",\"0\",\"\""</pre>
  793. </div>
  794. </div>
  795. </div>
  796. </div>
  797. </dd>
  798. <dt class="hdlist1">-p|--no-promiscuous-mode</dt>
  799. <dd>
  800. <div class="openblock">
  801. <div class="content">
  802. <div class="paragraph">
  803. <p><em>Don&#8217;t</em> put the interface into promiscuous mode. Note that the
  804. interface might be in promiscuous mode for some other reason; hence,
  805. <strong>-p</strong> cannot be used to ensure that the only traffic that is captured is
  806. traffic sent to or from the machine on which <strong>Wireshark</strong> is running,
  807. broadcast traffic, and multicast traffic to addresses received by that
  808. machine.</p>
  809. </div>
  810. <div class="paragraph">
  811. <p>This option can occur multiple times. If used before the first
  812. occurrence of the <strong>-i</strong> option, no interface will be put into the
  813. promiscuous mode.
  814. If used after an <strong>-i</strong> option, the interface specified by the last <strong>-i</strong>
  815. option occurring before this option will not be put into the
  816. promiscuous mode.</p>
  817. </div>
  818. </div>
  819. </div>
  820. </dd>
  821. <dt class="hdlist1">-P &lt;path setting&gt;</dt>
  822. <dd>
  823. <div class="openblock">
  824. <div class="content">
  825. <div class="paragraph">
  826. <p>Special path settings usually detected automatically. This is used for
  827. special cases, e.g. starting Wireshark from a known location on an USB stick.</p>
  828. </div>
  829. <div class="paragraph">
  830. <p>The criterion is of the form <em>key:path</em>, where <em>key</em> is one of:</p>
  831. </div>
  832. <div class="paragraph">
  833. <p><strong>persconf</strong>:<em>path</em> path of personal configuration files, like the
  834. preferences files.</p>
  835. </div>
  836. <div class="paragraph">
  837. <p><strong>persdata</strong>:<em>path</em> path of personal data files, it&#8217;s the folder initially
  838. opened. After the very first initialization, the recent file will keep the
  839. folder last used.</p>
  840. </div>
  841. </div>
  842. </div>
  843. </dd>
  844. <dt class="hdlist1">-r|--read-file &lt;infile&gt;</dt>
  845. <dd>
  846. <div class="openblock">
  847. <div class="content">
  848. <div class="paragraph">
  849. <p>Read packet data from <em>infile</em>, can be any supported capture file format
  850. (including gzipped files). It&#8217;s not possible to use named pipes or stdin
  851. here! To capture from a pipe or from stdin use <strong>-i -</strong></p>
  852. </div>
  853. </div>
  854. </div>
  855. </dd>
  856. <dt class="hdlist1">-R|--read-filter &lt;read (display) filter&gt;</dt>
  857. <dd>
  858. <div class="openblock">
  859. <div class="content">
  860. <div class="paragraph">
  861. <p>When reading a capture file specified with the <strong>-r</strong> flag, causes the
  862. specified filter (which uses the syntax of display filters, rather than
  863. that of capture filters) to be applied to all packets read from the
  864. capture file; packets not matching the filter are discarded.</p>
  865. </div>
  866. </div>
  867. </div>
  868. </dd>
  869. <dt class="hdlist1">-s|--snapshot-length &lt;capture snaplen&gt;</dt>
  870. <dd>
  871. <div class="openblock">
  872. <div class="content">
  873. <div class="paragraph">
  874. <p>Set the default snapshot length to use when capturing live data.
  875. No more than <em>snaplen</em> bytes of each network packet will be read into
  876. memory, or saved to disk. A value of 0 specifies a snapshot length of
  877. 262144, so that the full packet is captured; this is the default.</p>
  878. </div>
  879. <div class="paragraph">
  880. <p>This option can occur multiple times. If used before the first
  881. occurrence of the <strong>-i</strong> option, it sets the default snapshot length.
  882. If used after an <strong>-i</strong> option, it sets the snapshot length for
  883. the interface specified by the last <strong>-i</strong> option occurring before
  884. this option. If the snapshot length is not set specifically,
  885. the default snapshot length is used if provided.</p>
  886. </div>
  887. </div>
  888. </div>
  889. </dd>
  890. <dt class="hdlist1">-S</dt>
  891. <dd>
  892. <div class="openblock">
  893. <div class="content">
  894. <div class="paragraph">
  895. <p>Automatically update the packet display as packets are coming in.</p>
  896. </div>
  897. </div>
  898. </div>
  899. </dd>
  900. <dt class="hdlist1">-t a|ad|adoy|d|dd|e|r|u|ud|udoy</dt>
  901. <dd>
  902. <div class="openblock">
  903. <div class="content">
  904. <div class="paragraph">
  905. <p>Set the format of the packet timestamp displayed in the packet list
  906. window. The format can be one of:</p>
  907. </div>
  908. <div class="paragraph">
  909. <p><strong>a</strong> absolute: The absolute time, as local time in your time zone,
  910. is the actual time the packet was captured, with no date displayed</p>
  911. </div>
  912. <div class="paragraph">
  913. <p><strong>ad</strong> absolute with date: The absolute date, displayed as YYYY-MM-DD,
  914. and time, as local time in your time zone, is the actual time and date
  915. the packet was captured</p>
  916. </div>
  917. <div class="paragraph">
  918. <p><strong>adoy</strong> absolute with date using day of year: The absolute date,
  919. displayed as YYYY/DOY, and time, as local time in your time zone,
  920. is the actual time and date the packet was captured</p>
  921. </div>
  922. <div class="paragraph">
  923. <p><strong>d</strong> delta: The delta time is the time since the previous packet was
  924. captured</p>
  925. </div>
  926. <div class="paragraph">
  927. <p><strong>dd</strong> delta_displayed: The delta_displayed time is the time since the
  928. previous displayed packet was captured</p>
  929. </div>
  930. <div class="paragraph">
  931. <p><strong>e</strong> epoch: The time in seconds since epoch (Jan 1, 1970 00:00:00)</p>
  932. </div>
  933. <div class="paragraph">
  934. <p><strong>r</strong> relative: The relative time is the time elapsed between the first packet
  935. and the current packet</p>
  936. </div>
  937. <div class="paragraph">
  938. <p><strong>u</strong> UTC: The absolute time, as UTC, is the actual time the packet was
  939. captured, with no date displayed</p>
  940. </div>
  941. <div class="paragraph">
  942. <p><strong>ud</strong> UTC with date: The absolute date, displayed as YYYY-MM-DD,
  943. and time, as UTC, is the actual time and date the packet was captured</p>
  944. </div>
  945. <div class="paragraph">
  946. <p><strong>udoy</strong> UTC with date using day of year: The absolute date, displayed
  947. as YYYY/DOY, and time, as UTC, is the actual time and date the packet
  948. was captured</p>
  949. </div>
  950. <div class="paragraph">
  951. <p>The default format is relative.</p>
  952. </div>
  953. </div>
  954. </div>
  955. </dd>
  956. <dt class="hdlist1">--temp-dir &lt;directory&gt;</dt>
  957. <dd>
  958. <div class="openblock">
  959. <div class="content">
  960. <div class="paragraph">
  961. <p>Specifies the directory into which temporary files (including capture files)
  962. are to be written. The default behaviour is to use your system&#8217;s temporary
  963. directory (typically <em>/tmp</em> on Linux, and <em>C:\\Temp</em> on Windows).</p>
  964. </div>
  965. </div>
  966. </div>
  967. </dd>
  968. <dt class="hdlist1">--time-stamp-type &lt;type&gt;</dt>
  969. <dd>
  970. <div class="openblock">
  971. <div class="content">
  972. <div class="paragraph">
  973. <p>Change the interface&#8217;s timestamp method. See --list-time-stamp-types.</p>
  974. </div>
  975. </div>
  976. </div>
  977. </dd>
  978. <dt class="hdlist1">-u &lt;s|hms&gt;</dt>
  979. <dd>
  980. <div class="openblock">
  981. <div class="content">
  982. <div class="paragraph">
  983. <p>Output format of seconds (def: s: seconds)</p>
  984. </div>
  985. </div>
  986. </div>
  987. </dd>
  988. <dt class="hdlist1">-v|--version</dt>
  989. <dd>
  990. <div class="openblock">
  991. <div class="content">
  992. <div class="paragraph">
  993. <p>Print the full version information and exit.</p>
  994. </div>
  995. </div>
  996. </div>
  997. </dd>
  998. <dt class="hdlist1">-w &lt;outfile&gt;</dt>
  999. <dd>
  1000. <div class="openblock">
  1001. <div class="content">
  1002. <div class="paragraph">
  1003. <p>Set the default capture file name, or '-' for standard output.</p>
  1004. </div>
  1005. </div>
  1006. </div>
  1007. </dd>
  1008. <dt class="hdlist1">-X &lt;eXtension options&gt;</dt>
  1009. <dd>
  1010. <div class="openblock">
  1011. <div class="content">
  1012. <div class="paragraph">
  1013. <p>Specify an option to be passed to an <strong>Wireshark</strong> module. The eXtension option
  1014. is in the form <em>extension_key:value</em>, where <em>extension_key</em> can be:</p>
  1015. </div>
  1016. <div class="paragraph">
  1017. <p><strong>lua_script</strong>:<em>lua_script_filename</em> tells <strong>Wireshark</strong> to load the given script in addition to the
  1018. default Lua scripts.</p>
  1019. </div>
  1020. <div class="paragraph">
  1021. <p><strong>lua_script</strong><em>num</em>:<em>argument</em> tells <strong>Wireshark</strong> to pass the given argument
  1022. to the lua script identified by 'num', which is the number indexed order of the 'lua_script' command.
  1023. For example, if only one script was loaded with '-X lua_script:my.lua', then '-X lua_script1:foo'
  1024. will pass the string 'foo' to the 'my.lua' script. If two scripts were loaded, such as '-X lua_script:my.lua'
  1025. and '-X lua_script:other.lua' in that order, then a '-X lua_script2:bar' would pass the string 'bar' to the second lua
  1026. script, namely 'other.lua'.</p>
  1027. </div>
  1028. <div class="paragraph">
  1029. <p><strong>read_format</strong>:<em>file_format</em> tells <strong>Wireshark</strong> to use the given file format to read in the
  1030. file (the file given in the <strong>-r</strong> command option).</p>
  1031. </div>
  1032. <div class="paragraph">
  1033. <p><strong>stdin_descr</strong>:<em>description</em> tells <strong>Wireshark</strong> to use the given description when
  1034. capturing from standard input (<strong>-i -</strong>).</p>
  1035. </div>
  1036. </div>
  1037. </div>
  1038. </dd>
  1039. <dt class="hdlist1">-y|--linktype &lt;capture link type&gt;</dt>
  1040. <dd>
  1041. <div class="openblock">
  1042. <div class="content">
  1043. <div class="paragraph">
  1044. <p>If a capture is started from the command line with <strong>-k</strong>, set the data
  1045. link type to use while capturing packets. The values reported by <strong>-L</strong>
  1046. are the values that can be used.</p>
  1047. </div>
  1048. <div class="paragraph">
  1049. <p>This option can occur multiple times. If used before the first
  1050. occurrence of the <strong>-i</strong> option, it sets the default capture link type.
  1051. If used after an <strong>-i</strong> option, it sets the capture link type for
  1052. the interface specified by the last <strong>-i</strong> option occurring before
  1053. this option. If the capture link type is not set specifically,
  1054. the default capture link type is used if provided.</p>
  1055. </div>
  1056. </div>
  1057. </div>
  1058. </dd>
  1059. <dt class="hdlist1">-Y|--display-filter &lt;displaY filter&gt;</dt>
  1060. <dd>
  1061. <div class="openblock">
  1062. <div class="content">
  1063. <div class="paragraph">
  1064. <p>Start with the given display filter.</p>
  1065. </div>
  1066. </div>
  1067. </div>
  1068. </dd>
  1069. <dt class="hdlist1">-z &lt;statistics&gt;</dt>
  1070. <dd>
  1071. <div class="openblock">
  1072. <div class="content">
  1073. <div class="paragraph">
  1074. <p>Get <strong>Wireshark</strong> to collect various types of statistics and display the result
  1075. in a window that updates in semi-real time.</p>
  1076. </div>
  1077. <div class="paragraph">
  1078. <p>Some of the currently implemented statistics are:</p>
  1079. </div>
  1080. </div>
  1081. </div>
  1082. </dd>
  1083. <dt class="hdlist1"><strong>-z help</strong></dt>
  1084. <dd>
  1085. <div class="openblock">
  1086. <div class="content">
  1087. <div class="paragraph">
  1088. <p>Display all possible values for <strong>-z</strong>.</p>
  1089. </div>
  1090. </div>
  1091. </div>
  1092. </dd>
  1093. <dt class="hdlist1"><strong>-z</strong> afp,srt[,<em>filter</em>]</dt>
  1094. <dd>
  1095. <div class="openblock">
  1096. <div class="content">
  1097. <div class="paragraph">
  1098. <p>Show Apple Filing Protocol service response time statistics.</p>
  1099. </div>
  1100. </div>
  1101. </div>
  1102. </dd>
  1103. <dt class="hdlist1"><strong>-z</strong> conv,<em>type</em>[,<em>filter</em>]</dt>
  1104. <dd>
  1105. <div class="openblock">
  1106. <div class="content">
  1107. <div class="paragraph">
  1108. <p>Create a table that lists all conversations that could be seen in the
  1109. capture. <em>type</em> specifies the conversation endpoint types for which we
  1110. want to generate the statistics; currently the supported ones are:</p>
  1111. </div>
  1112. <div class="literalblock">
  1113. <div class="content">
  1114. <pre>"eth" Ethernet addresses
  1115. "fc" Fibre Channel addresses
  1116. "fddi" FDDI addresses
  1117. "ip" IPv4 addresses
  1118. "ipv6" IPv6 addresses
  1119. "ipx" IPX addresses
  1120. "tcp" TCP/IP socket pairs Both IPv4 and IPv6 are supported
  1121. "tr" Token Ring addresses
  1122. "udp" UDP/IP socket pairs Both IPv4 and IPv6 are supported</pre>
  1123. </div>
  1124. </div>
  1125. <div class="paragraph">
  1126. <p>If the optional <em>filter</em> is specified, only those packets that match the
  1127. filter will be used in the calculations.</p>
  1128. </div>
  1129. <div class="paragraph">
  1130. <p>The table is presented with one line for each conversation and displays
  1131. the number of packets/bytes in each direction as well as the total
  1132. number of packets/bytes. By default, the table is sorted according to
  1133. the total number of packets.</p>
  1134. </div>
  1135. <div class="paragraph">
  1136. <p>These tables can also be generated at runtime by selecting the appropriate
  1137. conversation type from the menu "Tools/Statistics/Conversation List/".</p>
  1138. </div>
  1139. </div>
  1140. </div>
  1141. </dd>
  1142. <dt class="hdlist1"><strong>-z</strong> dcerpc,srt,<em>name-or-uuid</em>,<em>major</em>.<em>minor</em>[,<em>filter</em>]</dt>
  1143. <dd>
  1144. <div class="openblock">
  1145. <div class="content">
  1146. <div class="paragraph">
  1147. <p>Collect call/reply SRT (Service Response Time) data for DCERPC interface
  1148. <em>name</em> or <em>uuid</em>, version <em>major</em>.<em>minor</em>.
  1149. Data collected is the number of calls for each procedure, MinSRT, MaxSRT
  1150. and AvgSRT.
  1151. Interface <em>name</em> and <em>uuid</em> are case-insensitive.</p>
  1152. </div>
  1153. <div class="paragraph">
  1154. <p>Example: <span class="nowrap"><strong>-z dcerpc,srt,12345778-1234-abcd-ef00-0123456789ac,1.0</strong></span> will collect data for the CIFS SAMR Interface.</p>
  1155. </div>
  1156. <div class="paragraph">
  1157. <p>This option can be used multiple times on the command line.</p>
  1158. </div>
  1159. <div class="paragraph">
  1160. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1161. on those calls that match that filter.</p>
  1162. </div>
  1163. <div class="paragraph">
  1164. <p>Example: <span class="nowrap"><strong>-z dcerpc,srt,12345778-1234-abcd-ef00-0123456789ac,1.0,ip.addr==1.2.3.4</strong></span> will collect SAMR
  1165. SRT statistics for a specific host.</p>
  1166. </div>
  1167. </div>
  1168. </div>
  1169. </dd>
  1170. <dt class="hdlist1"><strong>-z</strong> dhcp,stat[,<em>filter</em>]</dt>
  1171. <dd>
  1172. <div class="openblock">
  1173. <div class="content">
  1174. <div class="paragraph">
  1175. <p>Show DHCP (BOOTP) statistics.</p>
  1176. </div>
  1177. </div>
  1178. </div>
  1179. </dd>
  1180. <dt class="hdlist1"><strong>-z</strong> expert</dt>
  1181. <dd>
  1182. <div class="openblock">
  1183. <div class="content">
  1184. <div class="paragraph">
  1185. <p>Show expert information.</p>
  1186. </div>
  1187. </div>
  1188. </div>
  1189. </dd>
  1190. <dt class="hdlist1"><strong>-z</strong> fc,srt[,<em>filter</em>]</dt>
  1191. <dd>
  1192. <div class="openblock">
  1193. <div class="content">
  1194. <div class="paragraph">
  1195. <p>Collect call/reply SRT (Service Response Time) data for FC. Data collected
  1196. is the number of calls for each Fibre Channel command, MinSRT, MaxSRT and AvgSRT.</p>
  1197. </div>
  1198. <div class="paragraph">
  1199. <p>Example: <strong>-z fc,srt</strong>
  1200. will calculate the Service Response Time as the time delta between the
  1201. First packet of the exchange and the Last packet of the exchange.</p>
  1202. </div>
  1203. <div class="paragraph">
  1204. <p>The data will be presented as separate tables for all normal FC commands,
  1205. Only those commands that are seen in the capture will have its stats
  1206. displayed.</p>
  1207. </div>
  1208. <div class="paragraph">
  1209. <p>This option can be used multiple times on the command line.</p>
  1210. </div>
  1211. <div class="paragraph">
  1212. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1213. on those calls that match that filter.</p>
  1214. </div>
  1215. <div class="paragraph">
  1216. <p>Example: <strong>-z "fc,srt,fc.id==01.02.03"</strong> will collect stats only for
  1217. FC packets exchanged by the host at FC address 01.02.03 .</p>
  1218. </div>
  1219. </div>
  1220. </div>
  1221. </dd>
  1222. <dt class="hdlist1"><strong>-z</strong> h225,counter[<em>,filter</em>]</dt>
  1223. <dd>
  1224. <div class="openblock">
  1225. <div class="content">
  1226. <div class="paragraph">
  1227. <p>Count ITU-T H.225 messages and their reasons. In the first column you get a
  1228. list of H.225 messages and H.225 message reasons which occur in the current
  1229. capture file. The number of occurrences of each message or reason is displayed
  1230. in the second column.</p>
  1231. </div>
  1232. <div class="paragraph">
  1233. <p>Example: <strong>-z h225,counter</strong></p>
  1234. </div>
  1235. <div class="paragraph">
  1236. <p>This option can be used multiple times on the command line.</p>
  1237. </div>
  1238. <div class="paragraph">
  1239. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1240. on those calls that match that filter.</p>
  1241. </div>
  1242. <div class="paragraph">
  1243. <p>Example: <strong>-z "h225,counter,ip.addr==1.2.3.4"</strong> will collect stats only for
  1244. H.225 packets exchanged by the host at IP address 1.2.3.4 .</p>
  1245. </div>
  1246. </div>
  1247. </div>
  1248. </dd>
  1249. <dt class="hdlist1"><strong>-z</strong> h225,srt[<em>,filter</em>]</dt>
  1250. <dd>
  1251. <div class="openblock">
  1252. <div class="content">
  1253. <div class="paragraph">
  1254. <p>Collect request/response SRT (Service Response Time) data for ITU-T H.225 RAS.
  1255. Data collected is the number of calls of each ITU-T H.225 RAS Message Type,
  1256. Minimum SRT, Maximum SRT, Average SRT, Minimum in Packet, and Maximum in Packet.
  1257. You will also get the number of Open Requests (Unresponded Requests),
  1258. Discarded Responses (Responses without matching request) and Duplicate Messages.</p>
  1259. </div>
  1260. <div class="paragraph">
  1261. <p>Example: <strong>-z h225,srt</strong></p>
  1262. </div>
  1263. <div class="paragraph">
  1264. <p>This option can be used multiple times on the command line.</p>
  1265. </div>
  1266. <div class="paragraph">
  1267. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1268. on those calls that match that filter.</p>
  1269. </div>
  1270. <div class="paragraph">
  1271. <p>Example: <strong>-z "h225,srt,ip.addr==1.2.3.4"</strong> will collect stats only for
  1272. ITU-T H.225 RAS packets exchanged by the host at IP address 1.2.3.4 .</p>
  1273. </div>
  1274. </div>
  1275. </div>
  1276. </dd>
  1277. <dt class="hdlist1"><strong>-z</strong> io,stat</dt>
  1278. <dd>
  1279. <div class="openblock">
  1280. <div class="content">
  1281. <div class="paragraph">
  1282. <p>Collect packet/bytes statistics for the capture in intervals of 1 second.
  1283. This option will open a window with up to 5 color-coded graphs where
  1284. number-of-packets-per-second or number-of-bytes-per-second statistics
  1285. can be calculated and displayed.</p>
  1286. </div>
  1287. <div class="paragraph">
  1288. <p>This option can be used multiple times on the command line.</p>
  1289. </div>
  1290. <div class="paragraph">
  1291. <p>This graph window can also be opened from the Analyze:Statistics:Traffic:IO-Stat
  1292. menu item.</p>
  1293. </div>
  1294. </div>
  1295. </div>
  1296. </dd>
  1297. <dt class="hdlist1"><strong>-z</strong> ldap,srt[,<em>filter</em>]</dt>
  1298. <dd>
  1299. <div class="openblock">
  1300. <div class="content">
  1301. <div class="paragraph">
  1302. <p>Collect call/reply SRT (Service Response Time) data for LDAP. Data collected
  1303. is the number of calls for each implemented LDAP command, MinSRT, MaxSRT and AvgSRT.</p>
  1304. </div>
  1305. <div class="paragraph">
  1306. <p>Example: <strong>-z ldap,srt</strong>
  1307. will calculate the Service Response Time as the time delta between the
  1308. Request and the Response.</p>
  1309. </div>
  1310. <div class="paragraph">
  1311. <p>The data will be presented as separate tables for all implemented LDAP commands,
  1312. Only those commands that are seen in the capture will have its stats
  1313. displayed.</p>
  1314. </div>
  1315. <div class="paragraph">
  1316. <p>This option can be used multiple times on the command line.</p>
  1317. </div>
  1318. <div class="paragraph">
  1319. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1320. on those calls that match that filter.</p>
  1321. </div>
  1322. <div class="paragraph">
  1323. <p>Example: use <strong>-z "ldap,srt,ip.addr==10.1.1.1"</strong> will collect stats only for
  1324. LDAP packets exchanged by the host at IP address 10.1.1.1 .</p>
  1325. </div>
  1326. <div class="paragraph">
  1327. <p>The only LDAP commands that are currently implemented and for which the stats will be available are:
  1328. BIND
  1329. SEARCH
  1330. MODIFY
  1331. ADD
  1332. DELETE
  1333. MODRDN
  1334. COMPARE
  1335. EXTENDED</p>
  1336. </div>
  1337. </div>
  1338. </div>
  1339. </dd>
  1340. <dt class="hdlist1"><strong>-z</strong> megaco,srt[<em>,filter</em>]</dt>
  1341. <dd>
  1342. <div class="openblock">
  1343. <div class="content">
  1344. <div class="paragraph">
  1345. <p>Collect request/response SRT (Service Response Time) data for MEGACO.
  1346. (This is similar to <strong>-z smb,srt</strong>). Data collected is the number of calls
  1347. for each known MEGACO Command, Minimum SRT, Maximum SRT and Average SRT.</p>
  1348. </div>
  1349. <div class="paragraph">
  1350. <p>Example: <strong>-z megaco,srt</strong></p>
  1351. </div>
  1352. <div class="paragraph">
  1353. <p>This option can be used multiple times on the command line.</p>
  1354. </div>
  1355. <div class="paragraph">
  1356. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1357. on those calls that match that filter.</p>
  1358. </div>
  1359. <div class="paragraph">
  1360. <p>Example: <strong>-z "megaco,srt,ip.addr==1.2.3.4"</strong> will collect stats only for
  1361. MEGACO packets exchanged by the host at IP address 1.2.3.4 .</p>
  1362. </div>
  1363. </div>
  1364. </div>
  1365. </dd>
  1366. <dt class="hdlist1"><strong>-z</strong> mgcp,srt[<em>,filter</em>]</dt>
  1367. <dd>
  1368. <div class="openblock">
  1369. <div class="content">
  1370. <div class="paragraph">
  1371. <p>Collect request/response SRT (Service Response Time) data for MGCP.
  1372. (This is similar to <strong>-z smb,srt</strong>). Data collected is the number of calls
  1373. for each known MGCP Type, Minimum SRT, Maximum SRT and Average SRT.</p>
  1374. </div>
  1375. <div class="paragraph">
  1376. <p>Example: <strong>-z mgcp,srt</strong></p>
  1377. </div>
  1378. <div class="paragraph">
  1379. <p>This option can be used multiple times on the command line.</p>
  1380. </div>
  1381. <div class="paragraph">
  1382. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1383. on those calls that match that filter.</p>
  1384. </div>
  1385. <div class="paragraph">
  1386. <p>Example: <strong>-z "mgcp,srt,ip.addr==1.2.3.4"</strong> will collect stats only for
  1387. MGCP packets exchanged by the host at IP address 1.2.3.4 .</p>
  1388. </div>
  1389. </div>
  1390. </div>
  1391. </dd>
  1392. <dt class="hdlist1"><strong>-z</strong> mtp3,msus[,&lt;filter&gt;]</dt>
  1393. <dd>
  1394. <div class="openblock">
  1395. <div class="content">
  1396. <div class="paragraph">
  1397. <p>Show MTP3 MSU statistics.</p>
  1398. </div>
  1399. </div>
  1400. </div>
  1401. </dd>
  1402. <dt class="hdlist1"><strong>-z</strong> multicast,stat[,&lt;filter&gt;]</dt>
  1403. <dd>
  1404. <div class="openblock">
  1405. <div class="content">
  1406. <div class="paragraph">
  1407. <p>Show UDP multicast stream statistics.</p>
  1408. </div>
  1409. </div>
  1410. </div>
  1411. </dd>
  1412. <dt class="hdlist1"><strong>-z</strong> rpc,programs</dt>
  1413. <dd>
  1414. <div class="openblock">
  1415. <div class="content">
  1416. <div class="paragraph">
  1417. <p>Collect call/reply SRT data for all known ONC-RPC programs/versions.
  1418. Data collected is the number of calls for each protocol/version, MinSRT,
  1419. MaxSRT and AvgSRT.</p>
  1420. </div>
  1421. </div>
  1422. </div>
  1423. </dd>
  1424. <dt class="hdlist1"><strong>-z</strong> rpc,srt,<em>name-or-number</em>,<em>version</em>[,&lt;filter&gt;]</dt>
  1425. <dd>
  1426. <div class="openblock">
  1427. <div class="content">
  1428. <div class="paragraph">
  1429. <p>Collect call/reply SRT (Service Response Time) data for program
  1430. <em>name</em>/<em>version</em> or <em>number</em>/<em>version</em>.
  1431. Data collected is the number of calls for each procedure, MinSRT, MaxSRT and
  1432. AvgSRT.
  1433. Program <em>name</em> is case-insensitive.</p>
  1434. </div>
  1435. <div class="paragraph">
  1436. <p>Example: <strong>-z rpc,srt,100003,3</strong> will collect data for NFS v3.</p>
  1437. </div>
  1438. <div class="paragraph">
  1439. <p>This option can be used multiple times on the command line.</p>
  1440. </div>
  1441. <div class="paragraph">
  1442. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1443. on those calls that match that filter.</p>
  1444. </div>
  1445. <div class="paragraph">
  1446. <p>Example: <span class="nowrap"><strong>-z rpc,srt,nfs,3,nfs.fh.hash==0x12345678</strong></span> will collect NFS v3
  1447. SRT statistics for a specific file.</p>
  1448. </div>
  1449. </div>
  1450. </div>
  1451. </dd>
  1452. <dt class="hdlist1"><strong>-z</strong> scsi,srt,<em>cmdset</em>[,&lt;filter&gt;]</dt>
  1453. <dd>
  1454. <div class="openblock">
  1455. <div class="content">
  1456. <div class="paragraph">
  1457. <p>Collect call/reply SRT (Service Response Time) data for SCSI commandset &lt;cmdset&gt;.</p>
  1458. </div>
  1459. <div class="paragraph">
  1460. <p>Commandsets are 0:SBC 1:SSC 5:MMC</p>
  1461. </div>
  1462. <div class="paragraph">
  1463. <p>Data collected
  1464. is the number of calls for each procedure, MinSRT, MaxSRT and AvgSRT.</p>
  1465. </div>
  1466. <div class="paragraph">
  1467. <p>Example: <strong>-z scsi,srt,0</strong> will collect data for SCSI BLOCK COMMANDS (SBC).</p>
  1468. </div>
  1469. <div class="paragraph">
  1470. <p>This option can be used multiple times on the command line.</p>
  1471. </div>
  1472. <div class="paragraph">
  1473. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1474. on those calls that match that filter.</p>
  1475. </div>
  1476. <div class="paragraph">
  1477. <p>Example: <strong>-z scsi,srt,0,ip.addr==1.2.3.4</strong> will collect SCSI SBC
  1478. SRT statistics for a specific iscsi/ifcp/fcip host.</p>
  1479. </div>
  1480. </div>
  1481. </div>
  1482. </dd>
  1483. <dt class="hdlist1"><strong>-z</strong> sip,stat[<em>,filter</em>]</dt>
  1484. <dd>
  1485. <div class="openblock">
  1486. <div class="content">
  1487. <div class="paragraph">
  1488. <p>This option will activate a counter for SIP messages. You will get the number
  1489. of occurrences of each SIP Method and of each SIP Status-Code. Additionally you
  1490. also get the number of resent SIP Messages (only for SIP over UDP).</p>
  1491. </div>
  1492. <div class="paragraph">
  1493. <p>Example: <strong>-z sip,stat</strong></p>
  1494. </div>
  1495. <div class="paragraph">
  1496. <p>This option can be used multiple times on the command line.</p>
  1497. </div>
  1498. <div class="paragraph">
  1499. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1500. on those calls that match that filter.</p>
  1501. </div>
  1502. <div class="paragraph">
  1503. <p>Example: <strong>-z "sip,stat,ip.addr==1.2.3.4"</strong> will collect stats only for
  1504. SIP packets exchanged by the host at IP address 1.2.3.4 .</p>
  1505. </div>
  1506. </div>
  1507. </div>
  1508. </dd>
  1509. <dt class="hdlist1"><strong>-z</strong> smb,srt[,<em>filter</em>]</dt>
  1510. <dd>
  1511. <div class="openblock">
  1512. <div class="content">
  1513. <div class="paragraph">
  1514. <p>Collect call/reply SRT (Service Response Time) data for SMB. Data collected
  1515. is the number of calls for each SMB command, MinSRT, MaxSRT and AvgSRT.</p>
  1516. </div>
  1517. <div class="paragraph">
  1518. <p>Example: <strong>-z smb,srt</strong></p>
  1519. </div>
  1520. <div class="paragraph">
  1521. <p>The data will be presented as separate tables for all normal SMB commands,
  1522. all Transaction2 commands and all NT Transaction commands.
  1523. Only those commands that are seen in the capture will have their stats
  1524. displayed.
  1525. Only the first command in a xAndX command chain will be used in the
  1526. calculation. So for common SessionSetupAndX + TreeConnectAndX chains,
  1527. only the SessionSetupAndX call will be used in the statistics.
  1528. This is a flaw that might be fixed in the future.</p>
  1529. </div>
  1530. <div class="paragraph">
  1531. <p>This option can be used multiple times on the command line.</p>
  1532. </div>
  1533. <div class="paragraph">
  1534. <p>If the optional <em>filter</em> is provided, the stats will only be calculated
  1535. on those calls that match that filter.</p>
  1536. </div>
  1537. <div class="paragraph">
  1538. <p>Example: <strong>-z "smb,srt,ip.addr==1.2.3.4"</strong> will collect stats only for
  1539. SMB packets exchanged by the host at IP address 1.2.3.4 .</p>
  1540. </div>
  1541. </div>
  1542. </div>
  1543. </dd>
  1544. <dt class="hdlist1"><strong>-z</strong> voip,calls</dt>
  1545. <dd>
  1546. <div class="openblock">
  1547. <div class="content">
  1548. <div class="paragraph">
  1549. <p>This option will show a window that shows VoIP calls found in the capture file.
  1550. This is the same window shown as when you go to the Statistics Menu and choose
  1551. VoIP Calls.</p>
  1552. </div>
  1553. <div class="paragraph">
  1554. <p>Example: <strong>-z voip,calls</strong></p>
  1555. </div>
  1556. </div>
  1557. </div>
  1558. </dd>
  1559. <dt class="hdlist1"><strong>-z</strong> wlan,stat[,&lt;filter&gt;]</dt>
  1560. <dd>
  1561. <div class="openblock">
  1562. <div class="content">
  1563. <div class="paragraph">
  1564. <p>Show IEEE 802.11 network and station statistics.</p>
  1565. </div>
  1566. </div>
  1567. </div>
  1568. </dd>
  1569. <dt class="hdlist1"><strong>-z</strong> wsp,stat[,&lt;filter&gt;]</dt>
  1570. <dd>
  1571. <div class="openblock">
  1572. <div class="content">
  1573. <div class="paragraph">
  1574. <p>Show WSP packet counters.</p>
  1575. </div>
  1576. </div>
  1577. </div>
  1578. </dd>
  1579. </dl>
  1580. </div>
  1581. </div>
  1582. </div>
  1583. <div class="sect1">
  1584. <h2 id="_diagnostic_options">DIAGNOSTIC OPTIONS</h2>
  1585. <div class="sectionbody">
  1586. <div class="dlist">
  1587. <dl>
  1588. <dt class="hdlist1">--log-level &lt;level&gt;</dt>
  1589. <dd>
  1590. <p>Set the active log level.
  1591. Supported levels in lowest to highest order are "noisy", "debug", "info", "message", "warning", "critical", and "error".
  1592. Messages at each level and higher will be printed, for example "warning" prints "warning", "critical", and "error" messages and "noisy" prints all messages.
  1593. Levels are case insensitive.</p>
  1594. </dd>
  1595. <dt class="hdlist1">--log-fatal &lt;level&gt;</dt>
  1596. <dd>
  1597. <p>Abort the program if any messages are logged at the specified level or higher.
  1598. For example, "warning" aborts on any "warning", "critical", or "error" messages.</p>
  1599. </dd>
  1600. </dl>
  1601. </div>
  1602. <div class="dlist">
  1603. <dl>
  1604. <dt class="hdlist1">--log-domains &lt;list&gt;</dt>
  1605. <dd>
  1606. <p>Only print messages for the specified log domains, e.g. "GUI,Epan,sshdump".
  1607. List of domains must be comma-separated.</p>
  1608. </dd>
  1609. <dt class="hdlist1">--log-debug &lt;list&gt;</dt>
  1610. <dd>
  1611. <p>Force the specified domains to log at the "debug" level.
  1612. List of domains must be comma-separated.</p>
  1613. </dd>
  1614. <dt class="hdlist1">--log-noisy &lt;list&gt;</dt>
  1615. <dd>
  1616. <p>Force the specified domains to log at the "noisy" level.
  1617. List of domains must be comma-separated.</p>
  1618. </dd>
  1619. <dt class="hdlist1">--log-file &lt;path&gt;</dt>
  1620. <dd>
  1621. <p>Write log messages and stderr output to the specified file.</p>
  1622. </dd>
  1623. </dl>
  1624. </div>
  1625. </div>
  1626. </div>
  1627. <div class="sect1">
  1628. <h2 id="_interface">INTERFACE</h2>
  1629. <div class="sectionbody">
  1630. <div class="sect2">
  1631. <h3 id="_menu_items">MENU ITEMS</h3>
  1632. <div class="dlist">
  1633. <dl>
  1634. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Open</b></span></dt>
  1635. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Open Recent</b></span></dt>
  1636. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Merge</b></span></dt>
  1637. <dd>
  1638. <div class="openblock">
  1639. <div class="content">
  1640. <div class="paragraph">
  1641. <p>Merge another capture file to the currently loaded one. The <em>File:Merge</em>
  1642. dialog box allows the merge "Prepended", "Chronologically" or "Appended",
  1643. relative to the already loaded one.</p>
  1644. </div>
  1645. </div>
  1646. </div>
  1647. </dd>
  1648. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Close</b></span></dt>
  1649. <dd>
  1650. <div class="openblock">
  1651. <div class="content">
  1652. <div class="paragraph">
  1653. <p>Open or close a capture file. The <em>File:Open</em> dialog box
  1654. allows a filter to be specified; when the capture file is read, the
  1655. filter is applied to all packets read from the file, and packets not
  1656. matching the filter are discarded. The <em>File:Open Recent</em> is a submenu
  1657. and will show a list of previously opened files.</p>
  1658. </div>
  1659. </div>
  1660. </div>
  1661. </dd>
  1662. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Save</b></span></dt>
  1663. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Save As</b></span></dt>
  1664. <dd>
  1665. <div class="openblock">
  1666. <div class="content">
  1667. <div class="paragraph">
  1668. <p>Save the current capture, or the packets currently displayed from that
  1669. capture, to a file. Check boxes let you select whether to save all
  1670. packets, or just those that have passed the current display filter and/or
  1671. those that are currently marked, and an option menu lets you select (from
  1672. a list of file formats in which at particular capture, or the packets
  1673. currently displayed from that capture, can be saved), a file format in
  1674. which to save it.</p>
  1675. </div>
  1676. </div>
  1677. </div>
  1678. </dd>
  1679. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">File Set</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">List Files</b></span></dt>
  1680. <dd>
  1681. <div class="openblock">
  1682. <div class="content">
  1683. <div class="paragraph">
  1684. <p>Show a dialog box that lists all files of the file set matching the currently
  1685. loaded file. A file set is a compound of files resulting from a capture using
  1686. the "multiple files" / "ringbuffer" mode, recognizable by the filename pattern,
  1687. e.g.: Filename_00001_20230714101530.pcap.</p>
  1688. </div>
  1689. </div>
  1690. </div>
  1691. </dd>
  1692. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">File Set</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Next File</b></span></dt>
  1693. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">File Set</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Previous File</b></span></dt>
  1694. <dd>
  1695. <div class="openblock">
  1696. <div class="content">
  1697. <div class="paragraph">
  1698. <p>If the currently loaded file is part of a file set (see above), open the
  1699. next / previous file in that set.</p>
  1700. </div>
  1701. </div>
  1702. </div>
  1703. </dd>
  1704. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Export</b></span></dt>
  1705. <dd>
  1706. <div class="openblock">
  1707. <div class="content">
  1708. <div class="paragraph">
  1709. <p>Export captured data into an external format. Note: the data cannot be
  1710. imported back into Wireshark, so be sure to keep the capture file.</p>
  1711. </div>
  1712. </div>
  1713. </div>
  1714. </dd>
  1715. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Print</b></span></dt>
  1716. <dd>
  1717. <div class="openblock">
  1718. <div class="content">
  1719. <div class="paragraph">
  1720. <p>Print packet data from the current capture. You can select the range of
  1721. packets to be printed (which packets are printed), and the output format of
  1722. each packet (how each packet is printed). The output format will be similar
  1723. to the displayed values, so a summary line, the packet details view, and/or
  1724. the hex dump of the packet can be printed.</p>
  1725. </div>
  1726. <div class="paragraph">
  1727. <p>Printing options can be set with the <em>Edit:Preferences</em> menu item, or in the
  1728. dialog box popped up by this menu item.</p>
  1729. </div>
  1730. </div>
  1731. </div>
  1732. </dd>
  1733. <dt class="hdlist1"><span class="menuseq"><b class="menu">File</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Quit</b></span></dt>
  1734. <dd>
  1735. <p>Exit the application.</p>
  1736. </dd>
  1737. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Copy</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Description</b></span></dt>
  1738. <dd>
  1739. <p>Copies the description of the selected field in the protocol tree to the clipboard.</p>
  1740. </dd>
  1741. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Copy</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Fieldname</b></span></dt>
  1742. <dd>
  1743. <p>Copies the fieldname of the selected field in the protocol tree to the clipboard.</p>
  1744. </dd>
  1745. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Copy</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Value</b></span></dt>
  1746. <dd>
  1747. <p>Copies the value of the selected field in the protocol tree to the clipboard.</p>
  1748. </dd>
  1749. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Copy</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">As Filter</b></span></dt>
  1750. <dd>
  1751. <div class="openblock">
  1752. <div class="content">
  1753. <div class="paragraph">
  1754. <p>Create a display filter based on the data currently highlighted in the
  1755. packet details and copy that filter to the clipboard.</p>
  1756. </div>
  1757. <div class="paragraph">
  1758. <p>If that data is a field that can be tested in a display filter
  1759. expression, the display filter will test that field; otherwise, the
  1760. display filter will be based on the absolute offset within the packet.
  1761. Therefore it could be unreliable if the packet contains protocols with
  1762. variable-length headers, such as a source-routed token-ring packet.</p>
  1763. </div>
  1764. </div>
  1765. </div>
  1766. </dd>
  1767. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Packet</b></span></dt>
  1768. <dd>
  1769. <div class="openblock">
  1770. <div class="content">
  1771. <div class="paragraph">
  1772. <p>Search forward or backward, starting with the currently selected packet
  1773. (or the most recently selected packet, if no packet is selected). Search
  1774. criteria can be a display filter expression, a string of hexadecimal
  1775. digits, or a text string.</p>
  1776. </div>
  1777. <div class="paragraph">
  1778. <p>When searching for a text string, you can search the packet data, or you
  1779. can search the text in the Info column in the packet list pane or in the
  1780. packet details pane.</p>
  1781. </div>
  1782. <div class="paragraph">
  1783. <p>Hexadecimal digits can be separated by colons, periods, or dashes.
  1784. Text string searches can be ASCII or Unicode (or both), and may be
  1785. case insensitive.</p>
  1786. </div>
  1787. </div>
  1788. </div>
  1789. </dd>
  1790. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Next</b></span></dt>
  1791. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Previous</b></span></dt>
  1792. <dd>
  1793. <div class="openblock">
  1794. <div class="content">
  1795. <div class="paragraph">
  1796. <p>Search forward / backward for a packet matching the filter from the previous
  1797. search, starting with the currently selected packet (or the most recently
  1798. selected packet, if no packet is selected).</p>
  1799. </div>
  1800. </div>
  1801. </div>
  1802. </dd>
  1803. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Mark Packet (toggle)</b></span></dt>
  1804. <dd>
  1805. <div class="openblock">
  1806. <div class="content">
  1807. <div class="paragraph">
  1808. <p>Mark (or unmark if currently marked) the selected packet. The field
  1809. "frame.marked" is set for packets that are marked, so that, for example,
  1810. a display filters can be used to display only marked packets, and so that
  1811. the /"Edit:Find Packet" dialog can be used to find the next or previous
  1812. marked packet.</p>
  1813. </div>
  1814. </div>
  1815. </div>
  1816. </dd>
  1817. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Next Mark</b></span></dt>
  1818. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Previous Mark</b></span></dt>
  1819. <dd>
  1820. <p>Find next or previous marked packet.</p>
  1821. </dd>
  1822. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Mark All Packets</b></span></dt>
  1823. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Unmark All Packets</b></span></dt>
  1824. <dd>
  1825. <p>Mark or unmark all packets that are currently displayed.</p>
  1826. </dd>
  1827. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Time Reference</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Set Time Reference (toggle)</b></span></dt>
  1828. <dd>
  1829. <div class="openblock">
  1830. <div class="content">
  1831. <div class="paragraph">
  1832. <p>Set (or unset if currently set) the selected packet as a Time Reference packet.
  1833. When a packet is set as a Time Reference packet, the timestamps in the packet
  1834. list pane will be replaced with the string "<strong>REF</strong>".
  1835. The relative time timestamp in later packets will then be calculated relative
  1836. to the timestamp of this Time Reference packet and not the first packet in
  1837. the capture.</p>
  1838. </div>
  1839. <div class="paragraph">
  1840. <p>Packets that have been selected as Time Reference packets will always be
  1841. displayed in the packet list pane. Display filters will not affect or
  1842. hide these packets.</p>
  1843. </div>
  1844. <div class="paragraph">
  1845. <p>If there is a column displayed for "Cumulative Bytes" this counter will
  1846. be reset at every Time Reference packet.</p>
  1847. </div>
  1848. </div>
  1849. </div>
  1850. </dd>
  1851. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Time Reference</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Next</b></span></dt>
  1852. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Time Reference</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Find Previous</b></span></dt>
  1853. <dd>
  1854. <p>Search forward or backward for a time referenced packet.</p>
  1855. </dd>
  1856. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Configuration Profiles</b></span></dt>
  1857. <dd>
  1858. <p>Manage configuration profiles to be able to use more than one set of preferences and configurations.</p>
  1859. </dd>
  1860. <dt class="hdlist1"><span class="menuseq"><b class="menu">Edit</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Preferences</b></span></dt>
  1861. <dd>
  1862. <p>Set the GUI, capture, printing and protocol options (see /Preferences dialog below).</p>
  1863. </dd>
  1864. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Main Toolbar</b></span></dt>
  1865. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Filter Toolbar</b></span></dt>
  1866. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Statusbar</b></span></dt>
  1867. <dd>
  1868. <p>Show or hide the main window controls.</p>
  1869. </dd>
  1870. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Packet List</b></span></dt>
  1871. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Packet Details</b></span></dt>
  1872. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Packet Bytes</b></span></dt>
  1873. <dd>
  1874. <p>Show or hide the main window panes.</p>
  1875. </dd>
  1876. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Time Display Format</b></span></dt>
  1877. <dd>
  1878. <p>Set the format of the packet timestamp displayed in the packet list window.</p>
  1879. </dd>
  1880. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Name Resolution</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Resolve Name</b></span></dt>
  1881. <dd>
  1882. <p>Try to resolve a name for the currently selected item.</p>
  1883. </dd>
  1884. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="submenu">Name Resolution</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Enable for &#8230;&#8203; Layer</b></span></dt>
  1885. <dd>
  1886. <p>Enable or disable translation of addresses to names in the display.</p>
  1887. </dd>
  1888. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Colorize Packet List</b></span></dt>
  1889. <dd>
  1890. <p>Enable or disable the coloring rules.
  1891. Disabling will improve performance.</p>
  1892. </dd>
  1893. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Auto Scroll in Live Capture</b></span></dt>
  1894. <dd>
  1895. <p>Enable or disable the automatic scrolling of the packet list while a live capture is in progress.</p>
  1896. </dd>
  1897. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Zoom In</b></span></dt>
  1898. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Zoom Out</b></span></dt>
  1899. <dd>
  1900. <p>Zoom into or out of the main window data (by changing the font size).</p>
  1901. </dd>
  1902. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Normal Size</b></span></dt>
  1903. <dd>
  1904. <p>Reset the zoom level back to normal font size.</p>
  1905. </dd>
  1906. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Resize All Columns</b></span></dt>
  1907. <dd>
  1908. <p>Resize all columns to best fit the current packet display.</p>
  1909. </dd>
  1910. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Expand / Collapse Subtrees</b></span></dt>
  1911. <dd>
  1912. <p>Expand or collapse the currently selected item and its subtrees in the packet details.</p>
  1913. </dd>
  1914. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Expand All</b></span></dt>
  1915. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Collapse All</b></span></dt>
  1916. <dd>
  1917. <p>Expand or Collapse all branches of the packet details.</p>
  1918. </dd>
  1919. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Colorize Conversation</b></span></dt>
  1920. <dd>
  1921. <p>Select a color for a conversation.</p>
  1922. </dd>
  1923. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Reset Coloring 1-10</b></span></dt>
  1924. <dd>
  1925. <p>Reset a color for a conversation.</p>
  1926. </dd>
  1927. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Coloring Rules</b></span></dt>
  1928. <dd>
  1929. <div class="openblock">
  1930. <div class="content">
  1931. <div class="paragraph">
  1932. <p>Change the foreground and background colors of the packet information in
  1933. the list of packets, based upon display filters. The list of display
  1934. filters is applied to each packet sequentially. After the first display
  1935. filter matches a packet, any additional display filters in the list are
  1936. ignored. Therefore, if you are filtering on the existence of protocols,
  1937. you should list the higher-level protocols first, and the lower-level
  1938. protocols last.</p>
  1939. </div>
  1940. </div>
  1941. </div>
  1942. </dd>
  1943. <dt class="hdlist1">How Colorization Works</dt>
  1944. <dd>
  1945. <div class="openblock">
  1946. <div class="content">
  1947. <div class="paragraph">
  1948. <p>Packets are colored according to a list of color filters. Each filter
  1949. consists of a name, a filter expression and a coloration. A packet is
  1950. colored according to the first filter that it matches. Color filter
  1951. expressions use exactly the same syntax as display filter expressions.</p>
  1952. </div>
  1953. <div class="paragraph">
  1954. <p>When Wireshark starts, the color filters are loaded from:</p>
  1955. </div>
  1956. <div class="olist arabic">
  1957. <ol class="arabic">
  1958. <li>
  1959. <p>The user&#8217;s personal color filters file or, if that does not exist,</p>
  1960. </li>
  1961. <li>
  1962. <p>The global color filters file.</p>
  1963. </li>
  1964. </ol>
  1965. </div>
  1966. <div class="paragraph">
  1967. <p>If neither of these exist then the packets will not be colored.</p>
  1968. </div>
  1969. </div>
  1970. </div>
  1971. </dd>
  1972. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Show Packet In New Window</b></span></dt>
  1973. <dd>
  1974. <div class="openblock">
  1975. <div class="content">
  1976. <div class="paragraph">
  1977. <p>Create a new window containing a packet details view and a hex dump
  1978. window of the currently selected packet; this window will continue to
  1979. display that packet&#8217;s details and data even if another packet is
  1980. selected.</p>
  1981. </div>
  1982. </div>
  1983. </div>
  1984. </dd>
  1985. <dt class="hdlist1"><span class="menuseq"><b class="menu">View</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Reload</b></span></dt>
  1986. <dd>
  1987. <p>Reload a capture file. Same as <em>File:Close</em> and <em>File:Open</em> the same file again.</p>
  1988. </dd>
  1989. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Back</b></span></dt>
  1990. <dd>
  1991. <p>Go back in previously visited packets history.</p>
  1992. </dd>
  1993. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Forward</b></span></dt>
  1994. <dd>
  1995. <p>Go forward in previously visited packets history.</p>
  1996. </dd>
  1997. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Go To Packet</b></span></dt>
  1998. <dd>
  1999. <p>Go to a particular numbered packet.</p>
  2000. </dd>
  2001. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Go To Corresponding Packet</b></span></dt>
  2002. <dd>
  2003. <div class="openblock">
  2004. <div class="content">
  2005. <div class="paragraph">
  2006. <p>If a field in the packet details pane containing a packet number is
  2007. selected, go to the packet number specified by that field. (This works
  2008. only if the dissector that put that entry into the packet details put it
  2009. into the details as a filterable field rather than just as text.) This
  2010. can be used, for example, to go to the packet for the request
  2011. corresponding to a reply, or the reply corresponding to a request, if
  2012. that packet number has been put into the packet details.</p>
  2013. </div>
  2014. </div>
  2015. </div>
  2016. </dd>
  2017. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Previous Packet</b></span></dt>
  2018. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Next Packet</b></span></dt>
  2019. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">First Packet</b></span></dt>
  2020. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Last Packet</b></span></dt>
  2021. <dd>
  2022. <p>Go to the previous, next, first, or last packet in the capture.</p>
  2023. </dd>
  2024. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Previous Packet In Conversation</b></span></dt>
  2025. <dt class="hdlist1"><span class="menuseq"><b class="menu">Go</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Next Packet In Conversation</b></span></dt>
  2026. <dd>
  2027. <p>Go to the previous or next packet of the TCP, UDP or IP conversation.</p>
  2028. </dd>
  2029. <dt class="hdlist1"><span class="menuseq"><b class="menu">Capture</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Interfaces</b></span></dt>
  2030. <dd>
  2031. <div class="openblock">
  2032. <div class="content">
  2033. <div class="paragraph">
  2034. <p>Shows a dialog box with all currently known interfaces and displaying the
  2035. current network traffic amount. Capture sessions can be started from here.
  2036. Beware: keeping this box open results in high system load!</p>
  2037. </div>
  2038. </div>
  2039. </div>
  2040. </dd>
  2041. <dt class="hdlist1"><span class="menuseq"><b class="menu">Capture</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Options</b></span></dt>
  2042. <dd>
  2043. <div class="openblock">
  2044. <div class="content">
  2045. <div class="paragraph">
  2046. <p>Initiate a live packet capture (see /"Capture Options Dialog"
  2047. below). If no filename is specified, a temporary file will be created
  2048. to hold the capture. The location of the file can be chosen by setting your
  2049. TMPDIR environment variable before starting <strong>Wireshark</strong>. Otherwise, the
  2050. default TMPDIR location is system-dependent, but is likely either <em>/var/tmp</em>
  2051. or <em>/tmp</em>.</p>
  2052. </div>
  2053. </div>
  2054. </div>
  2055. </dd>
  2056. <dt class="hdlist1"><span class="menuseq"><b class="menu">Capture</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Start</b></span></dt>
  2057. <dd>
  2058. <div class="openblock">
  2059. <div class="content">
  2060. <div class="paragraph">
  2061. <p>Start a live packet capture with the previously selected options. This won&#8217;t
  2062. open the options dialog box, and can be convenient for repeatedly capturing
  2063. with the same options.</p>
  2064. </div>
  2065. </div>
  2066. </div>
  2067. </dd>
  2068. <dt class="hdlist1"><span class="menuseq"><b class="menu">Capture</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Stop</b></span></dt>
  2069. <dd>
  2070. <p>Stop a running live capture.</p>
  2071. </dd>
  2072. <dt class="hdlist1"><span class="menuseq"><b class="menu">Capture</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Restart</b></span></dt>
  2073. <dd>
  2074. <div class="openblock">
  2075. <div class="content">
  2076. <div class="paragraph">
  2077. <p>While a live capture is running, stop it and restart with the same options
  2078. again. This can be convenient to remove irrelevant packets, if no valuable
  2079. packets were captured so far.</p>
  2080. </div>
  2081. </div>
  2082. </div>
  2083. </dd>
  2084. <dt class="hdlist1"><span class="menuseq"><b class="menu">Capture</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Capture Filters</b></span></dt>
  2085. <dd>
  2086. <p>Edit the saved list of capture filters, allowing filters to be added, changed, or deleted.</p>
  2087. </dd>
  2088. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Display Filters</b></span></dt>
  2089. <dd>
  2090. <p>Edit the saved list of display filters, allowing filters to be added, changed, or deleted.</p>
  2091. </dd>
  2092. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Display Filter Macros</b></span></dt>
  2093. <dd>
  2094. <p>Create shortcuts for complex macros.</p>
  2095. </dd>
  2096. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Apply as Filter</b></span></dt>
  2097. <dd>
  2098. <div class="openblock">
  2099. <div class="content">
  2100. <div class="paragraph">
  2101. <p>Create a display filter based on the data currently highlighted in the
  2102. packet details and apply the filter.</p>
  2103. </div>
  2104. <div class="paragraph">
  2105. <p>If that data is a field that can be tested in a display filter
  2106. expression, the display filter will test that field; otherwise, the
  2107. display filter will be based on the absolute offset within the packet.
  2108. Therefore it could be unreliable if the packet contains protocols with
  2109. variable-length headers, such as a source-routed token-ring packet.</p>
  2110. </div>
  2111. <div class="paragraph">
  2112. <p>The <strong>Selected</strong> option creates a display filter that tests for a match
  2113. of the data; the <strong>Not Selected</strong> option creates a display filter that
  2114. tests for a non-match of the data. The <strong>And Selected</strong>, <strong>Or Selected</strong>,
  2115. <strong>And Not Selected</strong>, and <strong>Or Not Selected</strong> options add to the end of
  2116. the display filter in the strip at the top (or bottom) an AND or OR
  2117. operator followed by the new display filter expression.</p>
  2118. </div>
  2119. </div>
  2120. </div>
  2121. </dd>
  2122. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Prepare as Filter</b></span></dt>
  2123. <dd>
  2124. <div class="openblock">
  2125. <div class="content">
  2126. <div class="paragraph">
  2127. <p>Create a display filter based on the data currently highlighted in the
  2128. packet details. The filter strip at the top (or bottom) is updated but
  2129. it is not yet applied.</p>
  2130. </div>
  2131. </div>
  2132. </div>
  2133. </dd>
  2134. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Enabled Protocols</b></span></dt>
  2135. <dd>
  2136. <div class="openblock">
  2137. <div class="content">
  2138. <div class="paragraph">
  2139. <p>Allow protocol dissection to be enabled or disabled for a specific
  2140. protocol. Individual protocols can be enabled or disabled by clicking
  2141. on them in the list or by highlighting them and pressing the space bar.
  2142. The entire list can be enabled, disabled, or inverted using the buttons
  2143. below the list.</p>
  2144. </div>
  2145. <div class="paragraph">
  2146. <p>When a protocol is disabled, dissection in a particular packet stops
  2147. when that protocol is reached, and Wireshark moves on to the next packet.
  2148. Any higher-layer protocols that would otherwise have been processed will
  2149. not be displayed. For example, disabling TCP will prevent the dissection
  2150. and display of TCP, HTTP, SMTP, Telnet, and any other protocol exclusively
  2151. dependent on TCP.</p>
  2152. </div>
  2153. <div class="paragraph">
  2154. <p>The list of protocols can be saved, so that Wireshark will start up with
  2155. the protocols in that list disabled.</p>
  2156. </div>
  2157. </div>
  2158. </div>
  2159. </dd>
  2160. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Decode As</b></span></dt>
  2161. <dd>
  2162. <div class="openblock">
  2163. <div class="content">
  2164. <div class="paragraph">
  2165. <p>If you have a packet selected, present a dialog allowing you to change
  2166. which dissectors are used to decode this packet. The dialog has one
  2167. panel each for the link layer, network layer and transport layer
  2168. protocol/port numbers, and will allow each of these to be changed
  2169. independently. For example, if the selected packet is a TCP packet to
  2170. port 12345, using this dialog you can instruct Wireshark to decode all
  2171. packets to or from that TCP port as HTTP packets.</p>
  2172. </div>
  2173. </div>
  2174. </div>
  2175. </dd>
  2176. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">User Specified Decodes</b></span></dt>
  2177. <dd>
  2178. <div class="openblock">
  2179. <div class="content">
  2180. <div class="paragraph">
  2181. <p>Create a new window showing whether any protocol ID to dissector
  2182. mappings have been changed by the user. This window also allows the
  2183. user to reset all decodes to their default values.</p>
  2184. </div>
  2185. </div>
  2186. </div>
  2187. </dd>
  2188. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Follow TCP Stream</b></span></dt>
  2189. <dd>
  2190. <div class="openblock">
  2191. <div class="content">
  2192. <div class="paragraph">
  2193. <p>If you have a TCP packet selected, display the contents of the data
  2194. stream for the TCP connection to which that packet belongs, as text, in
  2195. a separate window, and leave the list of packets in a filtered state,
  2196. with only those packets that are part of that TCP connection being
  2197. displayed. You can revert to your old view by pressing ENTER in the
  2198. display filter text box, thereby invoking your old display filter (or
  2199. resetting it back to no display filter).</p>
  2200. </div>
  2201. <div class="paragraph">
  2202. <p>The window in which the data stream is displayed lets you select:</p>
  2203. </div>
  2204. <div class="ulist">
  2205. <ul>
  2206. <li>
  2207. <p>whether to display the entire conversation, or one or the other side of
  2208. it;</p>
  2209. </li>
  2210. <li>
  2211. <p>whether the data being displayed is to be treated as ASCII or EBCDIC
  2212. text or as raw hex data;</p>
  2213. </li>
  2214. </ul>
  2215. </div>
  2216. <div class="paragraph">
  2217. <p>and lets you print what&#8217;s currently being displayed, using the same
  2218. print options that are used for the <em>File:Print Packet</em> menu item, or
  2219. save it as text to a file.</p>
  2220. </div>
  2221. </div>
  2222. </div>
  2223. </dd>
  2224. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Follow UDP Stream</b></span></dt>
  2225. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Follow TLS Stream</b></span></dt>
  2226. <dd>
  2227. <p>Similar to Analyze:Follow TCP Stream.</p>
  2228. </dd>
  2229. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Expert Info</b></span></dt>
  2230. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Expert Info Composite</b></span></dt>
  2231. <dd>
  2232. <p>Show anomalies found by Wireshark in a capture file.</p>
  2233. </dd>
  2234. <dt class="hdlist1"><span class="menuseq"><b class="menu">Analyze</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Conversation Filter</b></span></dt>
  2235. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Summary</b></span></dt>
  2236. <dd>
  2237. <div class="openblock">
  2238. <div class="content">
  2239. <div class="paragraph">
  2240. <p>Show summary information about the capture, including elapsed time,
  2241. packet counts, byte counts, and the like. If a display filter is in
  2242. effect, summary information will be shown about the capture and about
  2243. the packets currently being displayed.</p>
  2244. </div>
  2245. </div>
  2246. </div>
  2247. </dd>
  2248. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Protocol Hierarchy</b></span></dt>
  2249. <dd>
  2250. <div class="openblock">
  2251. <div class="content">
  2252. <div class="paragraph">
  2253. <p>Show the number of packets, and the number of bytes in those packets,
  2254. for each protocol in the trace. It organizes the protocols in the same
  2255. hierarchy in which they were found in the trace. Besides counting the
  2256. packets in which the protocol exists, a count is also made for packets
  2257. in which the protocol is the last protocol in the stack. These
  2258. last-protocol counts show you how many packets (and the byte count
  2259. associated with those packets) <strong>ended</strong> in a particular protocol. In
  2260. the table, they are listed under "End Packets" and "End Bytes".</p>
  2261. </div>
  2262. </div>
  2263. </div>
  2264. </dd>
  2265. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Conversations</b></span></dt>
  2266. <dd>
  2267. <p>Lists of conversations; selectable by protocol.
  2268. See Statistics:Conversation List below.</p>
  2269. </dd>
  2270. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">End Points</b></span></dt>
  2271. <dd>
  2272. <p>List of End Point Addresses by protocol with packets, bytes, and other counts.</p>
  2273. </dd>
  2274. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Packet Lengths</b></span></dt>
  2275. <dd>
  2276. <p>Grouped counts of packet lengths (0-19 bytes, 20-39 bytes, &#8230;&#8203;)</p>
  2277. </dd>
  2278. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">I/O Graphs</b></span></dt>
  2279. <dd>
  2280. <div class="openblock">
  2281. <div class="content">
  2282. <div class="paragraph">
  2283. <p>Open a window where up to 5 graphs in different colors can be displayed
  2284. to indicate number of packets or number of bytes per second for all packets
  2285. matching the specified filter.
  2286. By default only one graph will be displayed showing number of packets per second.</p>
  2287. </div>
  2288. <div class="paragraph">
  2289. <p>The top part of the window contains the graphs and scales for the X and
  2290. Y axis. If the graph is too long to fit inside the window there is a
  2291. horizontal scrollbar below the drawing area that can scroll the graphs
  2292. to the left or the right. The horizontal axis displays the time into
  2293. the capture and the vertical axis will display the measured quantity at
  2294. that time.</p>
  2295. </div>
  2296. <div class="paragraph">
  2297. <p>Below the drawing area and the scrollbar are the controls. On the
  2298. bottom left there will be five similar sets of controls to control each
  2299. individual graph such as "Display:&lt;button&gt;" which button will toggle
  2300. that individual graph on/off. If &lt;button&gt; is ticked, the graph will be
  2301. displayed. "Color:&lt;color&gt;" which is just a button to show which color
  2302. will be used to draw that graph. Finally "Filter:&lt;filter-text&gt;" which
  2303. can be used to specify a display filter for that particular graph.</p>
  2304. </div>
  2305. <div class="paragraph">
  2306. <p>If filter-text is empty then all packets will be used to calculate the
  2307. quantity for that graph. If filter-text is specified only those packets
  2308. that match that display filter will be considered in the calculation of
  2309. quantity.</p>
  2310. </div>
  2311. <div class="paragraph">
  2312. <p>To the right of the 5 graph controls there are four menus to control
  2313. global aspects of the draw area and graphs. The "Unit:" menu is used to
  2314. control what to measure; "packets/tick", "bytes/tick" or "advanced&#8230;&#8203;"</p>
  2315. </div>
  2316. <div class="paragraph">
  2317. <p>packets/tick will measure the number of packets matching the (if
  2318. specified) display filter for the graph in each measurement interval.</p>
  2319. </div>
  2320. <div class="paragraph">
  2321. <p>bytes/tick will measure the total number of bytes in all packets matching
  2322. the (if specified) display filter for the graph in each measurement
  2323. interval.</p>
  2324. </div>
  2325. <div class="paragraph">
  2326. <p>advanced&#8230;&#8203; see below</p>
  2327. </div>
  2328. <div class="paragraph">
  2329. <p>"Tick interval:" specifies what measurement intervals to use. The
  2330. default is 1 second and means that the data will be counted over 1
  2331. second intervals.</p>
  2332. </div>
  2333. <div class="paragraph">
  2334. <p>"Pixels per tick:" specifies how many pixels wide each measurement
  2335. interval will be in the drawing area. The default is 5 pixels per tick.</p>
  2336. </div>
  2337. <div class="paragraph">
  2338. <p>"Y-scale:" controls the max value for the y-axis. Default value is
  2339. "auto" which means that <strong>Wireshark</strong> will try to adjust the maxvalue
  2340. automatically.</p>
  2341. </div>
  2342. <div class="paragraph">
  2343. <p>"advanced&#8230;&#8203;" If Unit:advanced&#8230;&#8203; is selected the window will display
  2344. two more controls for each of the five graphs. One control will be a
  2345. menu where the type of calculation can be selected from
  2346. SUM,COUNT,MAX,MIN,AVG and LOAD, and one control, textbox, where the name of a
  2347. single display filter field can be specified.</p>
  2348. </div>
  2349. <div class="paragraph">
  2350. <p>The following restrictions apply to type and field combinations:</p>
  2351. </div>
  2352. <div class="paragraph">
  2353. <p>SUM: available for all types of integers and will calculate the SUM of
  2354. all occurrences of this field in the measurement interval. Note that
  2355. some field can occur multiple times in the same packet and then all
  2356. instances will be summed up. Example: 'tcp.len' which will count the
  2357. amount of payload data transferred across TCP in each interval.</p>
  2358. </div>
  2359. <div class="paragraph">
  2360. <p>COUNT: available for all field types. This will COUNT the number of times
  2361. certain field occurs in each interval. Note that some fields
  2362. may occur multiple times in each packet and if that is the case
  2363. then each instance will be counted independently and COUNT
  2364. will be greater than the number of packets.</p>
  2365. </div>
  2366. <div class="paragraph">
  2367. <p>MAX: available for all integer and relative time fields. This will calculate
  2368. the max seen integer/time value seen for the field during the interval.
  2369. Example: 'smb.time' which will plot the maximum SMB response time.</p>
  2370. </div>
  2371. <div class="paragraph">
  2372. <p>MIN: available for all integer and relative time fields. This will calculate
  2373. the min seen integer/time value seen for the field during the interval.
  2374. Example: 'smb.time' which will plot the minimum SMB response time.</p>
  2375. </div>
  2376. <div class="paragraph">
  2377. <p>AVG: available for all integer and relative time fields.This will
  2378. calculate the average seen integer/time value seen for the field during
  2379. the interval. Example: 'smb.time' which will plot the average SMB
  2380. response time.</p>
  2381. </div>
  2382. <div class="paragraph">
  2383. <p>LOAD: available only for relative time fields (response times).</p>
  2384. </div>
  2385. <div class="paragraph">
  2386. <p>Example of advanced:
  2387. Display how NFS response time MAX/MIN/AVG changes over time:</p>
  2388. </div>
  2389. <div class="paragraph">
  2390. <p>Set first graph to:</p>
  2391. </div>
  2392. <div class="literalblock">
  2393. <div class="content">
  2394. <pre>filter:nfs&amp;&amp;rpc.time
  2395. Calc:MAX rpc.time</pre>
  2396. </div>
  2397. </div>
  2398. <div class="paragraph">
  2399. <p>Set second graph to</p>
  2400. </div>
  2401. <div class="literalblock">
  2402. <div class="content">
  2403. <pre>filter:nfs&amp;&amp;rpc.time
  2404. Calc:AVG rpc.time</pre>
  2405. </div>
  2406. </div>
  2407. <div class="paragraph">
  2408. <p>Set third graph to</p>
  2409. </div>
  2410. <div class="literalblock">
  2411. <div class="content">
  2412. <pre>filter:nfs&amp;&amp;rpc.time
  2413. Calc:MIN rpc.time</pre>
  2414. </div>
  2415. </div>
  2416. <div class="paragraph">
  2417. <p>Example of advanced:
  2418. Display how the average packet size from host a.b.c.d changes over time.</p>
  2419. </div>
  2420. <div class="paragraph">
  2421. <p>Set first graph to</p>
  2422. </div>
  2423. <div class="literalblock">
  2424. <div class="content">
  2425. <pre>filter:ip.addr==a.b.c.d&amp;&amp;frame.pkt_len
  2426. Calc:AVG frame.pkt_len</pre>
  2427. </div>
  2428. </div>
  2429. <div class="paragraph">
  2430. <p>LOAD:
  2431. The LOAD io-stat type is very different from anything you have ever seen
  2432. before! While the response times themselves as plotted by MIN,MAX,AVG are
  2433. indications on the Server load (which affects the Server response time),
  2434. the LOAD measurement measures the Client LOAD.
  2435. What this measures is how much workload the client generates,
  2436. i.e. how fast will the client issue new commands when the previous ones
  2437. completed.
  2438. i.e. the level of concurrency the client can maintain.
  2439. The higher the number, the more and faster is the client issuing new
  2440. commands. When the LOAD goes down, it may be due to client load making
  2441. the client slower in issuing new commands (there may be other reasons as
  2442. well, maybe the client just doesn&#8217;t have any commands it wants to issue
  2443. right then).</p>
  2444. </div>
  2445. <div class="paragraph">
  2446. <p>Load is measured in concurrency/number of overlapping i/o and the value
  2447. 1000 means there is a constant load of one i/o.</p>
  2448. </div>
  2449. <div class="paragraph">
  2450. <p>In each tick interval the amount of overlap is measured.
  2451. See the graph below containing three commands:
  2452. Below the graph are the LOAD values for each interval that would be calculated.</p>
  2453. </div>
  2454. <div class="literalblock">
  2455. <div class="content">
  2456. <pre>| | | | | | | | |
  2457. | | | | | | | | |
  2458. | | o=====* | | | | | |
  2459. | | | | | | | | |
  2460. | o========* | o============* | | |
  2461. | | | | | | | | |
  2462. --------------------------------------------------&gt; Time
  2463. 500 1500 500 750 1000 500 0 0</pre>
  2464. </div>
  2465. </div>
  2466. </div>
  2467. </div>
  2468. </dd>
  2469. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Conversation List</b></span></dt>
  2470. <dd>
  2471. <div class="openblock">
  2472. <div class="content">
  2473. <div class="paragraph">
  2474. <p>This option will open a new window that displays a list of all
  2475. conversations between two endpoints. The list has one row for each
  2476. unique conversation and displays total number of packets/bytes seen as
  2477. well as number of packets/bytes in each direction.</p>
  2478. </div>
  2479. <div class="paragraph">
  2480. <p>By default the list is sorted according to the number of packets but by
  2481. clicking on the column header; it is possible to re-sort the list in
  2482. ascending or descending order by any column.</p>
  2483. </div>
  2484. <div class="paragraph">
  2485. <p>By first selecting a conversation by clicking on it and then using the
  2486. right mouse button (on those platforms that have a right
  2487. mouse button) Wireshark will display a popup menu offering several different
  2488. filter operations to apply to the capture.</p>
  2489. </div>
  2490. <div class="paragraph">
  2491. <p>These statistics windows can also be invoked from the Wireshark command
  2492. line using the <strong>-z conv</strong> argument.</p>
  2493. </div>
  2494. </div>
  2495. </div>
  2496. </dd>
  2497. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Service Response Time</b></span></dt>
  2498. <dd>
  2499. <div class="openblock">
  2500. <div class="content">
  2501. <div class="ulist">
  2502. <ul>
  2503. <li>
  2504. <p>AFP</p>
  2505. </li>
  2506. <li>
  2507. <p>CAMEL</p>
  2508. </li>
  2509. <li>
  2510. <p>DCE-RPC</p>
  2511. </li>
  2512. </ul>
  2513. </div>
  2514. <div class="paragraph">
  2515. <p>Open a window to display Service Response Time statistics for an
  2516. arbitrary DCE-RPC program
  2517. interface and display <strong>Procedure</strong>, <strong>Number of Calls</strong>, <strong>Minimum SRT</strong>,
  2518. <strong>Maximum SRT</strong> and <strong>Average SRT</strong> for all procedures for that
  2519. program/version. These windows opened will update in semi-real time to
  2520. reflect changes when doing live captures or when reading new capture
  2521. files into <strong>Wireshark</strong>.</p>
  2522. </div>
  2523. <div class="paragraph">
  2524. <p>This dialog will also allow an optional filter string to be used.
  2525. If an optional filter string is used only such DCE-RPC request/response pairs
  2526. that match that filter will be used to calculate the statistics. If no filter
  2527. string is specified all request/response pairs will be used.</p>
  2528. </div>
  2529. <div class="ulist">
  2530. <ul>
  2531. <li>
  2532. <p>Diameter</p>
  2533. </li>
  2534. <li>
  2535. <p>Fibre Channel</p>
  2536. </li>
  2537. </ul>
  2538. </div>
  2539. <div class="paragraph">
  2540. <p>Open a window to display Service Response Time statistics for Fibre Channel
  2541. and display <strong>FC Type</strong>, <strong>Number of Calls</strong>, <strong>Minimum SRT</strong>,
  2542. <strong>Maximum SRT</strong> and <strong>Average SRT</strong> for all FC types.
  2543. These windows opened will update in semi-real time to
  2544. reflect changes when doing live captures or when reading new capture
  2545. files into <strong>Wireshark</strong>.
  2546. The Service Response Time is calculated as the time delta between the
  2547. First packet of the exchange and the Last packet of the exchange.</p>
  2548. </div>
  2549. <div class="paragraph">
  2550. <p>This dialog will also allow an optional filter string to be used.
  2551. If an optional filter string is used only such FC first/last exchange pairs
  2552. that match that filter will be used to calculate the statistics. If no filter
  2553. string is specified all request/response pairs will be used.</p>
  2554. </div>
  2555. <div class="ulist">
  2556. <ul>
  2557. <li>
  2558. <p>GTP</p>
  2559. </li>
  2560. <li>
  2561. <p>H.225 RAS</p>
  2562. </li>
  2563. </ul>
  2564. </div>
  2565. <div class="paragraph">
  2566. <p>Collect requests/response SRT (Service Response Time) data for ITU-T H.225 RAS.
  2567. Data collected is <strong>number of calls</strong> for each known ITU-T H.225 RAS Message Type,
  2568. <strong>Minimum SRT</strong>, <strong>Maximum SRT</strong>, <strong>Average SRT</strong>, <strong>Minimum in Packet</strong>, and <strong>Maximum in Packet</strong>.
  2569. You will also get the number of <strong>Open Requests</strong> (Unresponded Requests),
  2570. <strong>Discarded Responses</strong> (Responses without matching request) and Duplicate Messages.
  2571. These windows opened will update in semi-real time to reflect changes when
  2572. doing live captures or when reading new capture files into <strong>Wireshark</strong>.</p>
  2573. </div>
  2574. <div class="paragraph">
  2575. <p>You can apply an optional filter string in a dialog box, before starting
  2576. the calculation. The statistics will only be calculated
  2577. on those calls matching that filter.</p>
  2578. </div>
  2579. <div class="ulist">
  2580. <ul>
  2581. <li>
  2582. <p>LDAP</p>
  2583. </li>
  2584. <li>
  2585. <p>MEGACO</p>
  2586. </li>
  2587. <li>
  2588. <p>MGCP</p>
  2589. </li>
  2590. </ul>
  2591. </div>
  2592. <div class="paragraph">
  2593. <p>Collect requests/response SRT (Service Response Time) data for MGCP.
  2594. Data collected is <strong>number of calls</strong> for each known MGCP Type,
  2595. <strong>Minimum SRT</strong>, <strong>Maximum SRT</strong>, <strong>Average SRT</strong>, <strong>Minimum in Packet</strong>, and <strong>Maximum in Packet</strong>.
  2596. These windows opened will update in semi-real time to reflect changes when
  2597. doing live captures or when reading new capture files into <strong>Wireshark</strong>.</p>
  2598. </div>
  2599. <div class="paragraph">
  2600. <p>You can apply an optional filter string in a dialog box, before starting
  2601. the calculation. The statistics will only be calculated
  2602. on those calls matching that filter.</p>
  2603. </div>
  2604. <div class="ulist">
  2605. <ul>
  2606. <li>
  2607. <p>NCP</p>
  2608. </li>
  2609. <li>
  2610. <p>ONC-RPC</p>
  2611. </li>
  2612. </ul>
  2613. </div>
  2614. <div class="paragraph">
  2615. <p>Open a window to display statistics for an arbitrary ONC-RPC program interface
  2616. and display <strong>Procedure</strong>, <strong>Number of Calls</strong>, <strong>Minimum SRT</strong>, <strong>Maximum SRT</strong> and <strong>Average SRT</strong> for all procedures for that program/version.
  2617. These windows opened will update in semi-real time to reflect changes when
  2618. doing live captures or when reading new capture files into <strong>Wireshark</strong>.</p>
  2619. </div>
  2620. <div class="paragraph">
  2621. <p>This dialog will also allow an optional filter string to be used.
  2622. If an optional filter string is used only such ONC-RPC request/response pairs
  2623. that match that filter will be used to calculate the statistics. If no filter
  2624. string is specified all request/response pairs will be used.</p>
  2625. </div>
  2626. <div class="paragraph">
  2627. <p>By first selecting a conversation by clicking on it and then using the
  2628. right mouse button (on those platforms that have a right
  2629. mouse button) Wireshark will display a popup menu offering several different
  2630. filter operations to apply to the capture.</p>
  2631. </div>
  2632. <div class="ulist">
  2633. <ul>
  2634. <li>
  2635. <p>RADIUS</p>
  2636. </li>
  2637. <li>
  2638. <p>SCSI</p>
  2639. </li>
  2640. <li>
  2641. <p>SMB</p>
  2642. </li>
  2643. </ul>
  2644. </div>
  2645. <div class="paragraph">
  2646. <p>Collect call/reply SRT (Service Response Time) data for SMB. Data collected
  2647. is the number of calls for each SMB command, MinSRT, MaxSRT and AvgSRT.</p>
  2648. </div>
  2649. <div class="paragraph">
  2650. <p>The data will be presented as separate tables for all normal SMB commands,
  2651. all Transaction2 commands and all NT Transaction commands.
  2652. Only those commands that are seen in the capture will have its stats
  2653. displayed.
  2654. Only the first command in a xAndX command chain will be used in the
  2655. calculation. So for common SessionSetupAndX + TreeConnectAndX chains,
  2656. only the SessionSetupAndX call will be used in the statistics.
  2657. This is a flaw that might be fixed in the future.</p>
  2658. </div>
  2659. <div class="paragraph">
  2660. <p>You can apply an optional filter string in a dialog box, before starting
  2661. the calculation. The stats will only be calculated
  2662. on those calls matching that filter.</p>
  2663. </div>
  2664. <div class="paragraph">
  2665. <p>By first selecting a conversation by clicking on it and then using the
  2666. right mouse button (on those platforms that have a right
  2667. mouse button) Wireshark will display a popup menu offering several different
  2668. filter operations to apply to the capture.</p>
  2669. </div>
  2670. <div class="ulist">
  2671. <ul>
  2672. <li>
  2673. <p>SMB2</p>
  2674. </li>
  2675. </ul>
  2676. </div>
  2677. </div>
  2678. </div>
  2679. </dd>
  2680. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">BOOTP-DHCP</b></span></dt>
  2681. <dd>
  2682. <p>Show DHCP statistics.</p>
  2683. </dd>
  2684. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Compare</b></span></dt>
  2685. <dd>
  2686. <p>Compare two capture files.</p>
  2687. </dd>
  2688. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Flow Graph</b></span></dt>
  2689. <dd>
  2690. <p>Show protocol flows.</p>
  2691. </dd>
  2692. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">HTTP</b></span></dt>
  2693. <dd>
  2694. <p>HTTP Load Distribution, Packet Counter &amp; Requests.</p>
  2695. </dd>
  2696. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">IP Addresses</b></span></dt>
  2697. <dd>
  2698. <p>Count, Rate, and Percent by IP Address.</p>
  2699. </dd>
  2700. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">IP Destinations</b></span></dt>
  2701. <dd>
  2702. <p>Count, Rate, and Percent by IP Address, protocol, and port.</p>
  2703. </dd>
  2704. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">IP Protocol Types</b></span></dt>
  2705. <dd>
  2706. <p>Count, Rate, and Percent by IP Protocol Types.</p>
  2707. </dd>
  2708. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">ONC-RPC Programs</b></span></dt>
  2709. <dd>
  2710. <p>This dialog will open a window showing aggregated SRT statistics for all ONC-RPC Programs/versions that exist in the capture file.</p>
  2711. </dd>
  2712. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">TCP Stream Graph</b></span></dt>
  2713. <dd>
  2714. <p>Show Round Trip, Throughput, Time-Sequence (Stevens), or Time-Sequence (tcptrace) graphs.</p>
  2715. </dd>
  2716. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">UDP Multicast streams</b></span></dt>
  2717. <dd>
  2718. <p>Multicast Streams counts, rates, and other statistics by source and destination address and port pairs.</p>
  2719. </dd>
  2720. <dt class="hdlist1"><span class="menuseq"><b class="menu">Statistics</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">WLAN Traffic</b></span></dt>
  2721. <dd>
  2722. <p>WLAN Traffic Statistics.</p>
  2723. </dd>
  2724. <dt class="hdlist1"><span class="menuseq"><b class="menu">Telephony</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">ITU-T H.225</b></span></dt>
  2725. <dd>
  2726. <div class="openblock">
  2727. <div class="content">
  2728. <div class="paragraph">
  2729. <p>Count ITU-T H.225 messages and their reasons. In the first column you get a
  2730. list of H.225 messages and H.225 message reasons, which occur in the current
  2731. capture file. The number of occurrences of each message or reason will be displayed
  2732. in the second column.
  2733. This window opened will update in semi-real time to reflect changes when
  2734. doing live captures or when reading new capture files into <strong>Wireshark</strong>.</p>
  2735. </div>
  2736. <div class="paragraph">
  2737. <p>You can apply an optional filter string in a dialog box, before starting
  2738. the counter. The statistics will only be calculated
  2739. on those calls matching that filter.</p>
  2740. </div>
  2741. </div>
  2742. </div>
  2743. </dd>
  2744. <dt class="hdlist1"><span class="menuseq"><b class="menu">Telephony</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">SIP</b></span></dt>
  2745. <dd>
  2746. <div class="openblock">
  2747. <div class="content">
  2748. <div class="paragraph">
  2749. <p>Activate a counter for SIP messages. You will get the number of occurrences of each
  2750. SIP Method and of each SIP Status-Code. Additionally you also get the number of
  2751. resent SIP Messages (only for SIP over UDP).</p>
  2752. </div>
  2753. <div class="paragraph">
  2754. <p>This window opened will update in semi-real time to reflect changes when
  2755. doing live captures or when reading new capture files into <strong>Wireshark</strong>.</p>
  2756. </div>
  2757. <div class="paragraph">
  2758. <p>You can apply an optional filter string in a dialog box, before starting
  2759. the counter. The statistics will only be calculated
  2760. on those calls matching that filter.</p>
  2761. </div>
  2762. </div>
  2763. </div>
  2764. </dd>
  2765. <dt class="hdlist1"><span class="menuseq"><b class="menu">Tools</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Firewall ACL Rules</b></span></dt>
  2766. <dd>
  2767. <p>Generate firewall rules for a selected packet.</p>
  2768. </dd>
  2769. <dt class="hdlist1"><span class="menuseq"><b class="menu">Help</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Contents</b></span></dt>
  2770. <dd>
  2771. <p>Display the User&#8217;s Guide.</p>
  2772. </dd>
  2773. <dt class="hdlist1"><span class="menuseq"><b class="menu">Help</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Supported Protocols</b></span></dt>
  2774. <dd>
  2775. <p>List of supported protocols and display filter protocol fields.</p>
  2776. </dd>
  2777. <dt class="hdlist1"><span class="menuseq"><b class="menu">Help</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Manual Pages</b></span></dt>
  2778. <dd>
  2779. <p>Display locally installed HTML versions of these manual pages in a web browser.</p>
  2780. </dd>
  2781. <dt class="hdlist1"><span class="menuseq"><b class="menu">Help</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Wireshark Online</b></span></dt>
  2782. <dd>
  2783. <p>Various links to online resources to be open in a web browser, like <a href="https://www.wireshark.org" class="bare">https://www.wireshark.org</a>.</p>
  2784. </dd>
  2785. <dt class="hdlist1"><span class="menuseq"><b class="menu">Help</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">About Wireshark</b></span></dt>
  2786. <dd>
  2787. <p>See various information about Wireshark (see /About dialog below), like the version, the folders used, the available plugins, &#8230;&#8203;</p>
  2788. </dd>
  2789. </dl>
  2790. </div>
  2791. </div>
  2792. <div class="sect2">
  2793. <h3 id="_windows">WINDOWS</h3>
  2794. <div class="dlist">
  2795. <dl>
  2796. <dt class="hdlist1">Main Window</dt>
  2797. <dd>
  2798. <div class="openblock">
  2799. <div class="content">
  2800. <div class="paragraph">
  2801. <p>The main window contains the usual things like the menu, some toolbars, the
  2802. main area and a statusbar. The main area is split into three panes, you can
  2803. resize each pane using a "thumb" at the right end of each divider line.</p>
  2804. </div>
  2805. <div class="paragraph">
  2806. <p>The main window is much more flexible than before. The layout of the main
  2807. window can be customized by the <em>Layout</em> page in the dialog box popped
  2808. up by <em>Edit:Preferences</em>, the following will describe the layout with the
  2809. default settings.</p>
  2810. </div>
  2811. </div>
  2812. </div>
  2813. </dd>
  2814. <dt class="hdlist1">Main Toolbar</dt>
  2815. <dd>
  2816. <div class="openblock">
  2817. <div class="content">
  2818. <div class="paragraph">
  2819. <p>Some menu items are available for quick access here. There is no way to
  2820. customize the items in the toolbar, however the toolbar can be hidden by
  2821. <em>View:Main Toolbar</em>.</p>
  2822. </div>
  2823. </div>
  2824. </div>
  2825. </dd>
  2826. <dt class="hdlist1">Filter Toolbar</dt>
  2827. <dd>
  2828. <div class="openblock">
  2829. <div class="content">
  2830. <div class="paragraph">
  2831. <p>A display filter can be entered into the filter toolbar.
  2832. A filter for HTTP, HTTPS, and DNS traffic might look like this:</p>
  2833. </div>
  2834. <div class="literalblock">
  2835. <div class="content">
  2836. <pre>tcp.port in {80 443 53}</pre>
  2837. </div>
  2838. </div>
  2839. <div class="paragraph">
  2840. <p>Selecting the <em>Filter:</em> button lets you choose from a list of named
  2841. filters that you can optionally save. Pressing the Return or Enter
  2842. keys, or selecting the <em>Apply</em> button, will cause the filter to be
  2843. applied to the current list of packets. Selecting the <em>Reset</em> button
  2844. clears the display filter so that all packets are displayed (again).</p>
  2845. </div>
  2846. <div class="paragraph">
  2847. <p>There is no way to customize the items in the toolbar, however the toolbar
  2848. can be hidden by <em>View:Filter Toolbar</em>.</p>
  2849. </div>
  2850. </div>
  2851. </div>
  2852. </dd>
  2853. <dt class="hdlist1">Packet List Pane</dt>
  2854. <dd>
  2855. <div class="openblock">
  2856. <div class="content">
  2857. <div class="paragraph">
  2858. <p>The top pane contains the list of network packets that you can scroll
  2859. through and select. By default, the packet number, packet timestamp,
  2860. source and destination addresses, protocol, and description are
  2861. displayed for each packet; the <em>Columns</em> page in the dialog box popped
  2862. up by <em>Edit:Preferences</em> lets you change this (although, unfortunately,
  2863. you currently have to save the preferences, and exit and restart
  2864. Wireshark, for those changes to take effect).</p>
  2865. </div>
  2866. <div class="paragraph">
  2867. <p>If you click on the heading for a column, the display will be sorted by
  2868. that column; clicking on the heading again will reverse the sort order
  2869. for that column.</p>
  2870. </div>
  2871. <div class="paragraph">
  2872. <p>An effort is made to display information as high up the protocol stack
  2873. as possible, e.g. IP addresses are displayed for IP packets, but the
  2874. MAC layer address is displayed for unknown packet types.</p>
  2875. </div>
  2876. <div class="paragraph">
  2877. <p>The right mouse button can be used to pop up a menu of operations.</p>
  2878. </div>
  2879. <div class="paragraph">
  2880. <p>The middle mouse button can be used to mark a packet.</p>
  2881. </div>
  2882. </div>
  2883. </div>
  2884. </dd>
  2885. <dt class="hdlist1">Packet Details Pane</dt>
  2886. <dd>
  2887. <div class="openblock">
  2888. <div class="content">
  2889. <div class="paragraph">
  2890. <p>The middle pane contains a display of the details of the
  2891. currently-selected packet. The display shows each field and its value
  2892. in each protocol header in the stack. The right mouse button can be
  2893. used to pop up a menu of operations.</p>
  2894. </div>
  2895. </div>
  2896. </div>
  2897. </dd>
  2898. <dt class="hdlist1">Packet Bytes Pane</dt>
  2899. <dd>
  2900. <div class="openblock">
  2901. <div class="content">
  2902. <div class="paragraph">
  2903. <p>The lowest pane contains a hex and ASCII dump of the actual packet data.
  2904. Selecting a field in the packet details highlights the corresponding
  2905. bytes in this section.</p>
  2906. </div>
  2907. <div class="paragraph">
  2908. <p>The right mouse button can be used to pop up a menu of operations.</p>
  2909. </div>
  2910. </div>
  2911. </div>
  2912. </dd>
  2913. <dt class="hdlist1">Statusbar</dt>
  2914. <dd>
  2915. <div class="openblock">
  2916. <div class="content">
  2917. <div class="paragraph">
  2918. <p>The statusbar is divided into three parts, on the left some context dependent
  2919. things are shown, like information about the loaded file, in the center the
  2920. number of packets are displayed, and on the right the current configuration
  2921. profile.</p>
  2922. </div>
  2923. <div class="paragraph">
  2924. <p>The statusbar can be hidden by <em>View:Statusbar</em>.</p>
  2925. </div>
  2926. </div>
  2927. </div>
  2928. </dd>
  2929. <dt class="hdlist1">Preferences</dt>
  2930. <dd>
  2931. <p>Adjust the behavior of <strong>Wireshark</strong>.</p>
  2932. </dd>
  2933. <dt class="hdlist1">User Interface Preferences</dt>
  2934. <dd>
  2935. <p>Modify the UI to your own personal tastes.</p>
  2936. </dd>
  2937. <dt class="hdlist1">Selection Bars</dt>
  2938. <dd>
  2939. <div class="openblock">
  2940. <div class="content">
  2941. <div class="paragraph">
  2942. <p>The selection bar in the packet list and packet details can have either
  2943. a "browse" or "select" behavior. If the selection bar has a "browse"
  2944. behavior, the arrow keys will move an outline of the selection bar,
  2945. allowing you to browse the rest of the list or details without changing
  2946. the selection until you press the space bar. If the selection bar has a
  2947. "select" behavior, the arrow keys will move the selection bar and change
  2948. the selection to the new item in the packet list or packet details.</p>
  2949. </div>
  2950. </div>
  2951. </div>
  2952. </dd>
  2953. <dt class="hdlist1">Save Window Position</dt>
  2954. <dd>
  2955. <div class="openblock">
  2956. <div class="content">
  2957. <div class="paragraph">
  2958. <p>If this item is selected, the position of the main Wireshark window will
  2959. be saved when Wireshark exits, and used when Wireshark is started again.</p>
  2960. </div>
  2961. </div>
  2962. </div>
  2963. </dd>
  2964. <dt class="hdlist1">Save Window Size</dt>
  2965. <dd>
  2966. <div class="openblock">
  2967. <div class="content">
  2968. <div class="paragraph">
  2969. <p>If this item is selected, the size of the main Wireshark window will
  2970. be saved when Wireshark exits, and used when Wireshark is started again.</p>
  2971. </div>
  2972. </div>
  2973. </div>
  2974. </dd>
  2975. <dt class="hdlist1">Save Window Maximized state</dt>
  2976. <dd>
  2977. <div class="openblock">
  2978. <div class="content">
  2979. <div class="paragraph">
  2980. <p>If this item is selected the maximize state of the main Wireshark window
  2981. will be saved when Wireshark exists, and used when Wireshark is started again.</p>
  2982. </div>
  2983. </div>
  2984. </div>
  2985. </dd>
  2986. <dt class="hdlist1">File Open Dialog Behavior</dt>
  2987. <dd>
  2988. <div class="openblock">
  2989. <div class="content">
  2990. <div class="paragraph">
  2991. <p>This item allows the user to select how Wireshark handles the listing
  2992. of the "File Open" Dialog when opening trace files. "Remember Last
  2993. Directory" causes Wireshark to automatically position the dialog in the
  2994. directory of the most recently opened file, even between launches of Wireshark.
  2995. "Always Open in Directory" allows the user to define a persistent directory
  2996. that the dialog will always default to.</p>
  2997. </div>
  2998. </div>
  2999. </div>
  3000. </dd>
  3001. <dt class="hdlist1">Directory</dt>
  3002. <dd>
  3003. <div class="openblock">
  3004. <div class="content">
  3005. <div class="paragraph">
  3006. <p>Allows the user to specify a persistent File Open directory. Trailing
  3007. slashes or backslashes will automatically be added.</p>
  3008. </div>
  3009. </div>
  3010. </div>
  3011. </dd>
  3012. <dt class="hdlist1">File Open Preview timeout</dt>
  3013. <dd>
  3014. <div class="openblock">
  3015. <div class="content">
  3016. <div class="paragraph">
  3017. <p>This items allows the user to define how much time is spend reading the
  3018. capture file to present preview data in the File Open dialog.</p>
  3019. </div>
  3020. </div>
  3021. </div>
  3022. </dd>
  3023. <dt class="hdlist1">Open Recent maximum list entries</dt>
  3024. <dd>
  3025. <div class="openblock">
  3026. <div class="content">
  3027. <div class="paragraph">
  3028. <p>The File menu supports a recent file list. This items allows the user to
  3029. specify how many files are kept track of in this list.</p>
  3030. </div>
  3031. </div>
  3032. </div>
  3033. </dd>
  3034. <dt class="hdlist1">Ask for unsaved capture files</dt>
  3035. <dd>
  3036. <div class="openblock">
  3037. <div class="content">
  3038. <div class="paragraph">
  3039. <p>When closing a capture file or Wireshark itself if the file isn&#8217;t saved yet
  3040. the user is presented the option to save the file when this item is set.</p>
  3041. </div>
  3042. </div>
  3043. </div>
  3044. </dd>
  3045. <dt class="hdlist1">Wrap during find</dt>
  3046. <dd>
  3047. <div class="openblock">
  3048. <div class="content">
  3049. <div class="paragraph">
  3050. <p>This items determines the behavior when reaching the beginning or the end
  3051. of a capture file. When set the search wraps around and continues, otherwise
  3052. it stops.</p>
  3053. </div>
  3054. </div>
  3055. </div>
  3056. </dd>
  3057. <dt class="hdlist1">Settings dialogs show a save button</dt>
  3058. <dd>
  3059. <div class="openblock">
  3060. <div class="content">
  3061. <div class="paragraph">
  3062. <p>This item determines if the various dialogs sport an explicit Save button
  3063. or that save is implicit in OK / Apply.</p>
  3064. </div>
  3065. </div>
  3066. </div>
  3067. </dd>
  3068. <dt class="hdlist1">Web browser command</dt>
  3069. <dd>
  3070. <div class="openblock">
  3071. <div class="content">
  3072. <div class="paragraph">
  3073. <p>This entry specifies the command line to launch a web browser. It is used
  3074. to access online content, like the Wiki and user guide. Use '%s' to place
  3075. the request URL in the command line.</p>
  3076. </div>
  3077. </div>
  3078. </div>
  3079. </dd>
  3080. <dt class="hdlist1">Layout Preferences</dt>
  3081. <dd>
  3082. <div class="openblock">
  3083. <div class="content">
  3084. <div class="paragraph">
  3085. <p>The <em>Layout</em> page lets you specify the general layout of the main window.
  3086. You can choose from six different layouts and fill the three panes with the
  3087. contents you like.</p>
  3088. </div>
  3089. </div>
  3090. </div>
  3091. </dd>
  3092. <dt class="hdlist1">Scrollbars</dt>
  3093. <dd>
  3094. <div class="openblock">
  3095. <div class="content">
  3096. <div class="paragraph">
  3097. <p>The vertical scrollbars in the three panes can be set to be either on
  3098. the left or the right.</p>
  3099. </div>
  3100. </div>
  3101. </div>
  3102. </dd>
  3103. <dt class="hdlist1">Alternating row colors</dt>
  3104. <dt class="hdlist1">Hex Display</dt>
  3105. <dd>
  3106. <div class="openblock">
  3107. <div class="content">
  3108. <div class="paragraph">
  3109. <p>The highlight method in the hex dump display for the selected protocol
  3110. item can be set to use either inverse video, or bold characters.</p>
  3111. </div>
  3112. </div>
  3113. </div>
  3114. </dd>
  3115. <dt class="hdlist1">Toolbar style</dt>
  3116. <dt class="hdlist1">Filter toolbar placement</dt>
  3117. <dt class="hdlist1">Custom window title</dt>
  3118. <dt class="hdlist1">Column Preferences</dt>
  3119. <dd>
  3120. <div class="openblock">
  3121. <div class="content">
  3122. <div class="paragraph">
  3123. <p>The <em>Columns</em> page lets you specify the number, title, and format
  3124. of each column in the packet list.</p>
  3125. </div>
  3126. <div class="paragraph">
  3127. <p>The <em>Column title</em> entry is used to specify the title of the column
  3128. displayed at the top of the packet list. The type of data that the column
  3129. displays can be specified using the <em>Column format</em> option menu.
  3130. The row of buttons on the left perform the following actions:</p>
  3131. </div>
  3132. </div>
  3133. </div>
  3134. </dd>
  3135. <dt class="hdlist1">New</dt>
  3136. <dd>
  3137. <p>Adds a new column to the list.</p>
  3138. </dd>
  3139. <dt class="hdlist1">Delete</dt>
  3140. <dd>
  3141. <p>Deletes the currently selected list item.</p>
  3142. </dd>
  3143. <dt class="hdlist1">Up / Down</dt>
  3144. <dd>
  3145. <p>Moves the selected list item up or down one position.</p>
  3146. </dd>
  3147. <dt class="hdlist1">Font Preferences</dt>
  3148. <dd>
  3149. <p>The <em>Font</em> page lets you select the font to be used for most text.</p>
  3150. </dd>
  3151. <dt class="hdlist1">Color Preferences</dt>
  3152. <dd>
  3153. <div class="openblock">
  3154. <div class="content">
  3155. <div class="paragraph">
  3156. <p>The <em>Colors</em> page can be used to change the color of the text
  3157. displayed in the TCP stream window and for marked packets. To change a color,
  3158. simply select an attribute from the "Set:" menu and use the color selector to
  3159. get the desired color. The new text colors are displayed as a sample text.</p>
  3160. </div>
  3161. </div>
  3162. </div>
  3163. </dd>
  3164. <dt class="hdlist1">Capture Preferences</dt>
  3165. <dd>
  3166. <div class="openblock">
  3167. <div class="content">
  3168. <div class="paragraph">
  3169. <p>The <em>Capture</em> page lets you specify various parameters for capturing
  3170. live packet data; these are used the first time a capture is started.</p>
  3171. </div>
  3172. <div class="paragraph">
  3173. <p>The <em>Interface:</em> combo box lets you specify the interface from which to
  3174. capture packet data, or the name of a FIFO from which to get the packet
  3175. data.</p>
  3176. </div>
  3177. <div class="paragraph">
  3178. <p>The <em>Data link type:</em> option menu lets you, for some interfaces, select
  3179. the data link header you want to see on the packets you capture. For
  3180. example, in some OSes and with some versions of libpcap, you can choose,
  3181. on an 802.11 interface, whether the packets should appear as Ethernet
  3182. packets (with a fake Ethernet header) or as 802.11 packets.</p>
  3183. </div>
  3184. <div class="paragraph">
  3185. <p>The <em>Limit each packet to &#8230;&#8203; bytes</em> check box lets you set the
  3186. snapshot length to use when capturing live data; turn on the check box,
  3187. and then set the number of bytes to use as the snapshot length.</p>
  3188. </div>
  3189. <div class="paragraph">
  3190. <p>The <em>Filter:</em> text entry lets you set a capture filter expression to be
  3191. used when capturing.</p>
  3192. </div>
  3193. <div class="paragraph">
  3194. <p>If any of the environment variables SSH_CONNECTION, SSH_CLIENT,
  3195. REMOTEHOST, DISPLAY, or SESSIONNAME are set, Wireshark will create a
  3196. default capture filter that excludes traffic from the hosts and ports
  3197. defined in those variables.</p>
  3198. </div>
  3199. <div class="paragraph">
  3200. <p>The <em>Capture packets in promiscuous mode</em> check box lets you specify
  3201. whether to put the interface in promiscuous mode when capturing.</p>
  3202. </div>
  3203. <div class="paragraph">
  3204. <p>The <em>Update list of packets in real time</em> check box lets you specify
  3205. that the display should be updated as packets are seen.</p>
  3206. </div>
  3207. <div class="paragraph">
  3208. <p>The <em>Automatic scrolling in live capture</em> check box lets you specify
  3209. whether, in an "Update list of packets in real time" capture, the packet
  3210. list pane should automatically scroll to show the most recently captured
  3211. packets.</p>
  3212. </div>
  3213. </div>
  3214. </div>
  3215. </dd>
  3216. <dt class="hdlist1">Printing Preferences</dt>
  3217. <dd>
  3218. <div class="openblock">
  3219. <div class="content">
  3220. <div class="paragraph">
  3221. <p>The radio buttons at the top of the <em>Printing</em> page allow you choose
  3222. between printing packets with the <em>File:Print Packet</em> menu item as text
  3223. or PostScript, and sending the output directly to a command or saving it
  3224. to a file. The <em>Command:</em> text entry box, on UNIX-compatible systems,
  3225. is the command to send files to (usually <strong>lpr</strong>), and the <em>File:</em> entry
  3226. box lets you enter the name of the file you wish to save to.
  3227. Additionally, you can select the <em>File:</em> button to browse the file
  3228. system for a particular save file.</p>
  3229. </div>
  3230. </div>
  3231. </div>
  3232. </dd>
  3233. <dt class="hdlist1">Name Resolution Preferences</dt>
  3234. <dd>
  3235. <div class="openblock">
  3236. <div class="content">
  3237. <div class="paragraph">
  3238. <p>The <em>Enable MAC name resolution</em>, <em>Enable network name resolution</em> and
  3239. <em>Enable transport name resolution</em> check boxes let you specify whether
  3240. MAC addresses, network addresses, and transport-layer port numbers
  3241. should be translated to names.</p>
  3242. </div>
  3243. <div class="paragraph">
  3244. <p>The <em>Enable concurrent DNS name resolution</em> allows Wireshark to send out
  3245. multiple name resolution requests and not wait for the result before
  3246. continuing dissection. This speeds up dissection with network name
  3247. resolution but initially may miss resolutions. The number of concurrent
  3248. requests can be set here as well.</p>
  3249. </div>
  3250. <div class="paragraph">
  3251. <p><em>SMI paths</em></p>
  3252. </div>
  3253. <div class="paragraph">
  3254. <p><em>SMI modules</em></p>
  3255. </div>
  3256. </div>
  3257. </div>
  3258. </dd>
  3259. <dt class="hdlist1">RTP Player Preferences</dt>
  3260. <dd>
  3261. <div class="openblock">
  3262. <div class="content">
  3263. <div class="paragraph">
  3264. <p>This page allows you to select the number of channels visible in the
  3265. RTP player window. It determines the height of the window, more channels
  3266. are possible and visible by means of a scroll bar.</p>
  3267. </div>
  3268. </div>
  3269. </div>
  3270. </dd>
  3271. <dt class="hdlist1">Protocol Preferences</dt>
  3272. <dd>
  3273. <div class="openblock">
  3274. <div class="content">
  3275. <div class="paragraph">
  3276. <p>There are also pages for various protocols that Wireshark dissects,
  3277. controlling the way Wireshark handles those protocols.</p>
  3278. </div>
  3279. </div>
  3280. </div>
  3281. </dd>
  3282. <dt class="hdlist1">Edit Capture Filter List</dt>
  3283. <dt class="hdlist1">Edit Display Filter List</dt>
  3284. <dt class="hdlist1">Capture Filter</dt>
  3285. <dt class="hdlist1">Display Filter</dt>
  3286. <dt class="hdlist1">Read Filter</dt>
  3287. <dt class="hdlist1">Search Filter</dt>
  3288. <dd>
  3289. <div class="openblock">
  3290. <div class="content">
  3291. <div class="paragraph">
  3292. <p>The <em>Edit Capture Filter List</em> dialog lets you create, modify, and
  3293. delete capture filters, and the <em>Edit Display Filter List</em> dialog lets
  3294. you create, modify, and delete display filters.</p>
  3295. </div>
  3296. <div class="paragraph">
  3297. <p>The <em>Capture Filter</em> dialog lets you do all of the editing operations
  3298. listed, and also lets you choose or construct a filter to be used when
  3299. capturing packets.</p>
  3300. </div>
  3301. <div class="paragraph">
  3302. <p>The <em>Display Filter</em> dialog lets you do all of the editing operations
  3303. listed, and also lets you choose or construct a filter to be used to
  3304. filter the current capture being viewed.</p>
  3305. </div>
  3306. <div class="paragraph">
  3307. <p>The <em>Read Filter</em> dialog lets you do all of the editing operations
  3308. listed, and also lets you choose or construct a filter to be used to
  3309. as a read filter for a capture file you open.</p>
  3310. </div>
  3311. <div class="paragraph">
  3312. <p>The <em>Search Filter</em> dialog lets you do all of the editing operations
  3313. listed, and also lets you choose or construct a filter expression to be
  3314. used in a find operation.</p>
  3315. </div>
  3316. <div class="paragraph">
  3317. <p>In all of those dialogs, the <em>Filter name</em> entry specifies a
  3318. descriptive name for a filter, e.g. <strong>Web and DNS traffic</strong>. The
  3319. <em>Filter string</em> entry is the text that actually describes the filtering
  3320. action to take, as described above.The dialog buttons perform the
  3321. following actions:</p>
  3322. </div>
  3323. </div>
  3324. </div>
  3325. </dd>
  3326. <dt class="hdlist1">New</dt>
  3327. <dd>
  3328. <p>If there is text in the two entry boxes, creates a new associated list item.</p>
  3329. </dd>
  3330. <dt class="hdlist1">Edit</dt>
  3331. <dd>
  3332. <p>Modifies the currently selected list item to match what&#8217;s in the entry boxes.</p>
  3333. </dd>
  3334. <dt class="hdlist1">Delete</dt>
  3335. <dd>
  3336. <p>Deletes the currently selected list item.</p>
  3337. </dd>
  3338. <dt class="hdlist1">Add Expression&#8230;&#8203;</dt>
  3339. <dd>
  3340. <div class="openblock">
  3341. <div class="content">
  3342. <div class="paragraph">
  3343. <p>For display filter expressions, pops up a dialog box to allow you to
  3344. construct a filter expression to test a particular field; it offers
  3345. lists of field names, and, when appropriate, lists from which to select
  3346. tests to perform on the field and values with which to compare it. In
  3347. that dialog box, the OK button will cause the filter expression you
  3348. constructed to be entered into the <em>Filter string</em> entry at the current
  3349. cursor position.</p>
  3350. </div>
  3351. </div>
  3352. </div>
  3353. </dd>
  3354. <dt class="hdlist1">OK</dt>
  3355. <dd>
  3356. <div class="openblock">
  3357. <div class="content">
  3358. <div class="paragraph">
  3359. <p>In the <em>Capture Filter</em> dialog, closes the dialog box and makes the
  3360. filter in the <em>Filter string</em> entry the filter in the <em>Capture
  3361. Preferences</em> dialog. In the <em>Display Filter</em> dialog, closes the dialog
  3362. box and makes the filter in the <em>Filter string</em> entry the current
  3363. display filter, and applies it to the current capture. In the <em>Read
  3364. Filter</em> dialog, closes the dialog box and makes the filter in the
  3365. <em>Filter string</em> entry the filter in the <em>Open Capture File</em> dialog.
  3366. In the <em>Search Filter</em> dialog, closes the dialog box and makes the
  3367. filter in the <em>Filter string</em> entry the filter in the <em>Find Packet</em>
  3368. dialog.</p>
  3369. </div>
  3370. </div>
  3371. </div>
  3372. </dd>
  3373. <dt class="hdlist1">Apply</dt>
  3374. <dd>
  3375. <p>Makes the filter in the <em>Filter string</em> entry the current display filter, and applies it to the current capture.</p>
  3376. </dd>
  3377. <dt class="hdlist1">Save</dt>
  3378. <dd>
  3379. <div class="openblock">
  3380. <div class="content">
  3381. <div class="paragraph">
  3382. <p>If the list of filters being edited is the list of
  3383. capture filters, saves the current filter list to the personal capture
  3384. filters file, and if the list of filters being edited is the list of
  3385. display filters, saves the current filter list to the personal display
  3386. filters file.</p>
  3387. </div>
  3388. </div>
  3389. </div>
  3390. </dd>
  3391. <dt class="hdlist1">Close</dt>
  3392. <dd>
  3393. <p>Closes the dialog without doing anything with the filter in the <em>Filter string</em> entry.</p>
  3394. </dd>
  3395. <dt class="hdlist1">The Color Filters Dialog</dt>
  3396. <dd>
  3397. <p>This dialog displays a list of color filters and allows it to be modified.</p>
  3398. </dd>
  3399. <dt class="hdlist1">THE FILTER LIST</dt>
  3400. <dd>
  3401. <div class="openblock">
  3402. <div class="content">
  3403. <div class="paragraph">
  3404. <p>Single rows may be selected by clicking. Multiple rows may be selected
  3405. by using the ctrl and shift keys in combination with the mouse button.</p>
  3406. </div>
  3407. </div>
  3408. </div>
  3409. </dd>
  3410. <dt class="hdlist1">NEW</dt>
  3411. <dd>
  3412. <div class="openblock">
  3413. <div class="content">
  3414. <div class="paragraph">
  3415. <p>Adds a new filter at the bottom of the list and opens the Edit Color
  3416. Filter dialog box. You will have to alter the filter expression at
  3417. least before the filter will be accepted. The format of color filter
  3418. expressions is identical to that of display filters. The new filter is
  3419. selected, so it may immediately be moved up and down, deleted or edited.
  3420. To avoid confusion all filters are unselected before the new filter is
  3421. created.</p>
  3422. </div>
  3423. </div>
  3424. </div>
  3425. </dd>
  3426. <dt class="hdlist1">EDIT</dt>
  3427. <dd>
  3428. <div class="openblock">
  3429. <div class="content">
  3430. <div class="paragraph">
  3431. <p>Opens the Edit Color Filter dialog box for the selected filter. (If this
  3432. button is disabled you may have more than one filter selected, making it
  3433. ambiguous which is to be edited.)</p>
  3434. </div>
  3435. </div>
  3436. </div>
  3437. </dd>
  3438. <dt class="hdlist1">ENABLE</dt>
  3439. <dd>
  3440. <p>Enables the selected color filter(s).</p>
  3441. </dd>
  3442. <dt class="hdlist1">DISABLE</dt>
  3443. <dd>
  3444. <p>Disables the selected color filter(s).</p>
  3445. </dd>
  3446. <dt class="hdlist1">DELETE</dt>
  3447. <dd>
  3448. <p>Deletes the selected color filter(s).</p>
  3449. </dd>
  3450. <dt class="hdlist1">EXPORT</dt>
  3451. <dd>
  3452. <div class="openblock">
  3453. <div class="content">
  3454. <div class="paragraph">
  3455. <p>Allows you to choose a file in which to save the current list of color
  3456. filters. You may also choose to save only the selected filters. A
  3457. button is provided to save the filters in the global color filters file
  3458. (you must have sufficient permissions to write this file, of course).</p>
  3459. </div>
  3460. </div>
  3461. </div>
  3462. </dd>
  3463. <dt class="hdlist1">IMPORT</dt>
  3464. <dd>
  3465. <div class="openblock">
  3466. <div class="content">
  3467. <div class="paragraph">
  3468. <p>Allows you to choose a file containing color filters which are then
  3469. added to the bottom of the current list. All the added filters are
  3470. selected, so they may be moved to the correct position in the list as a
  3471. group. To avoid confusion, all filters are unselected before the new
  3472. filters are imported. A button is provided to load the filters from the
  3473. global color filters file.</p>
  3474. </div>
  3475. </div>
  3476. </div>
  3477. </dd>
  3478. <dt class="hdlist1">CLEAR</dt>
  3479. <dd>
  3480. <p>Deletes your personal color filters file, reloads the global color filters file, if any, and closes the dialog.</p>
  3481. </dd>
  3482. <dt class="hdlist1">UP</dt>
  3483. <dd>
  3484. <p>Moves the selected filter(s) up the list, making it more likely that they will be used to color packets.</p>
  3485. </dd>
  3486. <dt class="hdlist1">DOWN</dt>
  3487. <dd>
  3488. <p>Moves the selected filter(s) down the list, making it less likely that they will be used to color packets.</p>
  3489. </dd>
  3490. <dt class="hdlist1">OK</dt>
  3491. <dd>
  3492. <p>Closes the dialog and uses the color filters as they stand.</p>
  3493. </dd>
  3494. <dt class="hdlist1">APPLY</dt>
  3495. <dd>
  3496. <p>Colors the packets according to the current list of color filters, but does not close the dialog.</p>
  3497. </dd>
  3498. <dt class="hdlist1">SAVE</dt>
  3499. <dd>
  3500. <div class="openblock">
  3501. <div class="content">
  3502. <div class="paragraph">
  3503. <p>Saves the current list of color filters in your personal color filters
  3504. file. Unless you do this they will not be used the next time you start
  3505. Wireshark.</p>
  3506. </div>
  3507. </div>
  3508. </div>
  3509. </dd>
  3510. <dt class="hdlist1">CLOSE</dt>
  3511. <dd>
  3512. <div class="openblock">
  3513. <div class="content">
  3514. <div class="paragraph">
  3515. <p>Closes the dialog without changing the coloration of the packets. Note
  3516. that changes you have made to the current list of color filters are not
  3517. undone.</p>
  3518. </div>
  3519. </div>
  3520. </div>
  3521. </dd>
  3522. <dt class="hdlist1">Capture Options Dialog</dt>
  3523. <dd>
  3524. <div class="openblock">
  3525. <div class="content">
  3526. <div class="paragraph">
  3527. <p>The <em>Capture Options Dialog</em> lets you specify various parameters for
  3528. capturing live packet data.</p>
  3529. </div>
  3530. <div class="paragraph">
  3531. <p>The <em>Interface:</em> field lets you specify the interface from which to
  3532. capture packet data or a command from which to get the packet data via a
  3533. pipe.</p>
  3534. </div>
  3535. <div class="paragraph">
  3536. <p>The <em>Link layer header type:</em> field lets you specify the interfaces link
  3537. layer header type. This field is usually disabled, as most interface have
  3538. only one header type.</p>
  3539. </div>
  3540. <div class="paragraph">
  3541. <p>The <em>Capture packets in promiscuous mode</em> check box lets you specify
  3542. whether the interface should be put into promiscuous mode when
  3543. capturing.</p>
  3544. </div>
  3545. <div class="paragraph">
  3546. <p>The <em>Limit each packet to &#8230;&#8203; bytes</em> check box and field lets you
  3547. specify a maximum number of bytes per packet to capture and save; if the
  3548. check box is not checked, the limit will be 262144 bytes.</p>
  3549. </div>
  3550. <div class="paragraph">
  3551. <p>The <em>Capture Filter:</em> entry lets you specify the capture filter using a
  3552. tcpdump-style filter string as described above.</p>
  3553. </div>
  3554. <div class="paragraph">
  3555. <p>The <em>File:</em> entry lets you specify the file into which captured packets
  3556. should be saved, as in the <em>Printer Options</em> dialog above. If not
  3557. specified, the captured packets will be saved in a temporary file; you
  3558. can save those packets to a file with the <em>File:Save As</em> menu item.</p>
  3559. </div>
  3560. <div class="paragraph">
  3561. <p>The <em>Use multiple files</em> check box lets you specify that the capture
  3562. should be done in "multiple files" mode. This option is disabled, if the
  3563. <em>Update list of packets in real time</em> option is checked.</p>
  3564. </div>
  3565. <div class="paragraph">
  3566. <p>The <em>Next file every &#8230;&#8203; megabyte(s)</em> check box and fields lets
  3567. you specify that a switch to a next file should be done
  3568. if the specified filesize is reached. You can also select the appropriate
  3569. unit, but beware that the filesize has a maximum of 2 GiB.
  3570. The check box is forced to be checked, as "multiple files" mode requires a
  3571. file size to be specified.</p>
  3572. </div>
  3573. <div class="paragraph">
  3574. <p>The <em>Next file every &#8230;&#8203; minute(s)</em> check box and fields lets
  3575. you specify that the switch to a next file should be done after the specified
  3576. time has elapsed, even if the specified capture size is not reached.</p>
  3577. </div>
  3578. <div class="paragraph">
  3579. <p>The <em>Ring buffer with &#8230;&#8203; files</em> field lets you specify the number
  3580. of files of a ring buffer. This feature will capture into the first file
  3581. again, after the specified number of files have been used.</p>
  3582. </div>
  3583. <div class="paragraph">
  3584. <p>The <em>Stop capture after &#8230;&#8203; files</em> field lets you specify the number
  3585. of capture files used, until the capture is stopped.</p>
  3586. </div>
  3587. <div class="paragraph">
  3588. <p>The <em>Stop capture after &#8230;&#8203; packet(s)</em> check box and field let
  3589. you specify that Wireshark should stop capturing after having captured
  3590. some number of packets; if the check box is not checked, Wireshark will
  3591. not stop capturing at some fixed number of captured packets.</p>
  3592. </div>
  3593. <div class="paragraph">
  3594. <p>The <em>Stop capture after &#8230;&#8203; megabyte(s)</em> check box and field lets
  3595. you specify that Wireshark should stop capturing after the file to which
  3596. captured packets are being saved grows as large as or larger than some
  3597. specified number of megabytes. If the check box is not checked, Wireshark
  3598. will not stop capturing at some capture file size (although the operating
  3599. system on which Wireshark is running, or the available disk space, may still
  3600. limit the maximum size of a capture file). This option is disabled, if
  3601. "multiple files" mode is used,</p>
  3602. </div>
  3603. <div class="paragraph">
  3604. <p>The <em>Stop capture after &#8230;&#8203; second(s)</em> check box and field let you
  3605. specify that Wireshark should stop capturing after it has been capturing
  3606. for some number of seconds; if the check box is not checked, Wireshark
  3607. will not stop capturing after some fixed time has elapsed.</p>
  3608. </div>
  3609. <div class="paragraph">
  3610. <p>The <em>Update list of packets in real time</em> check box lets you specify
  3611. whether the display should be updated as packets are captured and, if
  3612. you specify that, the <em>Automatic scrolling in live capture</em> check box
  3613. lets you specify the packet list pane should automatically scroll to
  3614. show the most recently captured packets as new packets arrive.</p>
  3615. </div>
  3616. <div class="paragraph">
  3617. <p>The <em>Enable MAC name resolution</em>, <em>Enable network name resolution</em> and
  3618. <em>Enable transport name resolution</em> check boxes let you specify whether
  3619. MAC addresses, network addresses, and transport-layer port numbers
  3620. should be translated to names.</p>
  3621. </div>
  3622. </div>
  3623. </div>
  3624. </dd>
  3625. <dt class="hdlist1">About</dt>
  3626. <dd>
  3627. <p>The <em>About</em> dialog lets you view various information about Wireshark.</p>
  3628. </dd>
  3629. <dt class="hdlist1"><span class="menuseq"><b class="menu">About</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Wireshark</b></span></dt>
  3630. <dd>
  3631. <div class="openblock">
  3632. <div class="content">
  3633. <div class="paragraph">
  3634. <p>The <em>Wireshark</em> page lets you view general information about Wireshark,
  3635. like the installed version, licensing information and such.</p>
  3636. </div>
  3637. </div>
  3638. </div>
  3639. </dd>
  3640. <dt class="hdlist1"><span class="menuseq"><b class="menu">About</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Authors</b></span></dt>
  3641. <dd>
  3642. <p>The <em>Authors</em> page shows the author and all contributors.</p>
  3643. </dd>
  3644. <dt class="hdlist1"><span class="menuseq"><b class="menu">About</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Folders</b></span></dt>
  3645. <dd>
  3646. <div class="openblock">
  3647. <div class="content">
  3648. <div class="paragraph">
  3649. <p>The <em>Folders</em> page lets you view the directory names where Wireshark is
  3650. searching it&#8217;s various configuration and other files.</p>
  3651. </div>
  3652. </div>
  3653. </div>
  3654. </dd>
  3655. <dt class="hdlist1"><span class="menuseq"><b class="menu">About</b>&#160;<b class="caret">&#8250;</b> <b class="menuitem">Plugins</b></span></dt>
  3656. <dd>
  3657. <div class="openblock">
  3658. <div class="content">
  3659. <div class="paragraph">
  3660. <p>The <em>Plugins</em> page lets you view the dissector plugin modules
  3661. available on your system.</p>
  3662. </div>
  3663. <div class="paragraph">
  3664. <p>The <em>Plugins List</em> shows the name and version of each dissector plugin
  3665. module found on your system.</p>
  3666. </div>
  3667. <div class="paragraph">
  3668. <p>On Unix-compatible systems, the plugins are looked for in the following
  3669. directories: the <em>lib/wireshark/plugins/$VERSION</em> directory under the
  3670. main installation directory (for example,
  3671. <em>/usr/local/lib/wireshark/plugins/$VERSION</em>), and then
  3672. <em>$HOME/.wireshark/plugins</em>.</p>
  3673. </div>
  3674. <div class="paragraph">
  3675. <p>On Windows systems, the plugins are looked for in the following
  3676. directories: <em>plugins\$VERSION</em> directory under the main installation
  3677. directory (for example, <em>C:\Program Files\Wireshark\plugins\$VERSION</em>),
  3678. and then <em>%APPDATA%\Wireshark\plugins\$VERSION</em> (or, if %APPDATA% isn&#8217;t
  3679. defined, <em>%USERPROFILE%\Application Data\Wireshark\plugins\$VERSION</em>).</p>
  3680. </div>
  3681. <div class="paragraph">
  3682. <p>$VERSION is the version number of the plugin interface, which
  3683. is typically the version number of Wireshark. Note that a dissector
  3684. plugin module may support more than one protocol; there is not
  3685. necessarily a one-to-one correspondence between dissector plugin modules
  3686. and protocols. Protocols supported by a dissector plugin module are
  3687. enabled and disabled using the <em>Edit:Protocols</em> dialog box, just as
  3688. protocols built into Wireshark are.</p>
  3689. </div>
  3690. </div>
  3691. </div>
  3692. </dd>
  3693. </dl>
  3694. </div>
  3695. </div>
  3696. </div>
  3697. </div>
  3698. <div class="sect1">
  3699. <h2 id="_capture_filter_syntax">CAPTURE FILTER SYNTAX</h2>
  3700. <div class="sectionbody">
  3701. <div class="paragraph">
  3702. <p>See the manual page of <a href="https://www.tcpdump.org/manpages/pcap-filter.7.html">pcap-filter</a>(7) or, if that doesn&#8217;t exist, <a href="https://www.tcpdump.org/manpages/tcpdump.1.html">tcpdump</a>(8),
  3703. or, if that doesn&#8217;t exist, <a href="https://gitlab.com/wireshark/wireshark/-/wikis/CaptureFilters" class="bare">https://gitlab.com/wireshark/wireshark/-/wikis/CaptureFilters</a>.</p>
  3704. </div>
  3705. </div>
  3706. </div>
  3707. <div class="sect1">
  3708. <h2 id="_display_filter_syntax">DISPLAY FILTER SYNTAX</h2>
  3709. <div class="sectionbody">
  3710. <div class="paragraph">
  3711. <p>For a complete table of protocol and protocol fields that are filterable
  3712. in <strong>Wireshark</strong> see the <a href="wireshark-filter.html">wireshark-filter</a>(4) manual page.</p>
  3713. </div>
  3714. </div>
  3715. </div>
  3716. <div class="sect1">
  3717. <h2 id="_files">FILES</h2>
  3718. <div class="sectionbody">
  3719. <div class="paragraph">
  3720. <p>These files contains various <strong>Wireshark</strong> configuration settings.</p>
  3721. </div>
  3722. <div class="dlist">
  3723. <dl>
  3724. <dt class="hdlist1">Preferences</dt>
  3725. <dd>
  3726. <div class="openblock">
  3727. <div class="content">
  3728. <div class="paragraph">
  3729. <p>The <em>preferences</em> files contain global (system-wide) and personal
  3730. preference settings. If the system-wide preference file exists, it is
  3731. read first, overriding the default settings. If the personal preferences
  3732. file exists, it is read next, overriding any previous values. Note: If
  3733. the command line flag <strong>-o</strong> is used (possibly more than once), it will
  3734. in turn override values from the preferences files.</p>
  3735. </div>
  3736. <div class="paragraph">
  3737. <p>The preferences settings are in the form <em>prefname:value</em>,
  3738. one per line,
  3739. where <em>prefname</em> is the name of the preference
  3740. and <em>value</em> is the value to
  3741. which it should be set; white space is allowed between <strong>:</strong> and
  3742. <em>value</em>. A preference setting can be continued on subsequent lines by
  3743. indenting the continuation lines with white space. A <strong>#</strong> character
  3744. starts a comment that runs to the end of the line:</p>
  3745. </div>
  3746. <div class="literalblock">
  3747. <div class="content">
  3748. <pre># Vertical scrollbars should be on right side?
  3749. # TRUE or FALSE (case-insensitive).
  3750. gui.scrollbar_on_right: TRUE</pre>
  3751. </div>
  3752. </div>
  3753. <div class="paragraph">
  3754. <p>The global preferences file is looked for in the <em>wireshark</em> directory
  3755. under the <em>share</em> subdirectory of the main installation directory (for
  3756. example, <em>/usr/local/share/wireshark/preferences</em>) on UNIX-compatible
  3757. systems, and in the main installation directory (for example,
  3758. <em>C:\Program Files\Wireshark\preferences</em>) on Windows systems.</p>
  3759. </div>
  3760. <div class="paragraph">
  3761. <p>The personal preferences file is looked for in
  3762. <em>$XDG_CONFIG_HOME/wireshark/preferences</em>
  3763. (or, if <em>$XDG_CONFIG_HOME/wireshark</em> does not exist while <em>$HOME/.wireshark</em>
  3764. is present, <em>$HOME/.wireshark/preferences</em>) on
  3765. UNIX-compatible systems and <em>%APPDATA%\Wireshark\preferences</em> (or, if
  3766. %APPDATA% isn&#8217;t defined, <em>%USERPROFILE%\Application
  3767. Data\Wireshark\preferences</em>) on Windows systems.</p>
  3768. </div>
  3769. <div class="paragraph">
  3770. <p>Note: Whenever the preferences are saved by using the <em>Save</em> button
  3771. in the <em>Edit:Preferences</em> dialog box, your personal preferences file
  3772. will be overwritten with the new settings, destroying any comments and
  3773. unknown/obsolete settings that were in the file.</p>
  3774. </div>
  3775. </div>
  3776. </div>
  3777. </dd>
  3778. <dt class="hdlist1">Recent</dt>
  3779. <dd>
  3780. <div class="openblock">
  3781. <div class="content">
  3782. <div class="paragraph">
  3783. <p>The <em>recent</em> file contains personal settings (mostly GUI related) such
  3784. as the current <strong>Wireshark</strong> window size. The file is saved at program exit and
  3785. read in at program start automatically. Note: The command line flag <strong>-o</strong>
  3786. may be used to override settings from this file.</p>
  3787. </div>
  3788. <div class="paragraph">
  3789. <p>The settings in this file have the same format as in the <em>preferences</em>
  3790. files, and the same directory as for the personal preferences file is
  3791. used.</p>
  3792. </div>
  3793. <div class="paragraph">
  3794. <p>Note: Whenever Wireshark is closed, your recent file
  3795. will be overwritten with the new settings, destroying any comments and
  3796. unknown/obsolete settings that were in the file.</p>
  3797. </div>
  3798. </div>
  3799. </div>
  3800. </dd>
  3801. <dt class="hdlist1">Disabled (Enabled) Protocols</dt>
  3802. <dd>
  3803. <div class="openblock">
  3804. <div class="content">
  3805. <div class="paragraph">
  3806. <p>The <em>disabled_protos</em> files contain system-wide and personal lists of
  3807. protocols that have been disabled, so that their dissectors are never
  3808. called. The files contain protocol names, one per line, where the
  3809. protocol name is the same name that would be used in a display filter
  3810. for the protocol:</p>
  3811. </div>
  3812. <div class="literalblock">
  3813. <div class="content">
  3814. <pre>http
  3815. tcp # a comment</pre>
  3816. </div>
  3817. </div>
  3818. <div class="paragraph">
  3819. <p>If a protocol is listed in the global <em>disabled_protos</em> file, it is not
  3820. displayed in the <em>Analyze:Enabled Protocols</em> dialog box, and so cannot
  3821. be enabled by the user.</p>
  3822. </div>
  3823. <div class="paragraph">
  3824. <p>The global <em>disabled_protos</em> file uses the same directory as the global
  3825. preferences file.</p>
  3826. </div>
  3827. <div class="paragraph">
  3828. <p>The personal <em>disabled_protos</em> file uses the same directory as the
  3829. personal preferences file.</p>
  3830. </div>
  3831. <div class="paragraph">
  3832. <p>Note: Whenever the disabled protocols list is saved by using the <em>Save</em>
  3833. button in the <em>Analyze:Enabled Protocols</em> dialog box, your personal
  3834. disabled protocols file will be overwritten with the new settings,
  3835. destroying any comments that were in the file.</p>
  3836. </div>
  3837. </div>
  3838. </div>
  3839. </dd>
  3840. <dt class="hdlist1">Name Resolution (hosts)</dt>
  3841. <dd>
  3842. <div class="openblock">
  3843. <div class="content">
  3844. <div class="paragraph">
  3845. <p>If the personal <em>hosts</em> file exists, it is
  3846. used to resolve IPv4 and IPv6 addresses before any other
  3847. attempts are made to resolve them. The file has the standard <em>hosts</em>
  3848. file syntax; each line contains one IP address and name, separated by
  3849. whitespace. The same directory as for the personal preferences file is used.</p>
  3850. </div>
  3851. <div class="paragraph">
  3852. <p>Capture filter name resolution is handled by libpcap on UNIX-compatible
  3853. systems and WinPcap on Windows. As such the Wireshark personal <em>hosts</em> file
  3854. will not be consulted for capture filter name resolution.</p>
  3855. </div>
  3856. </div>
  3857. </div>
  3858. </dd>
  3859. <dt class="hdlist1">Name Resolution (subnets)</dt>
  3860. <dd>
  3861. <div class="openblock">
  3862. <div class="content">
  3863. <div class="paragraph">
  3864. <p>If an IPv4 address cannot be translated via name resolution (no exact
  3865. match is found) then a partial match is attempted via the <em>subnets</em> file.
  3866. Both the global <em>subnets</em> file and personal <em>subnets</em> files are used
  3867. if they exist.</p>
  3868. </div>
  3869. <div class="paragraph">
  3870. <p>Each line of this file consists of an IPv4 address, a subnet mask length
  3871. separated only by a / and a name separated by whitespace. While the address
  3872. must be a full IPv4 address, any values beyond the mask length are subsequently
  3873. ignored.</p>
  3874. </div>
  3875. <div class="paragraph">
  3876. <p>An example is:</p>
  3877. </div>
  3878. <div class="paragraph">
  3879. <p># Comments must be prepended by the # sign!
  3880. 192.168.0.0/24 ws_test_network</p>
  3881. </div>
  3882. <div class="paragraph">
  3883. <p>A partially matched name will be printed as "subnet-name.remaining-address".
  3884. For example, "192.168.0.1" under the subnet above would be printed as
  3885. "ws_test_network.1"; if the mask length above had been 16 rather than 24, the
  3886. printed address would be "ws_test_network.0.1".</p>
  3887. </div>
  3888. </div>
  3889. </div>
  3890. </dd>
  3891. <dt class="hdlist1">Name Resolution (ethers)</dt>
  3892. <dd>
  3893. <div class="openblock">
  3894. <div class="content">
  3895. <div class="paragraph">
  3896. <p>The <em>ethers</em> files are consulted to correlate 6-byte hardware addresses to
  3897. names. First the personal <em>ethers</em> file is tried and if an address is not
  3898. found there the global <em>ethers</em> file is tried next.</p>
  3899. </div>
  3900. <div class="paragraph">
  3901. <p>Each line contains one hardware address and name, separated by
  3902. whitespace. The digits of the hardware address are separated by colons
  3903. (:), dashes (-) or periods (.). The same separator character must be
  3904. used consistently in an address. The following three lines are valid
  3905. lines of an <em>ethers</em> file:</p>
  3906. </div>
  3907. <div class="literalblock">
  3908. <div class="content">
  3909. <pre>ff:ff:ff:ff:ff:ff Broadcast
  3910. c0-00-ff-ff-ff-ff TR_broadcast
  3911. 00.00.00.00.00.00 Zero_broadcast</pre>
  3912. </div>
  3913. </div>
  3914. <div class="paragraph">
  3915. <p>The global <em>ethers</em> file is looked for in the <em>/etc</em> directory on
  3916. UNIX-compatible systems, and in the main installation directory (for
  3917. example, <em>C:\Program Files\Wireshark</em>) on Windows systems.</p>
  3918. </div>
  3919. <div class="paragraph">
  3920. <p>The personal <em>ethers</em> file is looked for in the same directory as the personal
  3921. preferences file.</p>
  3922. </div>
  3923. <div class="paragraph">
  3924. <p>Capture filter name resolution is handled by libpcap on UNIX-compatible
  3925. systems and WinPcap on Windows. As such the Wireshark personal <em>ethers</em> file
  3926. will not be consulted for capture filter name resolution.</p>
  3927. </div>
  3928. </div>
  3929. </div>
  3930. </dd>
  3931. <dt class="hdlist1">Name Resolution (manuf)</dt>
  3932. <dd>
  3933. <div class="openblock">
  3934. <div class="content">
  3935. <div class="paragraph">
  3936. <p>The <em>manuf</em> file is used to match the 3-byte vendor portion of a 6-byte
  3937. hardware address with the manufacturer&#8217;s name; it can also contain well-known
  3938. MAC addresses and address ranges specified with a netmask. The format of the
  3939. file is the same as the <em>ethers</em> files, except that entries such as:</p>
  3940. </div>
  3941. <div class="literalblock">
  3942. <div class="content">
  3943. <pre>00:00:0C Cisco</pre>
  3944. </div>
  3945. </div>
  3946. <div class="paragraph">
  3947. <p>can be provided, with the 3-byte OUI and the name for a vendor, and
  3948. entries such as:</p>
  3949. </div>
  3950. <div class="literalblock">
  3951. <div class="content">
  3952. <pre>00-00-0C-07-AC/40 All-HSRP-routers</pre>
  3953. </div>
  3954. </div>
  3955. <div class="paragraph">
  3956. <p>can be specified, with a MAC address and a mask indicating how many bits
  3957. of the address must match. The above entry, for example, has 40
  3958. significant bits, or 5 bytes, and would match addresses from
  3959. 00-00-0C-07-AC-00 through 00-00-0C-07-AC-FF. The mask need not be a
  3960. multiple of 8.</p>
  3961. </div>
  3962. <div class="paragraph">
  3963. <p>The <em>manuf</em> file is looked for in the same directory as the global
  3964. preferences file.</p>
  3965. </div>
  3966. </div>
  3967. </div>
  3968. </dd>
  3969. <dt class="hdlist1">Name Resolution (services)</dt>
  3970. <dd>
  3971. <div class="openblock">
  3972. <div class="content">
  3973. <div class="paragraph">
  3974. <p>The <em>services</em> file is used to translate port numbers into names.
  3975. Both the global <em>services</em> file and personal <em>services</em> files are used
  3976. if they exist.</p>
  3977. </div>
  3978. <div class="paragraph">
  3979. <p>The file has the standard <em>services</em> file syntax; each line contains one
  3980. (service) name and one transport identifier separated by white space. The
  3981. transport identifier includes one port number and one transport protocol name
  3982. (typically tcp, udp, or sctp) separated by a /.</p>
  3983. </div>
  3984. <div class="paragraph">
  3985. <p>An example is:</p>
  3986. </div>
  3987. <div class="paragraph">
  3988. <p>mydns 5045/udp # My own Domain Name Server
  3989. mydns 5045/tcp # My own Domain Name Server</p>
  3990. </div>
  3991. </div>
  3992. </div>
  3993. </dd>
  3994. <dt class="hdlist1">Name Resolution (ipxnets)</dt>
  3995. <dd>
  3996. <div class="openblock">
  3997. <div class="content">
  3998. <div class="paragraph">
  3999. <p>The <em>ipxnets</em> files are used to correlate 4-byte IPX network numbers to
  4000. names. First the global <em>ipxnets</em> file is tried and if that address is not
  4001. found there the personal one is tried next.</p>
  4002. </div>
  4003. <div class="paragraph">
  4004. <p>The format is the same as the <em>ethers</em>
  4005. file, except that each address is four bytes instead of six.
  4006. Additionally, the address can be represented as a single hexadecimal
  4007. number, as is more common in the IPX world, rather than four hex octets.
  4008. For example, these four lines are valid lines of an <em>ipxnets</em> file:</p>
  4009. </div>
  4010. <div class="literalblock">
  4011. <div class="content">
  4012. <pre>C0.A8.2C.00 HR
  4013. c0-a8-1c-00 CEO
  4014. 00:00:BE:EF IT_Server1
  4015. 110f FileServer3</pre>
  4016. </div>
  4017. </div>
  4018. <div class="paragraph">
  4019. <p>The global <em>ipxnets</em> file is looked for in the <em>/etc</em> directory on
  4020. UNIX-compatible systems, and in the main installation directory (for
  4021. example, <em>C:\Program Files\Wireshark</em>) on Windows systems.</p>
  4022. </div>
  4023. <div class="paragraph">
  4024. <p>The personal <em>ipxnets</em> file is looked for in the same directory as the
  4025. personal preferences file.</p>
  4026. </div>
  4027. </div>
  4028. </div>
  4029. </dd>
  4030. <dt class="hdlist1">Capture Filters</dt>
  4031. <dd>
  4032. <div class="openblock">
  4033. <div class="content">
  4034. <div class="paragraph">
  4035. <p>The <em>cfilters</em> files contain system-wide and personal capture filters.
  4036. Each line contains one filter, starting with the string displayed in the
  4037. dialog box in quotation marks, followed by the filter string itself:</p>
  4038. </div>
  4039. <div class="literalblock">
  4040. <div class="content">
  4041. <pre>"HTTP" port 80
  4042. "DCERPC" port 135</pre>
  4043. </div>
  4044. </div>
  4045. <div class="paragraph">
  4046. <p>The global <em>cfilters</em> file uses the same directory as the
  4047. global preferences file.</p>
  4048. </div>
  4049. <div class="paragraph">
  4050. <p>The personal <em>cfilters</em> file uses the same directory as the personal
  4051. preferences file. It is written through the Capture:Capture Filters
  4052. dialog.</p>
  4053. </div>
  4054. <div class="paragraph">
  4055. <p>If the global <em>cfilters</em> file exists, it is used only if the personal
  4056. <em>cfilters</em> file does not exist; global and personal capture filters are
  4057. not merged.</p>
  4058. </div>
  4059. </div>
  4060. </div>
  4061. </dd>
  4062. <dt class="hdlist1">Display Filters</dt>
  4063. <dd>
  4064. <div class="openblock">
  4065. <div class="content">
  4066. <div class="paragraph">
  4067. <p>The <em>dfilters</em> files contain system-wide and personal display filters.
  4068. Each line contains one filter, starting with the string displayed in the
  4069. dialog box in quotation marks, followed by the filter string itself:</p>
  4070. </div>
  4071. <div class="literalblock">
  4072. <div class="content">
  4073. <pre>"HTTP" http
  4074. "DCERPC" dcerpc</pre>
  4075. </div>
  4076. </div>
  4077. <div class="paragraph">
  4078. <p>The global <em>dfilters</em> file uses the same directory as the
  4079. global preferences file.</p>
  4080. </div>
  4081. <div class="paragraph">
  4082. <p>The personal <em>dfilters</em> file uses the same directory as the
  4083. personal preferences file. It is written through the Analyze:Display
  4084. Filters dialog.</p>
  4085. </div>
  4086. <div class="paragraph">
  4087. <p>If the global <em>dfilters</em> file exists, it is used only if the personal
  4088. <em>dfilters</em> file does not exist; global and personal display filters are
  4089. not merged.</p>
  4090. </div>
  4091. </div>
  4092. </div>
  4093. </dd>
  4094. <dt class="hdlist1">Color Filters (Coloring Rules)</dt>
  4095. <dd>
  4096. <div class="openblock">
  4097. <div class="content">
  4098. <div class="paragraph">
  4099. <p>The <em>colorfilters</em> files contain system-wide and personal color filters.
  4100. Each line contains one filter, starting with the string displayed in the
  4101. dialog box, followed by the corresponding display filter. Then the
  4102. background and foreground colors are appended:</p>
  4103. </div>
  4104. <div class="literalblock">
  4105. <div class="content">
  4106. <pre># a comment
  4107. @tcp@tcp@[59345,58980,65534][0,0,0]
  4108. @udp@udp@[28834,57427,65533][0,0,0]</pre>
  4109. </div>
  4110. </div>
  4111. <div class="paragraph">
  4112. <p>The global <em>colorfilters</em> file uses the same directory as the
  4113. global preferences file.</p>
  4114. </div>
  4115. <div class="paragraph">
  4116. <p>The personal <em>colorfilters</em> file uses the same directory as the
  4117. personal preferences file. It is written through the View:Coloring Rules
  4118. dialog.</p>
  4119. </div>
  4120. <div class="paragraph">
  4121. <p>If the global <em>colorfilters</em> file exists, it is used only if the personal
  4122. <em>colorfilters</em> file does not exist; global and personal color filters are
  4123. not merged.</p>
  4124. </div>
  4125. </div>
  4126. </div>
  4127. </dd>
  4128. <dt class="hdlist1">Plugins</dt>
  4129. <dd>
  4130. <div class="openblock">
  4131. <div class="content">
  4132. <div class="paragraph">
  4133. <p>See above in the description of the About:Plugins page.</p>
  4134. </div>
  4135. </div>
  4136. </div>
  4137. </dd>
  4138. </dl>
  4139. </div>
  4140. </div>
  4141. </div>
  4142. <div class="sect1">
  4143. <h2 id="_environment_variables">ENVIRONMENT VARIABLES</h2>
  4144. <div class="sectionbody">
  4145. <div class="dlist">
  4146. <dl>
  4147. <dt class="hdlist1">WIRESHARK_CONFIG_DIR</dt>
  4148. <dd>
  4149. <div class="openblock">
  4150. <div class="content">
  4151. <div class="paragraph">
  4152. <p>This environment variable overrides the location of personal configuration
  4153. files. It defaults to <em>$XDG_CONFIG_HOME/wireshark</em> (or <em>$HOME/.wireshark</em> if
  4154. the former is missing while the latter exists). On Windows,
  4155. <em>%APPDATA%\Wireshark</em> is used instead. Available since Wireshark 3.0.</p>
  4156. </div>
  4157. </div>
  4158. </div>
  4159. </dd>
  4160. <dt class="hdlist1">WIRESHARK_DEBUG_WMEM_OVERRIDE</dt>
  4161. <dd>
  4162. <div class="openblock">
  4163. <div class="content">
  4164. <div class="paragraph">
  4165. <p>Setting this environment variable forces the wmem framework to use the
  4166. specified allocator backend for <strong>all</strong> allocations, regardless of which
  4167. backend is normally specified by the code. This is mainly useful to developers
  4168. when testing or debugging. See <em>README.wmem</em> in the source distribution for
  4169. details.</p>
  4170. </div>
  4171. </div>
  4172. </div>
  4173. </dd>
  4174. <dt class="hdlist1">WIRESHARK_RUN_FROM_BUILD_DIRECTORY</dt>
  4175. <dd>
  4176. <div class="openblock">
  4177. <div class="content">
  4178. <div class="paragraph">
  4179. <p>This environment variable causes the plugins and other data files to be loaded
  4180. from the build directory (where the program was compiled) rather than from the
  4181. standard locations. It has no effect when the program in question is running
  4182. with root (or setuid) permissions on *NIX.</p>
  4183. </div>
  4184. </div>
  4185. </div>
  4186. </dd>
  4187. <dt class="hdlist1">WIRESHARK_DATA_DIR</dt>
  4188. <dd>
  4189. <div class="openblock">
  4190. <div class="content">
  4191. <div class="paragraph">
  4192. <p>This environment variable causes the various data files to be loaded from
  4193. a directory other than the standard locations. It has no effect when the
  4194. program in question is running with root (or setuid) permissions on *NIX.</p>
  4195. </div>
  4196. </div>
  4197. </div>
  4198. </dd>
  4199. <dt class="hdlist1">ERF_RECORDS_TO_CHECK</dt>
  4200. <dd>
  4201. <div class="openblock">
  4202. <div class="content">
  4203. <div class="paragraph">
  4204. <p>This environment variable controls the number of ERF records checked when
  4205. deciding if a file really is in the ERF format. Setting this environment
  4206. variable a number higher than the default (20) would make false positives
  4207. less likely.</p>
  4208. </div>
  4209. </div>
  4210. </div>
  4211. </dd>
  4212. <dt class="hdlist1">IPFIX_RECORDS_TO_CHECK</dt>
  4213. <dd>
  4214. <div class="openblock">
  4215. <div class="content">
  4216. <div class="paragraph">
  4217. <p>This environment variable controls the number of IPFIX records checked when
  4218. deciding if a file really is in the IPFIX format. Setting this environment
  4219. variable a number higher than the default (20) would make false positives
  4220. less likely.</p>
  4221. </div>
  4222. </div>
  4223. </div>
  4224. </dd>
  4225. <dt class="hdlist1">WIRESHARK_ABORT_ON_DISSECTOR_BUG</dt>
  4226. <dd>
  4227. <div class="openblock">
  4228. <div class="content">
  4229. <div class="paragraph">
  4230. <p>If this environment variable is set, <strong>Wireshark</strong> will call abort(3)
  4231. when a dissector bug is encountered. abort(3) will cause the program to
  4232. exit abnormally; if you are running <strong>Wireshark</strong> in a debugger, it
  4233. should halt in the debugger and allow inspection of the process, and, if
  4234. you are not running it in a debugger, it will, on some OSes, assuming
  4235. your environment is configured correctly, generate a core dump file.
  4236. This can be useful to developers attempting to troubleshoot a problem
  4237. with a protocol dissector.</p>
  4238. </div>
  4239. </div>
  4240. </div>
  4241. </dd>
  4242. <dt class="hdlist1">WIRESHARK_ABORT_ON_TOO_MANY_ITEMS</dt>
  4243. <dd>
  4244. <div class="openblock">
  4245. <div class="content">
  4246. <div class="paragraph">
  4247. <p>If this environment variable is set, <strong>Wireshark</strong> will call abort(3)
  4248. if a dissector tries to add too many items to a tree (generally this
  4249. is an indication of the dissector not breaking out of a loop soon enough).
  4250. abort(3) will cause the program to exit abnormally; if you are running
  4251. <strong>Wireshark</strong> in a debugger, it should halt in the debugger and allow
  4252. inspection of the process, and, if you are not running it in a debugger,
  4253. it will, on some OSes, assuming your environment is configured correctly,
  4254. generate a core dump file. This can be useful to developers attempting to
  4255. troubleshoot a problem with a protocol dissector.</p>
  4256. </div>
  4257. </div>
  4258. </div>
  4259. </dd>
  4260. <dt class="hdlist1">WIRESHARK_QUIT_AFTER_CAPTURE</dt>
  4261. <dd>
  4262. <div class="openblock">
  4263. <div class="content">
  4264. <div class="paragraph">
  4265. <p>Cause <strong>Wireshark</strong> to exit after the end of the capture session. This
  4266. doesn&#8217;t automatically start a capture; you must still use <strong>-k</strong> to do
  4267. that. You must also specify an autostop condition, e.g. <strong>-c</strong> or <strong>-a
  4268. duration:&#8230;&#8203;</strong>. This means that you will not be able to see the results
  4269. of the capture after it stops; it&#8217;s primarily useful for testing.</p>
  4270. </div>
  4271. </div>
  4272. </div>
  4273. </dd>
  4274. <dt class="hdlist1">WIRESHARK_LOG_LEVEL</dt>
  4275. <dd>
  4276. <div class="openblock">
  4277. <div class="content">
  4278. <div class="paragraph">
  4279. <p>This environment variable controls the verbosity of diagnostic messages to
  4280. the console. From less verbose to most verbose levels can be <code>critical</code>,
  4281. <code>warning</code>, <code>message</code>, <code>info</code>, <code>debug</code> or <code>noisy</code>. Levels above the
  4282. current level are also active. Levels <code>critical</code> and <code>error</code> are always
  4283. active.</p>
  4284. </div>
  4285. </div>
  4286. </div>
  4287. </dd>
  4288. <dt class="hdlist1">WIRESHARK_LOG_FATAL</dt>
  4289. <dd>
  4290. <div class="openblock">
  4291. <div class="content">
  4292. <div class="paragraph">
  4293. <p>Sets the fatal log level. Fatal log levels cause the program to abort.
  4294. This level can be set to <code>Error</code>, <code>critical</code> or <code>warning</code>. <code>Error</code> is
  4295. always fatal and is the default.</p>
  4296. </div>
  4297. </div>
  4298. </div>
  4299. </dd>
  4300. <dt class="hdlist1">WIRESHARK_LOG_DOMAINS</dt>
  4301. <dd>
  4302. <div class="openblock">
  4303. <div class="content">
  4304. <div class="paragraph">
  4305. <p>This environment variable selects which log domains are active. The filter is
  4306. given as a case-insensitive comma separated list. If set only the included
  4307. domains will be enabled. The default domain is always considered to be enabled.
  4308. Domain filter lists can be preceded by '!' to invert the sense of the match.</p>
  4309. </div>
  4310. </div>
  4311. </div>
  4312. </dd>
  4313. <dt class="hdlist1">WIRESHARK_LOG_DEBUG</dt>
  4314. <dd>
  4315. <div class="openblock">
  4316. <div class="content">
  4317. <div class="paragraph">
  4318. <p>List of domains with <code>debug</code> log level. This sets the level of the provided
  4319. log domains and takes precedence over the active domains filter. If preceded
  4320. by '!' this disables the <code>debug</code> level instead.</p>
  4321. </div>
  4322. </div>
  4323. </div>
  4324. </dd>
  4325. <dt class="hdlist1">WIRESHARK_LOG_NOISY</dt>
  4326. <dd>
  4327. <div class="openblock">
  4328. <div class="content">
  4329. <div class="paragraph">
  4330. <p>Same as above but for <code>noisy</code> log level instead.</p>
  4331. </div>
  4332. </div>
  4333. </div>
  4334. </dd>
  4335. </dl>
  4336. </div>
  4337. </div>
  4338. </div>
  4339. <div class="sect1">
  4340. <h2 id="_authors">AUTHORS</h2>
  4341. <div class="sectionbody">
  4342. <div class="paragraph">
  4343. <p>Wireshark would not be the powerful, featureful application it is without the generous contributions of hundreds of developers.</p>
  4344. </div>
  4345. <div class="paragraph">
  4346. <p>A complete list of authors can be found in the AUTHORS file in Wireshark&#8217;s source code repository and at <a href="https://www.wireshark.org/about.html#authors" class="bare">https://www.wireshark.org/about.html#authors</a>.</p>
  4347. </div>
  4348. </div>
  4349. </div>
  4350. <div class="sect1">
  4351. <h2 id="_see_also">SEE ALSO</h2>
  4352. <div class="sectionbody">
  4353. <div class="paragraph">
  4354. <p><a href="wireshark-filter.html">wireshark-filter</a>(4), <a href="tshark.html">tshark</a>(1), <a href="editcap.html">editcap</a>(1), <a href="https://www.tcpdump.org/manpages/pcap.3pcap.html">pcap</a>(3), <a href="dumpcap.html">dumpcap</a>(1), <a href="mergecap.html">mergecap</a>(1),
  4355. <a href="text2pcap.html">text2pcap</a>(1), <a href="https://www.tcpdump.org/manpages/pcap-filter.7.html">pcap-filter</a>(7) or <a href="https://www.tcpdump.org/manpages/tcpdump.1.html">tcpdump</a>(8)</p>
  4356. </div>
  4357. </div>
  4358. </div>
  4359. <div class="sect1">
  4360. <h2 id="_notes">NOTES</h2>
  4361. <div class="sectionbody">
  4362. <div class="paragraph">
  4363. <p>This is the manual page for <strong>Wireshark</strong> 4.0.5.
  4364. The latest version of <strong>Wireshark</strong> can be found at
  4365. <a href="https://www.wireshark.org" class="bare">https://www.wireshark.org</a>.</p>
  4366. </div>
  4367. <div class="paragraph">
  4368. <p>HTML versions of the Wireshark project man pages are available at
  4369. <a href="https://www.wireshark.org/docs/man-pages" class="bare">https://www.wireshark.org/docs/man-pages</a>.</p>
  4370. </div>
  4371. </div>
  4372. </div>
  4373. </div>
  4374. </body>
  4375. </html>