Bug #2209
closedWiki issue. OpenBSD Installation From GIT - Suricata instructions
Description
Issue with instructions [[https://redmine.openinfosecfoundation.org/projects/suricata/wiki/OpenBSD_Installation_from_GIT]]
After:
git clone https://github.com/OISF/libhtp.git -b 0.5.17
and then calling make
results in:
"implicit declaration of function htp_config_set_response_decompression_layer_limit"
line 2407 app-layer-htp.c :
2406 │ #ifdef HAVE_HTP_CONFIG_SET_RESPONSE_DECOMPRESSION_LAYER_LIMIT
2407 │ htp_config_set_response_decompression_layer_limit(cfg_prec->cfg, value);
2408 │ #else
Changing to:
git clone https://github.com/OISF/libhtp.git -b 0.5.21
fixed the problem for me on: OpenBSD openbsd 6.1 GENERIC.MP#20 amd64
happy to make the change if possible (and if I knew how)
Looks like others have hit similar issues with libhtp. I inferred my solution from reading through this:
https://blog.because-security.com/t/install-suricata-3-on-gentoo-via-portage-with-an-external-libhtp/145