Commit Graph

71138 Commits

Author SHA1 Message Date
Roland Knall 9c5049a80b Gtk: Remove source code
Removing all gtk source code, except for main.? which will remain
for the official removal during SFUS18

Change-Id: I4273baf207df1eaaa4b94623cfd10bf74b1fc4a4
Reviewed-on: https://code.wireshark.org/review/26937
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2018-04-15 05:45:32 +00:00
Alexis La Goutte f533016339 .mailmap: update of March and April (2018)
Change-Id: Ic9879655c764fbfe10a60894337722bb717a9598
Reviewed-on: https://code.wireshark.org/review/26884
Reviewed-by: Saku Ytti <saku@ytti.fi>
Reviewed-by: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-15 05:36:59 +00:00
Jaime Caamaño Ruiz b2c971d9ce openflow: fix decode of experimenter OXM fields
No longer report decoded experimenter values as undecoded which
was causing incorrect offset handling.

Change-Id: If902f8c8c5b53b8062e88229d67728bb67557062
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
Reviewed-on: https://code.wireshark.org/review/26888
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-15 05:36:26 +00:00
Peter Wu 82e8aa33a7 dfilter-test.py: document parallelization support
Tests are independent and can be run in parallel using pytest-xdist
(https://github.com/pytest-dev/pytest-xdist), document it.

While at it, allow running the tests from other directories.

Change-Id: I3e55c549669f7d59d35cd64eca53680cea6dec2d
Reviewed-on: https://code.wireshark.org/review/26943
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-15 05:34:41 +00:00
Joerg Mayer 0d31ec328f Check for HAVE_LZ4FRAME_H in the LZ4 detection process and use it
Change-Id: I919621b8c4c809eb181d563251eeb099b767ad82
Reviewed-on: https://code.wireshark.org/review/26940
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-15 05:34:08 +00:00
Gerald Combs 08c2344458 Remove some references to PortAudio.
Change-Id: Icfe9516ff814db5362aa345e6f527551dcb13935
Reviewed-on: https://code.wireshark.org/review/26946
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-15 05:33:12 +00:00
Peter Wu 4adaa3a4b1 dftestlib: remove unnecessary execute bit
tools/dfilter-test.py is the main script, others are imported as needed.

Change-Id: I5ce7bd298b90d3e16c83c6b219c2717ccbcf2a10
Reviewed-on: https://code.wireshark.org/review/26944
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-15 05:32:27 +00:00
Guy Harris 93c60b3b7c Clean up whitespace.
Change-Id: Ifdd6f1e96a01f040375639f6d09e56241798b346
Reviewed-on: https://code.wireshark.org/review/26949
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-15 02:42:30 +00:00
Guy Harris c10fe98fcd Expand and clean up comments.
Change-Id: Ie87615c664e3fec70356f86675b219c7a6462417
Reviewed-on: https://code.wireshark.org/review/26948
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-15 02:40:50 +00:00
Guy Harris e4d3916530 Clean up the way we handle the FCS.
For the "802.15.4 with FCS" link-layer type, strip what FCS we find, if
any, off and use that new tvbuff for all dissection except for
checking and dissection of the FCS itself.

For the "802.15.4 without FCS" link-layer type, don't fake an uncaptured
FCS by increasing the reported length, just use the tvbuff as is.

This means we handle 802.15.4 the same way we handle other link-layer
types where the FCS might, or might not, appear as part of the captured
data.

Change-Id: Ia91b7fb0aad495876be00bf813c6b6517e5e11d7
Reviewed-on: https://code.wireshark.org/review/26947
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-15 01:47:18 +00:00
Krishnamurthy Mayya 4994955600 DTN: Minor changes for Bundle-Integrity/Confidentiality Block payload
Change-Id: I0d4458e02c9e1f747659fb116906ca44515a9033
Reviewed-on: https://code.wireshark.org/review/26941
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-14 21:01:35 +00:00
Michał Łabędzki 8c1a61e7b1 Bluetooth: ATT: Fix cast-warnings
1. Use explicit cast from gint16 to gint then to gdouble
   - I can understand my compiler - implicit cast is not explicit cast
2. Fix const cast by remove "const" from one field but add it whenever
   possible in other places

Change-Id: Iab7401f972c40bca2df58f91b89e29cf2d7cf11b
Reviewed-on: https://code.wireshark.org/review/26917
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michal Labedzki <michal.labedzki@wireshark.org>
2018-04-14 20:12:06 +00:00
chinarulezzz 89076e6a5d packet-pcep.c: opposite inner 'if' condition leads to a dead code block
Change-Id: I13e32d7f333c3e50085c0008d7677f4c6d0611d4
Reviewed-on: https://code.wireshark.org/review/26928
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-14 08:46:31 +00:00
Pascal Quantin 2d0f894140 PDCP NR: remove a now meaningless comment
Change-Id: Ie234abdad7be9fd6f68d6676bae37286ee5dca2f
Reviewed-on: https://code.wireshark.org/review/26938
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-14 07:01:44 +00:00
Pascal Quantin a892493e49 PDCP LTE: reuse existing pdcp_lte_info structure after first pass
Change-Id: I3fbd95cbdbf958d4b6b93f0b7511be9ee772608c
Reviewed-on: https://code.wireshark.org/review/26932
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-14 06:56:06 +00:00
Pascal Quantin 0ca6fda9f0 RLC LTE: reuse existing rlc_lte_info structure after first pass
Change-Id: I0f0022ec1d04b466e9725684708088486d5f181c
Reviewed-on: https://code.wireshark.org/review/26931
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-14 06:55:18 +00:00
Pascal Quantin 3571cb7c01 MAC LTE: reuse existing mac_lte_info structure after first pass
Change-Id: I2e6c9067b8c4d8b318f79c6ad9e924af234a6b78
Reviewed-on: https://code.wireshark.org/review/26930
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-14 06:54:04 +00:00
Pascal Quantin d66790a82b PDCP NR: reuse existing pdcp_nr_info structure after first pass
Change-Id: Ief847244d8f989e2639a0dbcf96e2c7a7b1fb69a
Reviewed-on: https://code.wireshark.org/review/26933
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Roland Knall <rknall@gmail.com>
2018-04-14 05:42:53 +00:00
chinarulezzz cca3c926c8 packet-tns.c: add TODO to TNS Refuse packet dissector
Change-Id: If5f8cf73eb878fa3feb31ba32d576d75a293e314
Reviewed-on: https://code.wireshark.org/review/26927
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2018-04-14 05:42:40 +00:00
Alexis La Goutte 4fab4f678c x509ce: fix display of IPAddress when it is an IPv6 Address
According to RFC 5280 (Section 4.2.1.6. Subject Alternative Name), an
iPAddress can be either four (IPv4) or sixteen octets (IPv6).

Bug: 14603
Change-Id: I6894f78c8e3f2a1b10940379397c87bbf981d4d6
Reviewed-on: https://code.wireshark.org/review/26891
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2018-04-14 05:42:28 +00:00
Pascal Quantin 75244c6b54 PDCP NR: add expert info for unknown / missing UDP framing tags
Change-Id: I1b71d30e5e6d5a63e14fc6daf8e2cca2b9b6f7f6
Reviewed-on: https://code.wireshark.org/review/26915
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:28:01 +00:00
Pascal Quantin b78577f1bc RLC NR: add an expert info for unknown UDP framing tags
Change-Id: I8a103840b3c795ce76c8a1af04a5751d6901e62f
Reviewed-on: https://code.wireshark.org/review/26914
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:27:31 +00:00
Pascal Quantin 55b2016283 MAC NR: add an expert info for unknown UDP framing tags
Change-Id: I03013e02856508179d1d75ece5d5c215b947eeb4
Reviewed-on: https://code.wireshark.org/review/26913
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:27:02 +00:00
Pascal Quantin 75a63c6dfa PDCP LTE: add expert info for unknown / missing UDP framing tags
Change-Id: Iafeb49b529da4f62149124193326a4ff6c3960b9
Reviewed-on: https://code.wireshark.org/review/26912
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:26:33 +00:00
Pascal Quantin 209d861947 RLC LTE: add expert info for unknown / missing UDP framing tags
Change-Id: I252c63f7104ce92de5d72e5e3ea40e3e45d76add
Reviewed-on: https://code.wireshark.org/review/26911
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:26:13 +00:00
Pascal Quantin 38a806a94e MAC LTE: add an expert info for unknown UDP framing tags
Change-Id: I505e1df17d468c84f363c3be0ac5e2c29c85ca23
Reviewed-on: https://code.wireshark.org/review/26910
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:25:41 +00:00
Pascal Quantin 5f4ffa2c76 UMTS RLC: add expert info for unknown / missing UDP framing tags
Change-Id: I29dbeaf0d90bab4c10b4674bfa983f7f5f26027b
Reviewed-on: https://code.wireshark.org/review/26909
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-13 16:25:10 +00:00
Dario Lombardo 0b62dce005 kafka: raise the required version to 1.5.0 for lz4_frame.
Change-Id: I25619260572163872915c56bcf242e8ff8190b47
Reviewed-on: https://code.wireshark.org/review/26890
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Tested-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-04-13 09:19:36 +00:00
Martin Kaiser 01f85e7b01 file-pcap: expert info if captured len > reported len
Bring up an expert info if the file contains a record whose captured
length is larger than the reported length. Abort the dissection in this
case since we rely on those lengths to find the next record.

Change-Id: If249d0fe670373417bbfef6759edc0b020a9f5cb
Reviewed-on: https://code.wireshark.org/review/26885
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Craig Jackson <cejackson51@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-13 07:28:27 +00:00
Guy Harris 0561501505 Fix the length of the payload of a private_1 or audio PES packet.
The length field's value doesn't include the length of the length field
itself.

Change-Id: Icd0cc2721a32212296929d248b9305b0f4a051e6
Reviewed-on: https://code.wireshark.org/review/26920
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-13 00:57:32 +00:00
Guy Harris 2a0ba8fea2 Add in the signed integer fetch routines.
Change-Id: I75d7ffa74cc669d85861cbd712f1a4c927f098db
Reviewed-on: https://code.wireshark.org/review/26918
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-12 17:21:58 +00:00
Pascal Quantin 49470c15af RoHC: IP version is 1 byte only
Change-Id: I533b9d3ef37af9aa13a20c9af82a8a75cd73e9ad
Reviewed-on: https://code.wireshark.org/review/26895
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-12 14:55:23 +00:00
Pascal Quantin 1e82b9035c PDCP NR: add SN length to PDCP context for user plane PDUs
Change-Id: I49d215e65e424e605179747d350d4f36ccbc0d92
Reviewed-on: https://code.wireshark.org/review/26894
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-12 08:00:07 +00:00
Pascal Quantin b5ca12a88e PDCP NR: rework UDP framing format
Change-Id: I6f4a17ed91d4cb6ea39b5938add6ee882b033687
Reviewed-on: https://code.wireshark.org/review/26893
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-12 08:00:00 +00:00
Guy Harris d0d0cf05cc Update a comment.
We don't just reassemble DOCSIS MAC frames, we reassemble other forms of
higher-level packet atop an MPEG Transport Stream as well.

Change-Id: If6e709a8d2d3e574fbaedb1fcac74797c5664aa5
Reviewed-on: https://code.wireshark.org/review/26905
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-12 05:01:45 +00:00
Guy Harris 148f39d900 Need to flag a variable as volatile, due to the use of exceptions.
The exception mechanism is setjmp/longjmp-based, so we need to mark
offset as volatile, otherwise the longjmp might not restore its value.

Change-Id: Ib63070bbbbe1f16a93cb58aa7ee5ef2a5488df8a
Reviewed-on: https://code.wireshark.org/review/26901
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-12 02:28:43 +00:00
Guy Harris 81f184bc00 If a subdissector throws an exception, catch it and continue.
That way, some exception thrown higher in the protocol stack doesn't
stop us from dissecting the next TSP.

Change-Id: Ib756e5d62806caf0edd4e4ded18bb94000653d39
Reviewed-on: https://code.wireshark.org/review/26897
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-04-12 00:46:31 +00:00
Dario Lombardo 0c30760c95 kafka: check lz4 version in a single point.
This allows a better check of the required version.

Change-Id: I6c4aab67c73434aff4ad744caa2d0add9ec6225c
Reviewed-on: https://code.wireshark.org/review/26889
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 23:05:57 +00:00
Filip Sohajek 205505d9c8 Netlink: Add rtnetlink attribute dissecting
This patch adds dissecting of several attributes in RTM_NEWLINK and
RTM_NEWADDR.

Change-Id: Iab476e7439a9bcbc25e70cded67bc371788baec4
Reviewed-on: https://code.wireshark.org/review/26830
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 23:02:02 +00:00
Dario Lombardo 643f2eb346 RPM: don't give the cmake macro the directory (it has it already).
Change-Id: I1c3febf527f16825793a30eb2ab5d43baaa83a57
Reviewed-on: https://code.wireshark.org/review/26880
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 21:39:30 +00:00
Dario Lombardo d944dda7af RPM: set the cmake bindir in openSUSE.
Change-Id: I41edf52f8021938877bc53dd5eea4ff29cf4827e
Reviewed-on: https://code.wireshark.org/review/26878
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 21:38:29 +00:00
Dario Lombardo 5f20746a29 RPM: set ninja executable in %install target.
It is not inherited by previous target.

Change-Id: I11be59211a900375e02fce8c05cc4164b8dc42e4
Reviewed-on: https://code.wireshark.org/review/26877
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 21:38:15 +00:00
Pascal Quantin 98826de8e5 LPP: fix a typo in ASN.1 file
Change-Id: Id3189b5617aff853d85029624d7e160d48dd1f36
Reviewed-on: https://code.wireshark.org/review/26896
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-04-11 21:14:27 +00:00
Dario Lombardo 26cd969c09 RPM: fix typo.
Change-Id: I2e82fb0696e2e7cb636ec1fdfb72a566e0eca94f
Reviewed-on: https://code.wireshark.org/review/26879
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-04-11 14:46:06 +00:00
Dario Lombardo dcc88906a9 RPM: don't install doc under guides with make.
Change-Id: Iaa8f3d941dcb329bbfff28f6d9417b92d44371e1
Reviewed-on: https://code.wireshark.org/review/26876
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 08:45:47 +00:00
Matej Tkac f2d89daf28 PFCP: Added dissection of IEs 127-131
According to 3GPP TS 29.244 v15.1.0

Change-Id: Idcaad3eccf0bd5c9cc57eca5038313fd14916963
Reviewed-on: https://code.wireshark.org/review/26859
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 08:32:57 +00:00
Stig Bjørlykke b79d2bc9a3 user_encap: Avoid a hash lookup to get dissector name
The dissector handle is already known so it's no need to fetch
this again using find_dissector().

Change-Id: Id48066ab881f2b80ec9e3a6e86bc1e41f32cd1ec
Reviewed-on: https://code.wireshark.org/review/26873
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-04-11 07:49:51 +00:00
Stig Bjørlykke 89904b6133 extcap: Fix crash in extcap_verify_capture_filter
This fixes a regression issue from g57fed5d1 when freeing the
arguments passed to extcap.

Change-Id: Ic4d6a129569f9e691fd2608e0229342b8b5e9783
Reviewed-on: https://code.wireshark.org/review/26870
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-04-11 07:28:17 +00:00
Stig Bjørlykke 1549cc122c extcap: Fix whitespace issues
Change-Id: I70066077a55b094eb2e667d31190ae80c3b97b5f
Reviewed-on: https://code.wireshark.org/review/26871
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-04-11 07:27:43 +00:00
Dana Sy 4685dea443 ZigBee: MGMT Unsolicited Enh NWKUpdate dissector
Added a dissector for the mgmt_nwk_unsolicited_enhanced_update_notify
from the R22 spec (clusterID = 0x003b)

Change-Id: I5d60ef0a762f932a7f814743d1c219428c8f9e73
Reviewed-on: https://code.wireshark.org/review/26865
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-11 06:32:53 +00:00