Discussion:
[ossec-list] Compile error
ash kumar
2015-03-16 17:36:16 UTC
Permalink
Using the most current code from Github, I have the following error on
compilation.


CC os_auth/ssl.o
os_auth/ssl.c: In function 'get_ssl_context':
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer without a
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new' discards
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *' but
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
os_auth/ssl.o: In function `get_ssl_context':
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1

Error 0x5.
Building error. Unable to finish the installation.



I am running Debian Wheezy

# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64 GNU/Linux

I cant figure out which library I am missing

# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1

Any guidance would be greatly appreciated

Regards

Ash
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
dan (ddp)
2015-03-16 17:46:00 UTC
Permalink
Post by ash kumar
Using the most current code from Github, I have the following error on
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer without a
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new' discards
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *' but
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google Groups
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ash kumar
2015-03-17 16:18:01 UTC
Permalink
:-)

That is completely reasonable.

I discovered the OS instance is an Alienvault debian of the squeeze vintage.

Ash
Post by ash kumar
Post by ash kumar
Using the most current code from Github, I have the following error on
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer
without a
Post by ash kumar
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new' discards
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *'
but
Post by ash kumar
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64
Post by ash kumar
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google
Groups
Post by ash kumar
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by ash kumar
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ash kumar
2015-03-19 17:40:32 UTC
Permalink
Dan,

Working like a charm so far, including the json alerts output.

Ash
Post by ash kumar
:-)
That is completely reasonable.
I discovered the OS instance is an Alienvault debian of the squeeze vintage.
Ash
Post by ash kumar
Post by ash kumar
Using the most current code from Github, I have the following error on
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer
without a
Post by ash kumar
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new'
discards
Post by ash kumar
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *'
but
Post by ash kumar
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64
Post by ash kumar
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google
Groups
Post by ash kumar
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by ash kumar
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ash kumar
2015-03-19 20:15:12 UTC
Permalink
I may have spoken too soon.

The syslog json out appears to have stopped working.
Post by ash kumar
Dan,
Working like a charm so far, including the json alerts output.
Ash
Post by ash kumar
:-)
That is completely reasonable.
I discovered the OS instance is an Alienvault debian of the squeeze vintage.
Ash
Post by ash kumar
Post by ash kumar
Using the most current code from Github, I have the following error on
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer
without a
Post by ash kumar
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new'
discards
Post by ash kumar
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *'
but
Post by ash kumar
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64
Post by ash kumar
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google
Groups
Post by ash kumar
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by ash kumar
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
dan (ddp)
2015-03-23 18:26:50 UTC
Permalink
Post by ash kumar
I may have spoken too soon.
The syslog json out appears to have stopped working.
Can you be more specific?
Post by ash kumar
Post by ash kumar
Dan,
Working like a charm so far, including the json alerts output.
Ash
Post by ash kumar
:-)
That is completely reasonable.
I discovered the OS instance is an Alienvault debian of the squeeze vintage.
Ash
Post by dan (ddp)
Post by ash kumar
Using the most current code from Github, I have the following error on
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer without a
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new' discards
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *' but
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google Groups
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ire Kourkoumelis
2018-11-22 15:26:13 UTC
Permalink
How did you include the json alerts output? How can I do that ?
Post by ash kumar
Dan,
Working like a charm so far, including the json alerts output.
Ash
Post by ash kumar
:-)
That is completely reasonable.
I discovered the OS instance is an Alienvault debian of the squeeze vintage.
Ash
Post by ash kumar
Post by ash kumar
Using the most current code from Github, I have the following error on
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer
without a
Post by ash kumar
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new'
discards
Post by ash kumar
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *'
but
Post by ash kumar
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64
Post by ash kumar
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google
Groups
Post by ash kumar
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by ash kumar
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
dan (ddp)
2018-11-22 15:56:40 UTC
Permalink
jsonout_output in the global section

http://www.ossec.net/docs/syntax/head_ossec_config.global.html#options
Post by Ire Kourkoumelis
How did you include the json alerts output? How can I do that ?
Post by ash kumar
Dan,
Working like a charm so far, including the json alerts output.
Ash
Post by ash kumar
:-)
That is completely reasonable.
I discovered the OS instance is an Alienvault debian of the squeeze vintage.
Ash
Post by ash kumar
Post by ash kumar
Using the most current code from Github, I have the following error
on
Post by ash kumar
compilation.
CC os_auth/ssl.o
os_auth/ssl.c:107: warning: implicit declaration of function
'TLSv1_2_method'
os_auth/ssl.c:107: warning: assignment makes pointer from integer
without a
Post by ash kumar
cast
os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new'
discards
Post by ash kumar
qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *'
but
Post by ash kumar
argument is of type 'const struct SSL_METHOD *'
CC os_auth/check_cert.o
CC ossec-authd
ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method'
collect2: ld returned 1 exit status
make: *** [ossec-authd] Error 1
Error 0x5.
Building error. Unable to finish the installation.
I am running Debian Wheezy
# uname -a
Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012
x86_64
Post by ash kumar
GNU/Linux
I cant figure out which library I am missing
# apt-cache dump|grep libssl|grep Package
Package: libssl08-dev
Package: libssl096-dev
Package: libssl-ocaml
Package: libssl095a-dev
Package: libssl09-dev
Package: libssl-ocaml-dev
Package: libssl-dev
Package: libssl-ocaml-dev-1ipd1
Package: libcherokee-mod-libssl
Package: libssl0.9.8-dbg
Package: libssl0.9.8
Package: libssl
Package: libssl-ocaml-1ipd1
Any guidance would be greatly appreciated
Could you try with a reasonably up to date version of OpenSSL?
Post by ash kumar
Regards
Ash
--
---
You received this message because you are subscribed to the Google
Groups
Post by ash kumar
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it,
send an
Post by ash kumar
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...