Commit Graph

31527 Commits

Author SHA1 Message Date
Anders Broman f9981411f1 Checking in Stigs changes from
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=475
BUT not activating the check for 
pcap_create()
pcap_set_buffer_size()
This should make it possible to build with support for setting the buffersize if not capturing 802.11 traffic.

The code for handling the 'B' option should be OK in any case.

svn path=/trunk/; revision=32688
2010-05-06 18:34:30 +00:00
Anders Broman c911b0101b Check for pcap_create
Using pcap create and pcap_activate should make it possible
to set the capture buffer size on Linux systems as well as Windows.
Help to implement it would be apreciated :-)

Ref:
http://seclists.org/tcpdump/2009/q3/151

svn path=/trunk/; revision=32687
2010-05-06 15:39:08 +00:00
Anders Broman fd887ba442 Add PPID 28 IRCP
svn path=/trunk/; revision=32686
2010-05-06 12:54:43 +00:00
Stig Bjørlykke 54101a8630 Moved command line option for seconds type to -u.
Added this option to tshark.

svn path=/trunk/; revision=32685
2010-05-06 12:31:24 +00:00
Stig Bjørlykke 39eb93b5a2 Simplified hour_min_sec calculations.
svn path=/trunk/; revision=32684
2010-05-06 11:25:15 +00:00
Stig Bjørlykke 6efcb1adf0 Added an option to display seconds as hours, minutes and seconds
in the packet list, on this format: "1h 2m 3.456s".

svn path=/trunk/; revision=32683
2010-05-06 10:32:59 +00:00
Anders Broman 7ff0da2933 Calculate correct PDU lenght if the per_length_determinant is one byte long.
svn path=/trunk/; revision=32680
2010-05-05 19:22:28 +00:00
Anders Broman 1c8c410e22 - Remove check_col()
- only read method string once.

svn path=/trunk/; revision=32677
2010-05-05 17:22:40 +00:00
Jeff Morriss e743c4e101 Try to avoid the user confusion reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3477 by not using blurbs
that look like abbreviations (filter strings).

While we're at it try to avoid giving blurbs that are identical (or nearly so)
to the field name.

Regenerate a couple of dissectors like this to prove out the idea.

svn path=/trunk/; revision=32673
2010-05-05 14:29:55 +00:00
Tomas Kukosa 05d418eba8 H.225.0 updated to version 7 (2009-12)
svn path=/trunk/; revision=32672
2010-05-05 13:14:41 +00:00
Tomas Kukosa 95a3efc434 File updated from ASN.1 database where the bug in ASN.1 definition has been fixed on request
svn path=/trunk/; revision=32671
2010-05-05 10:29:23 +00:00
Anders Broman 91a8a75a59 From Jim Schaettle:
Add Ratified DMX to ACN Dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4745

svn path=/trunk/; revision=32670
2010-05-05 05:52:37 +00:00
Anders Broman fe206f0d1b From Andrew Feren:
The current implementation of options templates continues reading past the end
of the option template.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4744

svn path=/trunk/; revision=32669
2010-05-05 05:41:07 +00:00
Stephen Fisher 5ab074c7f8 Update the comment about being based on the GTK Tree View Tutorial,
including putting /tutorial/ at the end of the URL because the 
main web-site is something unrelated to the tutorial.


svn path=/trunk/; revision=32668
2010-05-05 02:33:34 +00:00
Gerald Combs e535271512 1.3.5 -> 1.3.6.
svn path=/trunk/; revision=32667
2010-05-05 00:28:24 +00:00
Gerald Combs cfa07ad505 Build 1.3.5.
svn path=/trunk/; revision=32666
2010-05-04 23:03:42 +00:00
Gerald Combs 99005f40ad Un-C++-ify a comment.
svn path=/trunk/; revision=32664
2010-05-04 21:52:41 +00:00
Tomas Kukosa 590b1add10 H.245 updated to v15 (2009-12)
svn path=/trunk/; revision=32660
2010-05-04 19:01:25 +00:00
Anders Broman ec392a4c8e Remove unused variables.
svn path=/trunk/; revision=32659
2010-05-04 15:36:54 +00:00
Anders Broman e75998789b Refactor the code to parse SIP contact parameters.
svn path=/trunk/; revision=32658
2010-05-04 15:12:44 +00:00
Anders Broman cc0e177b54 From Andrew Feren:
Solve Problems decoding variable length strings in IPFIX.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4742

svn path=/trunk/; revision=32657
2010-05-04 05:34:14 +00:00
Jaap Keuter 384d4c9c4f From Jouni Malinen:
Dissect the optional IEs following the fixed fields in Deauthentication
and Disassociation frames.

svn path=/trunk/; revision=32656
2010-05-04 05:31:29 +00:00
Bill Meier 3bf735ba49 Rework code to handle multiple messages in a packet.
Fixes Bug #4709.
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4709

svn path=/trunk/; revision=32654
2010-05-03 23:05:27 +00:00
Bill Meier 93a82410e3 Update capinfos man page.
svn path=/trunk/; revision=32653
2010-05-03 20:38:06 +00:00
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