From 3a07d800da2516a41c5455659d22c34a6985efb9 Mon Sep 17 00:00:00 2001 From: serenitylc <1757921819@qq.com> Date: Wed, 20 Sep 2023 00:11:53 +0800 Subject: [PATCH] add min frame len of mssqldb --- src/app-layer-mssqldb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app-layer-mssqldb.c b/src/app-layer-mssqldb.c index bd89f4d2e340..8372a8c71ad5 100644 --- a/src/app-layer-mssqldb.c +++ b/src/app-layer-mssqldb.c @@ -48,11 +48,11 @@ /* The default port to probe for echo traffic if not provided in the * configuration file. */ -#define MSSQLDB_DEFAULT_PORT "7" +#define MSSQLDB_DEFAULT_PORT "1433" /* The minimum size for a message. For some protocols this might * be the size of a header. */ -#define MSSQLDB_MIN_FRAME_LEN 1 +#define MSSQLDB_MIN_FRAME_LEN 8 /* Enum of app-layer events for the protocol. Normally you might * have events for errors in parsing data, like unexpected data being