i need to edit the preferences (i.e preferences->protocols->http in wireshark) to include a non default port in HTTP ports.What is the tshark command to change this preference. asked 12 Mar '14, 02:47 vmoar |
One Answer:
From the tshark man page:
So, in your case you would use Tip: The preference "name" is shown as a tooltip in the GUI when you hover over it (for protocol prefs). answered 12 Mar '14, 03:07 grahamb ♦ showing 5 of 7 show 2 more comments |
Thank you.Its working:)
If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.
hi, if i need to change something that uses udp or any other protocol available in preferences(other than http) what would be the syntax
Very similar, just find the preference name and tack it on as another -o option, e.g. for DNS, use
-o dns.udp.ports:nnnn
.You can also open the preference file in a text editor and scan though it looking for preference names.
thank you.
hi, is it possible to extract or view the value of these prefernces..i.e. the port numbers.
We're on a roll here, they're all in the preferences file,
-G currentprefs
dumps them out.