summaryrefslogtreecommitdiff
path: root/tools/checkfiltername.pl
AgeCommit message (Collapse)AuthorFilesLines
2017-05-12Allow proto_register_protocol_in_name_only values to be used as valid hf_ ↵Michael Mann1-1/+2
field prefixes. Change-Id: Ic9998d1f8c6719c7cba78966691295ff9ffbc12a Reviewed-on: https://code.wireshark.org/review/21612 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-10MLE and Thread: Additional dissectorsRobert Cragie1-0/+1
Additional dissectors for Mesh Link Establishment (MLE) and Thread CoAP TMF messages. MLE is also used in ZigBee IP. Change-Id: I5b9c224d7df48855b79ccac67dca7661a51d0a9b Bug: 13495 Reviewed-on: https://code.wireshark.org/review/20594 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-02-06checkfiltername: Add llc.bluetooth_pid to the whitelistMichal Labedzki1-1/+1
"llc.bluetooth_pid" is now placed in bluetooth-file, it seems to be fine, but there is a need to avoid terrible/horrible scream from this script. Change-Id: I0bf3f5b5f6459ab1f13a8c2c6ad12859af608e85 Reviewed-on: https://code.wireshark.org/review/19969 Petri-Dish: Michal Labedzki <michal.tomasz.labedzki@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-01-10checkfiltername.pl: Don't print empty line on successful runJoão Valverde1-43/+43
Change-Id: I3915a5771786bc763747ed74fadede15353fdf40 Reviewed-on: https://code.wireshark.org/review/13165 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-02eCMP Dissector - Extensible Control & Management ProtocolJames Lynch1-0/+1
Developed by Emerson Industrial Automation (Control Techniques Division) eCMP is a protocol for setting up and controlling the devices in a factory automation system. eCMP has about 30 commands; most are embedded into TCP/IP messages, but cyclic data messages use the UDP protocol. Bug: 10562 Change-Id: I9a421f39dfbdbc9e28d8f7cba72c22e270064641 Reviewed-on: https://code.wireshark.org/review/3157 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-05-26Remove proto_tree_add_text from some dissectors.Michael Mann1-0/+1
Change-Id: Id7ef95a56d9d8cc01f9a1a4556ad056b8bb7f8bc Reviewed-on: https://code.wireshark.org/review/8654 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-12-21Allow "cba" filter prefix for hf_ fields (missed a Profinet file the first time)Michael Mann1-0/+1
Change-Id: I3ff65a8f6307a9ee08e173c0b2658d96985e0c45 Reviewed-on: https://code.wireshark.org/review/5943 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-18Allow "cba" filter prefix for hf_ fields. Seems like something with "pn" or ↵Michael Mann1-0/+1
(abbreviated) Profinet would make more sense (with dissectors to match), but trying to satisfy pre-commit check. Change-Id: I1db5314fdc77ab7b909c955415f66f24da7d2a0a Reviewed-on: https://code.wireshark.org/review/5838 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-17Fixed bug in ZigBee (zbee) decryption, added Key Establishment cluster and ↵Chris Brandson1-0/+2
moved IAS, Thermostat and Poll clusters out of the ZCL foundation dissector. Removed attrID and cmdID ZCL cluster functions. Bug in ZCL HVAC attribute registration. Fixed bug in ZCL command ID field registration. Update Manufacturer Codes and Profile Ids to ZigBee-053874r26 Oct 2014 Fixed broken fragmented ZigBee packet collection and reassembly Use protocol fields for Thermostat schedule transitions. Added support for Key Establishment Cluster (CBKE) at SE 1.2a Updated Message cluster to SE 1.2a spec Added attribute reporting status which is common to all SE 1.2a clusters Added SE 1.2a tunnel cluster support ZigBee Smart Energy (SE) decryption appears to have been broken for some time. For SE you do not know the Link Key until after successful completion of Key Establishment and then manually enter it into preferences. Entry in preferences was broken such that when the new Link Key was entered all existing link keys would be lost. This lead to the loss of the Network Key as well when the Transport Key message was re-processed without the Pre-Configured Link Key. The Link Key 'key ring' has been moved to the UAT post-update callback so that it will always be updated correctly after changes to the link keys in preferences The attribute reporting status attribute which is common to all SE clusters was accidentally shared, now each cluster has it's own instance ZigBee security added key display for decrypted packets ZigBee Security Preferences fixed UAT type for Label so key label is editable again Added definition for Retail Service profile Added dissection for profile-wide (General Command Frame) commands when the profile is unknown Added zbee-zcl-misc.c to precommit check whitelist as it contains ias and hvac clusters avoiding proliferation of too many small files Change-Id: I53d85ba9d782db6a0e7e78c51b0bc7cdcdbca3ad Reviewed-on: https://code.wireshark.org/review/5565 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-12-01Improve checkfiltername.pl for pre-commit script.Michael Mann1-10/+46
1. Bugfix grep statement checking if file is "autogenerated" 2. Add to the list of "whitelist" duplicates. Many more were found after #1 was changed. Change-Id: Idea764c0c8b5fa4f30c9acaab9ba10340834d4f5 Reviewed-on: https://code.wireshark.org/review/5547 Petri-Dish: Evan Huus <eapache@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-11-08Add checkfiltername.pl to pre-commit scriptMichael Mann1-4/+5
Change-Id: I34d8aa7034a4aacc2a95b35a30f25356b33a51b9 Reviewed-on: https://code.wireshark.org/review/5187 Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-11-07Fix all remaining filter name errors found with checkfiltername.plMichael Mann1-0/+12
This should make it possible to add checkfiltername.pl to the pre-commit script. Change-Id: Icdee7e4ea3381fa1467bb4b5caf0f60c255adec0 Reviewed-on: https://code.wireshark.org/review/5166 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-08-27checkhf.pl: (Trivial) remove trailing whitespace.Bill Meier1-38/+38
Change-Id: I37ece54d936541b5d92e8c323ffeb429d9cc5f33 Reviewed-on: https://code.wireshark.org/review/3879 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-06-20Improve the tolerance of checkfiltername.pl so it can be added to the ↵Michael Mann1-10/+150
pre-commit script. 1. Correctly identify ASN.1 dissectors (so checkfiltername.pl can be more lenient on them) 2. "Whitelist" known (good) filters Change-Id: Iea662190b6655a1919bf08bc35e7978eb2693509 Reviewed-on: https://code.wireshark.org/review/2453 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-10Fix annoying warnings that a variable is uninitialized in checkfiltername.plMichał Orynicz1-1/+1
Change-Id: Ibb291747570e48af6306357cc13fd3a149ca88c9 Reviewed-on: https://code.wireshark.org/review/2071 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-02-14Remove $Id$ and other Subversion leftovers from the tools.Jeff Morriss1-2/+0
There are a few things in here which could still use attention. Don't regenerate anything now. Change-Id: I283c224d3523212144707fca3d6265916cb11792 Reviewed-on: https://code.wireshark.org/review/205 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-07-06Add support for filterable expert info fields. Statistics don't separate ↵Michael Mann1-0/+39
out the expert info fields from the hf_ fields because we're really just looking for display filter name errors, regardless of source. svn path=/trunk/; revision=50398
2012-08-24Check for PFNAME #define as it is a common substitute for a literal string ↵Michael Mann1-3/+20
for the proto filter name and consider it the proto filter name. Ignore "duplicates" that are generated because a display filter is prefixed by a #define (which checkfiltername.pl is not smart enough to handle), causing an empty string svn path=/trunk/; revision=44654
2012-08-23Allow proto filter names to have a period in them and allow display filter ↵Michael Mann1-0/+26
names to use any period separated value as a prefix. For example "gmr1.foo.bar" would allow "gmr1", "gmr1.foo" and "gmr1.foo.bar" as valid prefixes. Otherwise it will be flagged as a possible error. Also added a "FILE TYPE" for proto filter names with a period so that they can be verified. Presumably only "large", possibly "meta" protocols (probably spanning multiple dissector files) will be allowed to use a period in the proto filter name. svn path=/trunk/; revision=44648
2012-08-01Add support for (ignoring) idl2wrs generated dissectors.Michael Mann1-33/+80
Add commandline options to show file line numbers of dissectors. The default is to have no line numbers shown as its easier to compare results without a minor file change causing the line number of the filter to change resulting in an unnecessary difference. Add commandline option to check filter names of automated files (default disabled). Check for underscores prefacing or following a period in filter names as this is probably a typo. Cleaned up output when checking a single file. svn path=/trunk/; revision=44182
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-08-08Fix SVN Id.Chris Maynard1-1/+1
svn path=/trunk/; revision=38412
2011-08-08From Michael Mann via bug 2794: A Perl script to expose "questionable" ↵Chris Maynard1-0/+468
display filter field names. svn path=/trunk/; revision=38411