openvas-scanner still running after GVM task stopped
dvppvd opened this issue · 0 comments
dvppvd commented
Expected behavior
openvas-scanner stopped properly when GVM task stopped
Actual behavior
openvas-scanner still running after GVM task stopped
Steps to reproduce
- Start a GVM task.
- Manually stop the running GVM task.
GVM versions
gsa: latest stable source code
gvm: latest stable source code
openvas: latest stable source code
gvm-libs: latest stable source code
openvas-smb: latest main source code
ospd-openvas: latest stable source code
Logfiles
ospd-openvas.log
OSPD[44] 2022-11-30 21:29:18,046: INFO: (ospd.command.command) Scan 024f0924-5154-42e9-8bc8-8ac13af74a93 added to the queue in position 1.
OSPD[44] 2022-11-30 21:29:18,756: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[44] 2022-11-30 21:29:18,929: INFO: (ospd.ospd) Starting scan 024f0924-5154-42e9-8bc8-8ac13af74a93.
OSPD[44] 2022-12-01 01:10:09,115: INFO: (ospd.ospd) 024f0924-5154-42e9-8bc8-8ac13af74a93: Stopping Scan with the PID 21945.
OSPD[44] 2022-12-01 01:10:09,115: INFO: (ospd.ospd) 024f0924-5154-42e9-8bc8-8ac13af74a93: Scan stopped.
OSPD[44] 2022-12-01 01:10:11,027: INFO: (ospd.ospd) 024f0924-5154-42e9-8bc8-8ac13af74a93: Host scan finished.
gvmd.log
event task:MESSAGE:2022-12-01 01h10.09 UTC:9072: Status of task Test (ea52b94d-c3c0-4afa-85a0-0e0ad390444f) has changed to Stop Requested
event task:MESSAGE:2022-12-01 01h10.11 UTC:9072: Status of task Test (ea52b94d-c3c0-4afa-85a0-0e0ad390444f) has changed to Stopped
event task:MESSAGE:2022-12-01 01h10.11 UTC:9072: Task Test (ea52b94d-c3c0-4afa-85a0-0e0ad390444f) has been stopped by nvs
openvas.log
lib misc:MESSAGE:2022-11-30 22h21.35 utc:20437: open_sock_tcp: Target_IP:2091 time-out.
lib misc:MESSAGE:2022-11-30 22h21.35 utc:20439: open_sock_tcp: Target_IP:2091 time-out.
sd main:MESSAGE:2022-12-01 01h10.09 utc:22543: Stopping host Target_IP scan (pid: 22787)
sd main:MESSAGE:2022-12-01 01h10.11 utc:22543: Vulnerability scan 024f0924-5154-42e9-8bc8-8ac13af74a93 finished in 13219 seconds: 1 alive hosts
of 1
lib misc:MESSAGE:2022-12-01 01h10.47 utc:9067: open_sock_tcp: Target_IP:2082 time-out.
lib misc:WARNING:2022-12-01 01h10.47 utc:9067: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
lib misc:MESSAGE:2022-12-01 01h10.48 utc:9069: open_sock_tcp: Target_IP:2091 time-out.
lib misc:WARNING:2022-12-01 01h10.48 utc:9069: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
lib misc:MESSAGE:2022-12-01 01h10.48 utc:9071: open_sock_tcp: Target_IP:2091 time-out.
lib misc:WARNING:2022-12-01 01h10.48 utc:9071: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
lib misc:MESSAGE:2022-12-01 01h10.49 utc:8997: open_sock_tcp: Target_IP:2077 time-out.
...
lib misc:MESSAGE:2022-12-01 01h18.11 utc:9439: open_sock_tcp: Target_IP:80 time-out.
lib misc:WARNING:2022-12-01 01h18.11 utc:9439: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
lib misc:MESSAGE:2022-12-01 01h18.11 utc:9438: open_sock_tcp: Target_IP:80 time-out.
lib misc:WARNING:2022-12-01 01h18.11 utc:9438: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.