mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-02 17:00:16 +00:00
Line dissection improvements
This commit is contained in:
parent
f570eccf81
commit
1777841ec1
1 changed files with 3 additions and 1 deletions
|
|
@ -99,7 +99,9 @@ static void ndpi_rtp_search(struct ndpi_detection_module_struct *ndpi_struct,
|
|||
/* 125.209.252.xxx */
|
||||
if(((ntohl(packet->iph->saddr) & 0xFFFFFF00 /* 255.255.255.0 */) == 0x7DD1FC00)
|
||||
|| ((ntohl(packet->iph->daddr) & 0xFFFFFF00 /* 255.255.255.0 */) == 0x7DD1FC00)) {
|
||||
if((flow->packet.payload[0] == 0x80) && (flow->packet.payload[1] == 0x78)) {
|
||||
if((flow->packet.payload[0] == 0x80)
|
||||
&& ((flow->packet.payload[1] == 0x78) || (flow->packet.payload[1] == 0xE8))
|
||||
) {
|
||||
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_LINE, NDPI_PROTOCOL_LINE);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue