Commit Graph

79221 Commits

Author SHA1 Message Date
Bartel Eerdekens c09b33cf1d RDM: Dissector: Fix end-of-packet string dissection.
Strings at the end of RDM packages were parsed with the complete data length in stead of accounting previous parsed data (length).
Closes #17027
2020-11-19 10:54:28 +01:00
Dario Lombardo 4b9dfc3a19
github: fix actions.
The command add-path within the changed actions has been deprecated
according to

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Use shogo82148/actions-setup-perl for strawberryperl on windows.
Upgrade setup-ruby to 1.1.2 on macos.
2020-11-19 09:20:17 +01:00
Anders Broman 1d7bc367e9 GSM A Common: Dissect polygon points 2020-11-18 15:02:54 +00:00
Jaap Keuter 0250e4e2e4 HTTP: Restore SSTP support
Add exclusion for SSTP having Contents-Length and no body.
Closes #17024
2020-11-18 12:48:47 +00:00
John Thacker 5d374fed36 RFC2190: Fix bitmasks for several fields in mode A
Fixes some errors that the packet diagram helped make obvious.
Closes #17025.
2020-11-18 11:59:52 +00:00
Anders Broman ff3f9d3e4a tvb_get_bcd_string: 0xf can both be filler and stop digit. 2020-11-18 10:54:57 +01:00
Huang Qiangxiong 7906a2f6a8 Protobuf: rewrite parser of *.proto file from Bison to Lemon
In order to avoid Bison's compatibility problem (like
https://code.wireshark.org/review/#/c/33771/),
the *.proto file parser is rewritten with lemon. (rename
protobuf_lang.y.in to protobuf_lang_parser.lemon)
Also improved the mechanism of recording line number of
message, field, and enum names.
2020-11-18 08:57:01 +00:00
Masaru Tsuchiyama 69e6a16ba4 capture option dialog: fix unintentional dialog size by merge request 422 2020-11-18 05:53:53 +00:00
Jason Cohen 8b520a437e f5ethtrailer: Reserved field should have been ENC_HEX 2020-11-17 19:40:23 +00:00
Uli Heilmeier b822a62729 Addr Resolv: Prefer profile specific file if exists
Check if profile specific file exists for ethers, ipxnets and enterprises.tsv
before falling back to personal configuration file.

Fixes: wireshark/wireshark#16878
2020-11-17 18:17:48 +00:00
Pau Espin 1b254c2815 rlcmac: Append RRBP mark to COL_INFO on DL CTRL blocks
Same thing is already done for GPRS DL data blocks and allows easily
finding with a quick glance where the MS is polled.
2020-11-17 14:33:42 +01:00
Pau Espin 66005aef49 rlcmac: Append BSN2 to COL_INFO only on blocks containing it
Header Type 2 and 3 don't contain a BSN2 field, so adding it to the
COL_INFO only adds confusion.
2020-11-17 14:19:49 +01:00
Pascal Quantin 76c8e4c921 NAS 5GS: fix dissection of common information elements 2020-11-17 13:32:17 +01:00
Alex Nik 5380aaad62 RTSP packet counter window is described 2020-11-17 09:24:53 +00:00
Alex Nik 3396a096e8 SIP Statistics window is described
minor correction
2020-11-17 09:00:29 +00:00
Jason Cohen bad17e79e1 f5ethtrailer: Replace ingressslot and ingressport with reserved 2020-11-17 08:39:23 +00:00
Gerald Combs f37951a035 CI: Clean up the CentOS 8 build. 2020-11-16 18:36:21 -08:00
Gerald Combs 536ed6335f CI: Switch to our CentOS, Debian, and openSUSE containers. 2020-11-17 01:44:54 +00:00
Gerald Combs 99bad1d667 CI: Switch the Fedora image to wireshark-fedora-dev. 2020-11-17 00:19:28 +00:00
Gerald Combs 46af0bc744 CI: Ubuntu container updates.
Fixup the Ubuntu container URL, and don't install packages added to the
container in
https://gitlab.com/wireshark/wireshark-containers/-/tree/91819f0/dev/ubuntu.
2020-11-16 14:53:02 -08:00
Anders Broman e7898384b3 NAS 5GS: Add more IEs to messages. 2020-11-16 17:22:18 +00:00
Ana Pantar 65f005ea61 EBHSCR: Fix EBHSCR Eth header bits
EBHSCR dissector is parsing wrong bytes in Eth Major number specific header,
add Can Error Logging Counter.
2020-11-16 14:58:11 +00:00
Joakim Karlsson 3d25ed8ebf DHCPv6: add Option 15 User Class
Change-Id: I29ed10a1fd1eca8e113a570c6dd1225d73d7da1d
2020-11-16 13:59:29 +00:00
Dario Lombardo 29f2177222 rtps: don't free wmem addresses with g_free.
The dissector puts wmem_allocated memory into pinfo->private_table.
This table gets created with free functions (g_free) that collide
with wmem allocations. No need to have free functions.
2020-11-16 13:35:51 +00:00
Martin Mathieson e1b3fb0262 tools/check_typed_item_calls.py: check consecutive mask 2020-11-16 10:12:51 +00:00
Gerald Combs 01d5e8ee51 Tools: Update the usb.ids URL in make-usb.py.
The canonical location for the usb.ids file is
http://www.linux-usb.org/usb.ids. Unfortunately that site isn't
accessible over HTTPS so we were using https://usb-ids.gowdy.us/usb.ids
instead. *That* site is down, so switch to the Linux USB project's
SourceForge repository URL, which appears to house the assets for
www.linux-usb.org, including the usb.ids file.
2020-11-15 22:21:14 +00:00
Gerald Combs 39050a72de [Automatic update for 2020-11-15]
Update manuf, services enterprise numbers, translations, and other items.
2020-11-15 19:00:02 +00:00
Alexis La Goutte 7c0d9c1426 capwap: fix item length
reported by check_typed_proto_items.py
packet-capwap.c:1810 proto_tree_add_item called for hf_capwap_fortinet_mesh_eth_bridge_enable  -  item type is FT_UINT32 but call has len  1
packet-capwap.c:3015 proto_tree_add_item called for hf_capwap_control_header_msg_type_enterprise_nbr  -  item type is FT_UINT32 but call has len  3
2020-11-15 10:02:44 +00:00
Alexis La Goutte 32f89a492b dns: fix item length
reported by check_typed_proto_items.py
packet-dns.c:1688 proto_tree_add_item called for hf_dns_rr_len  -  item type is FT_UINT32 but call has len  2
packet-dns.c:1719 proto_tree_add_item called for hf_dns_rr_len  -  item type is FT_UINT32 but call has len  2
packet-dns.c:2493 proto_tree_add_item called for hf_dns_px_preference  -  item type is FT_UINT8 but call has len  2
2020-11-15 10:02:44 +00:00
Alexis La Goutte cc8ac80b54 couchbase: fix item length
reported by check_typed_proto_items.py
packet-couchbase.c:1403 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1405 proto_tree_add_item called for hf_extras_nru  -  item type is FT_UINT16 but call has len  1
packet-couchbase.c:1426 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1453 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1471 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1522 proto_tree_add_item called for hf_extras_nru  -  item type is FT_UINT16 but call has len  1
2020-11-15 10:02:44 +00:00
Alexis La Goutte 7530c337b5 cdp: fix item length
reported by check_typed_proto_items.py
packet-cdp.c:298 proto_tree_add_item called for hf_cdp_ttl  -  item type is FT_UINT16 but call has len  1
packet-cdp.c:1225 proto_tree_add_item called for hf_cdp_nrgyz_tlvtype  -  item type is FT_UINT16 but call has len  4
2020-11-15 10:02:44 +00:00
Alexis La Goutte bf4622c05a bluecom: fix item length
reported by check_typed_proto_items.py
packet-bluecom.c:435 proto_tree_add_item called for hf_bcp_hdr_cmd  -  item type is FT_UINT32 but call has len  1
packet-bluecom.c:441 proto_tree_add_item called for hf_bcp_hdr_len  -  item type is FT_UINT8 but call has len  2
2020-11-15 10:02:44 +00:00
Alexis La Goutte 692ab543e6 BGP: fix item length
reported by check_typed_proto_items.py
packet-bgp.c:8440 proto_tree_add_item called for hf_bgp_update_encaps_tunnel_subtlv_lb_block_length  -  item type is FT_UINT16 but call has len  4
packet-bgp.c:9152 proto_tree_add_item called for hf_bgp_route_refresh_orf_entry_sequence  -  item type is FT_UINT8 but call has len  4
2020-11-15 10:02:43 +00:00
Alexis La Goutte 31666c5214 awdl: fix item length
reported by check_typed_proto_items.py
packet-awdl.c:889 proto_tree_add_item called for hf_awdl_electionparams_private_phc  -  item type is FT_UINT32 but call has len  2
2020-11-15 10:02:43 +00:00
Alexis La Goutte c7bd8baea2 AIM: Fix item length
reported by check_typed_proto_items.py
epan/dissectors/packet-aim.c:2380 proto_tree_add_item called for hf_generic_idle_time  -  item type is FT_UINT32 but call has len  2
epan/dissectors/packet-aim.c:3222 proto_tree_add_item called for hf_aim_messaging_unknown  -  item type is FT_UINT16 but call has len  1
2020-11-15 10:02:43 +00:00
Alexis La Goutte febf7aa643 IAP(Aruba): fix item length
reported by check_typed_proto_items.py
epan/dissectors/packet-aruba-iap.c:113 proto_tree_add_item called for hf_iap_unknown_uint  -  item type is FT_UINT32 but call has len  1
2020-11-15 10:02:43 +00:00
Guy Harris e3047d9b38 Pass an address-family-appropriate socket length to connect().
Some UN*Xes (4.4-lite-derived, such as the obscure, little-known macOS,
FreeBSD, NetBSD, OpenBSD, and DragonFly BSD) have a length field in the
socket address structure.

That was originally done for OSI address support; unlike most transport
addresses, such as IPv4 (and IPv6) addresses, where the size of the
address is fixed, the size of an OSI transport layer address is *not*
fixed, so it cannot be inferred from the address type.

With the dropping of OSI support, that field is no longer necessary in
userland.  System calls that take a socket address argument also take an
address length argument; in newer (all?) versions of the {macOS,
FreeBSD, NetBSD, OpenBSD, DragonFly BSD} kernel, the system call code
sets the length field in the kernel's copy of the address to the address
length field value.

However, that means that you have to pass in the appropriate length; if
you have a sockaddr_storage that might contain an IPv4 address or an
IPv6 address, connect() (and bind()) calls should use the IPv4 address
size for IPv4 addresses and the IPv6 address size for IPv6 addresses,
otherwise, at least on macOS, the call fails.

In cap_open_socket(), report socket() and connect() errors separately,
to make it easier to determine where TCP@ captures fail, if they do
fail.  (That's how I got here in the first place.)
2020-11-15 07:33:50 +00:00
John Thacker 5df3f5d05d Encodings: Fix missing pointer increment in 3GPP TS 28.038 unpacked
The pointer isn't incremented in get_ts_23_038_7bits_string_unpacked
so it just decodes the first octet length times.
2020-11-14 23:39:18 -05:00
Martin Mathieson 646bfde7fa Fix some filter names.
Detected by 'tools/check_typed_item_calls.py --consecutive'
2020-11-14 21:22:42 +00:00
Developer Alexander a9e414ce54 Tuning of IO Graph intervals
Improves the resolution of interval steps that can be selected in IO Graph.
Selectable interval steps follow a scheme of 1 -> 2 -> 5 -> 10.
Having a broad choice of different intervals is important for visualizing.
2020-11-14 19:39:24 +00:00
Pascal Quantin 30ca4b72ec NAS EPS: upgrade dissector to v16.6.0 2020-11-14 19:27:05 +01:00
Anders Broman 62730dc4fe NAS-5GS: Start upgrading to release 17.0 2020-11-14 16:38:58 +00:00
Pascal Quantin 8c29bfe8b2 NAS EPS: fix inverted description of 2 N1 UE network capability IE fields 2020-11-14 16:02:16 +01:00
Guy Harris c2bd3bc487 xml: fix list of default media types for XML.
One entry in the list of strings didn't have the comma at the end, so
the entry after it was concatenated with it, forming a bogus entry and
causing neither "application/vnd.3gpp.mcptt-info+xml" nor
"application/vnd.3gpp.mid-call+xml" to be recognized by media type as
XML.

Should resolve Coverity CID 1355680.
2020-11-13 19:18:23 -08:00
Martin Mathieson 08d7e14cdd Fix a few more item lengths. 2020-11-14 00:15:35 +00:00
Gerald Combs 3a7966c716 Qt+epan: Print better-looking values in the packet diagram.
Pull the value-formatting code in proto_custom_set into
proto_item_fill_display_label. Use that in FieldInformation::toString
instead of fvalue_to_string_repr. Fixes #16911.
2020-11-13 19:41:51 +00:00
Pascal Quantin 440d8ceff9 NAS-EPS: remove an extra spare bit
It has been replaced by the 15 bearers capability during R15 development
2020-11-13 19:10:20 +01:00
Pascal Quantin e35752c252 3GPP NAS: upgrade dissector to v16.6.0 2020-11-13 15:40:19 +01:00
Pascal Quantin ea311f2e21 MBIM: fix mbim.control.ms_app_info.app_name display 2020-11-13 14:33:19 +01:00
Anders Broman 6228e18648 xml: Add default media type application/vnd.3gpp.mcptt-info+xml 2020-11-13 09:25:54 +00:00