Commit Graph

31503 Commits

Author SHA1 Message Date
Bill Meier e443776687 Update the capinfos documentation.
svn path=/trunk/; revision=32652
2010-05-03 20:25:33 +00:00
Jeff Morriss 6e802e4e2e Remove extra % in printf format string.
svn path=/trunk/; revision=32651
2010-05-03 19:42:09 +00:00
Jeff Morriss 619ba9e3ce Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4734 :
Don't crash on a malformed SMB packet.  According to svn blame, this code
has been here since rev 21713 though maybe something else changed to make the
crash apparent.

svn path=/trunk/; revision=32650
2010-05-03 19:33:23 +00:00
Bill Meier 7cec985521 Add "inferred" snapshot length (if any) to the output.
A snapshot length is inferred if there are records
in a capture file with "capture length" less than 
"packet length".

svn path=/trunk/; revision=32649
2010-05-03 19:08:11 +00:00
Anders Broman ee02ae333b This patch is submitted on behalf of Mellanox Technologies:
Printing to the source and destination columns by the Infiniband dissector is
not working properly. This patch changes the printing code to perform the
correct operations, so that the source and destination information properly
appears in the columns.


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

svn path=/trunk/; revision=32648
2010-05-03 18:31:00 +00:00
Anders Broman 0f7fd9399e This patch is submitted on behalf of Mellanox Technologies:
This patch adds code for correct dissection of two performance management
datagrams to the Infiniband dissector. The added MADs are PortCounters and
PortCounters Extended.

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

svn path=/trunk/; revision=32647
2010-05-03 18:14:38 +00:00
Anders Broman 17a5f699cc This patch is submitted on behalf of Mellanox Technologies:
This patch adds value strings that display the meaning of the possible values for the infiniband.mad.method field.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4740

svn path=/trunk/; revision=32646
2010-05-03 18:06:21 +00:00
Anders Broman e1ba9e371b This patch is submitted on behalf of Mellanox Technologies:
This patch fixes a bug in Infiniband dissection where the offset was
incorrectly incremented in some cases leading to attempt to read past the end
of the tvb and a MALFORMED-PACKET error being issued.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4738

svn path=/trunk/; revision=32645
2010-05-03 17:58:22 +00:00
Anders Broman 15d860553a This patch is submitted on behalf of Mellanox Technologies:
This patch fixes the code to correctly identify MAD
packets by their source and destination queue pairs.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4737

svn path=/trunk/; revision=32644
2010-05-03 17:51:01 +00:00
Tomas Kukosa b32d39b755 ignore unreassembled fragments if the first segment of the next message comes
svn path=/trunk/; revision=32643
2010-05-03 08:07:53 +00:00
Tomas Kukosa 0c6f08e2b2 add SAPI "Q.931 packet mode communication" which is obsolete but used in some traces
svn path=/trunk/; revision=32641
2010-05-03 07:16:25 +00:00
Anders Broman 9387dab7fe Try to fix the solaris build bot.
svn path=/trunk/; revision=32640
2010-05-03 05:03:51 +00:00
Stephen Fisher 66d48120c2 Change two instances of "an Wireshark plugin" to "a Wireshark plugin".
The use of "an" must have been leftover from the Ethereal days ("an
Ethereal plugin").


svn path=/trunk/; revision=32639
2010-05-02 23:39:58 +00:00
Anders Broman fc0932168f Run deprecated-gtk-todoon all files in the gtk dir.
svn path=/trunk/; revision=32638
2010-05-02 21:42:53 +00:00
Stig Bjørlykke eb279458fa Rewrite: strcpy -> g_strlcpy.
svn path=/trunk/; revision=32637
2010-05-02 20:21:39 +00:00
Stig Bjørlykke 676a95a580 Rewrite: gtk_combo_new -> gtk_combo_box_entry_new_text.
svn path=/trunk/; revision=32636
2010-05-02 19:50:44 +00:00
Anders Broman 3c51d54e83 Fix:
packet-ip.c:1311: warning: 'field_tree' may be used uninitialized in this function

svn path=/trunk/; revision=32635
2010-05-02 17:02:11 +00:00
Anders Broman e87ddd657c From Jakub Zawadzki:
Fix copy&paste error + add support for proto_tree_add_bits API
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4413

svn path=/trunk/; revision=32634
2010-05-02 15:37:23 +00:00
Anders Broman d528b62777 From Jakub Zawadzki:
patch for ip.flags (using proto_tree_add_bits_item).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4413

svn path=/trunk/; revision=32633
2010-05-02 15:36:44 +00:00
Gerald Combs ee535ac43c [Automatic manuf and enterprise-numbers update for 2010-05-02]
svn path=/trunk/; revision=32630
2010-05-02 15:03:30 +00:00
Stig Bjørlykke 6199e515c9 Don't type prune the data_ptr pointer for UAT.
svn path=/trunk/; revision=32629
2010-05-02 13:50:52 +00:00
Stig Bjørlykke 8ef65daa69 Don't type prune the data_ptr pointer for UAT.
svn path=/trunk/; revision=32628
2010-05-02 13:50:19 +00:00
Jaap Keuter 9b0019e3e7 From Hitoshi Irino:
The function "dissect_v9_pdu" of "epan/dissectors/packet-netflow.c" decodes
NetFlow v9 packets and IPFIX packets with same logic. But, the "scope field" is
different between NetFlow v9 and IPFIX. NetFlow v9 has only 5 kind of scopes.
On the other hand, many Information Elements can be used as scope fields in 
IPFIX packets.

svn path=/trunk/; revision=32627
2010-05-02 12:50:54 +00:00
Jaap Keuter ae400a74fa Fix for bug 4723:
Don't type prune the data_ptr pointer for UAT.

svn path=/trunk/; revision=32626
2010-05-02 12:32:52 +00:00
Stig Bjørlykke 2f5ebda0ec Added some more dissecting.
svn path=/trunk/; revision=32625
2010-05-02 10:03:08 +00:00
Stig Bjørlykke 1fc6e6d11b Disable ok button when no name entered.
svn path=/trunk/; revision=32624
2010-05-02 10:01:54 +00:00
Stig Bjørlykke a64fe86786 Added tooltips for UAT column headers.
svn path=/trunk/; revision=32623
2010-05-02 09:59:02 +00:00
Anders Broman a0f2f56ec8 Dissect 3GPP AVP 5 3GPP-GPRS Negotiated QoS profile.
svn path=/trunk/; revision=32622
2010-05-01 14:58:03 +00:00
Gerald Combs 1bf2a7c78b Replace GtkClist in uat_gui.c with GtkTreeView+GtkListStore. Pop up the
edit window when an item is double-clicked. Add a couple of convenience
routines to gui_utils.c.

svn path=/trunk/; revision=32621
2010-04-30 22:33:51 +00:00
Jeff Morriss 08045a2392 Revert rev 32519 for now: it is making the dissector bug a little too obvious. It may make sense to put the check back in once the bug (tracked via 4698) is fixed.
svn path=/trunk/; revision=32620
2010-04-30 22:00:05 +00:00
Guy Harris 06a24aaa7e Pick up other check from the almost-identical routine in
epan/dfilter/scanner.l.

(The common code should be in a utility routine.)

svn path=/trunk/; revision=32619
2010-04-30 21:55:42 +00:00
Guy Harris d57979b197 Fix comment.
svn path=/trunk/; revision=32618
2010-04-30 21:51:47 +00:00
Jeff Morriss 4a8c8e4d7f Fix up indentation a bit
svn path=/trunk/; revision=32617
2010-04-30 21:40:57 +00:00
Jeff Morriss 1b6b831daf Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1696 :
The change put in with rev 11382 meant that, on 64-bit systems, we could not
parse negative numbers into integers (since -1 taken as an unsigned 64-bit
number is (significantly) larger than G_MAX_UINT32).

To fix this, split the val_from_unparsed() routine for integers into two
routines: one for signed and one for unsigned; each routine can then do the
appropriate "is this bigger than what fits in a *32?" test.

svn path=/trunk/; revision=32616
2010-04-30 21:40:39 +00:00
Gerald Combs d13ecdea62 Add a catch-all if statement for column formats that are filled in by
dissectors. Fixes bug 4732.

svn path=/trunk/; revision=32615
2010-04-30 20:49:41 +00:00
Bill Meier 412fc3d5c5 From Chris Maynard: Fix Bug #1292: "Win32: confusing setup target warning if cl.exe is not in path"
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1292

svn path=/trunk/; revision=32614
2010-04-30 20:15:27 +00:00
Bill Meier 3cb2276f19 Fix a gcc -Wshadow warning.
svn path=/trunk/; revision=32613
2010-04-30 18:19:47 +00:00
Bill Meier 5dfcabace8 Fix a gcc -Wshadow warning.
svn path=/trunk/; revision=32612
2010-04-30 17:47:23 +00:00
Martin Mathieson 5ed2e2f914 Trivial: Update AUTHORS entry, remove out-of-date comments, minor formatting
svn path=/trunk/; revision=32611
2010-04-30 17:15:59 +00:00
Guy Harris d4010f2058 Clean up some calls to use the same offset as the call to put the parent
into the protocol tree.

Put the cases for various Radiotap data items into numerical order by
the bit number.

svn path=/trunk/; revision=32610
2010-04-30 08:26:12 +00:00
Gerald Combs 3c8db1cae5 Several dissectors fill in custom custom data in the source and
destination address columns. Don't clobber it in the new packet list.

svn path=/trunk/; revision=32609
2010-04-29 23:53:57 +00:00
Gerald Combs 8463e2e8bc Terminate a string so that strchr doesn't wander off. Hopefully fixes bugs
4725 and 4728.

svn path=/trunk/; revision=32608
2010-04-29 22:36:40 +00:00
Gerald Combs 62087e2eab Remove an unused variable.
svn path=/trunk/; revision=32607
2010-04-29 22:35:00 +00:00
Anders Broman 447faa6082 From Mike Morrin:
Dissection of BSSMAP IEs: Old BSS to New BSS Info and New BSS to Old BSS Info
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4712

svn path=/trunk/; revision=32606
2010-04-29 20:45:53 +00:00
Anders Broman 3f9d9a766e Forgot a //
svn path=/trunk/; revision=32605
2010-04-29 20:41:35 +00:00
Anders Broman 8e38004273 Simplify dissect_sip_authorization_item().
svn path=/trunk/; revision=32604
2010-04-29 20:02:14 +00:00
Jeff Morriss 87b32b26eb Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4308 :
Make a function that checks if the user is running as root or if npf.sys isn't
loaded (on Windows) and call it *after* showing the main window so that the
popup (if any) shows up above the main window.

svn path=/trunk/; revision=32603
2010-04-29 19:30:54 +00:00
Anders Broman 2faa2bff69 Do the header matching on lower case.
svn path=/trunk/; revision=32602
2010-04-29 19:11:48 +00:00
Jeff Morriss 0791f7beb8 Make the indentation consistent.
svn path=/trunk/; revision=32601
2010-04-29 18:17:29 +00:00
Anders Broman b5fa7b1d28 autentification info gives malformed packet if no space before "="
svn path=/trunk/; revision=32600
2010-04-29 16:08:14 +00:00