How are you? Hope you are doing fine.
We have compiled the new version of Modsec 2.7.5 for 32 bit version in a RPM package. It is the same 32 bit version which has performance (CPU load and memory) issues earlier for 2.7.2 version.
However after compilation I could see mod_security2.so file size (In RED) under "modules" and "lib" directory, are different. Below is the Modsec RPM package contents:
[annegi@... i386]$ less modSecurity-2.7.5-apache_2.2.24_32_worker.i386.rpm
Name : modSecurity Relocations: /opt/httpd/software/apache/modSecurity
Version : 2.7.5 Vendor: (none)
Release : apache_2.2.24_32_worker Build Date: Thu 29 Aug 2013 05:02:12 PM EDT
Install Date: (not installed) Build Host: ccirp-idev3-01.cisco.com
Group : infrastructure/libraries Source RPM: modSecurity-2.7.5-apache_2.2.24_32_worker.src.rpm
Size : 1442471 License:  Trustwave Holdings, Inc
Signature : (none)
Packager : annegi@...
URL : http://www.modsecurity.org/
Summary : modSecurity2.7.5, libraries and header files
ModSecurity for Apache is an open source product, released under terms of
the General Public Licence, Version 2 (GPLv2). Please refer to the
file LICENSE, which contains the complete text of the licence.
(none)-r--r--r-- 1 root root 713685 Aug 29 17:02 /opt/httpd/software/apache/2.2.24_32/worker/modules/mod_security2.so
drwxr-xr-x 2 root root 0 Aug 29 17:02 /opt/httpd/software/apache/modSecurity
drwxr-xr-x 2 root root 0 Aug 29 17:02 /opt/httpd/software/apache/modSecurity/bin
-rwxr-xr-x 1 root root 39972 Aug 29 17:02 /opt/httpd/software/apache/modSecurity/bin/mlogc
-rwxr-xr-x 1 root root 3376 Aug 29 17:02 /opt/httpd/software/apache/modSecurity/bin/mlogc-batch-load.pl
-rwxr-xr-x 1 root root 12802 Aug 29 17:02 /opt/httpd/software/apache/modSecurity/bin/rules-updater.pl
drwxr-xr-x 2 root root 0 Aug 29 17:02 /opt/httpd/software/apache/modSecurity/lib
-rwxr-xr-x 1 root root 672636 Aug 29 17:02 /opt/httpd/software/apache/modSecurity/lib/mod_security2.so
So we would like to know if we can ignore this file size difference or use mod_security2.so file created under modules directory or anything else?