forked from greenbone/openvas-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement: send the lsc data when it is gathered. (greenbone#1203)
* Add: Add new ipc data type IPC_DT_LSC * Add: Add function to handle LSC data type * Change: Update existing general IPC function to handle data with the new type LSC * Add: Add functions to access the internal ipc_data_t information related to the table driven LSC * Add: Add NASL function update_table_driven_lsc_data() This function sends the necessary data for starting a table driven LSC to the parent process * Change: Modify run_table_driven_lsc(). Also, moved to `table_driven_lsc.c` It receives now the the package list and os release, and don't have to look into redis * Change: Make the change backward compatible with older feed versions. If LSC check is not started via IPC, it will run at the end of the scan as before. --------- Co-authored-by: Arno Stiefvater <[email protected]>
- Loading branch information
1 parent
85e8f9a
commit 474b4bf
Showing
9 changed files
with
436 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.