Add Omron FINS protocol dissector (#2172)

* Add Omron FINS protocol dissector

* Add a kludge to avoid invalid FINS over UDP detection as SkypeTeams and RTP

* Update unit test results

* Update protocols.rst

* Remove dummy flows from fins.pcap
This commit is contained in:
Vladimir Gavrilov
2023-11-27 17:09:53 +01:00
committed by GitHub
parent 3763c702f0
commit 84427b0754
155 changed files with 327 additions and 152 deletions
+3
View File
@@ -64,6 +64,9 @@ static void ndpi_check_skype(struct ndpi_detection_module_struct *ndpi_struct, s
)
&& (packet->payload[0] != 0x30) /* Avoid invalid SNMP detection */
&& (packet->payload[0] != 0x00) /* Avoid invalid CAPWAP detection */
&& (packet->payload[0] != 0x80) /* Avoid invalid FINS detection */
&& (packet->payload[0] != 0xC0) /* Avoid invalid FINS detection */
&& (packet->payload[0] != 0xC1) /* Avoid invalid FINS detection */
&& (packet->payload[2] == 0x02))) {
if(is_port(sport, dport, 8801)) {