Commit graph

32846 commits

Author SHA1 Message Date
Sake Blok
7ec231f7f1 Fix the output of columns with "show resolved" disabled when all occurrences are displayed.
Limit the input field for occurrence to 4 characters to prevent an overflow.
Make sure "... as filter" does not result in an invalid filter string if all occurrences are displayed.


svn path=/trunk/; revision=34247
2010-09-25 09:33:29 +00:00
Stephen Fisher
d0244ffa9a Allow up to Python 2.7 now (was 2.6) and move Python build statements into same part of nmake file for ease of use.
svn path=/trunk/; revision=34246
2010-09-24 23:50:38 +00:00
Stephen Fisher
4bb182799a Add option to generate MD5 hash for payload in data dissector. Useful for
tracking the same data when the headers are different (NAT, TCP seq #
randomization, etc).  Copied from packet-frame.c.


svn path=/trunk/; revision=34245
2010-09-24 23:05:30 +00:00
Guy Harris
8257e6e816 Actually do what I said I did in the previous checkin.
svn path=/trunk/; revision=34244
2010-09-24 21:18:39 +00:00
Guy Harris
ac3ac6c476 Plugins are not shared libraries, so:
1) don't set thei SOVERSION - run-time-loaded modules don't have
	   an SOVERSION;

	2) build them with link mode MODULE, not SHARED, on all
	   platforms.

(Fixing 1) also fixes the problem with building them as MODULE on OS X.)

svn path=/trunk/; revision=34243
2010-09-24 20:41:34 +00:00
Jeff Morriss
9ba7c5f9df A simple tool to remove bogus blurbs from hf entries.
This has already been run so it may not be necessary any more, but
may as well check it in in case it can serve as a base for other, future,
global hf changes.

svn path=/trunk/; revision=34242
2010-09-24 20:40:03 +00:00
Jeff Morriss
9238e29ae3 Don't use an abbreviation as the name of an hf entry.
svn path=/trunk/; revision=34241
2010-09-24 20:28:00 +00:00
Jeff Morriss
d7b10fbe55 Inspired by https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 :
Add the option to check hf entries for various problems.  This is disabled by
default for the moment as it's quite noisy.

The regexps may need some additional fine tuning (or maybe simplification),
but they seem to work pretty well.

Arguably this might make more sense in checkhf.pl but it was easier to integrate
into this script.

svn path=/trunk/; revision=34240
2010-09-24 20:26:29 +00:00
Jaap Keuter
5025165845 Track offset even when tree==NULL.
svn path=/trunk/; revision=34239
2010-09-24 18:46:28 +00:00
Jörg Mayer
c749fe000c Comparing type II and III traces of the same packet
indicate that the last 4 bytes of both types are similar.
So the extra bytes in type III are inserted before those
last bytes.

svn path=/trunk/; revision=34238
2010-09-24 18:12:45 +00:00
Anders Broman
f442f4fe49 Further GUIManager updates, the basics are now there.
svn path=/trunk/; revision=34237
2010-09-24 14:52:44 +00:00
Jörg Mayer
8c5843f14b Small update: add opensuse 11.3 with gcc and gnu make as build-envs
svn path=/trunk/; revision=34236
2010-09-24 13:54:23 +00:00
Stig Bjørlykke
21319003d5 Added an extra validity check for cust_format_info.
svn path=/trunk/; revision=34235
2010-09-24 13:19:03 +00:00
Stig Bjørlykke
a777700ac7 Disable the "File Set" menu while capturing, because changing file while
capturing causes an assert in cf_reset_state().

We still get this assert if the "List Files" dialog is opened before we start
capture and we change file during capturing.  Maybe we have to close this
dialog when starting capture?  Or maybe disable all files except the one
being captured to?  Then we also may have to update the "Last Modified" and 
"Size" columns.

svn path=/trunk/; revision=34234
2010-09-24 12:39:15 +00:00
Stig Bjørlykke
b54d0a2ed9 Reset CMAKE_REQUIRED_FLAGS after checking flags.
svn path=/trunk/; revision=34233
2010-09-24 10:23:55 +00:00
Anders Broman
8fbb2be4f9 Update GUIManager menubar code.
svn path=/trunk/; revision=34232
2010-09-24 06:46:14 +00:00
Jeff Morriss
9ce0915786 Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34231
2010-09-24 02:55:52 +00:00
Jeff Morriss
cca3ba3ce2 (Refining the regexp...) Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34230
2010-09-24 02:51:40 +00:00
Jeff Morriss
3edbdc151d Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34229
2010-09-24 01:34:45 +00:00
Jeff Morriss
72516cc39e Replace another blurb that matches the name (case insensitive) with NULL.
svn path=/trunk/; revision=34228
2010-09-24 01:32:27 +00:00
Jeff Morriss
0ff5638f37 Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34227
2010-09-23 21:46:31 +00:00
Jörg Mayer
e84f210167 Undo some part of
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=34224

This fix is wrong. We need to find out why this fails and correct it in


svn path=/trunk/; revision=34226
2010-09-23 21:18:04 +00:00
Jörg Mayer
79d806450f H.sivank:
Cmake fixes.

svn path=/trunk/; revision=34225
2010-09-23 21:14:23 +00:00
Stig Bjørlykke
e60eeb3602 Some CMake fixes from H.sivank:
- Apple gcc does not like "-Wl,--as-needed".
- Fix plugins link step on OSX.
- Put AUTHORS-SHORT, AUTHORS-SHORT-FORMAT and wireshark.pod in build directory.

svn path=/trunk/; revision=34224
2010-09-23 21:06:31 +00:00
Bill Meier
838ffd0c72 Fix crash creating a filter (using "Expression ...") for a field with an extended value_string
svn path=/trunk/; revision=34223
2010-09-23 20:45:22 +00:00
Jörg Mayer
72c3e35672 - trunkated -> truncated
- Print "Type II" and "Type III" as versionstrings.
- Make sure that version = 1 or 2

svn path=/trunk/; revision=34222
2010-09-23 20:44:11 +00:00
Jörg Mayer
320de7eb14 Jason Masker:
- Add decoding of direction bit for version 2 (type III) erspan.

Me:
- Decode the original direction bit as unknown in case of version 2.
- The original unknown3 value seems to indicate whether the packet
  was too long to fit into a single mtu (trunkated).
- "Timestamp(s)" -> "Timestamp"


svn path=/trunk/; revision=34221
2010-09-23 19:42:20 +00:00
Stig Bjørlykke
f5ab6c1930 Store "Show Resolved" setting for custom columns.
svn path=/trunk/; revision=34220
2010-09-23 19:41:55 +00:00
Stig Bjørlykke
a1b2b3cbcb Do not set custom occurrence in recent file, this is used for column width.
svn path=/trunk/; revision=34219
2010-09-23 19:36:09 +00:00
Bill Meier
55620b5b75 Generate the value_string array sminmpec_values[] with "gaps"
filled in (using name "(Unknown)" so that direct (indexed)
access to the value_string is possible.

Note that this represents a slight API change in that
match_strval() on sminmpec_values  will no longer return NULL for
missing enterprise numbers (less than the maximum in the array)
but will return the string "(Unknown)".

AFAIKT this change does not materially affect existing Wireshark
use of the sminmpec value_string array.

svn path=/trunk/; revision=34218
2010-09-23 18:48:19 +00:00
Bill Meier
123347da00 (Trivial) Whitespace cleanup.
svn path=/trunk/; revision=34217
2010-09-23 18:16:26 +00:00
Stig Bjørlykke
3061558a4c Disable sorting while capturing.
svn path=/trunk/; revision=34216
2010-09-23 18:07:49 +00:00
Bill Meier
b98e9422f9 Make value_string ipproto_val static; It should only be referenced using ipproto_val_ext
svn path=/trunk/; revision=34215
2010-09-23 18:00:06 +00:00
Bill Meier
3b48b69866 Use extended ipproto value_string (ipproto_val_ext).
svn path=/trunk/; revision=34214
2010-09-23 17:55:11 +00:00
Bill Meier
a41e679b78 Whitespace cleanup: convert "4 space tabs" to spaces.
svn path=/trunk/; revision=34213
2010-09-23 17:52:29 +00:00
Bill Meier
f66669274f Whitespace cleanup: Convert "4 space tabs" to spaces.
svn path=/trunk/; revision=34212
2010-09-23 17:49:43 +00:00
Anders Broman
1252ff8350 From Pascal Quantin:
NAS EPS] Wrong dissection of Non-current native NAS key set identifier

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5253

svn path=/trunk/; revision=34210
2010-09-23 14:07:32 +00:00
Jörg Mayer
527f5d5653 Jason Masker <jason at masker.net>:
Updates for the Cisco ERSPAN type III (version 2) protocol.

svn path=/trunk/; revision=34209
2010-09-23 13:31:28 +00:00
Jeff Morriss
dfcc9ec3f7 Add some more casts.
svn path=/trunk/; revision=34208
2010-09-23 13:26:41 +00:00
Stig Bjørlykke
6087210f45 Updates from Lukasz Kotasa.
svn path=/trunk/; revision=34207
2010-09-23 09:22:12 +00:00
Jörg Mayer
d696afc70c Consistency: Replace tabs by spaces
svn path=/trunk/; revision=34206
2010-09-23 09:08:50 +00:00
Jörg Mayer
f337b03f39 Copy behaviour of
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=34145
to cmake.

svn path=/trunk/; revision=34205
2010-09-23 09:05:31 +00:00
Jörg Mayer
e762964cd7 Add check for HAVE_GZCLEARERR.
svn path=/trunk/; revision=34204
2010-09-23 07:43:04 +00:00
Stig Bjørlykke
907cfc535a Corrected check for attribute flag bits.
svn path=/trunk/; revision=34203
2010-09-23 07:42:20 +00:00
Stig Bjørlykke
c403378c36 Show Abort source in info column.
svn path=/trunk/; revision=34202
2010-09-23 07:39:38 +00:00
Jörg Mayer
de68ad3066 H. Sivank <hsivank@gmail.com>
I try to configure Wireshark with cmake on macosx 10.6.
It fails with : set_target_properties called with incorrect number of arguments.
Attached a patch to fix this issue.


svn path=/trunk/; revision=34201
2010-09-23 07:02:33 +00:00
Jörg Mayer
de916f6bfb Try to add support to learn the HTML_VIEWER variable and the DOC_DIR variables from the environment - not yet working
svn path=/trunk/; revision=34200
2010-09-23 06:59:41 +00:00
Jaap Keuter
57a7873857 Fix for bug 5252:
Use real IPv6 destination address when RH0 has 0 segments left.

svn path=/trunk/; revision=34199
2010-09-23 06:58:55 +00:00
Jörg Mayer
fc575f1c8e Install guides into DOC_DIR if defined
svn path=/trunk/; revision=34198
2010-09-23 06:55:08 +00:00
Jörg Mayer
95ddff9f17 Put the guides into the "guides" subdirectory of DOC_DIR
svn path=/trunk/; revision=34197
2010-09-23 06:53:40 +00:00