From: Jeff Lucovsky Date: Tue, 11 Jul 2023 13:04:58 +0000 (-0400) Subject: config/swf: SWF deprecation warning message X-Git-Tag: suricata-7.0.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a7ae99e49d091b19b79717545f5409667c45a4b;p=thirdparty%2Fsuricata.git config/swf: SWF deprecation warning message Issue: 6183 Issue a deprecation warning if SWF decompression is enabled. --- diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index ce9fe2b477..312ca78ba2 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -2905,6 +2905,8 @@ static void HTPConfigParseParameters(HTPCfgRec *cfg_prec, ConfNode *s, if (strcasecmp("enabled", pval->name) == 0) { if (ConfValIsTrue(pval->val)) { cfg_prec->swf_decompression_enabled = 1; + SCLogWarning("Flash decompression is deprecated and will be removed in " + "Suricata 8; see ticket #6179"); } else if (ConfValIsFalse(pval->val)) { cfg_prec->swf_decompression_enabled = 0; } else {