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
Updated by Andreas Herz over 7 years ago
- Status changed from New to Closed
- Assignee set to OISF Dev
I added the newest release to the Wiki Page and the hint to use more recent versions. Unless we move those installations to sphinx docs and can generate them everytime it's a manual task to bump the version numbers. So it's always the best to use the latest stable versions.