metze/wireshark/wip.git
12 years agoHandle wtap_dump_fdopen() as wtap_dump_open() eg call
Anders Broman [Wed, 25 Apr 2012 12:33:23 +0000 (12:33 -0000)]
Handle wtap_dump_fdopen() as wtap_dump_open() eg call
wtap_dump_fdopen_ng() and add a dummy IDB to be able to write pcapng files.
Solves https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6969
mergecap: Can't open or create <FILENAME>: Internal error.

We might want to add a SHB comment from mergecap giving the merged filenames or something like that, Merging of pcapng files
is a different issue, idealy we should probably start using several SHB:s in that case.

svn path=/trunk/; revision=42230

12 years agoAdd packet-gtpv2.h
Anders Broman [Wed, 25 Apr 2012 10:15:07 +0000 (10:15 -0000)]
Add packet-gtpv2.h

svn path=/trunk/; revision=42229

12 years agoFrom David Wei:
Anders Broman [Wed, 25 Apr 2012 08:39:49 +0000 (08:39 -0000)]
From David Wei:
Significantly improve M3AP dissection and MBMS related GTPv2 dissection.

svn path=/trunk/; revision=42228

12 years agoRemove some unnecessary includes and fix some indentation.
Martin Mathieson [Wed, 25 Apr 2012 00:28:19 +0000 (00:28 -0000)]
Remove some unnecessary includes and fix some indentation.

svn path=/trunk/; revision=42227

12 years agoMinor cleanup: whitespace, indentation, long-lines, style, typos, etc;
Bill Meier [Tue, 24 Apr 2012 18:27:06 +0000 (18:27 -0000)]
Minor cleanup: whitespace, indentation, long-lines, style, typos, etc;
Also: remove unneeded #include <stdlib.h> in 2 cases.

svn path=/trunk/; revision=42226

12 years agoRemove svn:keywords property; Change mime-type to vnd.tcpdump.pcap
Bill Meier [Tue, 24 Apr 2012 17:30:45 +0000 (17:30 -0000)]
Remove svn:keywords property; Change mime-type to vnd.tcpdump.pcap

svn path=/trunk/; revision=42225

12 years agoRemove svn:keywords property
Bill Meier [Tue, 24 Apr 2012 15:00:07 +0000 (15:00 -0000)]
Remove svn:keywords property

svn path=/trunk/; revision=42224

12 years agoAdd svn:eol-style property; reformat a few long lines.
Bill Meier [Tue, 24 Apr 2012 14:55:59 +0000 (14:55 -0000)]
Add svn:eol-style property; reformat a few long lines.

svn path=/trunk/; revision=42223

12 years agoAdd missing ";"
Anders Broman [Tue, 24 Apr 2012 14:48:46 +0000 (14:48 -0000)]
Add missing ";"

svn path=/trunk/; revision=42222

12 years agoRemove svn:executable property; Minor whitespace changes.
Bill Meier [Tue, 24 Apr 2012 14:37:18 +0000 (14:37 -0000)]
Remove svn:executable property; Minor whitespace changes.

svn path=/trunk/; revision=42221

12 years agoFrom David Wei:
Anders Broman [Tue, 24 Apr 2012 12:33:00 +0000 (12:33 -0000)]
From David Wei:
Bug fixes and improvements to Sm (GTPv2) and SGmb (DIAMETER) dissectors.

svn path=/trunk/; revision=42220

12 years agoFrom "ars" https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7188
Anders Broman [Tue, 24 Apr 2012 08:52:18 +0000 (08:52 -0000)]
From "ars" https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7188

Add dissection of  another flavor of Cisco RUDP/SM stack called BSM V1 (version 1 versus
Version 0 used for SS7). It used at place where IUA should be used namely for
backhauling ISDN PRI from Media Gateway to Media Gateway Controller.

svn path=/trunk/; revision=42219

12 years agopacket-ixveriwave.c:275:12: error: variable ‘vwf_txf’ set but not used.
Anders Broman [Tue, 24 Apr 2012 08:49:32 +0000 (08:49 -0000)]
packet-ixveriwave.c:275:12: error: variable ‘vwf_txf’ set but not used.

svn path=/trunk/; revision=42218

12 years agoFrom Evan Huus:
Anders Broman [Tue, 24 Apr 2012 07:37:36 +0000 (07:37 -0000)]
From Evan Huus:
NASDAQ MOLD UDP 64 Dissectors.

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

svn path=/trunk/; revision=42217

12 years agoMinor cleanup:
Bill Meier [Mon, 23 Apr 2012 21:27:37 +0000 (21:27 -0000)]
Minor cleanup:
- Add svn:keywords and svn;eol-style properties
- Move proto_reg_handoff...() to the end of the file as per convention;
- Use match_strval() instead of match_strval_idx() since idx not used;
- Use consistent indentation  & style.

svn path=/trunk/; revision=42216

12 years agothe blurb for field /"PCF IP Address/" (/"a11.ext.ase.pcfip/") matches the field...
Anders Broman [Mon, 23 Apr 2012 18:55:19 +0000 (18:55 -0000)]
the blurb for field /"PCF IP Address/" (/"a11.ext.ase.pcfip/") matches the field name in packet-3g-a11.c

svn path=/trunk/; revision=42215

12 years agoGet it compiling...
Michael Tüxen [Mon, 23 Apr 2012 18:48:00 +0000 (18:48 -0000)]
Get it compiling...

svn path=/trunk/; revision=42214

12 years agoDo indentation cleanup (e.g., 4-space tabs => spaces)
Bill Meier [Mon, 23 Apr 2012 17:50:02 +0000 (17:50 -0000)]
Do indentation cleanup (e.g., 4-space tabs => spaces)
Reformat a few long lines.

svn path=/trunk/; revision=42213

12 years agoUse consistent indentation;
Bill Meier [Mon, 23 Apr 2012 17:43:56 +0000 (17:43 -0000)]
Use consistent indentation;
Use #if 0/#endif to comment out some code (rather than /* ... */

svn path=/trunk/; revision=42212

12 years agoReplace hf[] "duplicate blurbs" by NULL;
Bill Meier [Mon, 23 Apr 2012 16:23:57 +0000 (16:23 -0000)]
Replace hf[] "duplicate blurbs" by NULL;
Use consistent indentation (replace 4-space tabs by spaces);
Use consistent formatting style.

svn path=/trunk/; revision=42211

12 years agoUse a crosshair cursor insted of the XOR thingy.
Anders Broman [Mon, 23 Apr 2012 15:17:31 +0000 (15:17 -0000)]
Use a crosshair cursor insted of the XOR thingy.
Selected with a define to make it easily reversed if some one does not like it.

svn path=/trunk/; revision=42210

12 years agoFix a compile error (missing semi-colon) when building for gtk3
Bill Meier [Mon, 23 Apr 2012 15:07:30 +0000 (15:07 -0000)]
Fix a compile error (missing semi-colon) when building for gtk3

svn path=/trunk/; revision=42209

12 years agoRemove lines that are not needed.
ruengeler [Mon, 23 Apr 2012 13:47:45 +0000 (13:47 -0000)]
Remove lines that are not needed.

svn path=/trunk/; revision=42208

12 years agog_object_unref(cursor) craches pre GTK 3.0 protect it with
Anders Broman [Mon, 23 Apr 2012 13:39:12 +0000 (13:39 -0000)]
g_object_unref(cursor) craches pre GTK 3.0 protect it with
#if GTK_CHECK_VERSION(3,0,0)

svn path=/trunk/; revision=42207

12 years agoFix bug #7178 reported by aparan
ruengeler [Mon, 23 Apr 2012 12:34:16 +0000 (12:34 -0000)]
Fix bug #7178 reported by aparan

svn path=/trunk/; revision=42206

12 years agoUse GtkFontChooser if GTK >= 3.2
Anders Broman [Mon, 23 Apr 2012 11:10:08 +0000 (11:10 -0000)]
Use GtkFontChooser if GTK >= 3.2

svn path=/trunk/; revision=42205

12 years agoGet rid of GTK warning when START was hit in the "Capture Interfaces Dialog" while...
ruengeler [Mon, 23 Apr 2012 11:06:21 +0000 (11:06 -0000)]
Get rid of GTK warning when START was hit in the "Capture Interfaces Dialog" while a device was hidden.

svn path=/trunk/; revision=42204

12 years agoFrom Evan Huus:
Anders Broman [Mon, 23 Apr 2012 07:28:53 +0000 (07:28 -0000)]
From Evan Huus:
Another case where a ridiculously large length field was causing a loop counter
to overflow. Had to pass pinfo all over the place to add expert info, but the
meat of the fix is on line 4960 (after patch applied).

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

svn path=/trunk/; revision=42203

12 years agoAdd PKG_SUFIX
Anders Broman [Mon, 23 Apr 2012 07:19:22 +0000 (07:19 -0000)]
Add PKG_SUFIX

svn path=/trunk/; revision=42202

12 years agoFix a typo.
Bill Meier [Mon, 23 Apr 2012 02:37:35 +0000 (02:37 -0000)]
Fix a typo.

svn path=/trunk/; revision=42201

12 years agoIt's not kosher to alloc and init a GArray ourselves instead of calling g_array_new().
Bill Meier [Mon, 23 Apr 2012 01:36:57 +0000 (01:36 -0000)]
It's not kosher to alloc and init a GArray ourselves instead of calling g_array_new().

Fixes Bug #7138 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7138)

A puzzle: why did the buildbot fuzz-testing only start failing on this on 04/18/2012
          since the bug has existed for quite some time ?

svn path=/trunk/; revision=42200

12 years agoFix a crash caused by an "off by one" define
Bill Meier [Sun, 22 Apr 2012 20:50:34 +0000 (20:50 -0000)]
Fix a crash caused by an "off by one" define

svn path=/trunk/; revision=42199

12 years agoBasic IE dissectoon for more IE:s
Anders Broman [Sun, 22 Apr 2012 19:28:21 +0000 (19:28 -0000)]
Basic IE dissectoon for more IE:s

svn path=/trunk/; revision=42198

12 years agoFix a buildbot compile warning.
Bill Meier [Sun, 22 Apr 2012 19:14:19 +0000 (19:14 -0000)]
Fix a buildbot compile warning.

svn path=/trunk/; revision=42197

12 years agoVarious minor cleanup:
Bill Meier [Sun, 22 Apr 2012 18:44:10 +0000 (18:44 -0000)]
Various minor cleanup:
 - fix a few small memory leaks;
 - fix some indentation to match style used (gnu);
 - remove trailing whitespace;
 - ...

svn path=/trunk/; revision=42196

12 years agoFrom Francesco Fondelli: fix mpls "decode as" dialog
pascal [Sun, 22 Apr 2012 17:54:13 +0000 (17:54 -0000)]
From Francesco Fondelli: fix mpls "decode as" dialog
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7089

svn path=/trunk/; revision=42195

12 years ago[Automatic manuf, services and enterprise-numbers update for 2012-04-22]
Gerald Combs [Sun, 22 Apr 2012 14:03:30 +0000 (14:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2012-04-22]

svn path=/trunk/; revision=42192

12 years agoAdd casts to make in compile on Windows
Anders Broman [Sun, 22 Apr 2012 13:59:28 +0000 (13:59 -0000)]
Add casts to make in compile on Windows

svn path=/trunk/; revision=42191

12 years agoUse g_object_unref
Anders Broman [Sun, 22 Apr 2012 13:54:35 +0000 (13:54 -0000)]
Use g_object_unref

svn path=/trunk/; revision=42190

12 years agoGlobal variables considered harmful (and unnecessary).
Guy Harris [Sun, 22 Apr 2012 02:03:29 +0000 (02:03 -0000)]
Global variables considered harmful (and unnecessary).

svn path=/trunk/; revision=42189

12 years agoAnother cut-and-pasteo.
Guy Harris [Sat, 21 Apr 2012 21:16:54 +0000 (21:16 -0000)]
Another cut-and-pasteo.

svn path=/trunk/; revision=42188

12 years agoMore GTK3 adaptations
Anders Broman [Sat, 21 Apr 2012 21:13:13 +0000 (21:13 -0000)]
More GTK3 adaptations

svn path=/trunk/; revision=42187

12 years agoport gtk_scrollbar_new() gtk_paned_new() gtk_separator_new() to GTK2
Anders Broman [Sat, 21 Apr 2012 20:45:35 +0000 (20:45 -0000)]
port gtk_scrollbar_new() gtk_paned_new() gtk_separator_new() to GTK2

svn path=/trunk/; revision=42186

12 years agoFix probable cut-and-pasteo.
Guy Harris [Sat, 21 Apr 2012 20:38:18 +0000 (20:38 -0000)]
Fix probable cut-and-pasteo.

svn path=/trunk/; revision=42185

12 years agoClean up indentation (get rid of 4-space tabs).
Guy Harris [Sat, 21 Apr 2012 20:13:38 +0000 (20:13 -0000)]
Clean up indentation (get rid of 4-space tabs).

svn path=/trunk/; revision=42184

12 years agogtk_button_box_new() for pre GTK 3.0
Anders Broman [Sat, 21 Apr 2012 20:06:51 +0000 (20:06 -0000)]
gtk_button_box_new() for pre GTK 3.0

svn path=/trunk/; revision=42183

12 years agoClean up indentation - don't use 4-space tabs.
Guy Harris [Sat, 21 Apr 2012 19:12:50 +0000 (19:12 -0000)]
Clean up indentation - don't use 4-space tabs.

svn path=/trunk/; revision=42182

12 years agoGTK+ 1.x is no longer supported, and there's no toggle_tree to move any
Guy Harris [Sat, 21 Apr 2012 19:07:23 +0000 (19:07 -0000)]
GTK+ 1.x is no longer supported, and there's no toggle_tree to move any
more; remove a comment.

svn path=/trunk/; revision=42181

12 years ago"homogeneous" is a Boolean; we can just pass it on to gtk_hbox_new() and
Guy Harris [Sat, 21 Apr 2012 18:48:49 +0000 (18:48 -0000)]
"homogeneous" is a Boolean; we can just pass it on to gtk_hbox_new() and
gtk_vbox_new().

svn path=/trunk/; revision=42180

12 years agoInclude "ui/gtk/gui_utils.h" so the ws_gtk_box routines are declared.
Guy Harris [Sat, 21 Apr 2012 18:40:43 +0000 (18:40 -0000)]
Include "ui/gtk/gui_utils.h" so the ws_gtk_box routines are declared.

svn path=/trunk/; revision=42179

12 years agoReplace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().
Anders Broman [Sat, 21 Apr 2012 17:06:30 +0000 (17:06 -0000)]
Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().

svn path=/trunk/; revision=42178

12 years agoMissing include
Anders Broman [Sat, 21 Apr 2012 16:45:41 +0000 (16:45 -0000)]
Missing include

svn path=/trunk/; revision=42177

12 years agoReplace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().
Anders Broman [Sat, 21 Apr 2012 16:40:14 +0000 (16:40 -0000)]
Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().

svn path=/trunk/; revision=42176

12 years agoPrettify LTE RRC dissector
pascal [Sat, 21 Apr 2012 14:03:39 +0000 (14:03 -0000)]
Prettify LTE RRC dissector

svn path=/trunk/; revision=42175

12 years agoMake it possible to download the GTK3 package
Anders Broman [Sat, 21 Apr 2012 08:45:52 +0000 (08:45 -0000)]
Make it possible to download the GTK3 package

svn path=/trunk/; revision=42174

12 years agoLose some more unused variables reported by clang.
Martin Mathieson [Sat, 21 Apr 2012 02:43:11 +0000 (02:43 -0000)]
Lose some more unused variables reported by clang.

svn path=/trunk/; revision=42173

12 years agoDelete some unused variables, in response to clang warnings. From Tom
Martin Mathieson [Sat, 21 Apr 2012 02:33:54 +0000 (02:33 -0000)]
Delete some unused variables, in response to clang warnings.  From Tom
Cook.

svn path=/trunk/; revision=42172

12 years agoSwitch back to the gtk.org version of the GTK+ bundle since its Cairo
Gerald Combs [Fri, 20 Apr 2012 23:41:36 +0000 (23:41 -0000)]
Switch back to the gtk.org version of the GTK+ bundle since its Cairo
doesn't crash.

svn path=/trunk/; revision=42171

12 years agoClean gnutls-2.12.18-*-win??ws folder with setup target
pascal [Fri, 20 Apr 2012 19:56:17 +0000 (19:56 -0000)]
Clean gnutls-2.12.18-*-win??ws folder with setup target

svn path=/trunk/; revision=42170

12 years agoAdd an arbitrary (64K) size limit for the unmasked TVBs that we
Gerald Combs [Fri, 20 Apr 2012 18:13:02 +0000 (18:13 -0000)]
Add an arbitrary (64K) size limit for the unmasked TVBs that we
create. Fix a bunch of signedness mismatches. TVB variable names usually
end in "_tvb"; do the same here. Fixup whitespace.

svn path=/trunk/; revision=42169

12 years agoFix compilation.
Michael Tüxen [Fri, 20 Apr 2012 18:10:15 +0000 (18:10 -0000)]
Fix compilation.
While there, remove trailing whitespaces.

svn path=/trunk/; revision=42168

12 years agoTry to fix up some clang warnings. Will look at other modules I added
Martin Mathieson [Fri, 20 Apr 2012 18:09:50 +0000 (18:09 -0000)]
Try to fix up some clang warnings.  Will look at other modules I added
recently later.

svn path=/trunk/; revision=42167

12 years ago64-bit payload length? Good luck with that; Wireshark is *NOT* set up
Guy Harris [Fri, 20 Apr 2012 17:47:28 +0000 (17:47 -0000)]
64-bit payload length?  Good luck with that; Wireshark is *NOT* set up
to handle payloads > 2^31-1, and that'll probably take a fair bit of
work to fix (not to mention working only on machines with enough address
space and memory+swap space to support reassembling such a huge chunk).

Squelch narrowing-conversion warnings - reject payloads whose length
doesn't fit in 31 bits, and stuff the payload length into a 32-bit
signed variable and use that for other payloads.

svn path=/trunk/; revision=42166

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 20 Apr 2012 15:33:23 +0000 (15:33 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=42165

12 years agoFrom me for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6843
Alexis La Goutte [Fri, 20 Apr 2012 15:32:45 +0000 (15:32 -0000)]
From me for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6843

Make WebSocket HTTP Header (Sec-WebSocket-*) filterable

svn path=/trunk/; revision=42164

12 years agoFrom me for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6843
Alexis La Goutte [Fri, 20 Apr 2012 15:31:15 +0000 (15:31 -0000)]
From me for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6843
Add WebSocket Protocol dissector (RFC6455)
* Support Base Framing Protocol
* Support of major opcode (Text, Binary, Close, Ping, Pong...)
* Support of unmask Payload (Client-to-Server Masking)

TODO
* Add fragmentation support
* Add WebSocket Extensions

svn path=/trunk/; revision=42163

12 years agoReplace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().
Anders Broman [Fri, 20 Apr 2012 15:28:00 +0000 (15:28 -0000)]
Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().

svn path=/trunk/; revision=42162

12 years agoReplace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().
Anders Broman [Fri, 20 Apr 2012 14:56:24 +0000 (14:56 -0000)]
Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().

svn path=/trunk/; revision=42161

12 years agoFrom Patrick White via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7061 :
pascal [Fri, 20 Apr 2012 14:41:34 +0000 (14:41 -0000)]
From Patrick White via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7061 :
Add UDP to BFCP dissector and dissect new primitives and attibutes
From me: add an expert info in case of invalid payload length to avoid a potential infinite loop

svn path=/trunk/; revision=42160

12 years agoAdd a couple of casts to try to make the Windows-7-x64 buildbot happy.
Martin Mathieson [Fri, 20 Apr 2012 12:44:19 +0000 (12:44 -0000)]
Add a couple of casts to try to make the Windows-7-x64 buildbot happy.

svn path=/trunk/; revision=42159

12 years agoAdd basic IE dissection for new IE:s
Anders Broman [Fri, 20 Apr 2012 12:32:17 +0000 (12:32 -0000)]
Add basic IE dissection for new IE:s

svn path=/trunk/; revision=42158

12 years agoFrom Matt via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7160 :
pascal [Fri, 20 Apr 2012 12:22:27 +0000 (12:22 -0000)]
From Matt via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7160 :
Offset moves too far when dissecting an Information OAMPDU with Organization Specific TLV

svn path=/trunk/; revision=42157

12 years agoMissed file from previous commit.
Martin Mathieson [Fri, 20 Apr 2012 12:09:16 +0000 (12:09 -0000)]
Missed file from previous commit.

svn path=/trunk/; revision=42156

12 years agoPatch for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5048
Martin Mathieson [Fri, 20 Apr 2012 12:08:31 +0000 (12:08 -0000)]
Patch for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5048
From Tom Cook and Tom Alexander.

1. A VWR encapsulation that reads VeriWave capture files (*.vwr)
generated from
WaveTest test hardware
2. Dissectors that display the VeriWave tap headers (both 802.11 and
Ethernet)
3. A dissector for the WaveAgent protocol.  The WaveAgent dissector is
heuristic and parses the WaveAgent packet (a UDP payload).

The WaveAgent dissector has been Fuzz tested.

The VWR ENCAP and dissectors have been used extensively by VeriWave
customers in a special version of WireSark compiled by VeriWave.

svn path=/trunk/; revision=42155

12 years agoAdded de_ms_cm_3 to export list.
Graham Bloice [Fri, 20 Apr 2012 09:33:23 +0000 (09:33 -0000)]
Added de_ms_cm_3 to export list.

svn path=/trunk/; revision=42154

12 years agoSCSI SBC: Add decode of BlockLimits VPD page
Ronnie Sahlberg [Fri, 20 Apr 2012 07:34:53 +0000 (07:34 -0000)]
SCSI SBC: Add decode of BlockLimits VPD page

svn path=/trunk/; revision=42153

12 years agocompile warning/error. flag unused argument with _U_
Ronnie Sahlberg [Fri, 20 Apr 2012 07:01:50 +0000 (07:01 -0000)]
compile warning/error. flag unused argument with _U_

svn path=/trunk/; revision=42152

12 years agoAdd the basic code to dissect IE APN Aggregate Maximum Bit Rate (APN-AMBR)
Anders Broman [Fri, 20 Apr 2012 05:47:02 +0000 (05:47 -0000)]
Add the basic code to dissect IE APN Aggregate Maximum Bit Rate (APN-AMBR)

svn path=/trunk/; revision=42151

12 years agoFrom Evan Huus: Clean up conversation list iterator caching. https://bugs.wireshark...
Anders Broman [Fri, 20 Apr 2012 05:23:41 +0000 (05:23 -0000)]
From Evan Huus: Clean up conversation list iterator caching. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7149

svn path=/trunk/; revision=42150

12 years agoFrom Martin Kaiser: menus, main window title, icons are not reset when capture is...
Anders Broman [Fri, 20 Apr 2012 05:20:04 +0000 (05:20 -0000)]
From Martin Kaiser: menus, main window title, icons are not reset when capture is interrupted before any data arrives. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7129

svn path=/trunk/; revision=42149

12 years agoFrom Evan Huus: Use Add DISSECTOR_ASSERT_HINT() macro. https://bugs.wireshark.org...
Anders Broman [Fri, 20 Apr 2012 05:12:20 +0000 (05:12 -0000)]
From Evan Huus: Use Add DISSECTOR_ASSERT_HINT() macro. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7142

svn path=/trunk/; revision=42148

12 years agoFix more indentation.
Guy Harris [Fri, 20 Apr 2012 01:44:49 +0000 (01:44 -0000)]
Fix more indentation.

svn path=/trunk/; revision=42147

12 years agoUse consistent 2-space indentation, and don't use tabs.
Guy Harris [Fri, 20 Apr 2012 01:43:12 +0000 (01:43 -0000)]
Use consistent 2-space indentation, and don't use tabs.

svn path=/trunk/; revision=42146

12 years agoFix typo.
Guy Harris [Thu, 19 Apr 2012 23:58:53 +0000 (23:58 -0000)]
Fix typo.

svn path=/trunk/; revision=42145

12 years agoDon't byte-swap bytes that aren't there.
Guy Harris [Thu, 19 Apr 2012 23:19:10 +0000 (23:19 -0000)]
Don't byte-swap bytes that aren't there.

svn path=/trunk/; revision=42144

12 years agoSwitch to our custom GTK+ bundles derived from openSUSE Build Service
Gerald Combs [Thu, 19 Apr 2012 18:31:11 +0000 (18:31 -0000)]
Switch to our custom GTK+ bundles derived from openSUSE Build Service
packages. Sort and normalize our DLL lists. Add several new required DLLs.

svn path=/trunk/; revision=42143

12 years agoSet up RTP conversations from BSS MAP.
Anders Broman [Thu, 19 Apr 2012 13:59:55 +0000 (13:59 -0000)]
Set up RTP conversations from BSS MAP.

svn path=/trunk/; revision=42142

12 years agoFrom Cristian Constantin:
Anders Broman [Thu, 19 Apr 2012 13:59:14 +0000 (13:59 -0000)]
From Cristian Constantin:
while caching the last element from the conversation hash chain lists speeds-up
the operation when the hash/chain lists are actually built, it
does NOT help a lot when a certain random conversation which is in the hash
table is looked-up.

I did some profiling and tracing and I saw that a lot of cpu time is spent in
the function conversation_lookup_hashtable() when wireshark
is asked to show the "Flow Graph", "TCP Conversations", "Voip Calls".  I used
two types of captures with over 500k packets:

- tcp packets having the _same_ src ip addr, src tcp port, dst ip addr, dst tcp
  port
- (mostly) sip packets containing sdp payloads which advertise the _same_ ip
  addr, udp port for media

these types of captures lead to _huge_ chain lists behind the same hash bucket
(to which the conversation is actually mapped)

the solution would be to cache the last found conversation into the head of the
chain list and to use it whenever it is possible; most of the time the look-up
will be in O(1) instead of O(n) (n - number
of elements in the list).

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

svn path=/trunk/; revision=42141

12 years agoFrom Francisco Vidal Meca via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id...
Alexis La Goutte [Thu, 19 Apr 2012 12:41:12 +0000 (12:41 -0000)]
From Francisco Vidal Meca via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7136
HIP dissector: PUZZLE and SOLUTION parameters variable size

According to specifications, puzzle and solution parameters carry Random #I and
#J fields that has variable length depending of the Hash function. The fields
are recognized with a fixed value of 8 bytes.

The #I and #J fields should be determined depending of the TLV size.

See http://tools.ietf.org/html/draft-ietf-hip-rfc5201-bis-08#section-5.2.5 .

svn path=/trunk/; revision=42140

12 years agoFrom Andy Karch:Add L2TP filter on Control Message AVP value. https://bugs.wireshark...
Anders Broman [Thu, 19 Apr 2012 06:12:12 +0000 (06:12 -0000)]
From Andy Karch:Add L2TP filter on Control Message AVP value. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7145. From me make it compile and add l2tp_message_type_short_str_vals

svn path=/trunk/; revision=42139

12 years agoFrom Evan Huus: Convert a few instances in conversation.c to use the new macro. https...
Anders Broman [Thu, 19 Apr 2012 05:49:38 +0000 (05:49 -0000)]
From Evan Huus: Convert a few instances in conversation.c to use the new macro. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7142

svn path=/trunk/; revision=42138

12 years agoFrom Evan Huus: Add DISSECTOR_ASSERT_HINT() macro https://bugs.wireshark.org/bugzilla...
Anders Broman [Thu, 19 Apr 2012 05:44:50 +0000 (05:44 -0000)]
From Evan Huus: Add DISSECTOR_ASSERT_HINT() macro https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7142

svn path=/trunk/; revision=42137

12 years agoFrom Evan Huus: Two bad NULL checks in airpcap_loader.c https://bugs.wireshark.org...
Anders Broman [Wed, 18 Apr 2012 18:17:40 +0000 (18:17 -0000)]
From Evan Huus: Two bad NULL checks in airpcap_loader.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7141

svn path=/trunk/; revision=42136

12 years agoUse extended value strings for BSR and PHR and remove a useless hf entry
pascal [Wed, 18 Apr 2012 16:55:06 +0000 (16:55 -0000)]
Use extended value strings for BSR and PHR and remove a useless hf entry

svn path=/trunk/; revision=42135

12 years agoTerminate our inner loops as well.
Gerald Combs [Wed, 18 Apr 2012 16:10:08 +0000 (16:10 -0000)]
Terminate our inner loops as well.

svn path=/trunk/; revision=42134

12 years agoTell the main loop to terminate when we catch a signal instead of trying
Gerald Combs [Wed, 18 Apr 2012 16:04:05 +0000 (16:04 -0000)]
Tell the main loop to terminate when we catch a signal instead of trying
to clean up in two places.

svn path=/trunk/; revision=42133

12 years agoFrom Francisco Vidal Meca via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id...
Alexis La Goutte [Wed, 18 Apr 2012 13:42:41 +0000 (13:42 -0000)]
From Francisco Vidal Meca via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7136
HIP dissector: HIT_SUITE_LIST parameter from HIPv2

The HIT_SUITE_LIST Parameter from HIPv2 (
http://tools.ietf.org/html/draft-ietf-hip-rfc5201-bis-08 ) is unsupported.

svn path=/trunk/; revision=42132

12 years agoFix some: 'cast discards qualifiers from pointer target type' warnings
Jakub Zawadzki [Wed, 18 Apr 2012 12:35:36 +0000 (12:35 -0000)]
Fix some: 'cast discards qualifiers from pointer target type' warnings

- Add const qualifier
- Remove some strange casts

svn path=/trunk/; revision=42131

12 years agoFrom Yaniv Kaul:
Anders Broman [Wed, 18 Apr 2012 11:29:37 +0000 (11:29 -0000)]
From Yaniv Kaul:
Enhance the Spice dissector to dissect KEY_DOWN, KEY_UP, {RECORD|PLAYBACK}_{VOLUME|MUTE}

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

svn path=/trunk/; revision=42130

12 years agoFix Bug 7119 ANSI MAP infinite loop.
Anders Broman [Wed, 18 Apr 2012 11:12:15 +0000 (11:12 -0000)]
Fix Bug 7119 ANSI MAP infinite loop.
Make conumed a guint16 to avoid wrapping add expert items.

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

svn path=/trunk/; revision=42129