A software C library desinged to extract data attributes from network packets, server logs, and from structured events in general, in odrder to make them available for analysis
Website: http://www.montimage.com
Contact: [email protected]
A software C library designed to extract data attributes from network packets, server logs, and from structured events in general, in order to make them available for analysis
Home Page: https://montimage.com
License: Apache License 2.0
A software C library desinged to extract data attributes from network packets, server logs, and from structured events in general, in odrder to make them available for analysis
Website: http://www.montimage.com
Contact: [email protected]
In the following pcap, MMT-DPI recognises RDP as MSSQL protocol
rdp.pcapng.zip
The 3 fields, sequence number (2 octets), n-pdu number (1 octet) and extension header (1 octet), are present if at least one of 3 bit fields, S, NP, E is present.
So the classification is incorrect:
int gtp_classify_next_proto(ipacket_t * ipacket, unsigned index) {
int offset = get_packet_offset_at_index(ipacket, index);
struct gtp_header_generic *gtp = (struct gtp_header_generic*)& ipacket->data[offset];
int gtp_offset = sizeof (struct gtp_header_generic);
if(gtp->sequence_number == 1){
gtp_offset += 4;
}
if(gtp->ndpu_number == 1){
gtp_offset += 2;
}
if(gtp->extension_header == 1){
gtp_offset += 2;
}
if (gtp->message_type == 0xff) {
classified_proto_t retval;
retval.proto_id = PROTO_IP;
retval.offset = gtp_offset;
retval.status = Classified;
return set_classified_proto(ipacket, index + 1, retval);
}
return 0;
}
In the following pcap, DPI classifies TPKT packets as MSSQL ones
tpkt.pcapng.zip
[COMPILE] plugins_engine.o
[ARCHIVE] libmmt_core.a
[LIBRARY] libmmt_core.so.1.7.2.0
[COMPILE] proto_int.o
In file included from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.c:8:
/home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.h:17:7: error: redefinition of ‘union byteswap_64_u’
17 | union byteswap_64_u {
| ^~~~~~~~~~~~~
In file included from /home/zujany/mmt-dpi/src/mmt_core/public_include/plugin_defs.h:14,
from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.h:11,
from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.c:8:
/home/zujany/mmt-dpi/src/mmt_core/public_include/data_defs.h:64:7: note: originally defined here
64 | union byteswap_64_u {
| ^~~~~~~~~~~~~
In file included from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.c:8:
/home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.h:30:24: error: redefinition of ‘ntohll’
30 | static inline uint64_t ntohll(uint64_t x){
| ^~~~~~
In file included from /home/zujany/mmt-dpi/src/mmt_core/public_include/plugin_defs.h:14,
from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.h:11,
from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.c:8:
/home/zujany/mmt-dpi/src/mmt_core/public_include/data_defs.h:77:24: note: previous definition of ‘ntohll’ was here
77 | static inline uint64_t ntohll(uint64_t x){
| ^~~~~~
In file included from /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.c:9:
/home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int_report.h:87:1: note: offset of packed bit-field ‘report_metadata_bits’ has changed in GCC 4.4
87 | int_report_v10_t;
| ^~~~~~~~~~~~~~~~
make: *** [/home/zujany/mmt-dpi/rules/common.mk:288: /home/zujany/mmt-dpi/src/mmt_tcpip/lib/protocols/proto_int.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.