TaranehKhalili
TaranehKhalili
Hi @kYroL01 I provide two pcap, one for web based telegram and one for its desktop application. [telegram desktop](https://expirebox.com/download/cfd4986694058af8221cb97f197698bb.html) [telegram web](https://expirebox.com/download/19281bb1bac8367c1961acf9d2772f8a.html)
thanx @kYroL01 but it doesn't work. still http_download is the protocol which is detected by ndpi.
I think telegram dissector cannot detect telegram flows between the application and server because of the protocol which telegram used for transferring data (MTproto). IMHO the telegram dissector code is...
Thanx I think the matter is when you detect a protocol based on ip address (for example 149.154.166.120 for telegram) you should not continue the detection process. because of this...
well I could solve the problem by this change in ndpi_detection_process_packet function. ` flow->guessed_protocol_id = (int16_t)ndpi_guess_protocol_id(ndpi_struct, protocol, sport, dport, &user_defined_proto); if(flow->packet.iph) { if((flow->guessed_host_protocol_id = ndpi_network_ptree_match(ndpi_struct, (struct in_addr *)&flow->packet.iph->saddr)) == NDPI_PROTOCOL_UNKNOWN)...
OK. thanx. I send a pull request. 1a6546850652acdd12570345a1ec71a13ad5405d
End of TCP flow is marked by the fin or rst flags in the tcp header.
@kYroL01 I thought the matter is tracing a flow. I add some codes to ndpi_process_packet function of in ndpi-netfilter to trace the flow to the end. I can share it...
@NatashaR4in I'll send a pull request for betolj/ndpi-netfilter as soon as possible. [https://github.com/betolj/ndpi-netfilter](url)
I am trying to solve a bug and then I send the pull request. I am trying to solve this bug asap.