Home page logo
/

openvas logo OpenVAS mailing list archives

Re: Openvas-discuss Digest, Vol 70, Issue 28
From: 王风军 <wangfj.bj.1455 () gmail com>
Date: Wed, 21 Nov 2012 16:36:21 +0800
List-id: OpenVAS discussions <openvas-discuss.wald.intevation.org>

Hi, My admired friends,
   Whoever once did meet with the wmi-1.3.14 any building errors, I can't
build the wmi success completely.
    I hope to be sure that you build the wmi successfully without meeting
with any error?
    if so, I will check and analyze the lib dependece question.
    If you answer me, It will be a happy thing for me.
best regards
2012/11/21 <openvas-discuss-request () wald intevation org>

Send Openvas-discuss mailing list submissions to
        openvas-discuss () wald intevation org

To subscribe or unsubscribe via the World Wide Web, visit

https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

or, via email, send a message with subject or body 'help' to
        openvas-discuss-request () wald intevation org

You can reach the person managing the list at
        openvas-discuss-owner () wald intevation org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Openvas-discuss digest..."


Today's Topics:

   1. No feedback on OMP (ramaro)
   2. Re: No feedback on OMP (Matthew Mundell)
   3. Re: No feedback on OMP (Matthew Mundell)
   4. Re: No feedback on OMP (ramaro)
   5. no service program in /etc/init.d (???)
   6. wmi-client-1.3.14 make error (???)
   7. undefined symbol: omp_create_target_ext (Travis Emmert)


----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Nov 2012 10:55:25 +0000
From: ramaro <ramaro () student dei uc pt>
To: openvas-discuss () wald intevation org
Subject: [Openvas-discuss] No feedback on OMP
Message-ID: <50AB619D.4070202 () student dei uc pt>
Content-Type: text/plain; charset=ISO-8859-1

Hey guys,

I've been using OTP with openvas-client by command line so far, but
times are changing and so are we, to OMP.

I read the documentation but came up to a problem related with the
responses from manager to my requests, which I am not achieving. I'm
running a command like this:

omp -u username -w password -h 127.0.0.1 -p 9390 -X
/home/someguy/teste.xml

The xml file has just the following content:

<create_target>
<name>Target0</name>
<hosts>192.168.1.1</hosts>
</create_target>


The result is the manager processing this request forever not
returning me automatically any responses, leaving me waiting in
command line. Am I doing something wrong? should I add something to
get the response? Sorry if I'm missing something obvious.

Hope you can help me with this, thank you in advance,
Best Regards,
Gon?alo Amaro


------------------------------

Message: 2
Date: 20 Nov 2012 13:15:11 +0100
From: Matthew Mundell <matthew.mundell () greenbone net>
To: ramaro <ramaro () student dei uc pt>
Cc: openvas-discuss () wald intevation org
Subject: Re: [Openvas-discuss] No feedback on OMP
Message-ID: <20121120111515.8350194D17D () kolab intevation de>
Content-Type: text/plain; charset=utf-8

Hey guys,

I've been using OTP with openvas-client by command line so far, but
times are changing and so are we, to OMP.

I read the documentation but came up to a problem related with the
responses from manager to my requests, which I am not achieving. I'm
running a command like this:

omp -u username -w password -h 127.0.0.1 -p 9390 -X
/home/someguy/teste.xml

Should be like

        omp -u username -w password -h 127.0.0.1 -p 9390 -X <
'<create_target>...</create_target>'

or

        cat /home/someguy/teste.xml | omp -u username -w password -h
127.0.0.1 -p 9390 -X -

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


------------------------------

Message: 3
Date: 20 Nov 2012 13:23:38 +0100
From: Matthew Mundell <matthew.mundell () greenbone net>
To: ramaro <ramaro () student dei uc pt>
Cc: openvas-discuss () wald intevation org
Subject: Re: [Openvas-discuss] No feedback on OMP
Message-ID: <20121120112342.E9E2594D17D () kolab intevation de>
Content-Type: text/plain; charset=utf-8

      omp -u username -w password -h 127.0.0.1 -p 9390 -X <
'<create_target>...</create_target>'

Gah, without the first <, so

        omp -u username -w password -h 127.0.0.1 -p 9390 -X
'<create_target>...</create_target>'

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


------------------------------

Message: 4
Date: Tue, 20 Nov 2012 16:17:20 +0000
From: ramaro <ramaro () student dei uc pt>
To: matthew.mundell () greenbone net, openvas-discuss () wald intevation org
Subject: Re: [Openvas-discuss] No feedback on OMP
Message-ID: <50ABAD10.6060902 () student dei uc pt>
Content-Type: text/plain; charset=UTF-8


On 20-11-2012 13:57, Matthew Mundell wrote:
Thanks for the support, but i'm still running to the same problem. I
checked the log at /var/log/openvas/openvasmd.log and I'm getting the
following error:

md   main:WARNING:2012-11-20 12h04.34 utc:1734: read_from_client:
failed to read from client: A TLS packet with unexpected length was
received.

I ran both of your suggestions for the create target example. Do you
know what might be?
Seems like a connection problem.

Maybe try a simpler command.

      omp -u username -w password -h 127.0.0.1 -p 9390 -X '<help/>'

Also turn on full Manager logging (run with -v and replace 127 with 128
in
etc/openvas/openvasmd_log.conf) to see if that gives more hints.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


It works!

Thanks for the help Matthew, was indeed a connection problem, I was
using the wrong credentials for this server. Sorry for the mistake, I
have two different machines running openvas with dif. credentials.

Sending message to list in case someone faces the same error message. I
will continue with the migration process. Thanks again.
Best Regards,
Gon?alo Amaro



------------------------------

Message: 5
Date: Mon, 12 Nov 2012 16:05:49 +0800
From: ??? <wangfj.bj.1455 () gmail com>
To: openvas-discuss () wald intevation org
Subject: [Openvas-discuss] no service program in /etc/init.d
Message-ID:
        <
CANqkETo7RpT_V-WoN8HEN4eAHh8RG_0Qd15bR6T_TeX0jcYBeA () mail gmail com>
Content-Type: text/plain; charset="iso-8859-1"

 hello,
       why no ralative service program in the directory "/etc/init.d" after
I built and install the relative software by sourcecode by executing the
'make and make install' command about on openvas-libriries,
openvas-scanner,
openvas-manager,openvas-administrator,greenbone-security-assistant.
best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20121112/6a107a1f/attachment.html


------------------------------

Message: 6
Date: Tue, 13 Nov 2012 17:42:38 +0800
From: ??? <wangfj.bj.1455 () gmail com>
To: openvas-discuss () wald intevation org
Subject: [Openvas-discuss] wmi-client-1.3.14 make error
Message-ID:
        <
CANqkETq2jNMsB8QzpRfVPuLuQ6wkNQA9eCTCuqDguM43sOnhpg () mail gmail com>
Content-Type: text/plain; charset="iso-8859-1"

hello,
      firstly, I patch the wmi-1.3.14.patch, and then ./autogen,
./configure and make, but I meet with the error: make: *** no rules to
create "bin/wmiq" required object "wmi/wmiq.o". stop.
      please give a hand, thank you.
best wishes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20121113/0019b01b/attachment.html


------------------------------

Message: 7
Date: Wed, 14 Nov 2012 20:57:47 -0600
From: Travis Emmert <trav.emme () gmail com>
To: openvas-discuss () wald intevation org
Subject: [Openvas-discuss] undefined symbol: omp_create_target_ext
Message-ID:
        <CA+PLO5Uc=-
q_HMhBp6CT9jv6LRAJurgZkqagUvFJ6zNv+s-JeQ () mail gmail com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I just installed openvas per the direction here:
http://www.openvas.org/install-packages.html#centos
Running centOS 5.8

Starting openvas-manager fails with:
./openvas-manager start
Starting openvas-manager:
openvasmd: symbol lookup error: openvasmd: undefined symbol:
omp_create_target_ext
                                                           [FAILED]

ldd on openvasmd confirms this problem:
ldd --f /usr/sbin/openvasmd
        linux-vdso.so.1 =>  (0x00007fffd83fd000)
        libgnutls.so.26 => /usr/gnutls2/lib/libgnutls.so.26
(0x00002b0cf970f000)
        libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00002b0cf99a6000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003e8e600000)
        libglib-2.0.so.0 => /usr/openvas/lib64/libglib-2.0.so.0
(0x00002b0cf9c34000)
        libopenvas_misc.so.5 => /usr/lib64/libopenvas_misc.so.5
(0x00002b0cf9f10000)
        libopenvas_hg.so.5 => /usr/lib64/libopenvas_hg.so.5
(0x00002b0cfa1ae000)
        libopenvas_base.so.5 => /usr/lib64/libopenvas_base.so.5
(0x00002b0cfa3b5000)
        libopenvas_nasl.so.5 => /usr/lib64/libopenvas_nasl.so.5
(0x00002b0cfa5c2000)
        libopenvas_omp.so.5 => /usr/lib64/libopenvas_omp.so.5
(0x00002b0cfa828000)
        libgpgme.so.11 => /usr/lib64/libgpgme.so.11 (0x0000003e8de00000)
        libc.so.6 => /lib64/libc.so.6 (0x00000033e5200000)
        libtasn1.so.3 => /usr/lib64/libtasn1.so.3 (0x0000003e8e200000)
        libz.so.1 => /lib64/libz.so.1 (0x00000033e6200000)
        libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00000033e8a00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000033e5600000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00000033e5a00000)
        /lib64/ld-linux-x86-64.so.2 (0x00000033e4e00000)
        libpcap.so.0.9.4 => /usr/lib64/libpcap.so.0.9.4
(0x0000003e8cc00000)
        libldap-2.3.so.0 => /usr/lib64/libldap-2.3.so.0
(0x00000033e7200000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00000033e7a00000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0
(0x00000033e7600000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003e8da00000)
        libwmiclient.so.1 => /usr/lib64/libwmiclient.so.1
(0x0000003e8d000000)
        liblber-2.3.so.0 => /usr/lib64/liblber-2.3.so.0
(0x00002b0cfab38000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00000033e5e00000)
        libssl.so.6 => /lib64/libssl.so.6 (0x00000033e9a00000)
        libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00000033e7e00000)
        libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x0000003e8c800000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000033e6e00000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x00000033e9600000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00000033ea200000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00000033e8200000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3
(0x00000033e9200000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x00000033e9e00000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00000033e8e00000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00000033e6a00000)
        libsepol.so.1 => /lib64/libsepol.so.1 (0x00000033e6600000)
undefined symbol: omp_create_target_ext (/usr/sbin/openvasmd)

Are the packages on http://www6.atomicorp.com/channels/atomic/ bad?
Googling that symbol i see the following commit:

http://www.mail-archive.com/openvas-commits () wald intevation org/msg12590.html
Which contains the message:
" * omp/omp.c (omp_create_target_ext): New function."

So perhaps some of the openvas 6 beta code is in the packages I installed?

yum list show:
openvas.noarch            1.0-3.el5.art   installed
openvas-manager.x86_64            3.0.4-4.el5.art       installed


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20121114/cfe31372/attachment.html


------------------------------

Subject: Digest Footer

_______________________________________________
Openvas-discuss mailing list
Openvas-discuss () wald intevation org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

------------------------------

End of Openvas-discuss Digest, Vol 70, Issue 28
***********************************************

_______________________________________________
Openvas-discuss mailing list
Openvas-discuss () wald intevation org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

  By Date           By Thread  

Current thread:
  • Re: Openvas-discuss Digest, Vol 70, Issue 28 王风军 (Nov 21)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]