wireshark/epan
John Thacker 70ebded081 GTP, GTPv2: Use ENC_APN_STR for FQDN.
Both specifications say: "The FQDN field encoding shall be identical
to the encoding of a FQDN within a DNS message of section 3.1 of IETF
RFC 1035 [31] but excluding the trailing zero byte."

Since it's only one name, that probably means that compression is
impossible, and indeed the dissectors already check and assume that
if the first byte is in the letter range, that it's probably incorrectly
directly encoded as a dotted string instead of DNS-style.

Since compression isn't supported, use ENC_APN_STR to avoid generating
bogus UTF-8 in packets with errors.

Fix #18531
2022-10-24 01:24:57 +00:00
..
crypt dot11decrypt: explicitly cast *pmk_len and msk_len 2022-06-03 23:13:34 +00:00
dfilter dfilter: Amend a numeric pattern in the scanner 2022-10-08 09:51:49 +00:00
dissectors GTP, GTPv2: Use ENC_APN_STR for FQDN. 2022-10-24 01:24:57 +00:00
ftypes ftypes: Cleanup code to parse integers 2022-10-10 17:24:52 +00:00
wslua wslua: Add catch-all enum tables 2022-10-07 10:33:50 +01:00
.editorconfig epan: Normalize conversation code indentation. 2022-05-09 10:50:17 -07:00
CMakeLists.txt epan/proto: Replace format text() 2022-10-20 20:05:15 +01:00
addr_and_mask.c
addr_and_mask.h epan/addr_and_mask.h: Document functions 2021-12-13 12:42:04 +00:00
addr_resolv.c epan: Update our name resolution preference names. 2022-08-04 06:00:34 +00:00
addr_resolv.h Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
address.h epan: Use host byte order with AT_NUMERIC 2022-06-23 16:58:07 +01:00
address_types.c epan: Prevent buffer overflows in some built-in addr_to_str types 2022-07-05 21:56:54 +00:00
address_types.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
afn.c
afn.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
aftypes.c
aftypes.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
app_mem_usage.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
app_mem_usage.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
arcnet_pids.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
arptypes.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
asn1.c
asn1.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ax25_pids.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
bridged_pids.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
capture_dissectors.c
capture_dissectors.h
charsets.c charsets: Don't add illegal Unicode codepoints for UTF-16, UTF-32 2022-10-19 07:53:02 -04:00
charsets.h charsets: Don't add illegal Unicode codepoints for UTF-16, UTF-32 2022-10-19 07:53:02 -04:00
chdlctypes.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
cisco_pid.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
color_filters.c Fix "generated by" comments in configuration files. 2022-04-29 18:00:21 +00:00
color_filters.h Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
column-info.h epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
column-utils.c column-utils: Add missing check for frame_data::has_ts 2022-03-04 12:03:36 +00:00
column-utils.h epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
column.c epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
column.h epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
conv_id.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
conversation.c conversation: bring back conversation_pt_to_endpoint_type(). 2022-09-02 00:07:53 -07:00
conversation.h LTP: Enhance with generated items, sequence analysis, and statistics 2022-10-13 09:30:55 +00:00
conversation_debug.h epan: Normalize conversation code indentation. 2022-05-09 10:50:17 -07:00
conversation_filter.c epan: Add the ability to add conversation filter protocols. 2022-04-19 22:25:32 +00:00
conversation_filter.h Fix a documentation warning. 2022-04-26 19:12:11 +00:00
conversation_table.c Rename a bunch of things with "conversation". 2022-08-25 20:02:20 -07:00
conversation_table.h Rename a bunch of things with "conversation". 2022-08-25 20:02:20 -07:00
crc6-tvb.c
crc6-tvb.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc8-tvb.c
crc8-tvb.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
crc10-tvb.c
crc10-tvb.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc16-tvb.c
crc16-tvb.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc32-tvb.c
crc32-tvb.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dccpservicecodes.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
decode_as.c Clarify dissector description, protocol short name, and protocol ong name. 2022-09-13 00:47:24 -07:00
decode_as.h
diam_dict.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
diam_dict.l epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
disabled_protos.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
disabled_protos.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dtd.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dtd_grammar.lemon
dtd_parse.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dtd_parse.l
dtd_preparse.l epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
dvb_chartbl.c
dvb_chartbl.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
eap.h EAP: add PEAP decoder 2022-04-30 13:30:20 +00:00
eapol_keydes_types.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
epan.c epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
epan.h epan: Add a post_init() plugin routine 2022-06-02 14:11:17 +00:00
epan_dissect.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
etypes.h MeshConnex (MCX): MCX packet decode logic 2021-12-02 17:05:21 +05:30
ex-opt.c
ex-opt.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
except.c except: update some coments. 2022-01-11 21:05:35 -08:00
except.h epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
exceptions.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
exntest.c
expert.c expert UAT: display field name on load error 2022-10-20 19:02:34 +00:00
expert.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
export_object.c
export_object.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
exported_pdu.c Dissector names are not protocol names. 2022-09-10 22:37:11 -07:00
exported_pdu.h Dissector names are not protocol names. 2022-09-10 22:37:11 -07:00
filter_expressions.c
filter_expressions.h
follow.c follow: Have followers register their stream count function 2022-09-14 00:03:07 +00:00
follow.h follow: Have followers register their stream count function 2022-09-14 00:03:07 +00:00
frame_data.c Revert "epan: Allow nested dependent packets" 2022-03-28 12:40:21 +00:00
frame_data.h Revert "epan: Allow nested dependent packets" 2022-03-28 12:40:21 +00:00
frame_data_sequence.c Revert "epan: Allow nested dependent packets" 2022-03-28 12:40:21 +00:00
frame_data_sequence.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
funnel.c
funnel.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
golay.c
golay.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
guid-utils.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
guid-utils.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
iana_charsets.c
iana_charsets.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
iax2_codec_type.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
in_cksum.c
in_cksum.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
introspection-enums.c [Automatic update for 2022-10-23] 2022-10-23 16:46:15 +00:00
introspection.c wiretap: Add enum generation 2022-10-07 10:28:47 +01:00
introspection.h wiretap: Add enum generation 2022-10-07 10:28:47 +01:00
ip_opts.h
ipproto.c
ipproto.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ipv4.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ipv6.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
lapd_sapi.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
llcsaps.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
maxmind_db.c win32-utils: Explicitly list inherited handles 2022-08-16 20:53:22 +02:00
maxmind_db.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
media_params.c
media_params.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
next_tvb.c
next_tvb.h Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
nlpid.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
oids.c Move wmem string utility functions to wsutil 2021-12-19 10:47:50 +00:00
oids.h Fix more repeated words throughout 2021-12-31 22:50:40 +00:00
oids_test.c
osi-utils.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
osi-utils.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
oui.h Add Wi-SUN OUI 2022-09-30 18:37:13 +00:00
packet.c COSE: Cleanup custom dissector keys with new API 2022-10-07 06:36:21 +00:00
packet.h COSE: Cleanup custom dissector keys with new API 2022-10-07 06:36:21 +00:00
packet_info.h conversation: speak of the "conversation key" as just address/port endpoints. 2022-08-29 19:19:59 -07:00
params.h Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
pci-ids.c [Automatic update for 2022-10-23] 2022-10-23 16:46:15 +00:00
pci-ids.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
plugin_if.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
plugin_if.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ppptypes.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
prefs-int.h Prefs/Extcap: Added support for password which is never stored on the disk 2021-12-30 16:03:15 +00:00
prefs.c wslog: rename console open preference enum 2022-10-11 18:11:35 +01:00
prefs.h Windows: Store "gui.console_open" in the Windows registry 2022-10-11 14:25:04 +01:00
print.c Move print_hex_data_buffer() to wsutil 2022-10-08 12:39:04 +01:00
print.h Move print_hex_data_buffer() to wsutil 2022-10-08 12:39:04 +01:00
print.ps
print_stream.c
print_stream.h Move print_hex_data_buffer() to wsutil 2022-10-08 12:39:04 +01:00
proto.c epan/proto: Replace format text() 2022-10-20 20:05:15 +01:00
proto.h epan: centralize SDNV processing along other similar varint types 2022-10-19 15:27:42 +00:00
proto_data.c epan: Add p_set_proto_data. 2022-01-03 22:19:14 +00:00
proto_data.h epan: Add p_set_proto_data. 2022-01-03 22:19:14 +00:00
protobuf-helper.c
protobuf-helper.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
protobuf_lang_parser.lemon epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
protobuf_lang_scanner.l
protobuf_lang_tree.c Fix stdio.h conversions to use the scanf macros 2021-12-19 23:49:55 +00:00
protobuf_lang_tree.h epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
ps.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
ptvcursor.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
radius_dict.l epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
range.c epan: Constify a few range functions 2022-08-06 08:26:40 -04:00
range.h epan: Constify a few range functions 2022-08-06 08:26:40 -04:00
reassemble.c epan: Remove fragment_get_reassembled() 2022-06-14 00:59:34 +00:00
reassemble.h epan: Remove fragment_get_reassembled() 2022-06-14 00:59:34 +00:00
reassemble_test.c Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
reedsolomon.c
reedsolomon.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
register-int.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
register.c register.c: Avoid potential race condition (Coverity 1477510) 2022-06-29 11:21:25 -04:00
register.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
req_resp_hdrs.c HTTP: Speed up chunked Transfer-Encoding on TCP 2022-08-10 05:31:36 +00:00
req_resp_hdrs.h HTTP: Speed up chunked Transfer-Encoding on TCP 2022-08-10 05:31:36 +00:00
rtd_table.c
rtd_table.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
rtp_pt.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
sctpppids.c GDT: add dissector for SCTP PPID 49 protocol 2022-02-07 20:20:43 +00:00
sctpppids.h GDT: add dissector for SCTP PPID 49 protocol 2022-02-07 20:20:43 +00:00
secrets.c Windows: Upgrade libgcrypt to 1.10.1. 2022-08-19 18:30:16 -07:00
secrets.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
sequence_analysis.c epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
sequence_analysis.h epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
show_exception.c exceptions: Add an expert warning for FragmentBoundsError 2022-04-06 07:17:14 -04:00
show_exception.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
slow_protocol_subtypes.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
sminmpec.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
srt_table.c
srt_table.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
stat_groups.h wslua: Use introspection API to generate constants 2022-10-07 10:28:47 +01:00
stat_tap_ui.c
stat_tap_ui.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
stats_tree.c tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
stats_tree.h tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
stats_tree_priv.h tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
stream.c
stream.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
strutil.c epan: Fix the end offsets for hex string items 2022-10-21 01:11:53 +00:00
strutil.h epan/proto: Replace format text() 2022-10-20 20:05:15 +01:00
t35.c
t35.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
tap-voip.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
tap.c tap: Mark filtered packets instead of dropping them 2022-06-10 09:17:52 +02:00
tap.h tap: Mark filtered packets instead of dropping them 2022-06-10 09:17:52 +02:00
test_epan.c epan/proto: Replace format text() 2022-10-20 20:05:15 +01:00
tfs.c TFS: Add a note how to fully handle additions to this file 2022-09-29 11:05:22 +00:00
tfs.h NAS EPS: upgrade dissector to v17.7.0 2022-09-23 19:41:07 +02:00
timestamp.c
timestamp.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
timestats.c
timestats.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
to_str.c dfilter: Add support for entering time in UTC 2021-12-30 17:53:09 +00:00
to_str.h dfilter: Add support for entering time in UTC 2021-12-30 17:53:09 +00:00
tvbparse.c
tvbparse.h Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
tvbtest.c tvbtest: Fix printf() format 2022-10-20 18:13:14 +01:00
tvbuff-int.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
tvbuff.c epan: Fix the end offsets for hex string items 2022-10-21 01:11:53 +00:00
tvbuff.h epan: centralize SDNV processing along other similar varint types 2022-10-19 15:27:42 +00:00
tvbuff_base64.c
tvbuff_brotli.c
tvbuff_composite.c TVB composite: allow to append/prepend a NULL tvb 2022-02-25 08:55:54 +00:00
tvbuff_lz77.c TVB: Don't uncompress zero sized buffers 2022-01-19 05:19:45 +00:00
tvbuff_lz77huff.c TVB: Don't uncompress zero sized buffers 2022-01-19 05:19:45 +00:00
tvbuff_lznt1.c TVB: Don't uncompress zero sized buffers 2022-01-19 05:19:45 +00:00
tvbuff_rdp.c Fix -Wmissing-prototypes found by Clang 2022-07-15 13:45:52 +00:00
tvbuff_rdp.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
tvbuff_real.c
tvbuff_subset.c epan: Handle subset tvbuffs with non-zero offets and length -1 2022-08-21 15:21:24 +00:00
tvbuff_zlib.c
uat-int.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
uat.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
uat.h Update uat.h 2022-09-07 13:47:09 +00:00
uat_load.l UAT: Fix Wireshark crash on missing UAT columns 2022-01-03 08:45:17 +00:00
unit_strings.c
unit_strings.h
value_string.c Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
value_string.h Extended range_string to 64 bit 2022-01-05 09:14:46 +00:00
wmem_scopes.c
wmem_scopes.h epan: Document the epan, file, and packet scopes. 2022-05-18 21:08:05 +00:00
ws_printf.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
wscbor.c BPv7: Enhance block data and payload data handling 2022-10-03 20:02:43 +00:00
wscbor.h BPv7: Enhance block data and payload data handling 2022-10-03 20:02:43 +00:00
wscbor_test.c Squelch some narrowing warnings. 2022-10-20 17:11:56 +00:00
x264_prt_id.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
xdlc.c epan: Convert to use stdio.h from GLib 2021-12-19 19:29:53 +00:00
xdlc.h