diff options
| author | Kevin Zheng <kevinz5000@gmail.com> | 2025-04-29 11:40:31 -0700 |
|---|---|---|
| committer | Kevin Zheng <kevinz5000@gmail.com> | 2025-04-29 11:40:31 -0700 |
| commit | efc45b818f8f7e0b61978948842f1b2fd9ae2c1e (patch) | |
| tree | a292c109fff6a8692a58c8f975320a27e86f5977 /src/parser/parser.c | |
| parent | bcc0c2d12f675fd6933f06318fd2def696a8b8ca (diff) | |
| download | sshguard-master.tar.gz sshguard-master.zip | |
Increase MAX_LENHEADv2.5.1local/sshguardmaster
There are some really long lines that come from CLF logs in the wild
that would otherwise be ignored. Bump MAX_LEN to detect some of the
longer requests.
Diffstat (limited to 'src/parser/parser.c')
| -rw-r--r-- | src/parser/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser.c b/src/parser/parser.c index 8d078ab..ac69fef 100644 --- a/src/parser/parser.c +++ b/src/parser/parser.c @@ -13,7 +13,7 @@ #include "parser.h" #include "sandbox.h" -#define MAX_LEN 1000 +#define MAX_LEN 4096 unsigned int test_counter = 0; |
