Hello all,

As I've mentioned in previous emails recently, I'm writing an OpenVAS 
client in PHP.  I've managed to connect to the OpenVAS server, log in, 
retrieve plugins, and start a scan.  But, the scan inevitably hangs at 
some point...  usually, the same point.

So I wanted to know if someone could walk through what the expected OTP 
conversation would look like between the client and server.  I've read 
through the OTP docs but I'm still having trouble.  This is what the 
conversation looks like now:

Client: < OTP/1.0 >
Server: < OTP/1.0 >
Client: Logs in
Client: CLIENT <|> PREFERENCES <|>
... list of prefs ...
I've been sending an empty prefs list to keep things simple
<|> CLIENT
Server sends its preferences
Client: CLIENT <|> LONG_ATTACK
length of targets
targets (just one target in this case)

After this is all done, the server starts sending status messages and 
info about the scan.  But after about a hundred lines or so, it just 
stops doing anything.  The logs on the OpenVAS server aren't saying that 
anything is wrong, the process list still shows that openvasd is still 
performing the scan but it's just hanging.  So, I'm assuming I'm not 
using the protocol correctly.

Can someone let me know what a basic conversation between the client and 
server looks like, in order, so I can try to troubleshoot?  I'll have 
some follow-up questions as soon as I get a basic idea of what the 
conversation looks like, I'm sure.

Thanks!
Shawn

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to