Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
disable rule (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch authored Oct 24, 2022
1 parent 6ee29ee commit 4e23f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def validate(record) -> Tuple[bool, Union[str, None]]:
if record.resp_pkts > record.resp_ip_bytes:
return False, "resp packets > bytes"
# In TCP the orig_pkts >= to resp_pkts
if record.orig_pkts < record.resp_pkts:
return False, "TCP: ori packets < resp packets"
# if record.orig_pkts < record.resp_pkts:
# return False, "TCP: ori packets < resp packets"
# usually orig_ip_bytes are larger and equal to resp_ip_bytes
if record.orig_ip_bytes < record.resp_ip_bytes:
# unless either history ShADadFf and state SF
Expand Down

0 comments on commit 4e23f1b

Please sign in to comment.