That's really useful. -----Original Message----- From: Matthew Mundell Sent: Monday, November 29, 2010 7:29 PM To: Derek Sooman Cc: [email protected] Subject: Re: [Openvas-discuss] Java OMP client
> I would like to start to work on this. Where is the best place to get > documentation on the OMP protocol from a development angle? Are there > any > kind of developer's notes? Anything that could help me?? The OMP Change Request http://www.openvas.org/openvas-cr-28.html is the most up to date OMP spec. If you're using the SVN trunk Manager the new format attribute to the help command will give you a very similar HTML document. This doc additionally includes RelaxNG snippets for each command. omp -X '<help format="HTML"/>' | xmlstarlet sel -t -v /help_response/schema/text\(\) | base64 -d Probably the "omp" command line client shown above will help you, to test out OMP commands. Maybe also the GSA logs, to see what it sends and what the Manager returns. There is code that does OMP in openvas-cli/omp/omp.c. A simple example is the manager_get_report_formats function. This file uses the C OMP library in openvas-libraries/omp/omp.c. It also uses networking and XML functions from openvas-libraries/misc/openvas_server.c and openvas-libraries/omp/xml.c. The code in gsa/src/gsad_omp.c is similar to that in openvas-cli. There's also C++ OMP usage in gsd. _______________________________________________ Openvas-discuss mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
