[ossec-list] FreeBSD install problems
I am running a legacy FreeBSD 7.4 system and had some minor issues installing OSSEC as an agent. 1. It says I must be user root to install. I su to the user toor and save my root for console work only. Since I am remote, this caused a minor stumble. The install script should check the UID rather than the user name. >From about line 930 of v2.6 and line 975 of v2.7 # Must be root if [ ! "X$ME" = "Xroot" ]; then catError "0x2-beroot"; fi As a quick fix, I simply changed "Xroot" to "Xtoor". 2. Unable to install version 2.7. I did not troubleshoot this but immediately tried to install 2.6 instead. Version 2.6 installed without issue.
Re: [ossec-list] FreeBSD install problems
On Tue, Nov 20, 2012 at 10:07 AM, bujanga wrote: > I am running a legacy FreeBSD 7.4 system and had some minor issues > installing OSSEC as an agent. > > 1. It says I must be user root to install. > I su to the user toor and save my root for console work only. Since I > am remote, this caused a minor stumble. The install script should > check the UID rather than the user name. > From about line 930 of v2.6 and line 975 of v2.7 > # Must be root > if [ ! "X$ME" = "Xroot" ]; then > catError "0x2-beroot"; > fi > As a quick fix, I simply changed "Xroot" to "Xtoor". > Meh, seems like an admin issue. Shouldn't have been too hard to include a patch with a real fix though. > 2. Unable to install version 2.7. I did not troubleshoot this but > immediately tried to install 2.6 instead. Version 2.6 installed > without issue. Why bother sending the email if you aren't going to give us a hint?
Re: [ossec-list] FreeBSD install problems
Yes, 1 is a local admin issue. Here is more on 2 from a different server running FreeBSD 7.3-RELEASE-p1. I am willing to do more here if you want, just let me know. - *** Making os_csyslogd *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-csyslogd csyslogd.c: In function 'field_add_string': csyslogd.c:117: warning: implicit declaration of function 'strnlen' /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: undefined reference to `strnlen' /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: undefined reference to `strnlen' /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: undefined reference to `strnlen' *** Error code 1 Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. Error Making os_csyslogd *** Error code 1 Stop in /root/apps/ossec/ossec-hids-2.7/src. Error 0x5. Building error. Unable to finish the installation. - On Tue, Nov 20, 2012 at 9:18 AM, dan (ddp) wrote: > On Tue, Nov 20, 2012 at 10:07 AM, bujanga wrote: >> I am running a legacy FreeBSD 7.4 system and had some minor issues >> installing OSSEC as an agent. >> >> 1. It says I must be user root to install. >> I su to the user toor and save my root for console work only. Since I >> am remote, this caused a minor stumble. The install script should >> check the UID rather than the user name. >> From about line 930 of v2.6 and line 975 of v2.7 >> # Must be root >> if [ ! "X$ME" = "Xroot" ]; then >> catError "0x2-beroot"; >> fi >> As a quick fix, I simply changed "Xroot" to "Xtoor". >> > > Meh, seems like an admin issue. Shouldn't have been too hard to > include a patch with a real fix though. > >> 2. Unable to install version 2.7. I did not troubleshoot this but >> immediately tried to install 2.6 instead. Version 2.6 installed >> without issue. > > Why bother sending the email if you aren't going to give us a hint?
Re: [ossec-list] FreeBSD install problems
On Tue, Nov 20, 2012 at 1:16 PM, bujanga wrote: > Yes, 1 is a local admin issue. > > Here is more on 2 from a different server running FreeBSD > 7.3-RELEASE-p1. I am willing to do more here if you want, just let me > know. > > - > *** Making os_csyslogd *** > > gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT > -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" > -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a > ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o > ossec-csyslogd > csyslogd.c: In function 'field_add_string': > csyslogd.c:117: warning: implicit declaration of function 'strnlen' > /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: > undefined reference to `strnlen' > /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: > undefined reference to `strnlen' > /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: > undefined reference to `strnlen' > *** Error code 1 > > Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. > > Error Making os_csyslogd > *** Error code 1 > > Stop in /root/apps/ossec/ossec-hids-2.7/src. > > Error 0x5. > Building error. Unable to finish the installation. > I'd try building it with a patch like this: --- csyslogd.c.orig Tue Nov 20 13:33:36 2012 +++ csyslogd.c Tue Nov 20 13:33:51 2012 @@ -16,10 +16,7 @@ /* strnlen is a GNU extension */ -#ifdef __linux__ - #define _GNU_SOURCE - #include -#endif +#include #include "csyslogd.h" #include "os_net/os_net.h" Not sure why it works on other, non-linux, platforms. Also not sure why strnlen is used explicitly if string.h isn't included explicitly... > > - > > On Tue, Nov 20, 2012 at 9:18 AM, dan (ddp) wrote: >> On Tue, Nov 20, 2012 at 10:07 AM, bujanga wrote: >>> I am running a legacy FreeBSD 7.4 system and had some minor issues >>> installing OSSEC as an agent. >>> >>> 1. It says I must be user root to install. >>> I su to the user toor and save my root for console work only. Since I >>> am remote, this caused a minor stumble. The install script should >>> check the UID rather than the user name. >>> From about line 930 of v2.6 and line 975 of v2.7 >>> # Must be root >>> if [ ! "X$ME" = "Xroot" ]; then >>> catError "0x2-beroot"; >>> fi >>> As a quick fix, I simply changed "Xroot" to "Xtoor". >>> >> >> Meh, seems like an admin issue. Shouldn't have been too hard to >> include a patch with a real fix though. >> >>> 2. Unable to install version 2.7. I did not troubleshoot this but >>> immediately tried to install 2.6 instead. Version 2.6 installed >>> without issue. >> >> Why bother sending the email if you aren't going to give us a hint?
Re: [ossec-list] FreeBSD install problems
2012/11/20 bujanga : > Yes, 1 is a local admin issue. > > Here is more on 2 from a different server running FreeBSD > 7.3-RELEASE-p1. I am willing to do more here if you want, just let me > know. > > - > *** Making os_csyslogd *** > > gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT > -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" > -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a > ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o > ossec-csyslogd > csyslogd.c: In function 'field_add_string': > csyslogd.c:117: warning: implicit declaration of function 'strnlen' > /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: > undefined reference to `strnlen' > /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: > undefined reference to `strnlen' > /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: > undefined reference to `strnlen' > *** Error code 1 > > Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. > > Error Making os_csyslogd > *** Error code 1 > > Stop in /root/apps/ossec/ossec-hids-2.7/src. > > Error 0x5. > Building error. Unable to finish the installation. Because strnlen is not part of freebsd libc ? Eero
Re: [ossec-list] FreeBSD install problems
Does it work on newer version of freebsd? Eero 2012/11/20 Eero Volotinen : > 2012/11/20 bujanga : >> Yes, 1 is a local admin issue. >> >> Here is more on 2 from a different server running FreeBSD >> 7.3-RELEASE-p1. I am willing to do more here if you want, just let me >> know. >> >> - >> *** Making os_csyslogd *** >> >> gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT >> -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" >> -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a >> ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o >> ossec-csyslogd >> csyslogd.c: In function 'field_add_string': >> csyslogd.c:117: warning: implicit declaration of function 'strnlen' >> /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': >> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: >> undefined reference to `strnlen' >> /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': >> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: >> undefined reference to `strnlen' >> /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': >> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: >> undefined reference to `strnlen' >> *** Error code 1 >> >> Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. >> >> Error Making os_csyslogd >> *** Error code 1 >> >> Stop in /root/apps/ossec/ossec-hids-2.7/src. >> >> Error 0x5. >> Building error. Unable to finish the installation. > > Because strnlen is not part of freebsd libc ? > > Eero
Re: [ossec-list] FreeBSD install problems
On Tue, Nov 20, 2012 at 1:30 PM, Eero Volotinen wrote: > 2012/11/20 bujanga : >> Yes, 1 is a local admin issue. >> >> Here is more on 2 from a different server running FreeBSD >> 7.3-RELEASE-p1. I am willing to do more here if you want, just let me >> know. >> >> - >> *** Making os_csyslogd *** >> >> gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT >> -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" >> -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a >> ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o >> ossec-csyslogd >> csyslogd.c: In function 'field_add_string': >> csyslogd.c:117: warning: implicit declaration of function 'strnlen' >> /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': >> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: >> undefined reference to `strnlen' >> /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': >> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: >> undefined reference to `strnlen' >> /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': >> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: >> undefined reference to `strnlen' >> *** Error code 1 >> >> Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. >> >> Error Making os_csyslogd >> *** Error code 1 >> >> Stop in /root/apps/ossec/ossec-hids-2.7/src. >> >> Error 0x5. >> Building error. Unable to finish the installation. > > Because strnlen is not part of freebsd libc ? > > Eero I guess I looked at the 8.0 documentation: http://www.unix.com/man-page/FreeBSD/3/strnlen/ So it's possible my patch won't work either.
Re: [ossec-list] FreeBSD install problems
Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) OSSEC v 2.7 installs without any issues on FreeBSD 8.3-RELEASE. (No patch needed) On Tue, Nov 20, 2012 at 12:42 PM, dan (ddp) wrote: > On Tue, Nov 20, 2012 at 1:30 PM, Eero Volotinen wrote: >> 2012/11/20 bujanga : >>> Yes, 1 is a local admin issue. >>> >>> Here is more on 2 from a different server running FreeBSD >>> 7.3-RELEASE-p1. I am willing to do more here if you want, just let me >>> know. >>> >>> - >>> *** Making os_csyslogd *** >>> >>> gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT >>> -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" >>> -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a >>> ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o >>> ossec-csyslogd >>> csyslogd.c: In function 'field_add_string': >>> csyslogd.c:117: warning: implicit declaration of function 'strnlen' >>> /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': >>> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: >>> undefined reference to `strnlen' >>> /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': >>> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: >>> undefined reference to `strnlen' >>> /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': >>> /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: >>> undefined reference to `strnlen' >>> *** Error code 1 >>> >>> Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. >>> >>> Error Making os_csyslogd >>> *** Error code 1 >>> >>> Stop in /root/apps/ossec/ossec-hids-2.7/src. >>> >>> Error 0x5. >>> Building error. Unable to finish the installation. >> >> Because strnlen is not part of freebsd libc ? >> >> Eero > > I guess I looked at the 8.0 documentation: > http://www.unix.com/man-page/FreeBSD/3/strnlen/ > > So it's possible my patch won't work either.
Re: [ossec-list] FreeBSD install problems
2012/11/20 bujanga : > Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) Does? or does not? Eero
Re: [ossec-list] FreeBSD install problems
OSSEC 2.7 does NOT install. OSSEC 2.6 does install. On Tue, Nov 20, 2012 at 2:22 PM, Eero Volotinen wrote: > 2012/11/20 bujanga : >> Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) > > Does? or does not? > > Eero
Re: [ossec-list] FreeBSD install problems
2012/11/20 Eero Volotinen : > 2012/11/20 bujanga : >> Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) > > Does? or does not? > > Eero strnlen is missing from freebsd 7.4? http://www.freebsd.org/cgi/man.cgi?query=strnlen&apropos=0&sektion=0&manpath=FreeBSD+7.4-stable&arch=default&format=html just tested and strnlen is really missing from freebsd 7.4 -- Eero
Re: [ossec-list] FreeBSD install problems
2012/11/20 bujanga : > OSSEC 2.7 does NOT install. > > OSSEC 2.6 does install. > > On Tue, Nov 20, 2012 at 2:22 PM, Eero Volotinen wrote: >> 2012/11/20 bujanga : >>> Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) >> >> Does? or does not? >> >> Eero --- csyslogd.c-new 2012-11-20 22:53:28.0 + +++ csyslogd.c 2012-11-20 22:54:27.0 + @@ -23,6 +23,18 @@ #include "csyslogd.h" #include "os_net/os_net.h" +#ifndef HAVE_STRNLEN + size_t strnlen(char *s, size_t maxlen) + { + size_t i; + + for (i= 0; i < maxlen && *s != '\0'; i++, s++) + ; + return i; + } +#endif + + this is required to compile ossec on freebsd 7.4 .. -- Eero
Re: [ossec-list] FreeBSD install problems
So, is ossec now working find on freebsd 7.4? -- Eero 2012/11/20 Eero Volotinen : > 2012/11/20 bujanga : >> OSSEC 2.7 does NOT install. >> >> OSSEC 2.6 does install. >> >> On Tue, Nov 20, 2012 at 2:22 PM, Eero Volotinen >> wrote: >>> 2012/11/20 bujanga : Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) >>> >>> Does? or does not? >>> >>> Eero > > --- csyslogd.c-new 2012-11-20 22:53:28.0 + > +++ csyslogd.c 2012-11-20 22:54:27.0 + > @@ -23,6 +23,18 @@ > #include "csyslogd.h" > #include "os_net/os_net.h" > > +#ifndef HAVE_STRNLEN > + size_t strnlen(char *s, size_t maxlen) > + { > + size_t i; > + > + for (i= 0; i < maxlen && *s != '\0'; i++, s++) > + ; > + return i; > + } > +#endif > + > + > > this is required to compile ossec on freebsd 7.4 > > .. > > -- > Eero
Re: [ossec-list] FreeBSD install problems
I had problems with installing on OS X 10.5; I ended up adding a #else to the above and coding my own strnlen function. On Tuesday, November 20, 2012 12:39:18 PM UTC-6, dan (ddpbsd) wrote: > > On Tue, Nov 20, 2012 at 1:16 PM, bujanga > > wrote: > > Yes, 1 is a local admin issue. > > > > Here is more on 2 from a different server running FreeBSD > > 7.3-RELEASE-p1. I am willing to do more here if you want, just let me > > know. > > > > - > > *** Making os_csyslogd *** > > > > gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT > > -DUSE_OPENSSL -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" > > -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a > > ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o > > ossec-csyslogd > > csyslogd.c: In function 'field_add_string': > > csyslogd.c:117: warning: implicit declaration of function 'strnlen' > > /var/tmp//cc23x9Np.o(.text+0x24f): In function `field_add_string': > > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:117: > > undefined reference to `strnlen' > > /var/tmp//cc23x9Np.o(.text+0x369): In function `field_add_truncated': > > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:142: > > undefined reference to `strnlen' > > /var/tmp//cc23x9Np.o(.text+0x57f): In function `field_add_int': > > /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd/csyslogd.c:191: > > undefined reference to `strnlen' > > *** Error code 1 > > > > Stop in /root/apps/ossec/ossec-hids-2.7/src/os_csyslogd. > > > > Error Making os_csyslogd > > *** Error code 1 > > > > Stop in /root/apps/ossec/ossec-hids-2.7/src. > > > > Error 0x5. > > Building error. Unable to finish the installation. > > > > I'd try building it with a patch like this: > > --- csyslogd.c.orig Tue Nov 20 13:33:36 2012 > +++ csyslogd.c Tue Nov 20 13:33:51 2012 > @@ -16,10 +16,7 @@ > > > /* strnlen is a GNU extension */ > -#ifdef __linux__ > - #define _GNU_SOURCE > - #include > -#endif > +#include > #include "csyslogd.h" > #include "os_net/os_net.h" > > > Not sure why it works on other, non-linux, platforms. Also not sure > why strnlen is used explicitly if string.h isn't included > explicitly... > > > > > - > > > > On Tue, Nov 20, 2012 at 9:18 AM, dan (ddp) > > wrote: > >> On Tue, Nov 20, 2012 at 10:07 AM, bujanga > > wrote: > >>> I am running a legacy FreeBSD 7.4 system and had some minor issues > >>> installing OSSEC as an agent. > >>> > >>> 1. It says I must be user root to install. > >>> I su to the user toor and save my root for console work only. Since I > >>> am remote, this caused a minor stumble. The install script should > >>> check the UID rather than the user name. > >>> From about line 930 of v2.6 and line 975 of v2.7 > >>> # Must be root > >>> if [ ! "X$ME" = "Xroot" ]; then > >>> catError "0x2-beroot"; > >>> fi > >>> As a quick fix, I simply changed "Xroot" to "Xtoor". > >>> > >> > >> Meh, seems like an admin issue. Shouldn't have been too hard to > >> include a patch with a real fix though. > >> > >>> 2. Unable to install version 2.7. I did not troubleshoot this but > >>> immediately tried to install 2.6 instead. Version 2.6 installed > >>> without issue. > >> > >> Why bother sending the email if you aren't going to give us a hint? >
Re: [ossec-list] FreeBSD install problems
2012/11/21 Scott : > I had problems with installing on OS X 10.5; I ended up adding a #else to > the above and coding my own strnlen function. so, problem is in freebsd < 8.X and on < OSX 10.6 so, this might require patch to official source. Eero
Re: [ossec-list] FreeBSD install problems
Following dcid's suggestion on ossec-dev, the strnlen() functions have been changed to strlen() when it is safe to do so. You can get the latest source from https://bitbucket.org/jbcheng/ossec-hids/get/default.tar.gz >
Re: [ossec-list] FreeBSD install problems
Yes, Eero's patch does work for FreeBSD 7.4. Well done. On Tue, Nov 20, 2012 at 2:58 PM, Eero Volotinen wrote: > 2012/11/20 bujanga : >> OSSEC 2.7 does NOT install. >> >> OSSEC 2.6 does install. >> >> On Tue, Nov 20, 2012 at 2:22 PM, Eero Volotinen >> wrote: >>> 2012/11/20 bujanga : Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) >>> >>> Does? or does not? >>> >>> Eero > > --- csyslogd.c-new 2012-11-20 22:53:28.0 + > +++ csyslogd.c 2012-11-20 22:54:27.0 + > @@ -23,6 +23,18 @@ > #include "csyslogd.h" > #include "os_net/os_net.h" > > +#ifndef HAVE_STRNLEN > + size_t strnlen(char *s, size_t maxlen) > + { > + size_t i; > + > + for (i= 0; i < maxlen && *s != '\0'; i++, s++) > + ; > + return i; > + } > +#endif > + > + > > this is required to compile ossec on freebsd 7.4 > > .. > > -- > Eero