[Openvas-commits] r1375 - trunk/openvas-compendium

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 18 16:05:01 CEST 2008


Author: mwiegand
Date: 2008-09-18 16:04:59 +0200 (Thu, 18 Sep 2008)
New Revision: 1375

Modified:
   trunk/openvas-compendium/ChangeLog
   trunk/openvas-compendium/openvas-compendium.tex
Log:
* openvas-compendium.tex: Updated protocol specification.


Modified: trunk/openvas-compendium/ChangeLog
===================================================================
--- trunk/openvas-compendium/ChangeLog	2008-09-18 13:59:16 UTC (rev 1374)
+++ trunk/openvas-compendium/ChangeLog	2008-09-18 14:04:59 UTC (rev 1375)
@@ -1,5 +1,9 @@
 2008-09-18  Michael Wiegand <michael.wiegand at intevation.de>
 
+	* openvas-compendium.tex: Updated protocol specification.
+
+2008-09-18  Michael Wiegand <michael.wiegand at intevation.de>
+
 	* openvas-compendium.tex: Added information about sladinstaller, updated
 	protocol specification.
 

Modified: trunk/openvas-compendium/openvas-compendium.tex
===================================================================
--- trunk/openvas-compendium/openvas-compendium.tex	2008-09-18 13:59:16 UTC (rev 1374)
+++ trunk/openvas-compendium/openvas-compendium.tex	2008-09-18 14:04:59 UTC (rev 1375)
@@ -4115,6 +4115,33 @@
 CLIENT <|> COMPLETE_LIST <|> CLIENT
 \end{verbatim}
 
+\xname{otp-debug}
+\subsection{DEBUG}
+
+\paragraph{Description:}
+With this command the server reports a identified problem of class "debug". The
+"general" version is applied if no port relates to the note.
+
+\paragraph{Syntax:}
+
+\begin{verbatim}
+SERVER <|> DEBUG <|> host <|> service_name (port_number/protocol_type) <|>
+description <|> oid <|> SERVER
+
+SERVER <|> DEBUG <|> host <|> general <|> description <|> oid <|> SERVER
+\end{verbatim}
+
+where
+\begin{description}
+ \item[host] the target system
+ \item[service\_name] the name of the service (like in /etc/services)
+ \item[port\_number] the port number the problem relates to.
+ \item[protocol\_type] "tcp" or "udp".
+ \item[description] the problem description where newlines have been replaced by
+semicolons.
+ \item[oid] the OID of the NVT that identified the problem.
+\end{description}
+
 \xname{otp-error}
 \subsection{ERROR}
 
@@ -4214,6 +4241,33 @@
  \item[oid] the OID of the NVT that identified the problem.
 \end{description}
 
+\xname{otp-log}
+\subsection{LOG}
+
+\paragraph{Description:}
+With this command the server reports a identified problem of class "log". The
+"general" version is applied if no port relates to the note.
+
+\paragraph{Syntax:}
+
+\begin{verbatim}
+SERVER <|> LOG <|> host <|> service_name (port_number/protocol_type) <|>
+description <|> oid <|> SERVER
+
+SERVER <|> LOG <|> host <|> general <|> description <|> oid <|> SERVER
+\end{verbatim}
+
+where
+\begin{description}
+ \item[host] the target system
+ \item[service\_name] the name of the service (like in /etc/services)
+ \item[port\_number] the port number the problem relates to.
+ \item[protocol\_type] "tcp" or "udp".
+ \item[description] the problem description where newlines have been replaced by
+semicolons.
+ \item[oid] the OID of the NVT that identified the problem.
+\end{description}
+
 \xname{otp-long_attack}
 \subsection{LONG\_ATTACK}
 
@@ -4288,8 +4342,8 @@
 
 \begin{verbatim}
 SERVER <|> PLUGINS_DEPENDENCIES
-plugin_1_name <|> dependency1 <|> dependency2 <|> ... <|>
-plugin_2_name <|> dependency1 <|> dependency2 <|> ... <|>
+nvt_name1 <|> dependency1 <|> dependency2 <|> ... <|>
+nvt_name2 <|> dependency1 <|> dependency2 <|> ... <|>
 ...
 <|> SERVER
 \end{verbatim}
@@ -4301,9 +4355,8 @@
 Attention: This command occurs in two ways.
 
 \begin{enumerate}
- \item This command replaces \verb|PLUGIN_LIST| command in case the protocol
-feature "md5\_caching" was selected by the client. "md5sum" is the MD5 sum over
-all NVTs.
+ \item This command can be used instead the of \verb|PLUGIN_LIST| command.
+"md5sum" is the MD5 sum over all NVTs.
  \item This command follows the \verb|SEND_PLUGINS_MD5| command of the client
 and delivers the md5sums for each NVT.
 \end{enumerate}
@@ -4317,8 +4370,8 @@
  \item
 \begin{verbatim}
 SERVER <|> PLUGINS_MD5
-nvt_name1 <|> md5sum1
-nvt_name2 <|> md5sum2
+nvt_oid1 <|> md5sum1
+nvt_oid2 <|> md5sum2
 ...
 <|> SERVER
 \end{verbatim}
@@ -4391,7 +4444,7 @@
 With this command the values for the preferences are
 communicated. The server uses the commands to inform
 about defaults, the client uses the command to send
-the user selections. The server answers with \verb|PREFERENCES_ERROR|.
+the user selections.
 
 Note that besides some general preferences, the syntax definition
 describes also per-NVT preferences and its special way of applying these.
@@ -4495,30 +4548,6 @@
 the command \verb|ATTACHED_FILE|.
 \end{description}
 
-\xname{otp-preferences_errors}
-\subsection{PREFERENCES\_ERRORS}
-
-\paragraph{Description:}
-With this command the server reports problems with the parameters set by the
-client. It follows immediately the \verb|PREFERENCES| command of the client.
-
-Each "pref\_name" occuring in this list was not accepted by the server. The
-server will apply "default\_value" instead.
-
-In case no "pref\_name" is reported with this command, all preferences where
-accepted.
-
-\paragraph{Syntax:}
-
-\begin{verbatim}
-SERVER <|> PREFERENCES_ERRORS
-pref_name <|> default_value
-pref_name <|> default_value
-pref_name <|> default_value
-...
-<|> SERVER
-\end{verbatim}
-
 \xname{otp-rules}
 \subsection{RULES}
 
@@ -4550,11 +4579,9 @@
 \subsection{SEND\_PLUGINS\_MD5}
 
 \paragraph{Description:}
-This command can be used by the client in case the protocol feature
-"md5\_caching" was selected by the client.
-
-It usually follows the \verb|PLUGINS_MD5| commands of the server in case the
-server side md5sum is not equal to the md5sum of the client side cached NVTs.
+This command usually follows the \verb|PLUGINS_MD5| commands of the server in
+case the server side md5sum is not equal to the md5sum of the client side cached
+NVTs.
 Alternatively, the client can use the command \verb|COMPLETE_LIST|.
 
 The server will answer with command \verb|PLUGINS_MD5|.



More information about the Openvas-commits mailing list