Commit Graph

27973 Commits

Author SHA1 Message Date
Michael Tüxen 634a80b610 Add support for DLT_PPP_WITH_DIR. This fixes bug 3619.
Thanks for Tyson Key for reporting the issue.

svn path=/trunk/; revision=28877
2009-06-28 18:22:15 +00:00
Guy Harris 089ee86fa2 We only support GLib 2.x/GTK+ 2.x, which uses pkg-config, not
gtk-config; use it instead.

svn path=/trunk/; revision=28876
2009-06-28 17:23:07 +00:00
Jaap Keuter 98fa965a00 Make dissector handle unexpected data better.
svn path=/trunk/; revision=28875
2009-06-28 16:39:31 +00:00
Balint Reczey 789089dfd2 Detect gnutls via pkg-config instead of the deprecated libgnutls-config.
Based on patch from Andreas Metzler.
This fixes bug 3627.

svn path=/trunk/; revision=28874
2009-06-28 16:31:27 +00:00
Anders Broman 463a58589e From Sean Walberg:
The title in the TCP sequence graphs is too short.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3556

svn path=/trunk/; revision=28873
2009-06-28 15:22:43 +00:00
Anders Broman 4d8424a2bb From Jon Smirl:
More packet decoding for Intellon powerline devices.

From me put proto_register_homeplug() last in the file and whitespace changes.

svn path=/trunk/; revision=28872
2009-06-28 15:18:27 +00:00
Gerald Combs 6cf8717088 [Automatic manuf and enterprise-numbers update for 2009-06-28]
svn path=/trunk/; revision=28869
2009-06-28 15:03:26 +00:00
Michael Tüxen 393214bc6b Stop loading a pcapng file with multiple section header blocks.
This fixes a bug reported by Tyson Key as a follow up of Bug 3560.
Also some cleanups and debug output improvements.

Thanks to Tyson Key for reporting the bug and providing a tracefile.
This fix will be included in Wireshark 1.2.1 and higher.

svn path=/trunk/; revision=28868
2009-06-28 11:09:24 +00:00
Balint Reczey 486f55b7b9 Strictly require flex instead of allowing lex, too.
It compiles now.
This fixes bug 1641.

svn path=/trunk/; revision=28867
2009-06-28 04:20:10 +00:00
Michael Tüxen 7a728f6722 Accept file snaplen larger than WTAP_MAX_PACKET_SIZE,
text2pcap uses 102400.
This fixes bug 3620. Thanks to Tyson Key for reporting the bug
and providing capture files.
This fix should be included in Wireshark 1.2.1 and higher.

svn path=/trunk/; revision=28866
2009-06-27 18:50:13 +00:00
Michael Tüxen ce11d99c12 Fix copy/paste error introduced in rev. 28863.
Thanks to Guy for finding and reporting it. 

svn path=/trunk/; revision=28865
2009-06-27 18:10:10 +00:00
Michael Tüxen 1297ec0d61 Another cleanup. We are now back to Ulf's original
model of data handling.

svn path=/trunk/; revision=28864
2009-06-27 17:33:23 +00:00
Michael Tüxen dce1889fd7 Cleanup. Should be included in Wireshark 1.2.1 and higher to keep
merging future bug fixes simple.

svn path=/trunk/; revision=28863
2009-06-27 16:08:18 +00:00
Michael Tüxen a41d93603c Add support for writing pcapng files with multiple
encapsulations.
This fixes a bug reported by Sake during the
Sharkfest 09. Thanks for providing a
Netscreen tracefile with multiple link layer
types.
This patch will be included in Wireshark 1.2.1
and higher.

svn path=/trunk/; revision=28862
2009-06-27 15:20:44 +00:00
Anders Broman 9b9880a25a From yin sun:
h248 term wildcard enhancement

svn path=/trunk/; revision=28861
2009-06-27 13:37:03 +00:00
Anders Broman f179827b21 From Greg Schwendimann:
802.11 decryption is broken
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3590

svn path=/trunk/; revision=28860
2009-06-27 12:41:39 +00:00
Michael Tüxen 6ce8546ecd This patch
* adds an encapsulation argument to pcap_write_phdr.
* writes the pseudo header when writing pcapng files.

This fixes a bug where you could not write pcapng files
when using encapsulations requiring pseudo headers.

svn path=/trunk/; revision=28859
2009-06-27 12:41:06 +00:00
Michael Tüxen 11a65d398b If all interfaces use the same encapsulation, use
this a the file encapsulation.

This fixes a bug where you can not save a file
in libpcap format when you captured it as a
pcapng one.

This fix will be scheduled for Wireshark 1.2.1
and higher.

svn path=/trunk/; revision=28858
2009-06-27 12:14:18 +00:00
Michael Tüxen 267df8e183 This commit
* adds an encap argument to pcap_process_pseudo_header.
* adds support for reading pseudo headers.
It fixes Bug 3560.
Thanks to Tyson Key for reporting the bug and providing
trace files. This fix will be scheduled for inclusion in
Wireshark 1.2.1 and higher.

svn path=/trunk/; revision=28857
2009-06-27 11:39:47 +00:00
Anders Broman e4fea1939c From Kovarththanan Rajaratnam:
- Fix ncp2222.py and all the epan/dissectors/dcerpc dissectors. The
latter required changes to idl2wrs which used variadic macros (not supported in MSVC 6.0).

- Cleanup PIDL conformance files

svn path=/trunk/; revision=28856
2009-06-27 10:31:42 +00:00
Balint Reczey bdfbccf343 Revert commit 28854.
svn path=/trunk/; revision=28855
2009-06-27 08:13:39 +00:00
Balint Reczey cb9c931cf4 Strictly require flex instead of allowing lex, too.
svn path=/trunk/; revision=28854
2009-06-27 06:32:52 +00:00
Gerald Combs d91764cd0a Add a tooltip in case it's not obvious how to rearrange the columns.
svn path=/trunk/; revision=28853
2009-06-26 23:05:04 +00:00
Gerald Combs 59a767f0b2 Unfortunately, r28452 seems to cause more problems than it fixes. Back
out the change for now.

svn path=/trunk/; revision=28852
2009-06-26 21:25:09 +00:00
Michael Tüxen f15cdff759 Disable debug output.
svn path=/trunk/; revision=28851
2009-06-26 15:25:22 +00:00
Michael Tüxen b5d3abb77b * Allocate enough memory for reading a packet.
* Initialize pseudoheader.
* Add some input validation / protection code.
* Fix some return values.
* Clean up some whitespaces.

This fixes Bug 3565. Thanks to Tyson Key how reported
the issue and provided capture files for debugging.

This fix is scheduled for inclusion in Wireshark 1.2.1
and higher.

svn path=/trunk/; revision=28850
2009-06-26 15:08:04 +00:00
Anders Broman 6a5ea97ff6 From Sebastien Decugis:
Add Missing Diameter EAP support.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3600

svn path=/trunk/; revision=28849
2009-06-26 05:48:03 +00:00
Stig Bjørlykke 9733aadcfe Re-generate asn1 dissectors after hf_register_info cleanup.
svn path=/trunk/; revision=28848
2009-06-26 03:59:01 +00:00
Stig Bjørlykke 7bb637f051 Small whitespace cleanup.
svn path=/trunk/; revision=28847
2009-06-26 03:37:30 +00:00
Stig Bjørlykke 9dd57bd754 Use NULL for empty blurb.
svn path=/trunk/; revision=28846
2009-06-26 03:24:08 +00:00
Stig Bjørlykke 1a3432a0e0 tvb_child_new_real_data() -> tvb_new_child_real_data()
svn path=/trunk/; revision=28845
2009-06-26 03:20:12 +00:00
Stig Bjørlykke 7f1f48a8b2 From Joakim Wiberg via bug 3103:
Various improvements to the CIP and ENIP dissectors.

From me:
Updated to latest trunk changes.

svn path=/trunk/; revision=28844
2009-06-26 02:38:23 +00:00
Anders Broman 2b72ed9f26 tvb_new_real_data()->tvb_child_new_real_data()
svn path=/trunk/; revision=28843
2009-06-25 05:59:04 +00:00
Stig Bjørlykke 1ec579f62b Unsigned does not have msign.
svn path=/trunk/; revision=28842
2009-06-25 02:13:35 +00:00
Stig Bjørlykke 74ff21bccf From Nathan Hartwell via bug 2733:
Use time_secs_to_str_unsigned().

svn path=/trunk/; revision=28841
2009-06-25 02:08:06 +00:00
Stig Bjørlykke 7221f30ab3 From Nathan Hartwell via bug 2733:
Added time_secs_to_str_unsigned().

svn path=/trunk/; revision=28840
2009-06-25 02:07:17 +00:00
Stig Bjørlykke 26bd9f3623 Remove a tvb_free() call.
svn path=/trunk/; revision=28839
2009-06-25 01:50:56 +00:00
Jaap Keuter 479b1ee737 From Duncan Salerno:
Ensure dct3trac packets never longer than 23 bytes.

svn path=/trunk/; revision=28838
2009-06-24 20:27:58 +00:00
Stig Bjørlykke e03ac6b82e From Kovarththanan Rajaratnam via bug 3555:
Cancel hostname lookup timers if c-ares is not initialized.

svn path=/trunk/; revision=28837
2009-06-24 19:10:50 +00:00
Jaap Keuter 7b79574a5b From Artem Tamazov:
Added: ESMC support as per G.8264 (Slow Protocol Subtype 0x0a).
* QL codes are dissected according to G.781 5.5.1.1 "Option I SDH". 
Added: support for Timestamp entities in ESMC PDU as per WD56 proposal.

svn path=/trunk/; revision=28836
2009-06-24 06:21:45 +00:00
Stig Bjørlykke 69116bfad2 Fixed field types for some reserved fields.
svn path=/trunk/; revision=28835
2009-06-24 05:54:19 +00:00
Stig Bjørlykke ff7ff86249 More hf_register_info related cleanup.
svn path=/trunk/; revision=28834
2009-06-24 03:03:25 +00:00
Bill Meier 5c91a491ab Remove superflous code; #include <stdio.h> not needed.
svn path=/trunk/; revision=28833
2009-06-24 02:42:43 +00:00
Stig Bjørlykke 8531980952 From Kovarththanan Rajaratnam:
More hf_register_info related cleanup.

svn path=/trunk/; revision=28832
2009-06-24 02:17:12 +00:00
Stig Bjørlykke b11f44c741 From Kovarththanan Rajaratnam:
Move hf_register_info declarations in packet-m2m.c to function scope

svn path=/trunk/; revision=28831
2009-06-24 02:12:13 +00:00
Stig Bjørlykke 975a16f706 From Kovarththanan Rajaratnam:
Cleanup hf_register_info declaration passed to llc_add_oui(). While there,
change the declaration to an array in order to be consistent with the rest
of packet-*.c files.

svn path=/trunk/; revision=28830
2009-06-24 02:11:11 +00:00
Stig Bjørlykke 92215412c5 Change hf_nisplus_dummy to use "dummy" as name instead of " "
(this is the only place where " " was used)

svn path=/trunk/; revision=28829
2009-06-24 02:08:14 +00:00
Stig Bjørlykke 7eefc799b6 From Kovarththanan Rajaratnam:
More hf_register_info related cleanup
* Fix process-x11-fields.pl (packet-x11.c)

svn path=/trunk/; revision=28828
2009-06-24 02:07:16 +00:00
Stig Bjørlykke 43485d8963 More hf_register_info related cleanup.
svn path=/trunk/; revision=28827
2009-06-24 02:05:51 +00:00
Stig Bjørlykke f8166804a8 From Kovarththanan Rajaratnam:
More asn1/* header field info cleanup

svn path=/trunk/; revision=28826
2009-06-24 01:40:54 +00:00