metze/wireshark/wip.git
15 years agoResume work on CMake for Wireshark. Finally found and fixed a
Jörg Mayer [Fri, 29 May 2009 10:57:47 +0000 (10:57 -0000)]
Resume work on CMake for Wireshark. Finally found and fixed a
few mistakes that I made earlier.

Current status: dumpcap still doesn't build
Next step: Add a ylwrap like workaround for flex misbehaviour.

svn path=/trunk/; revision=28518

15 years agotvb_new_real_data -> tvb_new_child_real_data
Anders Broman [Fri, 29 May 2009 06:16:43 +0000 (06:16 -0000)]
tvb_new_real_data -> tvb_new_child_real_data

svn path=/trunk/; revision=28517

15 years agoVersion 2: Fix bug: Makefile doesn't detect some out-of-date libraries.
Bill Meier [Thu, 28 May 2009 23:20:20 +0000 (23:20 -0000)]
Version 2: Fix bug: Makefile doesn't detect some out-of-date libraries.
 The previous fix (SVN 28504) didn't quite work since
 nmake always errored out if the libraries were not up-to-date; this
 prevented doing an nmake ... setup.

 This version of the fix:
 1. Gets the library status (checktag) at the beginning of the make.
 2. Effectively does the actual testing of the status whenever
    a target with $(LIBS_CHECK) as a dependency is invoked.

 Result: nmake ... [all] will error-out while nmake .... setup will
  work properly.

 Note that nmake ... setup will now show an initial error message
  (from checktag) if the libraries are out of date; setup will still
  proceed normally.
  This is a slight change from the current behavior wherein no
  error message occurs when nmake ... setup is invoked when the
  libraries are out of date.

svn path=/trunk/; revision=28516

15 years agoFrom yami (bug 3497):
Stig Bjørlykke [Thu, 28 May 2009 20:25:26 +0000 (20:25 -0000)]
From yami (bug 3497):
Improved the "Invalid filter" message in the status bar.

svn path=/trunk/; revision=28515

15 years agoInclude profinet plugin in PLUGINS symbol.
Jaap Keuter [Thu, 28 May 2009 18:42:40 +0000 (18:42 -0000)]
Include profinet plugin in PLUGINS symbol.

svn path=/trunk/; revision=28514

15 years agoFrom Tobias Witek (bug 3496):
Stig Bjørlykke [Thu, 28 May 2009 08:38:49 +0000 (08:38 -0000)]
From Tobias Witek (bug 3496):
The patch puts the function declarations for zbee_sec_ccm_decrypt() and
zbee_sec_key_hash() into a #ifdef HAVE_LIBGCRYPT guardian to avoid gcc from
complaining about functions that are declared as 'static' but never defined.

It additionally puts the function zbee_sec_make_nonce() (and its declaration)
into a #ifdef HAVE_LIBGCRYPT guardian to avoid gcc from complaining about a
defined but unused function, if libgcrypt is not used.

svn path=/trunk/; revision=28513

15 years agoAdd casts from size_t to fix win64 buildbot problems.
Martin Mathieson [Thu, 28 May 2009 03:26:40 +0000 (03:26 -0000)]
Add casts from size_t to fix win64 buildbot problems.

svn path=/trunk/; revision=28512

15 years agoAdd definitions for a UDP framing protocol and heuristic dissector (example client...
Martin Mathieson [Thu, 28 May 2009 02:24:27 +0000 (02:24 -0000)]
Add definitions for a UDP framing protocol and heuristic dissector (example client code will be posted on wiki soon)
Add a missed initialisation to stats window struct.

svn path=/trunk/; revision=28511

15 years agoImplement a simpler way to check for a change in the svn version.
Bill Meier [Wed, 27 May 2009 20:08:39 +0000 (20:08 -0000)]
Implement a simpler way to check for a change in the svn version.

svn path=/trunk/; revision=28510

15 years agoDetect if the setup channel is video or not.
Anders Broman [Wed, 27 May 2009 18:22:39 +0000 (18:22 -0000)]
Detect if the setup channel is video or not.

svn path=/trunk/; revision=28509

15 years agoCopy over r28507 from /trunk-1.2.
Gerald Combs [Wed, 27 May 2009 18:20:52 +0000 (18:20 -0000)]
Copy over r28507 from /trunk-1.2.

svn path=/trunk/; revision=28508

15 years agoAdd missing quote
Bill Meier [Wed, 27 May 2009 17:13:07 +0000 (17:13 -0000)]
Add missing quote

svn path=/trunk/; revision=28505

15 years agoFix bug: Makefile doesn't detect some out-of-date libraries.
Bill Meier [Wed, 27 May 2009 17:07:51 +0000 (17:07 -0000)]
Fix bug: Makefile doesn't detect some out-of-date libraries.

Reason:
 The makefile was coded to do the checktag and libverify checks
 only if makefile.nmake changed. It's now the case that some
 library updates are reflected in config.nmake rather than in
 Makefile.nmake and thus were missed.

Solution:
 Do a checktag once at the beginning of the make.
 Do not do a libverify any more. I think that checking
  that the library 'tag' is correct is sufficient.
 (The libverify code has been effectively commented out for now.
  It can be removed at a later date once we're comfortable
  with just using checktag).
 --This line, and those below, will be ignored--

M    Makefile.nmake

svn path=/trunk/; revision=28504

15 years agoFrom Siddhes (bug 3483):
Stig Bjørlykke [Wed, 27 May 2009 14:13:55 +0000 (14:13 -0000)]
From Siddhes (bug 3483):
Throttle splash screen updates when running remote.

svn path=/trunk/; revision=28503

15 years agoChange button label to "Quit without Saving" from "Continue without Saving"
Balint Reczey [Wed, 27 May 2009 02:42:43 +0000 (02:42 -0000)]
Change button label to "Quit without Saving" from "Continue without Saving"
when exiting Wireshark and having an open, not yet saved capture file.
This fixes bug 1427.

svn path=/trunk/; revision=28502

15 years agoMake it possible to toggle the displayed IP address in the capture interfacs
Stig Bjørlykke [Tue, 26 May 2009 21:13:16 +0000 (21:13 -0000)]
Make it possible to toggle the displayed IP address in the capture interfacs
dialog if more than one IP address exists for the selected device.

svn path=/trunk/; revision=28498

15 years agodocbook: Windows: rebuild docs only when source or svn_version actually changes.
Bill Meier [Tue, 26 May 2009 20:57:39 +0000 (20:57 -0000)]
docbook: Windows: rebuild docs only when source or svn_version actually changes.
 Also: rebuild docs if docbook/Makefile.nmake or docbook/Makefile.common changes;
       rebuilding individual target (wdug, wsdg,...) will check for svn_version change.

svn path=/trunk/; revision=28497

15 years agoMove the trunk to 1.3.
Gerald Combs [Tue, 26 May 2009 20:53:28 +0000 (20:53 -0000)]
Move the trunk to 1.3.

svn path=/trunk/; revision=28495

15 years agoMake the TZSP dissector register itself for find_dissector.
Stephen Fisher [Tue, 26 May 2009 17:10:49 +0000 (17:10 -0000)]
Make the TZSP dissector register itself for find_dissector.

svn path=/trunk/; revision=28491

15 years agoUpdate 3GPP AVP:s
Anders Broman [Tue, 26 May 2009 16:48:31 +0000 (16:48 -0000)]
Update 3GPP AVP:s

svn path=/trunk/; revision=28490

15 years agoMove xml validation to the individual wsug, wsdg & release_notes targets.
Bill Meier [Tue, 26 May 2009 16:06:12 +0000 (16:06 -0000)]
Move xml validation to the individual wsug, wsdg & release_notes targets.
Enables proper making of just one of the targets.

svn path=/trunk/; revision=28489

15 years agoMisc dissector cleanup:
Bill Meier [Tue, 26 May 2009 16:01:12 +0000 (16:01 -0000)]
Misc dissector cleanup:
- Make some fcns & vars static
- hf[] blurbs: "" and repeated text --> NULL
- Move proto_register & proto_reg_handoff to end of source
- packet-catapult-dct2000: simplify proto_reg_handoff
- Use consistent indentation

svn path=/trunk/; revision=28488

15 years agozbee: Misc cleanup:
Bill Meier [Tue, 26 May 2009 15:50:10 +0000 (15:50 -0000)]
zbee: Misc cleanup:
- Ethereal --> Wireshark
- Make fome fcns & vars static
- Spelling
- hf[] blurbs: "" --> NULL
- Remove some unneeded forward declarations
- packet-zep: rework reg_handoff to init handles only once
- Rename global 'get_bit_field' to 'zbee_get_bit_field'
  ...

svn path=/trunk/; revision=28487

15 years agoFrom Kovarththanan Rajaratnam: dfilter: Fix for bug #3490:
Bill Meier [Tue, 26 May 2009 15:13:19 +0000 (15:13 -0000)]
From Kovarththanan Rajaratnam: dfilter: Fix for bug #3490:
"Purify reports an uninitialized memory read in dfw_append_const() when
accessing the 'next_const_id' member. This seems to be caused by dfwork_new()
which doesn't properly initialize the member."

svn path=/trunk/; revision=28486

15 years agoAdd a note about README.developer to the beginning of the "Packet Dissection" chapter.
Bill Meier [Tue, 26 May 2009 15:03:17 +0000 (15:03 -0000)]
Add a note about README.developer to the beginning of the "Packet Dissection" chapter.

svn path=/trunk/; revision=28485

15 years agoUpdate the "Adding a basic dissector" section a bit to reflect current practice.
Bill Meier [Tue, 26 May 2009 14:32:45 +0000 (14:32 -0000)]
Update the "Adding a basic dissector" section a bit to reflect current practice.

svn path=/trunk/; revision=28484

15 years agoDocument the changes in the Capture Interfaces description.
Stig Bjørlykke [Tue, 26 May 2009 13:52:43 +0000 (13:52 -0000)]
Document the changes in the Capture Interfaces description.

svn path=/trunk/; revision=28483

15 years agoFrom Carlos G Mendioroz:
Stig Bjørlykke [Tue, 26 May 2009 13:52:03 +0000 (13:52 -0000)]
From Carlos G Mendioroz:
Use the user defined comment in the Capture Interfaces dialog box.

svn path=/trunk/; revision=28482

15 years agoAdd a comment from IANA assignments, whitspace changes.
Anders Broman [Tue, 26 May 2009 06:26:34 +0000 (06:26 -0000)]
Add a comment from IANA assignments, whitspace changes.

svn path=/trunk/; revision=28481

15 years agoAdd a cast for Win64.
Gerald Combs [Tue, 26 May 2009 04:32:51 +0000 (04:32 -0000)]
Add a cast for Win64.

svn path=/trunk/; revision=28480

15 years agoAdd the FIX build files to the distribution.
Gerald Combs [Tue, 26 May 2009 00:51:33 +0000 (00:51 -0000)]
Add the FIX build files to the distribution.

svn path=/trunk/; revision=28479

15 years agoFrom Didier Gautheron via bug 3052:
Gerald Combs [Tue, 26 May 2009 00:49:38 +0000 (00:49 -0000)]
From Didier Gautheron via bug 3052:

Add:
- FIX 4.0 to 4.4 fields, auto generated with XSLT stylesheets applied on
http://www.quickfixengine.org/ xml files (not included quickfixengine code is
BSD but xml files have no copyright).

- value_string functions for string keys, added to value_string.c.

- FIX desegmentation, it doesn't work well with malformed FIX PDU.

svn path=/trunk/; revision=28478

15 years agoFrom Roberto Mariani via bug 3324:
Gerald Combs [Tue, 26 May 2009 00:32:16 +0000 (00:32 -0000)]
From Roberto Mariani via bug 3324:

- Removed heuristic for find if is_request and used event_type

- URB_INTERRUPT don't goes in reverse direction... fixed

svn path=/trunk/; revision=28477

15 years agoFix the build.
Gerald Combs [Tue, 26 May 2009 00:30:08 +0000 (00:30 -0000)]
Fix the build.

svn path=/trunk/; revision=28476

15 years agoFrom Didier Gautheron via bug 3391:
Gerald Combs [Mon, 25 May 2009 23:48:29 +0000 (23:48 -0000)]
From Didier Gautheron via bug 3391:

when loading files > 50 MB wireshark redraws the first pane on each
update_progress_dlg(). If auto_scroll_live is not set that's mean it redraws
the same rows again and again.

The patch attached only redraws it once or if cf->displayed_count < 1000, in
case you have a very big screen.

svn path=/trunk/; revision=28475

15 years agoUpdate the .svg files as well.
Gerald Combs [Mon, 25 May 2009 23:07:12 +0000 (23:07 -0000)]
Update the .svg files as well.

svn path=/trunk/; revision=28474

15 years agoIncrease the size of the Finder windows slightly.
Gerald Combs [Mon, 25 May 2009 23:02:34 +0000 (23:02 -0000)]
Increase the size of the Finder windows slightly.

svn path=/trunk/; revision=28473

15 years agoAdded an expert info for "IP port reused".
Stig Bjørlykke [Mon, 25 May 2009 21:10:22 +0000 (21:10 -0000)]
Added an expert info for "IP port reused".

svn path=/trunk/; revision=28472

15 years agoFix for bug 3469:
Sake Blok [Mon, 25 May 2009 19:59:17 +0000 (19:59 -0000)]
Fix for bug 3469:

In Juniper NetScreen snoop output files, the encapsulation type of
traffic on ADSL interfaces can be ethernet or PPP. Check whether the
first 6 bytes of the data are the same as the destination mac-address
in the packet header. If they are, assume ethernet. If not, assume PPP.

svn path=/trunk/; revision=28471

15 years agoSquelch an uninitialized variable complaint from older versions of GCC
Guy Harris [Mon, 25 May 2009 18:40:07 +0000 (18:40 -0000)]
Squelch an uninitialized variable complaint from older versions of GCC
(which presumably don't know that g_assert_not_reached() never returns).

svn path=/trunk/; revision=28470

15 years agoAdded missing daintree-sna.h to Makefile.
Stig Bjørlykke [Mon, 25 May 2009 06:57:12 +0000 (06:57 -0000)]
Added missing daintree-sna.h to Makefile.

svn path=/trunk/; revision=28469

15 years agoFrom Dan Gora:
Jaap Keuter [Mon, 25 May 2009 06:50:34 +0000 (06:50 -0000)]
From Dan Gora:
This patch adds support for the I-TDM control protocol specified in PICMG SFP.1 chapter 3.12.
This control protocol is used to "automatically" initialize new I-TDM data flows.

svn path=/trunk/; revision=28468

15 years agoFrom Thomas M. Knoll:
Jaap Keuter [Mon, 25 May 2009 06:48:40 +0000 (06:48 -0000)]
From Thomas M. Knoll:
The CoS Capability extended community has been changed to a transitive ext. community
and was reassigned an IANA type number. It has changed from 0x40 to 0x05.
see: http://www.iana.org/assignments/bgp-extended-communities

svn path=/trunk/; revision=28467

15 years agoFrom Michael Lum:
Jaap Keuter [Mon, 25 May 2009 06:46:33 +0000 (06:46 -0000)]
From Michael Lum:
Some of the hard-coded 96 and 127 values representing dynamic payloads
were changed to use #defines from rtp_pt.h but not all.

svn path=/trunk/; revision=28466

15 years agoUse proto_tree_add_uint64 for 64 bits values.
Stig Bjørlykke [Sun, 24 May 2009 23:23:06 +0000 (23:23 -0000)]
Use proto_tree_add_uint64 for 64 bits values.

svn path=/trunk/; revision=28465

15 years agoFixed some email addresses.
Stig Bjørlykke [Sun, 24 May 2009 22:57:11 +0000 (22:57 -0000)]
Fixed some email addresses.

svn path=/trunk/; revision=28464

15 years agoFrom Fred Fierling (bug 3486):
Stig Bjørlykke [Sun, 24 May 2009 22:49:36 +0000 (22:49 -0000)]
From Fred Fierling (bug 3486):
Added support for Daintree's Sensor Network Analyzer capture files.

svn path=/trunk/; revision=28463

15 years agoFrom Rama Chitta (bug 3467):
Stig Bjørlykke [Sun, 24 May 2009 22:39:07 +0000 (22:39 -0000)]
From Rama Chitta (bug 3467):
Added routines for Memcache Textual Protocol.

svn path=/trunk/; revision=28462

15 years agoRewrite some non-ascii characters.
Stig Bjørlykke [Sun, 24 May 2009 20:59:33 +0000 (20:59 -0000)]
Rewrite some non-ascii characters.

svn path=/trunk/; revision=28461

15 years agoFound some problems when testing with live captures:.
Martin Mathieson [Sun, 24 May 2009 07:25:57 +0000 (07:25 -0000)]
Found some problems when testing with live captures:.
- Fixed problem with iter_valid values (causing multiple rows for one UE).
- Set UE counters to 0 when current UE is deselected.
- Get rid of some unused counters

svn path=/trunk/; revision=28459

15 years agoHave fileset_extract_prefix_suffix() print an error message if it fails,
Guy Harris [Sat, 23 May 2009 20:29:12 +0000 (20:29 -0000)]
Have fileset_extract_prefix_suffix() print an error message if it fails,
so we don't just exit silently.  Don't bother checking the validity of
arguments - it shouldn't be passed NULL fprefix or fsuffix arguments in
the first place, and isn't passed them.

Exit with an exit status of 1 for command-line syntax errors and 2 for
file open/close/IO errors.

svn path=/trunk/; revision=28458

15 years agoFix indentation.
Guy Harris [Sat, 23 May 2009 20:22:42 +0000 (20:22 -0000)]
Fix indentation.

svn path=/trunk/; revision=28457

15 years agoOut goes a C++ comment inside #if 0 #endif to make the API checker happy.
Michael Tüxen [Sat, 23 May 2009 12:09:15 +0000 (12:09 -0000)]
Out goes a C++ comment inside #if 0 #endif to make the API checker happy.

svn path=/trunk/; revision=28456

15 years agoInitialize pdh...
Sake Blok [Sat, 23 May 2009 08:57:20 +0000 (08:57 -0000)]
Initialize pdh...

svn path=/trunk/; revision=28455

15 years agoFrom Kovarththanan Rajaratnam <krj@rajaratnam.dk> in bug 2683
Sake Blok [Sat, 23 May 2009 07:59:23 +0000 (07:59 -0000)]
From Kovarththanan Rajaratnam <krj@rajaratnam.dk> in bug 2683
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2683):

Editcap should split file according to fileset pattern

svn path=/trunk/; revision=28454

15 years agoFrom David Aggeler via bug 3468:
Gerald Combs [Fri, 22 May 2009 23:09:31 +0000 (23:09 -0000)]
From David Aggeler via bug 3468:

Escape filenames in the welcome screen with g_markup_escape_text().

From me:

Add a binary prefix for gigabytes. Add a comment explaining why we're
using binary prefixes instead of IEC.

svn path=/trunk/; revision=28453

15 years agoFrom Benjamin Tse via bug 2200:
Gerald Combs [Fri, 22 May 2009 19:52:30 +0000 (19:52 -0000)]
From Benjamin Tse via bug 2200:

I've created a new bug rather than reopening 1181 as the scope is constrained
somewhat more.

Basically, when capturing from a named pipe the wireshark display lags by one
packet. This is especially frustrating when the packets arrive at low rates.

tshark is fine. But the packet count in dumpcap also lags by one.

Looking at the code, the problem appears to be in cap_pipe_select(). It
attempts to use WaitForSingleObject() on the named pipe but AFAICT this never
blocks.

I've attached a diff for some code that fixes the issue for me. The semantics
of overlapped IO in Win32 is quite different from the select/read model - hence
the other changes!

I've tested this fix on WinXP, 2k server and 2003 server. I've also checked
that my changes compile on a Freespire box that I have lying around.

From me:

Adapt the changes for dumpcap, which is where the affected code now lives.

svn path=/trunk/; revision=28452

15 years agoFrom Nick Lewis via bug 3319:
Gerald Combs [Fri, 22 May 2009 18:39:26 +0000 (18:39 -0000)]
From Nick Lewis via bug 3319:

When audio samples have to be dropped or silence samples inserted to reflect
the timestamp there is no indication of these problems on the display.

I propose that such problems be indicated on the waveform display by the use of
amber coloration and that the number of incorrect timestamps be listed

svn path=/trunk/; revision=28451

15 years agoAdd Greg Schwendimann.
Gerald Combs [Fri, 22 May 2009 17:42:26 +0000 (17:42 -0000)]
Add Greg Schwendimann.

svn path=/trunk/; revision=28450

15 years agoFrom Greg Schwendimann via bug 3156:
Gerald Combs [Fri, 22 May 2009 17:38:21 +0000 (17:38 -0000)]
From Greg Schwendimann via bug 3156:

Airpdcap does not allow for more than one key to be stored for a pair of nodes.
 This means that when a device associates more than once the previous keys are
lost.  This is ok for the first pass as the newest key is all that is needed
but when the user tries to click on a packet, to get the tree, which used a
previous key all that is seen is the encrypted data.  The attached patch stores
previous associations in a linked list and will try all known keys before
decided the packet can't be decrypted.  The list of keys is garbage collected
when a new capture is started.

svn path=/trunk/; revision=28449

15 years agoFrom Terry Hardie via bug 3080:
Gerald Combs [Fri, 22 May 2009 16:05:30 +0000 (16:05 -0000)]
From Terry Hardie via bug 3080:

In ISUP, if the redirecting or original called number parameters are present,
but have a zero length number in them, the dissector (incorrectly) marks them
as malformed packets.

Also, the precedence decoder is very terse (Doesn't even display the precedence
level correctly)

svn path=/trunk/; revision=28448

15 years agog_string_append_printf() is the correct name of the function (oops).
Bill Meier [Fri, 22 May 2009 13:08:54 +0000 (13:08 -0000)]
g_string_append_printf() is the correct name of the function (oops).

svn path=/trunk/; revision=28447

15 years agoFix usage of several GTK/Glib deprecated functions.
Bill Meier [Fri, 22 May 2009 12:58:48 +0000 (12:58 -0000)]
Fix usage of several GTK/Glib deprecated functions.

svn path=/trunk/; revision=28446

15 years agogtk_exit(): deprecated and no longer used in Wireshark: 'W' ==> 'E'
Bill Meier [Fri, 22 May 2009 12:39:00 +0000 (12:39 -0000)]
gtk_exit():  deprecated and no longer used in Wireshark: 'W' ==> 'E'

svn path=/trunk/; revision=28445

15 years agogtk_exit() is deprecated; "use the standard exit() function instead"
Bill Meier [Fri, 22 May 2009 12:36:20 +0000 (12:36 -0000)]
gtk_exit() is deprecated; "use the standard exit() function instead"

svn path=/trunk/; revision=28444

15 years agoFrom Aaron Turner: Use wtap_wtap_encap_to_pcap_encap() instead of
Michael Tüxen [Fri, 22 May 2009 07:33:58 +0000 (07:33 -0000)]
From Aaron Turner: Use wtap_wtap_encap_to_pcap_encap() instead of
                   fixed mapping for ethernet only.

svn path=/trunk/; revision=28443

15 years agoFrom Kovarththanan Rajaratnam via bug 2680:
Gerald Combs [Fri, 22 May 2009 00:05:19 +0000 (00:05 -0000)]
From  Kovarththanan Rajaratnam via bug 2680:

Currently Wireshark doesn't support saving
WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR files as btsnoop files.

svn path=/trunk/; revision=28442

15 years agoFrom Kovarththanan Rajaratnam via bug 2676:
Gerald Combs [Thu, 21 May 2009 23:16:49 +0000 (23:16 -0000)]
From Kovarththanan Rajaratnam via bug 2676:

If a PCAP file containing WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR packets is saved,
it gets corrupted because the direction pseudo header isn't included.

svn path=/trunk/; revision=28441

15 years agoSmall improvements for the compare capture files dialog:
Stig Bjørlykke [Thu, 21 May 2009 22:10:17 +0000 (22:10 -0000)]
Small improvements for the compare capture files dialog:
- Added autocompletion in the filter entry
- Added a help button (documentation TBD)

svn path=/trunk/; revision=28440

15 years agozbee: minor cleanup
Bill Meier [Thu, 21 May 2009 20:03:03 +0000 (20:03 -0000)]
zbee: minor cleanup
- replace C++ comments by C-style comments (or #if 0...#endif);
- Chnage all hf[] "" blurbs to NULL;
- Fix some spelling;
- Remove two unused handles.

svn path=/trunk/; revision=28439

15 years agoStrip single quotes around our output paths. This should fix the current
Gerald Combs [Thu, 21 May 2009 19:53:35 +0000 (19:53 -0000)]
Strip single quotes around our output paths. This should fix the current
U3 buildbot failure.

svn path=/trunk/; revision=28438

15 years agopaltalk: minor cleanup:
Bill Meier [Thu, 21 May 2009 18:36:32 +0000 (18:36 -0000)]
paltalk: minor cleanup:
 - prefs registration not req'd (no prefs);
 - move hf[] & ett[] to be local to proto_register;
 - use std dissector format: move proto_register & proto_reg_handoff to end;
 - if (proto == -1) in proto_register not req'd;
 - if (! initialized) not req'd in proto_reg_handoff since no prefs callback.

svn path=/trunk/; revision=28437

15 years agoAdd filterable generated item arp.isgratuitous. Inspired
Jörg Mayer [Thu, 21 May 2009 05:15:03 +0000 (05:15 -0000)]
Add filterable generated item arp.isgratuitous. Inspired
by question on wireshark-users ML by
wireshark.20090520@tozer.org.uk

svn path=/trunk/; revision=28436

15 years agofoo() and foo(void) might be the same in C++, but they're not the same
Guy Harris [Thu, 21 May 2009 01:01:22 +0000 (01:01 -0000)]
foo() and foo(void) might be the same in C++, but they're not the same
in C.

svn path=/trunk/; revision=28435

15 years agoFrom Mohammad Ebrahim Mohammadi Panah via bug 2954:
Gerald Combs [Thu, 21 May 2009 00:34:03 +0000 (00:34 -0000)]
From Mohammad Ebrahim Mohammadi Panah via bug 2954:

I've developed a Wireshark dissector for Paltalk messenger protocol.

svn path=/trunk/; revision=28434

15 years agoFrom Alex Lindberg via bug 3094:
Gerald Combs [Wed, 20 May 2009 23:46:48 +0000 (23:46 -0000)]
From Alex Lindberg via bug 3094:

Added descriptions for dynamic RTP Payload types.

svn path=/trunk/; revision=28433

15 years agoAdd a preference to force the dissector to assume that packets have an
Guy Harris [Wed, 20 May 2009 22:50:30 +0000 (22:50 -0000)]
Add a preference to force the dissector to assume that packets have an
FCS; this handles protocols where there's no length field, so that the
"is there a trailer and/or an FCS?" heuristic can't work.

svn path=/trunk/; revision=28432

15 years agoFix Win64 compilation.
Gerald Combs [Wed, 20 May 2009 20:28:31 +0000 (20:28 -0000)]
Fix Win64 compilation.

svn path=/trunk/; revision=28430

15 years agoFrom Owen Kirby via bug 3431:
Gerald Combs [Wed, 20 May 2009 19:29:39 +0000 (19:29 -0000)]
From Owen Kirby via bug 3431:

The attached patch file adds dissectors for the ZigBee protocol stack,
which runs atop the IEEE 802.15.4 dissector. Also included is the
dissector for the ZigBee Encapsulation Protocol (packet-zep.c), used by
the Exegin Q51 protocol analyzer.

From me:

Fix a bunch of gcc (the compiler, not me) warnings.

svn path=/trunk/; revision=28429

15 years agoUpdate the release notes.
Gerald Combs [Wed, 20 May 2009 19:27:57 +0000 (19:27 -0000)]
Update the release notes.

svn path=/trunk/; revision=28428

15 years agoRename e_ip to ws_ip (from packet-ip.h change).
Stig Bjørlykke [Wed, 20 May 2009 17:56:22 +0000 (17:56 -0000)]
Rename e_ip to ws_ip (from packet-ip.h change).

svn path=/trunk/; revision=28427

15 years agoFrom Vincenzo Condoleo via bug 2589:
Gerald Combs [Wed, 20 May 2009 17:07:18 +0000 (17:07 -0000)]
From Vincenzo Condoleo via bug 2589:

Add IP packet comparison statistics.

svn path=/trunk/; revision=28426

15 years agoFrom Jakub Zawadzki via bug 3421:
Gerald Combs [Wed, 20 May 2009 15:50:40 +0000 (15:50 -0000)]
From Jakub Zawadzki via bug 3421:

e_ip->ip_ttl is currently always set to 0, in attachment fix.

I also (in same patch, sorry) submit cleanup to use ep_alloc() instead
of static e_ip buffers, I didn't test it, but I hope it's ok.

There's note about static buffers in doc/README.tapping, which should
also be updated, but I don't feel so good with my English :)

From me:

Rename e_ip to ws_ip. Update the static buffers note in README.tapping.

svn path=/trunk/; revision=28425

15 years agoAdded expert info for Unknown RTSE PDU.
Stig Bjørlykke [Wed, 20 May 2009 10:08:00 +0000 (10:08 -0000)]
Added expert info for Unknown RTSE PDU.

svn path=/trunk/; revision=28424

15 years agoAdded expert info for OID not implemented.
Stig Bjørlykke [Wed, 20 May 2009 09:29:22 +0000 (09:29 -0000)]
Added expert info for OID not implemented.

svn path=/trunk/; revision=28423

15 years agoAdded expert info for OID not implemented.
Stig Bjørlykke [Wed, 20 May 2009 09:27:45 +0000 (09:27 -0000)]
Added expert info for OID not implemented.

svn path=/trunk/; revision=28422

15 years agoUpdate to 8.5.1 - "Minor corrections before freezing of ASN.1"
Anders Broman [Wed, 20 May 2009 05:19:06 +0000 (05:19 -0000)]
Update to 8.5.1 -  "Minor corrections before freezing of ASN.1"

svn path=/trunk/; revision=28421

15 years agoFrom Julien Kerihuel via bug 2850:
Gerald Combs [Tue, 19 May 2009 23:22:59 +0000 (23:22 -0000)]
From Julien Kerihuel via bug 2850:

Patch to implement decoding of Exchange RFR protocol.

svn path=/trunk/; revision=28420

15 years agoAdd a few items from Stig.
Gerald Combs [Tue, 19 May 2009 22:40:22 +0000 (22:40 -0000)]
Add a few items from Stig.

svn path=/trunk/; revision=28419

15 years agoOk, private_data is only saved if HAVE_LIBGCRYPT.
Stig Bjørlykke [Tue, 19 May 2009 20:00:05 +0000 (20:00 -0000)]
Ok, private_data is only saved if HAVE_LIBGCRYPT.

svn path=/trunk/; revision=28417

15 years agoGet info about media type(Video or not) a first step towards usage in rtp statistics.
Anders Broman [Tue, 19 May 2009 18:42:33 +0000 (18:42 -0000)]
Get info about media type(Video or not) a first step towards usage in rtp statistics.

svn path=/trunk/; revision=28415

15 years agoMove pd variables outside HAVE_LIBGCRYPT.
Stig Bjørlykke [Tue, 19 May 2009 18:28:24 +0000 (18:28 -0000)]
Move pd variables outside HAVE_LIBGCRYPT.

svn path=/trunk/; revision=28414

15 years agoAdd a few more missing ROHC RTP fields.
Martin Mathieson [Tue, 19 May 2009 17:26:14 +0000 (17:26 -0000)]
Add a few more missing ROHC RTP fields.

svn path=/trunk/; revision=28413

15 years agoFrom Artem Tamazov (bug 3472):
Stig Bjørlykke [Tue, 19 May 2009 17:16:14 +0000 (17:16 -0000)]
From Artem Tamazov (bug 3472):
Save/Restore pinfo->private_data when used.

svn path=/trunk/; revision=28412

15 years agoexpert_comp: Fix some memory leaks (several non-trivial);
Bill Meier [Tue, 19 May 2009 15:53:26 +0000 (15:53 -0000)]
expert_comp: Fix some memory leaks (several non-trivial);
  Fix hack wherein a ptr was stored using the address of an int (could cause Win64 crash ?)
  Use consistent indentation;

svn path=/trunk/; revision=28410

15 years agoAvoid crash when not reassembling multiple TCP segments.
Stig Bjørlykke [Tue, 19 May 2009 14:40:23 +0000 (14:40 -0000)]
Avoid crash when not reassembling multiple TCP segments.
(check for valid pointers, in this case: ndmp_conv_data->task)

This fixes the crash in bug #3470.

svn path=/trunk/; revision=28409

15 years agoUpdate IP protocol numbers according to current IANA registery.
Jaap Keuter [Tue, 19 May 2009 07:34:33 +0000 (07:34 -0000)]
Update IP protocol numbers according to current IANA registery.

svn path=/trunk/; revision=28408

15 years agoUse the xhtml stylesheet to generate the release notes instead of the
Gerald Combs [Tue, 19 May 2009 01:26:06 +0000 (01:26 -0000)]
Use the xhtml stylesheet to generate the release notes instead of the
html stylesheet. This makes xsltproc use utf-8 instead of iso-8859-1.

svn path=/trunk/; revision=28407

15 years agoFrom Abhik Sarkar via bug 3242:
Gerald Combs [Tue, 19 May 2009 00:17:23 +0000 (00:17 -0000)]
From Abhik Sarkar via bug 3242:

  Add a UAT for custom HTTP header fields.

From me:

  Use se_alloc0 to initialize a struct. Use g_strdup(...) instead of
  g_strdup_printf("%s"...). Add a missing UAT_END_FIELDS.

svn path=/trunk/; revision=28406

15 years agoprefs_column: fix a small memory leak.
Bill Meier [Mon, 18 May 2009 22:21:16 +0000 (22:21 -0000)]
prefs_column: fix a small memory leak.

svn path=/trunk/; revision=28403