Skip to content

Commit 0b8a1fe

Browse files
committed
increase post size to 2000 bytes
1 parent 6ec51cd commit 0b8a1fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/dovehawk.bro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@ event signature_match(state: signature_state, msg: string, data: string)
445445
hit += "|sigid:" + sig_id + "|msg:" + msg;
446446

447447
# This should always be true but check just in case
448-
if (|hit| < 800) {
448+
if (|hit| < 1800) {
449449
# Trim the matched data down to fit the sql hit structure limit
450-
if ( (|data| + |hit|) > 900 )
451-
data = fmt("%s...", sub_bytes(data, 0, 900-|hit|));
450+
if ( (|data| + |hit|) > 2000 )
451+
data = fmt("%s...", sub_bytes(data, 0, 2000-|hit|));
452452

453453
hit += "|data:" + data;
454454
}

0 commit comments

Comments
 (0)