Commit Graph

27593 Commits

Author SHA1 Message Date
Guy Harris dc3b1136cc Fix indentation.
svn path=/trunk/; revision=28457
2009-05-23 20:22:42 +00:00
Michael Tüxen 6637bf6adf Out goes a C++ comment inside #if 0 #endif to make the API checker happy.
svn path=/trunk/; revision=28456
2009-05-23 12:09:15 +00:00
Sake Blok 67bd294b03 Initialize pdh...
svn path=/trunk/; revision=28455
2009-05-23 08:57:20 +00:00
Sake Blok a8eb860103 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
2009-05-23 07:59:23 +00:00
Gerald Combs 42ad8213bb 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
2009-05-22 23:09:31 +00:00
Gerald Combs f7f2a08def 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
2009-05-22 19:52:30 +00:00
Gerald Combs 35b474b83f 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
2009-05-22 18:39:26 +00:00
Gerald Combs 6b7124a941 Add Greg Schwendimann.
svn path=/trunk/; revision=28450
2009-05-22 17:42:26 +00:00
Gerald Combs 8ca33644e7 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
2009-05-22 17:38:21 +00:00
Gerald Combs 3e39be6cea 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
2009-05-22 16:05:30 +00:00
Bill Meier 9fc44860ff g_string_append_printf() is the correct name of the function (oops).
svn path=/trunk/; revision=28447
2009-05-22 13:08:54 +00:00
Bill Meier 1f80cfc65c Fix usage of several GTK/Glib deprecated functions.
svn path=/trunk/; revision=28446
2009-05-22 12:58:48 +00:00
Bill Meier 899b857400 gtk_exit(): deprecated and no longer used in Wireshark: 'W' ==> 'E'
svn path=/trunk/; revision=28445
2009-05-22 12:39:00 +00:00
Bill Meier 6cdedfddd1 gtk_exit() is deprecated; "use the standard exit() function instead"
svn path=/trunk/; revision=28444
2009-05-22 12:36:20 +00:00
Michael Tüxen 83aa6f473f From Aaron Turner: Use wtap_wtap_encap_to_pcap_encap() instead of
fixed mapping for ethernet only.

svn path=/trunk/; revision=28443
2009-05-22 07:33:58 +00:00
Gerald Combs 3c6b6dc1a3 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
2009-05-22 00:05:19 +00:00
Gerald Combs a37191cb07 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
2009-05-21 23:16:49 +00:00
Stig Bjørlykke a6555ef9c3 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
2009-05-21 22:10:17 +00:00
Bill Meier 9473419e8b 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
2009-05-21 20:03:03 +00:00
Gerald Combs c6f8385a44 Strip single quotes around our output paths. This should fix the current
U3 buildbot failure.

svn path=/trunk/; revision=28438
2009-05-21 19:53:35 +00:00
Bill Meier 3eab9f8463 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
2009-05-21 18:36:32 +00:00
Jörg Mayer 61d5b442f4 Add filterable generated item arp.isgratuitous. Inspired
by question on wireshark-users ML by
wireshark.20090520@tozer.org.uk

svn path=/trunk/; revision=28436
2009-05-21 05:15:03 +00:00
Guy Harris 19a0011c59 foo() and foo(void) might be the same in C++, but they're not the same
in C.

svn path=/trunk/; revision=28435
2009-05-21 01:01:22 +00:00
Gerald Combs 7a7e7eac34 From Mohammad Ebrahim Mohammadi Panah via bug 2954:
I've developed a Wireshark dissector for Paltalk messenger protocol.

svn path=/trunk/; revision=28434
2009-05-21 00:34:03 +00:00
Gerald Combs f3080aff14 From Alex Lindberg via bug 3094:
Added descriptions for dynamic RTP Payload types.

svn path=/trunk/; revision=28433
2009-05-20 23:46:48 +00:00
Guy Harris 5b45905ffc 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
2009-05-20 22:50:30 +00:00
Gerald Combs 3392d8a62f Fix Win64 compilation.
svn path=/trunk/; revision=28430
2009-05-20 20:28:31 +00:00
Gerald Combs f5e8e21ce2 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
2009-05-20 19:29:39 +00:00
Gerald Combs bd79d12416 Update the release notes.
svn path=/trunk/; revision=28428
2009-05-20 19:27:57 +00:00
Stig Bjørlykke b801934940 Rename e_ip to ws_ip (from packet-ip.h change).
svn path=/trunk/; revision=28427
2009-05-20 17:56:22 +00:00
Gerald Combs fcd9a56161 From Vincenzo Condoleo via bug 2589:
Add IP packet comparison statistics.

svn path=/trunk/; revision=28426
2009-05-20 17:07:18 +00:00
Gerald Combs e2c0d132e1 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
2009-05-20 15:50:40 +00:00
Stig Bjørlykke b74a4c3cd1 Added expert info for Unknown RTSE PDU.
svn path=/trunk/; revision=28424
2009-05-20 10:08:00 +00:00
Stig Bjørlykke 84cbcbb1fc Added expert info for OID not implemented.
svn path=/trunk/; revision=28423
2009-05-20 09:29:22 +00:00
Stig Bjørlykke 6a713aad50 Added expert info for OID not implemented.
svn path=/trunk/; revision=28422
2009-05-20 09:27:45 +00:00
Anders Broman 5c8f23cca1 Update to 8.5.1 - "Minor corrections before freezing of ASN.1"
svn path=/trunk/; revision=28421
2009-05-20 05:19:06 +00:00
Gerald Combs d7d00a144d From Julien Kerihuel via bug 2850:
Patch to implement decoding of Exchange RFR protocol.

svn path=/trunk/; revision=28420
2009-05-19 23:22:59 +00:00
Gerald Combs 5cf75da4dd Add a few items from Stig.
svn path=/trunk/; revision=28419
2009-05-19 22:40:22 +00:00
Stig Bjørlykke 6cc936929a Ok, private_data is only saved if HAVE_LIBGCRYPT.
svn path=/trunk/; revision=28417
2009-05-19 20:00:05 +00:00
Anders Broman 3a11073d6b Get info about media type(Video or not) a first step towards usage in rtp statistics.
svn path=/trunk/; revision=28415
2009-05-19 18:42:33 +00:00
Stig Bjørlykke af7304aa79 Move pd variables outside HAVE_LIBGCRYPT.
svn path=/trunk/; revision=28414
2009-05-19 18:28:24 +00:00
Martin Mathieson 8315e941ac Add a few more missing ROHC RTP fields.
svn path=/trunk/; revision=28413
2009-05-19 17:26:14 +00:00
Stig Bjørlykke fc3f1b5283 From Artem Tamazov (bug 3472):
Save/Restore pinfo->private_data when used.

svn path=/trunk/; revision=28412
2009-05-19 17:16:14 +00:00
Bill Meier 79e537af33 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
2009-05-19 15:53:26 +00:00
Stig Bjørlykke 1d54e7ad56 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
2009-05-19 14:40:23 +00:00
Jaap Keuter 95dfe6a326 Update IP protocol numbers according to current IANA registery.
svn path=/trunk/; revision=28408
2009-05-19 07:34:33 +00:00
Gerald Combs 61d2248b3f 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
2009-05-19 01:26:06 +00:00
Gerald Combs d797045341 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
2009-05-19 00:17:23 +00:00
Bill Meier b65b001476 prefs_column: fix a small memory leak.
svn path=/trunk/; revision=28403
2009-05-18 22:21:16 +00:00
Stig Bjørlykke 4d3a7aa966 Use g_strdup_printf() instead of g_snprintf() with a fixed buffer.
svn path=/trunk/; revision=28402
2009-05-18 22:01:19 +00:00