I have a PCAP file with a number of Google QUIC (GQUIC) packets. However, all of these packets arrived at UDP ports 56285 and 56046. Yet both wireshark and nDPI were able to properly parse these packets.
It is my understanding that only UDP packets arriving at port 80 or 443 can be considered to be QUIC/GQUIC packets.
My question is: how did wireshark and nDPI know that these UDP payloads were GQUIC packets?