summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-09Add the TCP window scaling graph. Add zoom selections.Gerald Combs11-80/+417
Rename some methods. Add the ability to toggle time and sequence number origins. Add more keyboard shortcuts. Comment out abs_secs abs_usecs in the segment struct since it looks like we aren't using them. Make sure we stay in the same TCP stream. svn path=/trunk/; revision=51856
2013-09-09Revert #51843: Build fails on OSX-10.5-x8Bill Meier1-10/+1
svn path=/trunk/; revision=51855
2013-09-09OK, allow either positive or negative offsets no matter if we're chopping ↵Chris Maynard2-32/+39
from the beginning or the end. Given the following example, it's now possible to chop the 10 bytes depicted from the 100 byte packet 4 different ways and achieve the exact same results: <-------- 100 --------> Methods: 1) editcap -C 20:10 in.pcap out.pcap +------+----+---------+ 2) editcap -C -80:10 in.pcap out.pcap | 20 | 10 | 70 | 3) editcap -C -70:-10 in.pcap out.pcap +------+----+---------+ 4) editcap -C 30:-10 in.pcap out.pcap svn path=/trunk/; revision=51854
2013-09-09Complete the conversion of expert_add_info_format_text -> ↵Michael Mann2-5/+2
expert_add_info_format. svn path=/trunk/; revision=51853
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann171-1236/+1236
svn path=/trunk/; revision=51852
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann11-49/+49
svn path=/trunk/; revision=51851
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann6-130/+130
svn path=/trunk/; revision=51850
2013-09-08expert_add_info_format_text -> expert_add_info_textMichael Mann5-1956/+1956
svn path=/trunk/; revision=51849
2013-09-08Specify the optional offset as a positive value, regardless of chopping from ↵Chris Maynard2-9/+11
packet beginning or packet end. I *think* this will be easier syntax to remember. svn path=/trunk/; revision=51848
2013-09-08Add a chunk forgotten in r51846Pascal Quantin2-114/+118
svn path=/trunk/; revision=51847
2013-09-08Slightly different fix for ↵Pascal Quantin5-155/+163
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9117 : Check that tvb returned by dissect_per_bit_string is not null before trying to use it svn path=/trunk/; revision=51846
2013-09-08Allow an optional offset to be specified when chopping bytes from packets.Chris Maynard3-30/+100
svn path=/trunk/; revision=51845
2013-09-08Couldn't quite figure out how to make the expert items in proto.c and the ↵Michael Mann5-11/+14
LUA API filterable (suggestions welcome!), but I wanted to start forcing dissectors to use the filterable expert API (nothing like compile errors to force change!). I created expert_add_info_format_internal (original expert_add_info_format) and used it as a placeholder for proto.c/LUA API until a solution is created. The "new" expert_add_info_format will be the "old" expert_add_info_format_text, and I'll slowly do the search/replace. For those with dissectors outside the source tree, please see tools/convert_expert_add_info_format.pl for help with the conversion. Please do not use expert_add_info_format_internal, as it's support time will be very short lived. svn path=/trunk/; revision=51844
2013-09-08Use a bunch of #includes only when apparently needed.Bill Meier1-1/+10
svn path=/trunk/; revision=51843
2013-09-08Convert malformed ("protocol") expert infos into something filterable. Not ↵Michael Mann1-11/+21
sure if "malformed.expert" is more confusing than helpful, but I didn't want it to share with the "malformed" display filter because their underlying types are different (FT_PROTOCOL vs FT_NONE). The ".expert" has been my convention when a condition already has a well-named hf_ display filter, but also has expert info associated with it. Also removed the commented out calls to expert_add_info_format to avoid confusion, but left the comments noting the reason it's absent. svn path=/trunk/; revision=51842
2013-09-08Convert profinet dissector to use filterable expert info.Michael Mann3-153/+197
NOTE: Some of the expert group values may need to be checked, PI_UNDECODED doesn't always seem like the right choice. I thought PI_PROTOCOL should be used more. This concludes the conversion expert_add_info_format for all dissectors (where the function isn't commented or #defined out). Onto the "internal" (epan/lua) uses of the call. svn path=/trunk/; revision=51841
2013-09-08Cycle the recycler in realloc() and free() as well, reducing memory usage of theEvan Huus1-3/+17
stress-test by another ~10%. svn path=/trunk/; revision=51840
2013-09-08Fix "seq_base could be used unitialized" warning. We should probably enableEvan Huus1-1/+1
-Werror for the qt code... svn path=/trunk/; revision=51839
2013-09-08Restore some format arguments that were accidentally dropped.Evan Huus1-3/+3
svn path=/trunk/; revision=51838
2013-09-08[Automatic manuf, services and enterprise-numbers update for 2013-09-08]Gerald Combs2-1/+49
svn path=/trunk/; revision=51835
2013-09-08Add filterable expert info to generated X11 dissector. I didn't regenerate ↵Michael Mann3-2/+4
the dissector files, but did manually update the source (tools/process-x11-xcb.pl) so any future regeneration won't lose the changes. svn path=/trunk/; revision=51834
2013-09-08Add filterable expert info to NCP dissector.Michael Mann2-25/+59
svn path=/trunk/; revision=51833
2013-09-08Add the TCP RTT graph.Gerald Combs9-84/+201
Show the time values in ms instead of s. Add a button and keyboard shortcut to switch the connection direction. Move more code to tap-tcp-stream.c. Update our axis labels. svn path=/trunk/; revision=51832
2013-09-08Batch of filterable expert infoMichael Mann4-109/+186
svn path=/trunk/; revision=51831
2013-09-07Fix the FSF address in the license header for the new ASN.1 dissectors.Evan Huus8-27/+19
svn path=/trunk/; revision=51830
2013-09-07Ignore licensing in the macosx packaging - it's all copied from Inkscape (GPL)Evan Huus1-1/+4
as far as I can tell, so it doesn't have our headers. svn path=/trunk/; revision=51829
2013-09-07Fix lua docstring causing the buildbot's documentation step to fail.Evan Huus1-2/+2
svn path=/trunk/; revision=51828
2013-09-07- no need for a doubly-linked list of TVBs, single is simplerEvan Huus3-12/+25
- support merging chains in tvb_add_to_chain - when we have an old reassembled TVB, just merge the chains rather than freeing it (we may still need it as it may already be a data source) - modelines Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9027 #BACKPORT, but it's gonna be messy... svn path=/trunk/; revision=51825
2013-09-07Added pinfo.can_desegment to lua script.Stig Bjørlykke1-0/+8
This fixes bug 5205. svn path=/trunk/; revision=51824
2013-09-07Batch of filterable expert infoMichael Mann9-228/+320
svn path=/trunk/; revision=51823
2013-09-07Display GTPv2 Area Code fields (which show up in some DIAMETER AVPs) asEvan Huus1-7/+7
BASE_HEX_DEC instead of just BASE_DEC. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9118 svn path=/trunk/; revision=51822
2013-09-07Callers of tvb_per_bit_string expect that the returned value_tvb is non-NULL.Evan Huus1-0/+18
Ensure that is the case even in certain peculiar error conditions, by filling it with a 0-length subset TVB. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9117 Also add modelines. svn path=/trunk/; revision=51821
2013-09-07Fix a few more places that didn't have a semicolon after the address-macro use.Evan Huus2-8/+8
svn path=/trunk/; revision=51820
2013-09-07Add modelines, use consistent indentation in address.hEvan Huus2-129/+152
Use the "do { } while (0)" trick to make the macros behave like regular function calls syntatically. Fix one dissector that wasn't using semicolons after the macro calls. svn path=/trunk/; revision=51819
2013-09-07Added support for a "prefs_change" function in Lua scripts, which is calledStig Bjørlykke3-8/+44
when the preferences for the dissector are changed. This is not a 100% correct implementation at the time because the prefs_changed function in all Lua plugins will be called whenever a preference in a single Lua plugin is changed. svn path=/trunk/; revision=51818
2013-09-07Added support for integer range in DissectorTable_add and DissectorTable_remove.Stig Bjørlykke1-6/+28
This was requested in bug 6762. svn path=/trunk/; revision=51817
2013-09-07A small documentation fix for DissectorTable_remove.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=51816
2013-09-07Added syntax and range checks for Lua Prefs.range default values.Stig Bjørlykke1-7/+26
Fixed some small memory leakages. svn path=/trunk/; revision=51815
2013-09-07 coverity 1047692: check return value of inet_pton()Martin Kaiser1-2/+11
svn path=/trunk/; revision=51814
2013-09-07trivial: fix a typoMartin Kaiser1-1/+1
svn path=/trunk/; revision=51813
2013-09-07From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9105 :Pascal Quantin2-33/+74
Add additional PN532 opcodes, and update USB CCID dissector to skip status word in PN532 responses svn path=/trunk/; revision=51812
2013-09-07Only add data points to the throughput graph if our time window hasGerald Combs3-3/+28
advanced. Add a reset button. svn path=/trunk/; revision=51811
2013-09-07Fix PacketList::goToPacket work correctly. Minor screen graphGerald Combs4-6/+18
improvements. svn path=/trunk/; revision=51808
2013-09-07Use "recode" to convert HTML entities to UTF-8 if it's available.Gerald Combs1-1/+6
svn path=/trunk/; revision=51806
2013-09-06Make the Lua dissector "init" routine work again.Stig Bjørlykke1-12/+2
svn path=/trunk/; revision=51805
2013-09-06Whitespace cleanup, sort options, add modelines.Chris Maynard1-75/+82
svn path=/trunk/; revision=51804
2013-09-06The 'a' option doesn't take an argument. Fix bug introduced by r49964.Chris Maynard1-1/+1
svn path=/trunk/; revision=51803
2013-09-06Switch from a 20 segment moving average to a 1 second MA. Add a #defineGerald Combs2-5/+24
to allow switching back to the old behavior. Note that goToPacket can jump to the wrong packet if we have a display filter applied. svn path=/trunk/; revision=51801
2013-09-06Deduplicate some type and field names.Gerald Combs2-101/+120
svn path=/trunk/; revision=51800
2013-09-06Convert to wmem, and as per Michael's suggestion inEvan Huus1-10/+10
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9107, use zeroed memory for ntlmssp_info structs. svn path=/trunk/; revision=51799