diff --git a/src/l3_distributedattackdetector/service/l3_distributedattackdetector.py b/src/l3_distributedattackdetector/service/l3_distributedattackdetector.py index 14acdadec74b353faff56c2ecd51762e3d14aa67..bb2607ac0e41ce9386beed3b11b64e6685885a85 100644 --- a/src/l3_distributedattackdetector/service/l3_distributedattackdetector.py +++ b/src/l3_distributedattackdetector/service/l3_distributedattackdetector.py @@ -51,7 +51,7 @@ JSON_BLANK = { "port_o": "", # Client port "ip_d": "", # Server ip "port_d": "", # Server port - "flow_id": "", # Identifier:c_ip,c_port,s_ip,s_port,time_start + "flow_id": "", # Identifier: c_ip,c_port, s_ip,s_port, time_start "protocol": "", # Connection protocol "time_start": 0.0, # Start of connection "time_end": 0.0, # Time of last packet @@ -72,8 +72,8 @@ class l3_distributedattackdetector: self.cad_features = {} self.conn_id = () - self.connections_dict = {} # Dict for storing ALL data - self.new_connections = {} # Dict for storing NEW data + self.connections_dict = {} # Dictionary for storing all connections data + self.new_connections = {} # Dictionary for storing new connections data self.known_attack_ips = self.read_kwnown_attack_ips() @@ -150,7 +150,7 @@ class l3_distributedattackdetector: return tstat_file else: - LOGGER.info("No Tstat directory!") + LOGGER.info("No Tstat directory found. Waiting...") time.sleep(5) def process_line(self, line):