Skip to content

Commit

Permalink
Update main.zeek
Browse files Browse the repository at this point in the history
  • Loading branch information
piercema authored Oct 14, 2024
1 parent 8ac94bf commit 52c3734
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zeek/ja4ssh/main.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ event ConnThreshold::packets_threshold_crossed(c: connection, threshold: count,
c$fp$ja4ssh$resp_pack_len += rp$tcp$dl;
}
}
# TODO: add config for packet count
if(|c$fp$ja4ssh$orig_pack_len| + |c$fp$ja4ssh$resp_pack_len| >= ja4_ssh_packet_count) {
do_ja4ssh(c);
}
Expand All @@ -149,4 +148,4 @@ event connection_state_remove(c: connection) {
if(c?$fp && c$fp?$ja4ssh && c$fp$ja4ssh$is_ssh) {
do_ja4ssh(c);
}
}
}

0 comments on commit 52c3734

Please sign in to comment.