Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix compilation with clang-13 or if some debug macros are enabled (#1326) | Ivan Nardi | 2021-10-06 |
| | |||
* | Remove `struct ndpi_packet_struct` from `struct ndpi_flow_struct` (#1319) | Ivan Nardi | 2021-10-05 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are no real reasons to embed `struct ndpi_packet_struct` (i.e. "packet") in `struct ndpi_flow_struct` (i.e. "flow"). In other words, we can avoid saving dissection information of "current packet" into the "flow" state, i.e. in the flow management table. The nDPI detection module processes only one packet at the time, so it is safe to save packet dissection information in `struct ndpi_detection_module_struct`, reusing always the same "packet" instance and saving a huge amount of memory. Bottom line: we need only one copy of "packet" (for detection module), not one for each "flow". It is not clear how/why "packet" ended up in "flow" in the first place. It has been there since the beginning of the GIT history, but in the original OpenDPI code `struct ipoque_packet_struct` was embedded in `struct ipoque_detection_module_struct`, i.e. there was the same exact situation this commit wants to achieve. Most of the changes in this PR are some boilerplate to update something like "flow->packet" into something like "module->packet" throughout the code. Some attention has been paid to update `ndpi_init_packet()` since we need to reset some "packet" fields before starting to process another packet. There has been one important change, though, in ndpi_detection_giveup(). Nothing changed for the applications/users, but this function can't access "packet" anymore. The reason is that this function can be called "asynchronously" with respect to the data processing, i.e in context where there is no valid notion of "current packet"; for example ndpiReader calls it after having processed all the traffic, iterating the entire session table. Mining LRU stuff seems a bit odd (even before this patch): probably we need to rethink it, as a follow-up. | ||
* | STUN: fix extraction of Realm attribute | Nardi Ivan | 2021-09-20 |
| | | | | While at it, improve detection of Facebook Messenger | ||
* | Cleaned up tls/quic datatypes | Luca Deri | 2021-01-21 |
| | |||
* | Rewored UPnP protocol that in essence was WSD hence it has been renamed | Luca | 2021-01-20 |
| | | | | Cleaned up TLS code for DTLS detection by defining a new DTLS protocol | ||
* | Improves STUN dissection removing an invalid termination condition that ↵ | Luca Deri | 2021-01-13 |
| | | | | prevented Skype calls to be properly identified | ||
* | (C) Update | Luca Deri | 2021-01-07 |
| | |||
* | STUN: avoid false positives (#1110) | Ivan Nardi | 2021-01-07 |
| | | | STUN traffic doesn't use multicast addresses | ||
* | Various optimizations to reduce not-necessary calls | Luca Deri | 2020-09-24 |
| | | | | | Optimized various UDP dissectors Removed dead protocols such as pando and pplive | ||
* | Minor change for alignment issue | Luca Deri | 2020-09-21 |
| | |||
* | Added (optional) notifier for LRU add | Luca Deri | 2020-08-31 |
| | |||
* | Fixed valse positive whatsapp detection | Luca Deri | 2020-05-20 |
| | | | | Cleaned Microsoft IP addresses list | ||
* | Updated (C) | Luca Deri | 2020-01-05 |
| | |||
* | Fix read buffer overflow in stun | Philippe Antoine | 2019-12-18 |
| | |||
* | Code cleanup | Luca Deri | 2019-12-09 |
| | |||
* | Fixed some false positivies with skype and stun-based protocols | Luca Deri | 2019-10-27 |
| | |||
* | nDPI TLS improvements using the server certificate | Luca Deri | 2019-10-26 |
| | |||
* | Fixed false positive with STUN detection | Luca Deri | 2019-09-26 |
| | |||
* | Added Zoom protocol support removing invalid STUN/Skype detections | Luca Deri | 2019-09-26 |
| | |||
* | Changed the packets handling with STUN msg_type > 0x000C and other fixes. | marco-testa | 2019-09-24 |
| | | | Eliminated double call to the ndpi_int_stun_add_connection function. | ||
* | Adedd DTLS check in STUN | Luca Deri | 2019-09-21 |
| | | | | Uodated (C) | ||
* | STUN protocol dissector code cleanup | Luca | 2019-09-20 |
| | |||
* | Unified WhatsApp Video and Audio under WhatsAppCall | Luca | 2019-09-20 |
| | |||
* | Improved STUN-based protocol heuristic both in terms of accuracy and packets ↵ | Luca | 2019-09-20 |
| | | | | necessary for the detection | ||
* | Improved STUN caching | Luca Deri | 2019-09-18 |
| | |||
* | New instagram testing set | Luca Deri | 2019-09-18 |
| | |||
* | Various STUN improvements | Luca Deri | 2019-09-17 |
| | |||
* | Added STUN check to avoid false positives | Luca Deri | 2019-09-11 |
| | | | | | Added fingerprint comments in SSH/TLS Added netflow test pcap | ||
* | Skype STUN enhancements | Luca | 2019-09-06 |
| | |||
* | Enhanced Signal detection | Luca | 2019-09-05 |
| | |||
* | Enhanced STUN cache | Luca | 2019-09-05 |
| | |||
* | Implemented STUN cache to enhance matching of STUN-based protocols | Luca | 2019-08-12 |
| | |||
* | Improved google duo detection | Luca | 2019-08-12 |
| | |||
* | Various TLS/STUN improvememnts | Luca | 2019-08-08 |
| | |||
* | Reworked SSL/TLS field naming | Luca | 2019-08-08 |
| | |||
* | Implemented DTLS support | Luca | 2019-08-08 |
| | | | | Renamed ssl to tls | ||
* | Better messenger traffic guess | Luca Deri | 2019-07-25 |
| | |||
* | Added -e option to ndpiReader for searchign human readeable strings lenght | Luca Deri | 2019-07-24 |
| | | | | Default human readeable strings lenght is not 5 chars (used to be 8) | ||
* | Updated results with new dissection | Luca Deri | 2019-07-24 |
| | |||
* | Merged Google Hangout and Duo as they are pretty similar from the network ↵ | Luca Deri | 2019-07-22 |
| | | | | standpoint and from the features they implement | ||
* | Improved WhatsApp detection | Luca Deri | 2019-07-22 |
| | |||
* | STUN, Hangout, Duo dissection improvements | Luca Deri | 2019-07-21 |
| | |||
* | Added support for Google Duo | Luca Deri | 2019-07-19 |
| | |||
* | Improved Facebook messnger mobile detection | Luca Deri | 2019-07-18 |
| | |||
* | Added Line protocol dissection | Luca Deri | 2019-07-15 |
| | | | | Add fix for discarding STUN over TCP flows | ||
* | Solve remaining warnings | Stuart Reilly | 2019-07-12 |
| | |||
* | Improved whatsapp dissection | Luca Deri | 2019-07-11 |
| | |||
* | Removed debug message | Luca Deri | 2019-06-25 |
| | |||
* | WhatsApp improvements for video/audio detection | Luca Deri | 2019-06-25 |
| | |||
* | Further WhatsApp improvements | Luca Deri | 2019-06-21 |
| |