OK MY BAD,
was using omp-2.0 howto ... when omp3.0 give the solution ;-) adding export attribute to the get_config commands ;-)

step by step, i progress, sorry for the disturb guys.


Le 13/06/2012 17:17, Sebastien Aucouturier a écrit :
So far, here is my progress,

i downgrade my gnutls to 2.8.6 , but 2.10.4 seems working too.
gnutls 2.12.18 and 2.12.20 were a nightmare, openvas5 was not working
at all with omp, i will track this gnutls problems later

so now, my progress and you help will be appreciate please
i export a config to a file as a config_reponse :
omp -xml="<get_configs config_id='xxxx' preferences='1'/>" > export.config

i edit the file to add <create_config> at start and </create_config> at end,

and i try to import on another host (config name and id does not
exist on this host):
cat  export.config | omp -X -

got some errors so i remove some entries in the config_response file
: nvt_count, in_use, tasks, writable, ...

and now i stuck to a new error i do not understand :

<create_config_response status_text="Error in NVT_SELECTORS
elements." status="400"></create_config_response>

i put my hand in the engine and found that create_config return -3
because selectors in insert_nvt_selectors is NULL.

what i miss so far ???? i think my method to export config must be
faulty, as i have to do to much change on the file, isn't it ?

please help me.

--
    | Sébastien AUCOUTURIER | Software Design Engineer Lead
    | ITrust | 55 rue l'Occitane BP 67303 31673 LABEGE CEDEX
    | Email: [email protected]
    | Fixe Sdt. 05.67.34.67.80 | Fax. 09.80.08.37.23
    | IT Security Services & SaaS Editor
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to