Luca Deri
84f66b4d6b
Introduced custom protocols with IP and (optional) port support
...
Example
- Single IP address
ip:213.75.170.11@CustomProtocol
- IP address with CIDR
ip:213.75.170.11/32@CustomProtocol
- IP address with CIDR and port
ip:213.75.170.11/32:443@CustomProtocol
Please note that there are some restrictions on the port
usage. They have been listed in example/protos.txt
2020-05-06 12:51:44 +02:00
Luca Deri
7855e0318d
Various fixes to patricia tree handling
2020-05-06 11:13:57 +02:00
Luca Deri
48282369e2
False positive fixes
2020-05-06 01:34:55 +02:00
Luca Deri
427002d14f
Reworked protocol handling chnging it is u_int16_t
2020-05-06 00:31:40 +02:00
Luca Deri
4148c5e065
Removed now obsolete MSN protocol
...
Added nats.io protocol dissector
2020-05-03 18:20:21 +02:00
Luca Deri
c120cca662
SSH boundary check rework
2020-04-30 20:08:03 +02:00
Luca Deri
7344bf65bc
Minor cleanup
2020-04-30 19:58:07 +02:00
Philippe Antoine
a70fd6ed3b
Better fix for integer overflow in SSH
...
Credits to GHSL
2020-04-30 18:44:40 +02:00
Luca Deri
bd0fd6cf8d
Merge pull request #883 from leonn/websocket
...
💡 implement WebSocket protocol dissector
2020-04-27 23:28:23 +02:00
Alfredo Cardigliano
328016895f
Handle empty blocks
2020-04-27 13:34:54 +00:00
Leonn Paiva
780dc8d1e7
💡 implement websocket protocol dissector
2020-04-26 02:53:12 -03:00
Alfredo Cardigliano
4d746dabe9
Enable IEC 60870-5-104 dissector
2020-04-24 15:31:44 +00:00
Luca Deri
0b702c20d3
Warning fix
2020-04-22 18:52:36 +02:00
Luca Deri
473a5d1d0b
Merge pull request #881 from leonn/bug_protocol_was_guessed
...
Bug protocol was guessed
2020-04-22 18:49:55 +02:00
Leonn Paiva
6769168d89
🐛 use protocol_was_guessed in ndpi_detection_giveup
2020-04-22 03:48:12 -03:00
Leonn Paiva
4d5ca2c473
🆒 code ident & style
2020-04-22 03:40:55 -03:00
Nardi Ivan
b1a6c6b895
Fix some compilation warnings
2020-04-20 16:53:39 +02:00
Luca Deri
e603549967
Office365 renamed to Microsoft365 (by Microsoft)
2020-04-20 15:44:27 +02:00
Luca Deri
3bdec5ae5f
Updated node list ( fixes #766 )
2020-04-20 15:16:31 +02:00
Luca Deri
94eee66a7b
CiscoVPN dissection improvements
2020-04-17 16:56:55 +02:00
Luca Deri
711ba99eaa
Added detection of Microsoft Teams
2020-04-16 15:23:07 +02:00
Luca Deri
287015ffdc
Fixed invalid check
2020-04-15 22:42:09 +02:00
Philippe Antoine
4f370fe7c4
Adds netbios bound check
2020-04-15 16:40:00 +02:00
Philippe Antoine
9483c842b5
TLS initializes version_str
2020-04-15 16:40:00 +02:00
Philippe Antoine
c1f9f05d33
Adds tls check before reading memory
2020-04-15 16:22:16 +02:00
Philippe Antoine
cf47ba234a
Use ndpi_handle_ipv6_extension_headers in reader_util
2020-04-15 16:19:57 +02:00
Philippe Antoine
98f2d3a73c
Adds bound check for IRC
2020-04-15 15:56:58 +02:00
Philippe Antoine
369dc65c1a
Fix integer overflow in quic
2020-04-15 15:45:32 +02:00
Philippe Antoine
4ec3e6c064
Adds bound check in TLS
2020-04-15 15:42:54 +02:00
Philippe Antoine
81e97d7515
Fixes OOB reads in postgres
...
Reported by GHSL
2020-04-15 15:35:34 +02:00
Luca Deri
afdae85b30
Restored ndpi_get_api_version() prototype
2020-04-15 09:06:02 +02:00
Luca Deri
63c4eaae9b
Invalid function definition fix
2020-04-13 22:40:20 +02:00
Luca Deri
9cba06a080
Merge pull request #869 from disconnect3d/patch-2
...
Fix incorrect "<iq from=\"' parsing
2020-04-15 08:36:27 +02:00
Luca Deri
794f7fa124
Merge pull request #868 from disconnect3d/patch-1
...
Fix off by one when checking for "GET / HTTP" string
2020-04-15 08:35:59 +02:00
Luca Deri
d3b4b81d6f
Merge pull request #867 from IvanNardi/memory-leaks
...
Memory leaks
2020-04-15 08:35:28 +02:00
Disconnect3d
fa15e170b4
Fix incorrect "<iq from=\"' parsing
...
This PR fixes a wrong size arg passed to memcmp when checking for "<iq from=\"" and "<iq from \'" strings.
2020-04-13 16:35:03 +02:00
Disconnect3d
b75838b771
Fix off by one when checking for "GET / HTTP" string
2020-04-13 16:33:27 +02:00
Luca Deri
d665df64e2
Added ndpi_serialize_raw_record() API call
2020-04-10 21:39:23 +02:00
Nardi Ivan
a60854bae6
Fix some debug messages
2020-04-08 15:15:34 +02:00
Nardi Ivan
7b690d8b2d
kerberos: fix heap-overflow error
2020-04-08 15:15:34 +02:00
Nardi Ivan
0c1322a718
s7comm: fix heap-overflow error
2020-04-08 15:15:34 +02:00
Nardi Ivan
b40732d8a5
Fix an harmless memory leak
...
Leak introduced in 90e08b35 , while fixing #845
2020-04-08 15:15:34 +02:00
Luca Deri
db8497778d
Fixes #853 and adds a self check for duplicates
2020-04-07 19:17:37 +02:00
Luca Deri
81a2f54dd7
Merge pull request #865 from catenacyber/ghsl-2020-05x
...
Ghsl 2020 05x
2020-04-05 08:29:43 +02:00
Luca Deri
c2c01b618b
Fix for string serialization with initial empty string
2020-04-03 15:26:24 +02:00
Philippe Antoine
7ce478a58b
ssh: fixing unsigned overflow leading to heap overflow
...
cf GHSL-2020-051
2020-04-02 16:48:35 +02:00
Philippe Antoine
3bbb0cd329
ssh: adds systematic bounds checks in concat_hash_string
...
cf GHSL-2020-052
2020-04-02 16:35:10 +02:00
Nardi Ivan
498571354d
openvpn: fix heap-overflow error
2020-03-27 11:09:53 +01:00
Nardi Ivan
3924257f32
telnet: fix another heap-overflow error
2020-03-27 11:09:53 +01:00
Nardi Ivan
817aa54214
telnet: fix heap-overflow error
...
There is some boilerplate since I removed an if branch and I had to reindent
the code
2020-03-27 11:09:53 +01:00