Commit Graph

47087 Commits

Author SHA1 Message Date
Gerald Combs 03febfc819 From Dirk Jagdmann: Use a guint32 for IPv4 addresses. Fixes compilation
on OS X + Cmake.

svn path=/trunk/; revision=50139
2013-06-25 13:31:19 +00:00
Luis Ontanon a75e89c787 Revert --with-echld until I find out how to get it to work with Cmake...
:

svn path=/trunk/; revision=50138
2013-06-25 04:50:36 +00:00
Luis Ontanon 1c8b686eb0 --with-echld
svn path=/trunk/; revision=50137
2013-06-25 04:20:08 +00:00
Luis Ontanon db09d8d0f0 another iteration, prepared for automake.
svn path=/trunk/; revision=50136
2013-06-25 03:33:02 +00:00
Luis Ontanon e591c9f21e more stuff...
svn path=/trunk/; revision=50135
2013-06-25 00:31:01 +00:00
Evan Huus cf7a0dde68 Based on initial patch by Michal Labedzki
Don't return a negative value from get_type_length, it can get us into bad
loops. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8831

svn path=/trunk/; revision=50134
2013-06-24 23:26:56 +00:00
Evan Huus d65fa93218 From Fabio Tarabelloni via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8718

More zigbee dissection:
- illuminance measurement cluster
- temperature measurement cluster
- pressure measurement cluster
- relative humidity measurement cluster

svn path=/trunk/; revision=50133
2013-06-24 22:59:02 +00:00
Evan Huus 6ebdc45af1 Fix wmem_tree.h ifdef guards, hopefully fixing the check-abi buildbot.
svn path=/trunk/; revision=50132
2013-06-24 22:37:04 +00:00
Evan Huus 29c75dae91 So it comes to this...
Put in a whole bunch of stderr output in the wmem tree tests in the hopes that
the next time one of the buildbots randomly (and irreproducibly) fails on this
step we'll have at least a bit of a hint as to where it happened.

svn path=/trunk/; revision=50131
2013-06-24 21:59:02 +00:00
Pascal Quantin d23f769c0d Add an option to dissect RRC-Container IE
svn path=/trunk/; revision=50130
2013-06-24 21:31:25 +00:00
Chris Maynard 93002cb9c5 A follow-up to r50127 to highlight the correct 4 bytes of the Ethernet FCS for the hf_eth_fcs_good and hf_eth_fcs_bad fields.
svn path=/trunk/; revision=50128
2013-06-24 19:27:47 +00:00
Guy Harris 00b1a9df1a The Ethernet FCS is 32 bits, not 16 bits.
svn path=/trunk/; revision=50127
2013-06-24 19:00:55 +00:00
Balint Reczey b276978309 Dumpcap can write raw packets to stdout
svn path=/trunk/; revision=50126
2013-06-24 14:49:19 +00:00
Chris Maynard 16cd5cb653 Display RSSI in dB instead of dBm. Fixes the last remaining issue reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4507
#BACKPORT(1.10,1.8)

svn path=/trunk/; revision=50125
2013-06-24 14:30:00 +00:00
Alexis La Goutte 8765ad273d Make Authentification String filterable
svn path=/trunk/; revision=50124
2013-06-23 20:41:32 +00:00
Alexis La Goutte fde47f55a9 From chaitanya via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8837 Add support for VHT Transmit Power Envelope IE
Added support for VHT TPE IE and also tested it

Also fixed a small typo from "IEEE Stc" to "IEEE Std" for all 802.11ac references.

From me:
* Remove some trailing whitespace
* Fix bitmask PWR Info Unit
* Modify expert_info to display error in PWR Info Count
* Fix (possibility) loop
* Fix value_string (not need to have Reserved...)

svn path=/trunk/; revision=50123
2013-06-23 20:41:18 +00:00
Alexis La Goutte b818229a52 Enhance VRRP Dissector * Make checksum field filterable * Add also a checksum_bad filter and display a expert info when checksum is bad
svn path=/trunk/; revision=50122
2013-06-23 20:41:09 +00:00
Jörg Mayer 1ac4456c62 Alphabetically sort in file-mp4.c
svn path=/trunk/; revision=50121
2013-06-23 19:13:25 +00:00
Jörg Mayer 67d59d519c Small whitespace fixes
svn path=/trunk/; revision=50120
2013-06-23 19:12:50 +00:00
Gerald Combs a4c7880083 [Automatic manuf, services and enterprise-numbers update for 2013-06-23]
svn path=/trunk/; revision=50117
2013-06-23 14:03:31 +00:00
Evan Huus a1eae659f0 Only do a tree lookup if we have a tree to look up in.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8833

svn path=/trunk/; revision=50116
2013-06-22 21:01:03 +00:00
Evan Huus bfa8d9af75 Make assertions in tree lookup more useful and fix formatting.
Should help debugging https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8833

svn path=/trunk/; revision=50115
2013-06-22 21:00:36 +00:00
Luis Ontanon f25a68221c Not yet running but almost there with the dummy
svn path=/trunk/; revision=50114
2013-06-22 20:26:13 +00:00
Michael Mann 87eb22f464 More proper fix (per advice of bug 8515 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8515)) of global variables complained about in bug 7060 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7060). Not sure if algorithm_id of x509af dissector could also be a actx->external.direct_reference, so left it alone.
svn path=/trunk/; revision=50113
2013-06-22 15:08:18 +00:00
Ronnie Sahlberg 707e2ce409 Make TCP segment length a generated field instead of a hidden field.
We should deprecate the use of hidden fields, at least for fields that arei
useful in filters. To make it easier for users to discover and use the fields.

Change the highly useful field for TCP segment payload length from
being a hidden field to be a generated field instead.



svn path=/trunk/; revision=50112
2013-06-22 02:00:03 +00:00
Michael Mann e18e933482 Add Uli Heilmeier
svn path=/trunk/; revision=50111
2013-06-21 23:23:08 +00:00
Stephen Fisher eeaba530ac AF_INET and AF_INET6 undefined in textpcap.c when compiling on FreeBSD
9.1-RELEASE with non-standard gcc 4.6, so pull in sys/socket.h when available.


svn path=/trunk/; revision=50110
2013-06-21 22:43:24 +00:00
Stephen Fisher ca99b7a50a Cast away another implicit conversion not allowed in C++ warning
svn path=/trunk/; revision=50109
2013-06-21 22:37:40 +00:00
Stephen Fisher 0b56dc6a7b Cast away some errors of these types:
request for implicit conversion from 'gpointer' to 'char *' not permitted
    in C++ [-Werror=c++-compat]

and

    enum conversion when passing argument 3 of 'krb5_crypto_init' is invalid
    in C++ [-Werror=c++-compat]


svn path=/trunk/; revision=50108
2013-06-21 22:01:37 +00:00
Chris Maynard eb0d10c9d2 Sort the man pages. Add capinfos and reordercap. Should we also any others (i.e., asn2deb, dftest, idl2deb, idl2wrs, randpkt)?
svn path=/trunk/; revision=50107
2013-06-21 15:30:08 +00:00
Guy Harris 4e29abf8be get_ax25_name() is *NOT* the right routine to use to translate a
human-readable representing an AX.25 subaddress (e.g. "KA9Q-01") into
the binary form of an AX.25 address, because what it does is translate
the binary form of an AX.25 address to the human-readable form!

We currently have no routine that does the right thing and, even if we
did, given that some bits in the AX.25 subaddress format are used for
purposes other than representing the call sign and substation ID, so the
matching routines for AX.25 addresses need to ignore certain bits.

For now, we just remove the call to get_ax25_name() (which squelches the
pointer-signedness warning that made me look at this code, and find the
problem, in the first place) and replace it with a comment discussing
the problem and a failure.

The other pointer-signedness warning brought up a question of what to do
with G_REGEX_RAW in the g_regex_match_full() call; it didn't bring up an
immediately obvious *answer*, so we throw a cast at the warning and add
another comment.  (We fix up alignment while we're at it.)

svn path=/trunk/; revision=50106
2013-06-21 05:24:59 +00:00
Martin Kaiser 44882c4f14 rename packet-mp4.c to file-mp4.c
svn path=/trunk/; revision=50105
2013-06-21 05:18:45 +00:00
Guy Harris f13ba97806 Fix some pointer-signedness (well, signedness of what the pointer points
to) warnings.

svn path=/trunk/; revision=50104
2013-06-21 02:59:54 +00:00
Luis Ontanon d90ad5316b Delete the moved files
svn path=/trunk/; revision=50103
2013-06-21 01:30:39 +00:00
Luis Ontanon b5c96de50b move echld to final dest...
svn path=/trunk/; revision=50102
2013-06-21 01:27:28 +00:00
Luis Ontanon 74f0f96209 Compiles, still incomplete...
svn path=/trunk/; revision=50101
2013-06-21 01:25:22 +00:00
Evan Huus 50bc11bc14 One more fix for the protocol grey highlighting.
svn path=/trunk/; revision=50100
2013-06-21 00:49:35 +00:00
Jakub Zawadzki 2bd2bfb416 Yet another fix, put spaces in insensitive or normal state.
svn path=/trunk/; revision=50099
2013-06-21 00:42:19 +00:00
Jakub Zawadzki 135ecc1d88 fix for r50095 don't fetch parent hfinfo, traverse tree to get top one.
svn path=/trunk/; revision=50098
2013-06-21 00:23:55 +00:00
Martin Kaiser 35708dfd13 create libfiledissectors.a during the autotools build
svn path=/trunk/; revision=50097
2013-06-21 00:08:20 +00:00
Pascal Quantin de10bc6b5e Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8799 :
Display certificate as UINT64 and add support for a 64bits unsigned value in BER dissector

svn path=/trunk/; revision=50096
2013-06-20 23:37:16 +00:00
Jakub Zawadzki 1b69a2b3c8 Highlight protocol bytes in grey, idea stolen from qtshark
svn path=/trunk/; revision=50095
2013-06-20 23:28:35 +00:00
Evan Huus 3258f1297e Save and restore private_data pointer instead of freeing the old one, since this
function can be called nestedly. Also use wmem memory so it doesn't leak.

Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8828

svn path=/trunk/; revision=50094
2013-06-20 23:27:16 +00:00
Pascal Quantin 3307acc35f Regenerate DAP dissector that was changed in r50073 for some reason
svn path=/trunk/; revision=50093
2013-06-20 23:14:38 +00:00
Evan Huus 602cf9cd4e Split README.developer into two: README.developer and README.dissector. All the
documentation specific to dissectors should now live in README.dissector - what
remains in README.developer should be useful to anybody coding on Wireshark
regardless of if you're working on the GUI, wiretap, dissectors, etc.

This first pass I did a fairly dumb split of copy-pasting relevant chunks from
one file to the other. There are probably fragments that aren't in the right
file anymore, so cleanup welcome.

svn path=/trunk/; revision=50092
2013-06-20 22:46:08 +00:00
Martin Kaiser 369658c499 inform expert info layer about the current number of packet comments
when the last comment is removed and we have no other expert info,
the maximum severity is changed from comment to none

svn path=/trunk/; revision=50091
2013-06-20 22:25:33 +00:00
Pascal Quantin d7856ef304 Fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8829 :
Prevent an out of bounds access in 802.11 Radiotap dissector

svn path=/trunk/; revision=50090
2013-06-20 22:21:24 +00:00
Evan Huus 176be6b481 From Fabio Tarabelloni via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8718

Zigbee partition cluster dissector.

svn path=/trunk/; revision=50089
2013-06-20 21:52:22 +00:00
Alexis La Goutte 2b3b994b01 Fix indent (use Tabs)
svn path=/trunk/; revision=50088
2013-06-20 21:10:23 +00:00
Alexis La Goutte 874ff29b40 Fix warning about CPUInfo in Linux (when use qmake to build qtshark)
../../version_info.c: In function 'get_cpu_info':
../../version_info.c:662:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'
../../version_info.c:670:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'
../../version_info.c:672:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'
../../version_info.c:674:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'

svn path=/trunk/; revision=50087
2013-06-20 21:10:18 +00:00