aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi_typestruct.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ndpi_typestruct.py')
-rw-r--r--python/ndpi_typestruct.py19
1 files changed, 5 insertions, 14 deletions
diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py
index 3909897ee..8b16f8af0 100644
--- a/python/ndpi_typestruct.py
+++ b/python/ndpi_typestruct.py
@@ -257,10 +257,6 @@ NDPIDetectionModuleStruct._fields_ = [
("protocols_ptree", c_void_p),
("irc_timeout", c_uint32),
("gnutella_timeout", c_uint32),
- ("battlefield_timeout", c_uint32),
- ("thunder_timeout", c_uint32),
- ("tvants_connection_timeout", c_uint32),
- ("orb_rstp_ts_timeout", c_uint32),
("zattoo_connection_timeout", c_uint32),
("jabber_stun_timeout", c_uint32),
("jabber_file_transfer_timeout", c_uint32),
@@ -309,10 +305,7 @@ class NDPIIdStruct(Structure):
('irc_ts', c_uint32),
('gnutella_ts', c_uint32),
('battlefield_ts', c_uint32),
- ('thunder_ts', c_uint32),
('rtsp_timer', c_uint32),
- ('oscar_last_safe_access_time', c_uint32),
- ('zattoo_ts', c_uint32),
('jabber_stun_or_ft_ts', c_uint32),
('directconnect_last_safe_access_time', c_uint32),
('detected_directconnect_port', c_uint16),
@@ -335,7 +328,6 @@ class NDPIFlowTcpStruct(Structure):
('pop_command_bitmask', c_uint16),
('wa_matched_so_far', c_uint8),
('irc_stage', c_uint8),
- ('irc_port', c_uint8),
('h323_valid_packets', c_uint8),
('gnutella_msg_id', c_uint8 * 3),
('irc_3a_counter', c_uint32, 3),
@@ -422,14 +414,13 @@ class L4(Union):
class Http(Structure):
_fields_ = [
("method", c_int),
- ("url", c_char_p),
- ("content_type", c_char_p),
- ("num_request_headers", c_uint8),
- ("num_response_headers", c_uint8),
("request_version", c_uint8),
("response_status_code", c_uint16),
- ("detected_os", c_char * 32),
- ("nat_ip", c_char * 24),
+ ("url", c_char_p),
+ ("content_type", c_char_p),
+ ("user_agent", c_char_p),
+ ("detected_os", c_char_p),
+ ("nat_ip", c_char_p),
]