On 2017-06-21 11:50, Dario Teixeira wrote:
Hi,

You're trying to use the manager protocol, which is used by the
openvasmd not openvassd. Communicating with openvassd directly (over
OTP) is for internal usage and is not recommended for external clients
as it may change at any time.

Thanks for the reply. I'm trying to communicate directly with Openvassd using the OSP protocol (formerly known as OTP, if I understand correctly). According to the docs [1], "<get_version/>" is part of the OSP API, which is why I'm puzzled it doesn't work. Note that I'm writing a daemon that replaces Openvasmd, which is why using OMP or relying on Openvasmd is not
an option.

Best regards,
Dario Teixeira

[1] http://docs.greenbone.net/API/OSP/osp-1.0.html


openvassd still uses OTP. It is the ospd-* scanners that use the OSP protocol. If you're still interested in communicating directly with openvassd, here is a little example on how to do it:

$ echo -en '< OTP/2.0 >\nCLIENT <|> NVT_INFO\n' | ncat -U /usr/var/run/openvassd.sock

You can find some very outdated OTP documentation here [1].

[1] http://www.openvas.org/compendium/openvas-compendium.html

Best regards,

Hani.



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

Reply via email to