Commit Graph

33121 Commits

Author SHA1 Message Date
Jeff Morriss 94e072c92f Fix progress bar when loading compressed files.
Continue to use the data offset ((uncompressed) bytes read) as our progress
indicator, at least until we get a progress value greater than 1.0.  Then,
in addition to checking if the size of the file changed, check our position in
the file and use that as our progress indicator.

This optimizes uncompressed file accesses (avoiding an lseek()) at the "expense"
of switching progress measures (from data read to position in the file) while
loading a file.  Tests have shown that the progress bar never shows the data
offset number when loading a compressed file, so this should be okay.

svn path=/trunk/; revision=34563
2010-10-18 20:52:54 +00:00
Anders Broman 9ebba15246 (GUIManager) Make opening a recent file work from the recent files menu.
svn path=/trunk/; revision=34562
2010-10-18 19:19:27 +00:00
Bill Meier be1a3f5a7e Try to fix compile errors on 64 bit systems.
svn path=/trunk/; revision=34561
2010-10-18 18:37:07 +00:00
Bill Meier 8832221ca4 Remove some unneeded #includes ...
svn path=/trunk/; revision=34560
2010-10-18 17:46:12 +00:00
Martin Mathieson 7e938c7071 Don't clear info column when showing MAC or RLC-level info.
svn path=/trunk/; revision=34559
2010-10-18 17:02:19 +00:00
Bill Meier 13b8efbf25 From Holger Grandy: ETCH dissector
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5095

From me: Fix a bug in add_symbol which caused occasional Wireshark crashes;
         Add additional checking during parse of symbol hash file;
         Improve "directory not found" error message;
         Do misc code cleanup and simplification.

svn path=/trunk/; revision=34558
2010-10-18 16:15:12 +00:00
Jeff Morriss b0ab72ac70 Use port range for SCTP too.
svn path=/trunk/; revision=34557
2010-10-18 15:56:06 +00:00
Anders Broman bcd5ed10c3 (GTKUImanger)
- Make Open file from the welocme screen work again.

svn path=/trunk/; revision=34556
2010-10-18 15:40:51 +00:00
Jeff Morriss 418b9b2958 Add SVN:Id tag. Copy copyright notice to the header file.
svn path=/trunk/; revision=34555
2010-10-18 13:26:35 +00:00
Jeff Morriss 13c4798e8c Add SVN:Id tag.
svn path=/trunk/; revision=34554
2010-10-18 13:24:10 +00:00
Bill Meier 175ec40ea0 Add fuzz-test option (-C) to specify a configuration profile.
svn path=/trunk/; revision=34553
2010-10-18 13:21:04 +00:00
Anders Broman 02a19a65c2 Remove "Obsolete" as it may be confusing in erarlier applications.
svn path=/trunk/; revision=34552
2010-10-18 08:56:51 +00:00
Stig Bjørlykke dcbd634884 Remove blurbs equal to name.
svn path=/trunk/; revision=34551
2010-10-18 07:41:47 +00:00
Stig Bjørlykke 7e42c00c9c Added some length checks for integers.
This fixes bug 5305.

svn path=/trunk/; revision=34550
2010-10-18 07:13:45 +00:00
Stig Bjørlykke 4b1be2be63 Remove some unused hf entries.
svn path=/trunk/; revision=34549
2010-10-17 20:57:11 +00:00
Jörg Mayer 6ab1662ca7 Add expert info if the eth src mac has the I/G bit set
svn path=/trunk/; revision=34548
2010-10-17 20:28:20 +00:00
Stig Bjørlykke df48a37c2e Use correct abbrev for fragment entries.
svn path=/trunk/; revision=34547
2010-10-17 18:33:50 +00:00
Stig Bjørlykke 54671a1ebe Removed unused entries.
svn path=/trunk/; revision=34546
2010-10-17 18:16:44 +00:00
Stig Bjørlykke 333ef8b5b7 Removed unused hf_pn_dcp and hf_pn_ptcp.
svn path=/trunk/; revision=34544
2010-10-17 16:49:10 +00:00
Stig Bjørlykke 763e03b407 Removed unused hf_ecat_mailbox.
svn path=/trunk/; revision=34543
2010-10-17 16:43:07 +00:00
Stig Bjørlykke 305748ea57 Removed unused hf_xcsl.
svn path=/trunk/; revision=34542
2010-10-17 16:38:15 +00:00
Stig Bjørlykke 2b32589942 Removed unused hf_sasp.
svn path=/trunk/; revision=34541
2010-10-17 16:36:32 +00:00
Stig Bjørlykke 6fd85b83a4 Fixed typo in "Reason" abbrev.
svn path=/trunk/; revision=34540
2010-10-17 16:33:28 +00:00
Gerald Combs 2e00350103 [Automatic manuf, services and enterprise-numbers update for 2010-10-17]
svn path=/trunk/; revision=34538
2010-10-17 15:03:47 +00:00
Stig Bjørlykke 18ddeb1de5 Fixed typo in "SSI Noise (dBm)" abbrev.
svn path=/trunk/; revision=34537
2010-10-17 14:30:11 +00:00
Stig Bjørlykke 2b37214674 From Pascal Quantin via bug 5301:
Make the PER constaints check like in the BER dissector.

svn path=/trunk/; revision=34536
2010-10-17 14:07:05 +00:00
Anders Broman fdb2192631 From Pascal Quantin:
[NAS EPS] Enhance dissection of APN-AMBR IE

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

svn path=/trunk/; revision=34535
2010-10-17 14:04:59 +00:00
Stig Bjørlykke 8b5bb7d7ce From Benjamin Roch via bug 3418:
Use eth.src, eth.dst and eth.type from the ethernet dissector.

From me:
Removed unused code inside #if 0.

svn path=/trunk/; revision=34534
2010-10-17 14:02:06 +00:00
Stig Bjørlykke 396d8e3e18 From Benjamin Roch via bug 3418:
Added string values to tte.pcf.type.

svn path=/trunk/; revision=34533
2010-10-17 13:59:46 +00:00
Stig Bjørlykke ce60782e08 coap_handle is only used in proto_reg_handoff_coap.
svn path=/trunk/; revision=34532
2010-10-17 12:20:25 +00:00
Stig Bjørlykke 38ba5119cd From Pascal Quantin via bug 5301:
Add expert info when ASN.1 PER constrained integer does not match range.

svn path=/trunk/; revision=34531
2010-10-17 11:59:10 +00:00
Stig Bjørlykke 9d253d77ad From Shoichi Sakane via bug 5270:
Added COAP protocol support.

From me:
Made the port number configurable.

svn path=/trunk/; revision=34530
2010-10-17 11:48:40 +00:00
Martin Mathieson 1077ec28f6 Improve info column when showing PHY info for MAC frames.
svn path=/trunk/; revision=34529
2010-10-15 21:32:35 +00:00
Martin Mathieson 52e5567b2e Track and give link back to frame containing previous NACK.
svn path=/trunk/; revision=34528
2010-10-15 21:07:45 +00:00
Jörg Mayer 2556852f9e Make the telnet data lines filterable elements.
svn path=/trunk/; revision=34527
2010-10-15 21:02:30 +00:00
Martin Mathieson 9d87437659 Add volatile in several places to gcc warnings.
svn path=/trunk/; revision=34526
2010-10-15 18:41:12 +00:00
Jeff Morriss 37b28dda16 From Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5295 :
Use macros for message type values and add an expert info for an incorrect
Magic Cookie.

svn path=/trunk/; revision=34525
2010-10-15 17:48:35 +00:00
Jeff Morriss 7502bd4a8f From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5300 :
In the profinet plugin, the decoding of the MRP LinkUp and MRP LinkDown
messages is missing the MRP_SA field which garbles the decode of the rest of
the packet.

This fix adds the decoding of the MRP_SA field to the MRP LinkUp and MRP
LinkDown dissectors.

svn path=/trunk/; revision=34524
2010-10-15 17:17:04 +00:00
Jeff Morriss 2d9d0900c5 From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5299 :
In profinet plugin, there is a dissection based on whether the read data
returned is expected to contain a single or multiple blocks. Currently, the
I&M0FilterData case assumes only a single block is returned. Profinet specifies
two optional additional blocks.

This change moves I&M0FilterData to expect multiple blocks to correct decode
the optional information.

svn path=/trunk/; revision=34523
2010-10-15 17:10:29 +00:00
Gerald Combs 1cd0689882 Revision 27919 added the ability to feed a libpcap-formatted file to
rawshark but broke the ability to feed it live packets with a
pcap_pkthdr prefix on some 64-bit architectures.

Add a "-p" flag which lets us explicitly handle file-based or
memory-based packet record headers.

svn path=/trunk/; revision=34522
2010-10-15 16:05:06 +00:00
Stig Bjørlykke 2b34ed288b Avoid getting BoundsError when trying to decode OCTET STRING or
unknown primitive as constructed ASN.1 BER encoded data.

svn path=/trunk/; revision=34520
2010-10-15 11:10:20 +00:00
Stig Bjørlykke 8b9c15d68f Added info column descriptions for AARQ and AARE.
svn path=/trunk/; revision=34519
2010-10-15 08:39:48 +00:00
Stig Bjørlykke e91a7ad6f7 Added packet-radiotap-iter.c
svn path=/trunk/; revision=34517
2010-10-14 18:13:39 +00:00
Gerald Combs dc46e7db50 Tighten up our data rate check. This should fix bug 5280 (mostly).
svn path=/trunk/; revision=34516
2010-10-14 18:09:57 +00:00
Gerald Combs ea4ca0524b From Johannes Berg via bug 4421:
radiotap: new parser

The current parser has a number of bugs, most
importantly not being able to parse radiotap
files with multiple presence bitmaps. It is
also rather hard extend. Use a generic library
for parsing radiotap that can be extended very
easily.


From me:

Dumb down some initializers and add some casts to make Visual C++ happy.

svn path=/trunk/; revision=34515
2010-10-14 17:56:06 +00:00
Bill Meier 15851701e8 Rework "extended value strings":
- Allow direct access when a range of values begins with a value other than 0;
- Provide value_string_ext_new() for creating extended value strings at runtime;
- Do access to value_string_ext members via a macro (all but value_string.c);
- Update documentation.

svn path=/trunk/; revision=34514
2010-10-14 17:50:35 +00:00
Stig Bjørlykke 6ead8f1ae5 Support multiple header fields with the same abbreviation in custom columns.
We have some different fields using the same abbreviation (e.g "eth.dst"
used in both eth and tte), and this patch will fetch values from all fields.
When using occurrences the entries listed first is from the field registered
last when starting Wireshark, and not ordered from the occurrence in the
packet, but I don't see how we can easily fix this.

svn path=/trunk/; revision=34513
2010-10-14 13:11:03 +00:00
Guy Harris 9ccf7e431e Make variables used only in file_dlg_win32.c static.
svn path=/trunk/; revision=34512
2010-10-14 09:01:12 +00:00
Guy Harris 55bc235b90 Make routines unused outside file_dlg_win32.c static.
svn path=/trunk/; revision=34511
2010-10-14 08:59:35 +00:00
Anders Broman ddc1c197a4 Fix AVP:s
svn path=/trunk/; revision=34508
2010-10-14 07:55:42 +00:00