aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2011-07-03Need to export EBCDIC_to_ASCII().Guy Harris1-0/+1
svn path=/trunk/; revision=37878
2011-07-03Add a tvb_get_ephemeral_string_enc() routine that's likeGuy Harris5-23/+42
tvb_get_ephemeral_string() but takes an ENC_ value for the character encoding. Use it in the MQ dissector to fetch strings to put, for example, into the Info column, so we properly handle EBCDIC strings there. svn path=/trunk/; revision=37876
2011-07-03From Roland Knall:Anders Broman1-41/+17
The way heuristic dissection was handled by the openSAFETY plugin, could lead to out-of-memory problems with large files (>50.000 packets). The new version does not use ep_alloc anymore, but a static boolean instead. Also, the code registering for the SercosIII dissector got simplified, as the SercosIII dissector is no longer a plugin. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6061 svn path=/trunk/; revision=37874
2011-07-03[Automatic manuf, services and enterprise-numbers update for 2011-07-03]Gerald Combs1-12/+192
svn path=/trunk/; revision=37873
2011-07-03Add ENC_ values for UTF-8 and EBCDIC, support them for FT_STRINGZGuy Harris3-268/+300
values, and use them in the MQ dissector, so EBCDIC strings are displayed as such. Fix up some other final arguments to proto_tree_add_item(). svn path=/trunk/; revision=37872
2011-07-01Since the TCP Flags tree encompasses 12 bits including the 3 reserved bits andChris Maynard1-1/+7
the nonce bit, we should display 3 nibbles on the Flags summary line in order to represent all flag bits. While arguably we need not worry about reserved bits, the nonce bit is not currently represented, so that bit alone pushes us into the next nibble. svn path=/trunk/; revision=37856
2011-07-01I decode_tcp_ports(), don't abort processing zero window probe packets, even ↵Chris Maynard1-5/+6
if the payload is only a single byte. Also, for the keep-alives, display any payload that might be present. svn path=/trunk/; revision=37854
2011-07-01Initialize the TCP windows to the maximum value instead of 0 to avoid false ↵Chris Maynard1-0/+2
zero window conditions, especially at the beginning of a capture or if only one side of a conversation is captured. This resolves bug 4716: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4716. svn path=/trunk/; revision=37853
2011-06-30Export tvb_get_unicode_string().Guy Harris1-0/+1
svn path=/trunk/; revision=37845
2011-06-30Avoid absurdly large values used in for-loops.Stig Bjørlykke1-0/+15
svn path=/trunk/; revision=37842
2011-06-29Although technically not needed, for clarity, explicity catch invalid ↵Chris Maynard1-2/+1
Ethernet frames, increment the "other" count and return. Previously, code execution would have fallen through to the ETHERNET_II case and capture_ethertype() would have incremented the "other" count. svn path=/trunk/; revision=37835
2011-06-29Indicate TCP fast retransmissions as an expert info note, rather than a ↵Chris Maynard1-1/+1
warning,just as TCP retransmissions are. This was a user request from Sharkfest '11. svn path=/trunk/; revision=37834
2011-06-29Based on Guy's suggestion from the user mailing list, dissect Ethernet ↵Chris Maynard2-298/+356
frames with a type/len field in the range of 1501-1535 as invalid, and add an expert info to make it that much easier to find such invalid frames. Also did some whitespace cleanup, converting tabs to spaces since most of the file was spaced, not tabbed, and swapped the order that the lg and ig bits get added to the tree because I think it looks better reading bits left-to-right. TODO: I'm not entirely sure what to do in capture_eth() if that invalid range is encountered, so for now I just added some #if 0'd code as a placeholder. Ref: http://www.wireshark.org/lists/wireshark-users/201106/msg00127.html svn path=/trunk/; revision=37832
2011-06-29Update my email address.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=37831
2011-06-29Added a preference to turn of capture filter syntax check.Stig Bjørlykke2-0/+11
This can be used to disable the effect in bug 5356. svn path=/trunk/; revision=37830
2011-06-29Strengthen heuristics for Packets.Stig Bjørlykke1-0/+4
This fixes bug 6073. svn path=/trunk/; revision=37828
2011-06-29Don't return an offset that you won't later use.Guy Harris1-57/+42
The length fields in a pcap_pkthdr are unsigned, so presumably the equivalent fields in the rpcap protocol are also unsigned. Make sure the captured data length isn't bigger than the remaining data in the packet before attempting to construct a tvbuff for the packet data. If it is, report that as an error, and don't even try to construct the tvbuff; that'll fail. This fixes bug 6073. svn path=/trunk/; revision=37826
2011-06-28Export all tfs from tfs.hJakub Zawadzki1-0/+11
svn path=/trunk/; revision=37814
2011-06-28From bug 6057:Stig Bjørlykke1-3/+3
Improved set_color_filter_slot documentation. svn path=/trunk/; revision=37813
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke8-17/+14
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-27From bug 6057:Stig Bjørlykke2-0/+20
Lua API: add support to temporary color filters (10 color slots) svn path=/trunk/; revision=37801
2011-06-27Remove Makefile.in when 'make maintainer-clean'.Stig Bjørlykke2-0/+5
svn path=/trunk/; revision=37796
2011-06-26[Automatic manuf, services and enterprise-numbers update for 2011-06-26]Gerald Combs1-3/+235
svn path=/trunk/; revision=37789
2011-06-25From Tony Trinh via bug 6018:Stig Bjørlykke1-18/+65
Add NULL checks and fix typos in Lua error print-outs From me: Use the error message "GUI not available" when using GUI functions in tshark. svn path=/trunk/; revision=37788
2011-06-25Added check for invalid chars in abbrev in ProtoField functions.Stig Bjørlykke1-0/+20
This fixes bug 5569. svn path=/trunk/; revision=37787
2011-06-25Remove "range" from Lua's Pref.range(), as this value shall be fetched from Stig Bjørlykke1-4/+3
the "default". This fixes bug 5896. svn path=/trunk/; revision=37786
2011-06-25From Tony Trinh via bug 5894:Stig Bjørlykke1-1/+1
Added argument validation to Pref.range. svn path=/trunk/; revision=37785
2011-06-25From Tony Trinh via bug 5895:Stig Bjørlykke1-12/+23
Add sanity checks in range.c svn path=/trunk/; revision=37784
2011-06-25Make guy's fix in revision 37236 actually work:Stig Bjørlykke1-1/+1
"You cannot just make the "len" field of a GByteArray larger, if there's no data to back that length; you can only make it smaller." Two equal values are always equal! This fixes bug 5941. svn path=/trunk/; revision=37783
2011-06-24Update the dissector_add call to use the current API.Jaap Keuter1-1/+1
svn path=/trunk/; revision=37782
2011-06-24From Peter Nahas:Jaap Keuter1-1/+114
This patch adds support for the two-way Sythetic Loss Measurement opcodes (SLM & SLR) defined in the latest ITU-T Y.1731. svn path=/trunk/; revision=37781
2011-06-23From Dejan Bucar:Jaap Keuter2-39/+349
Added support new multicore header in the LINX Ethernet protocol. Added linx/tcp. svn path=/trunk/; revision=37777
2011-06-23From Andrey Kulikov:Jaap Keuter1-0/+5
Patch to show GOST certificate types in CertificateRequest message. svn path=/trunk/; revision=37776
2011-06-23From Andrey Kulikov:Jaap Keuter1-0/+5
Patch to TLS dissector to show GOST ciphesuites names. svn path=/trunk/; revision=37775
2011-06-23From Ivan Lawrow: GTS Descriptor count is a 3 bit field;Bill Meier1-1/+1
The IEEE 802.15.4 GTS descriptor count is a 3-bit field (see page 144 of attached spec). The mask for this field is incorrectly defined as a 2-bit field in epan/dissectors/packet-ieee802154.h line 74: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6055 svn path=/trunk/; revision=37771
2011-06-23Added missing $Id$Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=37767
2011-06-23Add a protocol decode.Anders Broman1-0/+5
svn path=/trunk/; revision=37764
2011-06-23From Tony Trinh via bug 5960:Stig Bjørlykke1-1/+1
Fix TvbRange:string() so that it returns a string that contains all bytes of the range, including zeroes (instead of being truncated at first zero). svn path=/trunk/; revision=37763
2011-06-23Use guint32 internally to store mask.Stig Bjørlykke1-1/+1
This may fix bug 5734. svn path=/trunk/; revision=37762
2011-06-23Rename Tvb_new_real to ByteArray_tvb, as it's a ByteArray function.Stig Bjørlykke1-7/+6
Documentation is generated from code. This fixes bug 5199. svn path=/trunk/; revision=37761
2011-06-23Rename Tvb_tvb to TvbRange_tvb, as it's a TvbRange function.Stig Bjørlykke1-2/+2
Documentation is generated from code. This fixes bug 5006. svn path=/trunk/; revision=37760
2011-06-23Remove not needed forward declaration.Jakub Zawadzki1-3/+0
svn path=/trunk/; revision=37759
2011-06-22Fix some gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;Bill Meier7-3328/+3312
Also: misc minor cleanup: unneeded #include; whitespace, tvb_length-->tvb_reported_length svn path=/trunk/; revision=37757
2011-06-22Don't assert on invalid custom columns, just set as invalid/unknown.Stig Bjørlykke1-2/+1
This fixes bug 6028. svn path=/trunk/; revision=37756
2011-06-22From Xiao Xiangquan: A new dissector for Vuze DHT;Bill Meier3-0/+1475
Vuze, called Azureus before, is a great BT client and has a lot of users, while its DHT implementation is different from the official one. From me: New-style dissectors are supposed to to always return "bytes dissected" (not just when tree != NULL); svn path=/trunk/; revision=37755
2011-06-22tvb_format_text → tvb_format_stringzpad.Gerald Combs4-5/+5
svn path=/trunk/; revision=37754
2011-06-22Use ENC_BIG_ENDIAN.Anders Broman1-10/+10
svn path=/trunk/; revision=37753
2011-06-22Protect the columns from beeing overwritten.Anders Broman1-0/+3
svn path=/trunk/; revision=37752
2011-06-22Add a dissector table for CDR:sAnders Broman1-1/+6
svn path=/trunk/; revision=37751
2011-06-22Fix a checkhf WarningAlexis La Goutte1-1/+1
Unused entry: epan/dissectors/packet-skinny.c, hf_skinny_modifyConfRes svn path=/trunk/; revision=37750