Commit Graph

32421 Commits

Author SHA1 Message Date
Martin Mathieson 28681e2200 From Pascal Quantin: Add offset of 1 to FMS.
svn path=/trunk/; revision=33467
2010-07-07 17:13:53 +00:00
Gerald Combs 3bc24f2d98 Try limiting our stack size.
svn path=/trunk/; revision=33466
2010-07-07 16:55:42 +00:00
Anders Broman 3d431c8258 Remove the #ifdefs and code related to the switch to gtk_combo_box().
svn path=/trunk/; revision=33465
2010-07-07 16:07:09 +00:00
Jeff Morriss c24f16ad44 Fix infinite recursion reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4984 : In try_get_ber_length() make sure we move forward before recursing.
svn path=/trunk/; revision=33464
2010-07-07 15:52:09 +00:00
Jörg Mayer 359bd13cc9 Some dissectors are added in dissectors/dcerpc/CMakeLists.txt
Remove them here.

svn path=/trunk/; revision=33463
2010-07-07 13:46:08 +00:00
Jörg Mayer eb686a2146 Synchronize dissector lists between CMakeLists.txt and
dissectors/Makefile.common:

The following dissectors were missing from CM:
  dissectors/packet-dcerpc-budb.c
  dissectors/packet-dcerpc-butc.c
  dissectors/packet-dcerpc-drsuapi.c
  dissectors/packet-gsmtap.c

Both: Whitespace fixes and reordering.

svn path=/trunk/; revision=33462
2010-07-07 13:25:36 +00:00
Guy Harris ba77133cbb I added PCAP_NETMASK_UNKNOWN in libpcap 1.1.0; it's not present in
1.0.0.  You're supposed to just use 0 in releases prior to 1.1.0 - in
1.1.0 and later, a netmask of PCAP_NETMASK_UNKNOWN will cause errors if
you try to use "ip broadcast" (as you need the netmask to check for
local broadcasts), but, prior to that, the netmask value is blindly used
even if the filter will always fail.

svn path=/trunk/; revision=33461
2010-07-07 01:55:34 +00:00
Gerald Combs f4bb9209ae Add a target which creates a zip file containing our .pdb files.
svn path=/trunk/; revision=33460
2010-07-06 22:35:33 +00:00
Jaap Keuter b87d82d0b4 Add button to look at compiled BPF.
This allows to test and experiment with BPF expressions, before launching
the capture itself. 

svn path=/trunk/; revision=33459
2010-07-06 21:02:19 +00:00
Guy Harris 8ce7b20cf3 Don't set SDKROOT - which SDK we want depends on which OS we want this
to run on, and not setting it should default to the OS on which we're
building it (as opposed to an OS for which we might not *have* an SDK).

svn path=/trunk/; revision=33458
2010-07-06 19:37:17 +00:00
Jaap Keuter 0494e951b8 Fix for bug 4982:
Handle concatenated Status and other message.

svn path=/trunk/; revision=33457
2010-07-06 17:22:12 +00:00
Jeff Morriss 4522f9b0a4 Limit the number of operations to 128 (arbitrary number) to keep us from attempting to mallocate way too much memory. This fixes the fuzz failure reported in bug 4976.
svn path=/trunk/; revision=33456
2010-07-06 14:57:54 +00:00
Anders Broman c5ddd5a253 Add miising else handling a zero msg_auth_code.
svn path=/trunk/; revision=33455
2010-07-06 13:21:34 +00:00
Guy Harris 80c8a18da7 Use G_GINT64_CONSTANT() to make a 64-bit all-bits-set constant.
svn path=/trunk/; revision=33454
2010-07-06 09:51:28 +00:00
Guy Harris 39f85d188c No need to add a fake field with the opcode as a string - you can just
compare the real opcode field against a string.

svn path=/trunk/; revision=33452
2010-07-06 08:43:07 +00:00
Stig Bjørlykke 8f686e8af0 Try checking for G_MAXUINT64 instead of 0xffffffffffffffff.
svn path=/trunk/; revision=33451
2010-07-06 07:45:38 +00:00
Stig Bjørlykke c7f2634f52 Removed non-ASCII characters.
svn path=/trunk/; revision=33450
2010-07-06 06:54:51 +00:00
Stig Bjørlykke 22056542a8 Fix the build on OSX.
svn path=/trunk/; revision=33449
2010-07-06 06:40:34 +00:00
Anders Broman 4a16e04cc0 Fix:
packet-nfs.c:699: warning: type defaults to 'int' in declaration of 'nfsv4_operation_tiers'

packet-nfs.c:9583: warning: unused variable 'saved_fh_hash'
packet-nfs.c:9580: warning: unused variable 'name'

svn path=/trunk/; revision=33448
2010-07-06 05:53:18 +00:00
Anders Broman 7bded303a4 Fix "checked api failed"
svn path=/trunk/; revision=33447
2010-07-06 05:46:52 +00:00
Anders Broman 0b0db7e0d7 From Brett Kuskie:
Enhancement of the dcerpc-svcctl dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4858

svn path=/trunk/; revision=33446
2010-07-06 04:43:45 +00:00
Anders Broman 36f5046490 From Frank Schorr:
The packet-nbns.c dissector picks random data as the NBSS PDU length in certain situations.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4914

svn path=/trunk/; revision=33445
2010-07-06 04:32:21 +00:00
Anders Broman 85a9a2cd21 From Sven Eckelmann:
Dissector/packet-batadv: Add support for icmp rr.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4922

svn path=/trunk/; revision=33444
2010-07-06 04:27:01 +00:00
Anders Broman 8d917e7bca From Andrew Feren:
Several small fixes to NetFlow decoding.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4962

svn path=/trunk/; revision=33443
2010-07-06 04:20:27 +00:00
Anders Broman a13bf525a8 From Ian Schorr:
NFSv4 usability enhancements (Info column summaries, filterable fields).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4975

svn path=/trunk/; revision=33442
2010-07-06 04:13:54 +00:00
Jörg Mayer 3bef8584a4 So many people who love to use easy to remember ports.
Improve heuristics to exclude cases where the traffic
definitely isn't Cisco's IPSEC inside TCP.

Does this obsolete the NDMP protocol check?

svn path=/trunk/; revision=33441
2010-07-05 23:21:58 +00:00
Anders Broman b722b193a6 - Show droped packets counter after stopping a live capture.
- Don't show "Load time" during live capture.
- Fix indentation and minor changes to comments.
Should ignored packets be shown also when drops is known?

svn path=/trunk/; revision=33440
2010-07-05 22:09:10 +00:00
Anders Broman 7e2f42090d From Jouni Malinen:
Add dissecting for IEEE 802.11u GAS frames.

svn path=/trunk/; revision=33439
2010-07-05 20:04:46 +00:00
Martin Mathieson 8bf9b7a3b3 Change type back to 16-bit to fix buildbot.
Will change subframe numbers to 8-bit later.

svn path=/trunk/; revision=33438
2010-07-05 17:28:28 +00:00
Martin Mathieson b2a872cd9f Show grant-subframe from context info.
svn path=/trunk/; revision=33437
2010-07-05 16:45:36 +00:00
Anders Broman 419dd3e945 From Jouni Malinen:
Add dissecting for SA Query Action frames (IEEE 802.11w)

svn path=/trunk/; revision=33436
2010-07-05 16:05:21 +00:00
Anders Broman 1962892ac0 From Jouni Malinen:
Add a proto tree item for Current Channel in DS Parameter Set element.

svn path=/trunk/; revision=33435
2010-07-05 15:59:11 +00:00
Martin Mathieson e0871291f7 Add a checkbox to allow DCT errors to be included in generated display filter.
svn path=/trunk/; revision=33434
2010-07-05 12:38:09 +00:00
Stig Bjørlykke 060001dc95 We have no first and second block when dumping bits view, so no adjustments.
svn path=/trunk/; revision=33433
2010-07-05 10:53:48 +00:00
Martin Mathieson b7f136ae41 Check range of supplied subframe number. If out, set back to max (9) and
add expert info error.  Should fix bug 4970.

svn path=/trunk/; revision=33432
2010-07-05 10:50:27 +00:00
Martin Mathieson 735ec2d6d2 For DL HARQ retx, support knowing result or not.
svn path=/trunk/; revision=33431
2010-07-05 10:35:17 +00:00
Stig Bjørlykke 7b64be6a80 Revert COL_DSCP_VALUE back to value set in packet-ip.c.
Right justify COL_DSCP_VALUE (and COL_DCE_CALL as in the old packet list).

svn path=/trunk/; revision=33430
2010-07-05 09:05:27 +00:00
Gerald Combs 2f1e6127aa [Automatic manuf and enterprise-numbers update for 2010-07-04]
svn path=/trunk/; revision=33426
2010-07-04 15:03:32 +00:00
Stig Bjørlykke ab215a67d5 Code cleanup:
- Use ep_strdup_printf instead of ep_alloc + g_snprintf
- Untabify

svn path=/trunk/; revision=33414
2010-07-02 13:15:44 +00:00
Guy Harris 1b9e4d5c00 STATUS_UNWIND_CONSOLIDATE "should not happen", so don't include it -
we'd have to include some other headers to get it defined.

Get rid of the include of Winbase.h - it doesn't define
STATUS_UNWIND_CONSOLIDATE, and it's not necessary.

svn path=/trunk/; revision=33413
2010-07-02 08:52:35 +00:00
Guy Harris 949b2a2dc8 Include <Winbase.h> to get error statuses.
svn path=/trunk/; revision=33412
2010-07-02 08:41:19 +00:00
Guy Harris 01b72bb5d1 Attempt to detect when dumpcap dies due to an exception and report that
appropriately.

svn path=/trunk/; revision=33411
2010-07-02 08:39:08 +00:00
Guy Harris f2e12f5fb3 Have sync_pipe_wait_for_child() return the child's exit status on
Windows, just as we do on UN*X.

svn path=/trunk/; revision=33410
2010-07-02 04:11:04 +00:00
Guy Harris 63a0810874 oid_encoded2string() returns a const char *; don't assign it to a char
*.

Don't declare variables in the middle of a block; not all the compilers
we use support that.

svn path=/trunk/; revision=33409
2010-07-02 03:50:30 +00:00
Bill Meier 89015cb584 From Sven Eckelmann: Fix size of seqno in icmp packets
See Bug #4921: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4921

svn path=/trunk/; revision=33405
2010-07-01 19:19:03 +00:00
Bill Meier b88b612f02 From Sven Eckelmann: Add support for v11 packet format
"Please add support for v11 ogm packets used in linux 2.6.36"
See: Bug #4920: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4920

svn path=/trunk/; revision=33404
2010-07-01 18:42:41 +00:00
Gerald Combs ad7b7cc679 Don't add raw bytes to the tree.
svn path=/trunk/; revision=33403
2010-07-01 17:57:53 +00:00
Gerald Combs a7df969fb1 Have get_ber_length() set the length to 0 by default. This restores behavior
that was lost recently.

svn path=/trunk/; revision=33402
2010-07-01 16:35:37 +00:00
Bill Meier f1c540a54c Rework ethernet address resolution: step 3 of 3:
- Primarily: ethernet name lookup returns either
   unresolved or resolved ethernet name depending upon whether 
   MAC Name resolution is disabled or enabled.
   Previously: Unresolved or resolved name cached at first reference
   and then always returned for future references no matter whether
   MAC Name Resolution was enabled or disabled. 
- Also: Refactor ethernet, manuf & well-known-addr related code;

ToDo: (separately): Redisplay when 'MAC name resolution' enabled/disabled. 

svn path=/trunk/; revision=33401
2010-07-01 15:11:02 +00:00
Stig Bjørlykke 0c2e3652e6 Recreate the packet list on DND columns.
This is a quick'n'dirty fix and not optimal, but it fixes the problems we
have with DND columns.  We have to rewrite new_packet_list_recreate() to
handle both new, delete and reorder columns.

svn path=/trunk/; revision=33400
2010-07-01 14:33:36 +00:00