feat: final working demo Dockerfiles

This commit is contained in:
2024-11-21 11:49:21 -05:00
parent a1dcee53a1
commit dbad0e7b28
20 changed files with 232 additions and 40 deletions

View File

@ -94,7 +94,7 @@ def packet_callback(packet, rules_functions, tcp_packets, db):
#print(packet)
if IP in packet and TCP in packet:
tcp_packets.add_packet(packet[IP].src, packet[TCP].sport, packet[IP].dst, packet[TCP].dport, packet[TCP].flags, time.time())
print(tcp_packets[packet[IP].src])
#print(tcp_packets[packet[IP].src])
check_frame_w_rules(packet, rules_functions['TCP'], tcp_packets, db)
tcp_packets.clean_old_packets()