libmosecurity complains that it was not built with libcurl even though it was.
"John E. Barfield via mod-security-users" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Message-ID | <[email protected]> |
I’ve built libmodsecurity 3.0.4 from github source with libcurl included on Joyent SmartOS 2019-q4 using pkgsrc. The regression and unit tests fail on a couple of items saying that it wasn’t built with libcurl support. I am using the testing tools from within the source/test directory directly and running it like this: ./regression_tests. Am I running the tests correctly? On a side note I thought maybe they were failing because my curl was using openssl so I rebuilt curl with gnutls to be sure that wasn’t the issue. Both ways the configure script line that attempts to detect if curl is linked to gnutls returns a result of “no” and I know for a fact that it is compiled properly with gnutls support. Thanks! John Barfield curl -V curl 7.67.0 (x86_64-sun-solaris2.11) libcurl/7.67.0 GnuTLS/3.6.11 zlib/1.2.11 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.40.0 Release-Date: 2019-11-06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: AsynchDNS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets Regression_tests Error log: Test failed. From: test-cases/regression/config-secremoterules.json. Test name: Include remote rules - failed download (Abort). Reason: failed! Expected a parser error. Expected: Failed to download: HTTP response code said error Produced: Rules error. File: https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules-bonga.txt. Line: 1. Column: 0. - Failed to download: Not compiled with libcurl support Test failed. From: test-cases/regression/operator-ipMatchFromFile.json. Test name: Testing Operator :: @ipMatchFromFile - https. Reason: parse failed. Rules error. File: operator-ipMatchFromFile.json. Line: 2. Column: 19. Not compiled with libcurl support Ran a total of: 554 regression tests - 3 failed. 11 skipped test(s). 0 disabled test(s). configure scripts show libcurl support enabled. My question is _______________________________________________ mod-security-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mod-security-users Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: http://www.modsecurity.org/projects/commercial/rules/ http://www.modsecurity.org/projects/commercial/support/