Re: [ossec-list] installation issue

2012-06-07 Thread Amritha Kumar
Hi,

i am not very versed with linux systems. how can i check where the
opensslconf.h file is?
is there any command or something like that?
thanks and regards
Amritha

On Tue, Jun 5, 2012 at 8:13 PM, dan (ddp) ddp...@gmail.com wrote:

 On Tue, May 29, 2012 at 1:27 AM, Amritha Kumar
 amritha.kumar4...@gmail.com wrote:
  Hi,
  I was trying to install the ossec agent on a RED HAT machine (Red Hat
  Enterprise Linux AS release 4 (Nahant Update 6)).
  It has the following gcc installed :
  compat-gcc-32-c++-3.2.3-47.3
  gcc-3.4.6-9
  compat-libgcc-296-2.96-132.7.2
  libgcc-3.4.6-9
  gcc-g77-3.4.6-9
  compat-gcc-32-3.2.3-47.3
  libgcc-3.4.6-9
  gcc-c++-3.4.6-9
 
  It also has the following ssl packages installed :
  openssl-0.9.7a-43.17.el4_6.1
  xmlsec1-openssl-1.2.6-3
  openssl-0.9.7a-43.17.el4_6.1
  pyOpenSSL-0.6-1.p23
  xmlsec1-openssl-1.2.6-3
  openssl-devel-0.9.7a-43.17.el4_6.1
  openssl096b-0.9.6b-22.46
 
  But still during the installation i am getting the below mentioned
  error.
 
 
 
  *** Making os_crypto ***
 
  make[1]: Entering directory `/home/s037855/ossec-hids-2.6/src/
  os_crypto'
  make[2]: Entering directory `/home/s037855/ossec-hids-2.6/src/
  os_crypto/blowfish
  '
  gcc -g -Wall -I../../ -I../../headers  -DDEFAULTDIR=\/var/ossec\ -
  DCLIENT -DUS
  E_OPENSSL -DARGV0=\blowfish_op\ -DXML_VAR=\var\ -DOSSECHIDS -c
  bf_op.c b
  f_skey.c bf_enc.c
  In file included from bf_locl.h:69,
  from bf_skey.c:62:
  /usr/include/openssl/opensslconf.h:25:32: opensslconf-x86_64.h: No
  such file or
  directory
  In file included from bf_locl.h:69,
  from bf_enc.c:60:
  /usr/include/openssl/opensslconf.h:25:32: opensslconf-x86_64.h: No
  such file or
  directory
  make[2]: *** [bf] Error 1
  make[2]: Leaving directory `/home/s037855/ossec-hids-2.6/src/os_crypto/
  blowfish'
  make[1]: *** [os_crypto] Error 2
  make[1]: Leaving directory `/home/s037855/ossec-hids-2.6/src/
  os_crypto'
 
  Error Making os_crypto
  make: *** [all] Error 1
 
  Error 0x5.
  Building error. Unable to finish the installation.
 
 
  Kindly help. thanks in advance
 
  Amritha Kumar

 Where is opensslconf.h?



Re: [ossec-list] installation issue

2012-06-07 Thread dan (ddp)
On Thu, Jun 7, 2012 at 1:51 AM, Amritha Kumar
amritha.kumar4...@gmail.com wrote:
 Hi,

 i am not very versed with linux systems. how can i check where the
 opensslconf.h file is?
 is there any command or something like that?
 thanks and regards
 Amritha


Use find.

`find /usr -name opensslconf.h`

If it isn't found, you should figure out what package it comes in and
install that package.


 On Tue, Jun 5, 2012 at 8:13 PM, dan (ddp) ddp...@gmail.com wrote:

 On Tue, May 29, 2012 at 1:27 AM, Amritha Kumar
 amritha.kumar4...@gmail.com wrote:
  Hi,
  I was trying to install the ossec agent on a RED HAT machine (Red Hat
  Enterprise Linux AS release 4 (Nahant Update 6)).
  It has the following gcc installed :
  compat-gcc-32-c++-3.2.3-47.3
  gcc-3.4.6-9
  compat-libgcc-296-2.96-132.7.2
  libgcc-3.4.6-9
  gcc-g77-3.4.6-9
  compat-gcc-32-3.2.3-47.3
  libgcc-3.4.6-9
  gcc-c++-3.4.6-9
 
  It also has the following ssl packages installed :
  openssl-0.9.7a-43.17.el4_6.1
  xmlsec1-openssl-1.2.6-3
  openssl-0.9.7a-43.17.el4_6.1
  pyOpenSSL-0.6-1.p23
  xmlsec1-openssl-1.2.6-3
  openssl-devel-0.9.7a-43.17.el4_6.1
  openssl096b-0.9.6b-22.46
 
  But still during the installation i am getting the below mentioned
  error.
 
 
 
  *** Making os_crypto ***
 
  make[1]: Entering directory `/home/s037855/ossec-hids-2.6/src/
  os_crypto'
  make[2]: Entering directory `/home/s037855/ossec-hids-2.6/src/
  os_crypto/blowfish
  '
  gcc -g -Wall -I../../ -I../../headers  -DDEFAULTDIR=\/var/ossec\ -
  DCLIENT -DUS
  E_OPENSSL     -DARGV0=\blowfish_op\ -DXML_VAR=\var\ -DOSSECHIDS -c
  bf_op.c b
  f_skey.c bf_enc.c
  In file included from bf_locl.h:69,
                  from bf_skey.c:62:
  /usr/include/openssl/opensslconf.h:25:32: opensslconf-x86_64.h: No
  such file or
  directory
  In file included from bf_locl.h:69,
                  from bf_enc.c:60:
  /usr/include/openssl/opensslconf.h:25:32: opensslconf-x86_64.h: No
  such file or
  directory
  make[2]: *** [bf] Error 1
  make[2]: Leaving directory `/home/s037855/ossec-hids-2.6/src/os_crypto/
  blowfish'
  make[1]: *** [os_crypto] Error 2
  make[1]: Leaving directory `/home/s037855/ossec-hids-2.6/src/
  os_crypto'
 
  Error Making os_crypto
  make: *** [all] Error 1
 
  Error 0x5.
  Building error. Unable to finish the installation.
 
 
  Kindly help. thanks in advance
 
  Amritha Kumar

 Where is opensslconf.h?




[ossec-list] rootcheck/rootkit rules

2012-06-07 Thread Kat
Just wondering where to find docs on writing/updating rules for
rootkit/rootcheck? Format and all that is what I am looking for. I am
looking through the various root check files under etc/shared, but
can't seem to find the syntax for these files in the docs. :-(

Any help/suggestions?

-K


Re: [ossec-list] rootcheck/rootkit rules

2012-06-07 Thread dan (ddp)
I haven't really messed with that, so there aren't any docs that I'm aware of.

On Thu, Jun 7, 2012 at 12:10 PM, Kat uncommon...@gmail.com wrote:
 Just wondering where to find docs on writing/updating rules for
 rootkit/rootcheck? Format and all that is what I am looking for. I am
 looking through the various root check files under etc/shared, but
 can't seem to find the syntax for these files in the docs. :-(

 Any help/suggestions?

 -K