Re: [Mod-security-developers] modsecurity - make check
Brought to you by:
victorhora,
zimmerletw
From: Breno S. <bre...@gm...> - 2012-11-29 15:37:42
|
Did you recompile from source ? Or install a package ? On Thu, Nov 29, 2012 at 8:46 AM, Peter Vrabec <pv...@re...> wrote: > Hello, > > On 11/27/2012 05:36 PM, Peter Vrabec wrote: > > Hi, > > > > On 11/23/2012 07:19 PM, Breno Silva Pinto wrote: > >> Hello Peter, > >> > >> Looks like your pcre file cannot compile a specific regex. What is your > >> libpcre version ? > >> > >> Are you installing libpcre from a package ? Any chance you download the > pcre > >> tarball and recompile it ? > > > > I'm using. > > pcre-8.21-5.fc17.x86_64 > > same result with pcre-8.31. > > > > > > >> > >> Thanks > >> > >> Brneo > >> > >> > >> On 11/22/12 4:20 PM, "Peter Vrabec" <pv...@re...> wrote: > >> > >>> thnx. Breno, > >>> > >>> it helped. > >>> > >>> > >>> I only get one error from make check. > >>> > >>> Loaded 8 tests from ./op/rx.t > >>> 1) op "rx": passed (Pattern match "" at UNIT_TEST.) > >>> 2) op "rx": passed > >>> 3) op "rx": passed (Pattern match "" at UNIT_TEST.) > >>> 4) op "rx": passed (Pattern match "abc" at UNIT_TEST.) > >>> 5) op "rx": passed (Pattern match "def" at UNIT_TEST.) > >>> 6) op "rx": passed (Pattern match "ghi" at UNIT_TEST.) > >>> 7) op "rx": passed > >>> ERROR: Failed to create rule for op "rx": Error creating rule: Error > >>> compiling pattern (offset 2): unrecognized character after (? or (?- > >>> Test exited with signal 11. > >>> Executed: ./msc_test "-t" "op" "-n" "rx" "-p" > >>> "(?^i:^([^=])\s*=\s*((?:abc)+(?:def|ghi){2})$)" "-D" "0" "-r" "1" > >>> 8) op "rx": failed > >>> Passed: 7; Failed: 1 > >>> > >>> > >>> Peter. > >>> > >>> > >>> On 11/21/2012 09:42 PM, Breno Silva wrote: > >>>> Peter, > >>>> > >>>> Please try: > >>>> > >>>> make clean > >>>> make CFLAGS=-DMSC_TEST test. > >>>> > >>>> Thanks > >>>> > >>>> > >>>> On Wed, Nov 21, 2012 at 9:25 AM, Peter Vrabec <pv...@re... > >>>> <mailto:pv...@re...>> wrote: > >>>> > >>>> Hi Ulisses, > >>>> > >>>> this is my configure cmd line: > >>>> > >>>> ./configure --build=x86_64-unknown-linux-gnu > >>>> --host=x86_64-unknown-linux-gnu --program-prefix= > >>>> --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr > >>>> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc > >>>> --datadir=/usr/share --includedir=/usr/include > --libdir=/usr/lib64 > >>>> --libexecdir=/usr/libexec --localstatedir=/var > --sharedstatedir=/var/lib > >>>> --mandir=/usr/share/man --infodir=/usr/share/info > >>>> --enable-pcre-match-limit=1000000 > >>>> --enable-pcre-match-limit-recursion=1000000 > --with-apxs=/usr/sbin/apxs > >>>> > >>>> > >>>> Peter. > >>>> > >>>> > >>>> > >>>> > >>>> On 11/21/2012 02:59 PM, Ulisses Montenegro wrote: > >>>>> Peter, > >>>>> > >>>>> I've had similar issues when enabling certain test/debug flags while > >>>>> configuring mod_security (I don't have access to my system right > >>>> now, so > >>>>> I can't list which ones in particular). What is your ./configure > >>>> command > >>>>> line? > >>>>> > >>>>> Thanks, > >>>>> Ulisses > >>>>> > >>>>> > >>>>> On Wed, Nov 21, 2012 at 11:56 AM, Peter Vrabec > >>>> <pv...@re... <mailto:pv...@re...> > >>>>> <mailto:pv...@re... <mailto:pv...@re...>>> wrote: > >>>>> > >>>>> Hi Breno, > >>>>> > >>>>> I'd like to run make check but it doesn't work for me. I > >>>> don't know what > >>>>> I do wrong. Could you help me please. > >>>>> > >>>>> libtool: link: gcc -I/usr/include/httpd -I/usr/include/apr-1 > >>>>> -I/usr/include/apr-1 -I/usr/include/libxml2 -DWITH_PCRE_STUDY > >>>>> -DMODSEC_PCRE_MATCH_LIMIT=1000000 > >>>>> -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY > >>>> -DWITH_LUA > >>>>> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > >>>>> -fstack-protector --param=ssp-buffer-size=4 -m64 > >>>> -mtune=generic -Wl,-z > >>>>> -Wl,relro -o msc_test msc_test-msc_test.o msc_test-re.o > >>>>> msc_test-re_operators.o msc_test-re_actions.o > msc_test-re_tfns.o > >>>>> msc_test-re_variables.o msc_test-msc_logging.o > msc_test-msc_xml.o > >>>>> msc_test-msc_multipart.o msc_test-modsecurity.o > >>>> msc_test-msc_parsers.o > >>>>> msc_test-msc_util.o msc_test-msc_pcre.o msc_test-msc_unicode.o > >>>>> msc_test-persist_dbm.o msc_test-msc_reqbody.o > >>>> msc_test-msc_crypt.o > >>>>> msc_test-msc_tree.o msc_test-msc_geo.o msc_test-msc_gsb.o > >>>>> msc_test-acmp.o msc_test-msc_lua.o msc_test-msc_release.o > >>>> -lpthread > >>>>> -lldap -llber -lexpat -ldb-4.8 /usr/lib64/libapr-1.so > >>>>> /usr/lib64/libaprutil-1.so -lpcre -lxml2 -lz -llua -lm -ldl > >>>> -pthread > >>>>> msc_test-re.o: In function `update_rule_target_ex': > >>>>> > >>>> > >>>> > /home/pvrabec/rpmbuild/BUILD/modsecurity-apache_2.7.1/tests/../apache2/re.c:3 > >>>> 66: > >>>>> undefined reference to `ap_log_error' > >>>>> ... > >>>>> > >>>>> > >>>>> ap_log_error() is build in /usr/sbin/httpd. > >>>>> > >>>>> $ nm -D /usr/sbin/httpd | grep ap_log_error > >>>>> 00000000002569a8 D ap_hack_ap_log_error > >>>>> 0000000000030760 T ap_log_error > >>>>> > >>>>> > >>>>> thnx., > >>>>> Peter. > >>>>> > >>>>> > >>>> > >>>> > >> > ----------------------------------------------------------------------------->> > >> - > >>>>> Monitor your physical, virtual and cloud infrastructure from > >>>> a single > >>>>> web console. Get in-depth insight into apps, servers, > >>>> databases, vmware, > >>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>>>> Pricing starts from $795 for 25 servers or applications! > >>>>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>>>> _______________________________________________ > >>>>> mod-security-developers mailing list > >>>>> mod...@li... > >>>> <mailto:mod...@li...> > >>>>> <mailto:mod...@li... > >>>> <mailto:mod...@li...>> > >>>>> https://lists.sourceforge.net/lists/listinfo/mod-security-developers > >>>>> ModSecurity Services from Trustwave's SpiderLabs: > >>>>> https://www.trustwave.com/spiderLabs.php > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> ³If debugging is the process of removing software bugs, then > >>>> programming > >>>>> must be the process of putting them in.² - Edsger Dijkstra > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >> > ----------------------------------------------------------------------------->> > >> - > >>>>> Monitor your physical, virtual and cloud infrastructure from a single > >>>>> web console. Get in-depth insight into apps, servers, databases, > >>>> vmware, > >>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>>>> Pricing starts from $795 for 25 servers or applications! > >>>>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> mod-security-developers mailing list > >>>>> mod...@li... > >>>> <mailto:mod...@li...> > >>>>> https://lists.sourceforge.net/lists/listinfo/mod-security-developers > >>>>> ModSecurity Services from Trustwave's SpiderLabs: > >>>>> https://www.trustwave.com/spiderLabs.php > >>>>> > >>>> > >>>> > >>>> > >>>> > >> > ----------------------------------------------------------------------------->> > >> - > >>>> Monitor your physical, virtual and cloud infrastructure from a > single > >>>> web console. Get in-depth insight into apps, servers, > databases, vmware, > >>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>>> Pricing starts from $795 for 25 servers or applications! > >>>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>>> _______________________________________________ > >>>> mod-security-developers mailing list > >>>> mod...@li... > >>>> <mailto:mod...@li...> > >>>> > https://lists.sourceforge.net/lists/listinfo/mod-security-developers > >>>> ModSecurity Services from Trustwave's SpiderLabs: > >>>> https://www.trustwave.com/spiderLabs.php > >>>> > >>>> > >>>> > >>>> > >>>> > >> > ----------------------------------------------------------------------------->> > >> - > >>>> Monitor your physical, virtual and cloud infrastructure from a single > >>>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>>> Pricing starts from $795 for 25 servers or applications! > >>>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> mod-security-developers mailing list > >>>> mod...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/mod-security-developers > >>>> ModSecurity Services from Trustwave's SpiderLabs: > >>>> https://www.trustwave.com/spiderLabs.php > >>>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Monitor your physical, virtual and cloud infrastructure from a single > >>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>> Pricing starts from $795 for 25 servers or applications! > >>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>> _______________________________________________ > >>> mod-security-developers mailing list > >>> mod...@li... > >>> https://lists.sourceforge.net/lists/listinfo/mod-security-developers > >>> ModSecurity Services from Trustwave's SpiderLabs: > >>> https://www.trustwave.com/spiderLabs.php > >>> > >> > >> > >> ________________________________ > >> > >> This transmission may contain information that is privileged, > confidential, and/or exempt from disclosure under applicable law. If you > are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution, or use of the information contained > herein (including any reliance thereon) is STRICTLY PROHIBITED. If you > received this transmission in error, please immediately contact the sender > and destroy the material in its entirety, whether in electronic or hard > copy format. > >> > >> > >> > ------------------------------------------------------------------------------ > >> Monitor your physical, virtual and cloud infrastructure from a single > >> web console. Get in-depth insight into apps, servers, databases, vmware, > >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >> Pricing starts from $795 for 25 servers or applications! > >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ > >> mod-security-developers mailing list > >> mod...@li... > >> https://lists.sourceforge.net/lists/listinfo/mod-security-developers > >> ModSecurity Services from Trustwave's SpiderLabs: > >> https://www.trustwave.com/spiderLabs.php > >> > > > > > > > ------------------------------------------------------------------------------ > > Monitor your physical, virtual and cloud infrastructure from a single > > web console. Get in-depth insight into apps, servers, databases, vmware, > > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > mod-security-developers mailing list > > mod...@li... > > https://lists.sourceforge.net/lists/listinfo/mod-security-developers > > ModSecurity Services from Trustwave's SpiderLabs: > > https://www.trustwave.com/spiderLabs.php > > > > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. http://goparallel.sourceforge.net > _______________________________________________ > mod-security-developers mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-security-developers > ModSecurity Services from Trustwave's SpiderLabs: > https://www.trustwave.com/spiderLabs.php > |