Skip to content

openvas-scanner 22.4.1

Compare
Choose a tag to compare
@greenbonebot greenbonebot released this 09 Jan 08:58
· 897 commits to main since this release

22.4.1 - 2023-01-09

Added

  • documentation for NASL cert-functions (#1272) c32044e3
  • documentation for NASL snmp-functions (#1270) d7168b5f
  • document Networking function in the NASL manual (#1256) 395b3a8f
  • documentation for NASL host-functions (#1264) 934f70da
  • documentation for built-in nasl HTTP Functions 32ca0d99
  • NASL documentation for unsafe functions 8ca6e91f
  • documentation for NASL ssh-functions 40276ede
  • Initial rust NASL interpreter (#1234) d5e9f103
  • documentation 4828d140
  • more documentation 4a93a372
  • more documentation 1965054b
  • more documentation 36e1afc4
  • documentation for nasl functions ee2084eb
  • convertion from string timestamp to second since epoch for cration_time and last_modification tags 5adeb7fe
  • handle wrong plugin path error 14a7ca0d
  • Implement Display trait for Category This allows to convert the category directly to a string. 263411f5
  • Document which Nvt members and methods are used during the plugin upload 2a692598
  • store references in the redis cache. 2affab75
  • function get_prefs() to get the a vector of string representing the script preferences, as they have to be stored in the redis cache 93a70b17
  • get the references from the nvt structure and store it in the redis cache 1e8b375b
  • function get_refs() 2b822a08
  • function for returning NvtRef members ef20279c
  • test for add_nvt 172a1697
  • function redis_add_nvt() to add a new nvt to the current redis namespace a22b44e5
  • functions to add preferences, references and severities to the Nvt structure 8e3b570d
  • Default trait for Nvt. Also fix the new() to retunr the initialized Nvt. Adjust format. 38936941
  • function add_tag() 89803411
  • and change documentation cdfc94ae
  • RedisValueHandler to handle the different value types in a Redis Result. It was added first for handling Nil, e.g. when a key is not found. 6f9d9321
  • Function for set and get the nvtcache key. This should contain the feed version Also a function for resetting the nvtcache (delete and release). b8595215
  • wrap function for setting keys with generic values. This is done for making the RedisCtx::kb member private. so is not accesible from outside the module. 921124e3
  • Tooling for documentation manual and NASL man (#1194) 5478e0d6
  • |, && to nasl-syntax-parser b84419a5
  • !, != and !~ operations into nasl-syntax-parser 4e4d61d4
  • missing scanneraux.c file, which includes de destroy_scan_globals() ab20dab3
  • document two new scanner preferences for alive tests (#1204) 9a05f630
  • documentation for LSC IPC data type 0c8c8c3d
  • documentation for IPC protocol db8cff22
  • inter process communication e3716515
  • fork observing mechanism (#1165) c72b6df5

Removed

Changed

  • Use action for release Workflow fbd51e7b
  • Update creating tags for container images (#1263) 31791b5a
  • Use redis pipeline for writing a batch of commands at once 23adeef0
  • check if there are preferences before add them 95ee9d40
  • Split the function add_nvt. Now the duplicated oid check is performed in a private function 5a1b30cb
  • Get the key string as reference, so it is not consumed 35d3d117
  • use globally stored main_kb instead of passing it around faf8fe57
  • typo 9c7faec5
  • rename kb_check*() functions to kb_item_*_with_main_kb_check. 641f2b84
  • Improve integration test 5cfcac38
  • set_oid() funtion doesn't need to return anything 352bcbae
  • make the tag member in the Nvt structure a Vector of (key,val) tuples. 260ccb18
  • Split the strings and use vector of strings instead where necessary 6dd0a8e0
  • better error handling. Embeed the RedisError instead of wrapping it. Also defined more DbError types. 18aaf2a4
  • Improve display implementation for Catefory dc7040dd
  • Use Vec instead of LinkedList for refs, prefs and severities db988443
  • Don't return Results for nvt::set_() functions. Don't return a Result, but a &str from nvt::get_() functions 33dc3540
  • dont use constants. Use environment variables instead, with default fallback, instead b8ba2baf
  • small code improvemente 3a98b57d
  • use the right redis cmd, to add the fields in the right order 34ea4422
  • Use the globally defined variable NVTICACHE e8ba4477
  • fix nvtcache::add_nvt() 26f065c3
  • get functions. Return a clone of the Nvt members O Otherwise, the Nvt struct was borrowed here and it can't be borrowed again later. 0f0c12be
  • make structs publics. efa3d30c
  • abort on found db inconsistency 96a3daec
  • add quoteable string to Tokenizer 501f558f
  • add unquoteable string to tokenizer 4caee914
  • add tokenizing of triple and four character tokens 94d9631e
  • add more double tokens into Tokenizer 82a8a51d
  • switch build_token to macro, create macro to build double_tokens a9fe6ea6
  • add tokenizer for single character tokens cf380783
  • rename bump to advance d8053f29
  • crsr to cursor to be more readable 5a2b79a3
  • add cursor to move char wise within source code f77185fa
  • Apply suggested changes bf8c1bf9
  • make error message clearer when chdir fails e29c588c
  • Split creating build and production images b5bfee64
  • Build container images for pull requests too 54da5972
  • Use docker/meta-action for container tags and labels 3c086d2b
  • Use return instead of exit in openvas.c (#1155) 3ac3f51f
  • more useful logging for socket_negotiate_ssl (#1132) 149ccc21

Bug Fixes

  • Stop scan (#1252) e9167809
  • logic. Now the UA will be saved. dbb492be
  • parse every json string in the IPC pipe. 8b2f5878
  • set the main kb during init openvas-nasl. 25d2a3aa
  • initialize ipc data structure (#1245) cf2f0679
  • test 12f40433
  • Reset main kb link after fork()'ing 2fa8ea8d
  • plugin upload when signature check is enabled. acf53f76
  • index.md for report-functions b30aa246
  • add the nvt after the checks calling the recently added redis_add_nvt(). ef1e910f
  • NASL does not do it as a that just (a = 1) returns 0991e672
  • missing NASL dependency netstat 4e6ff767
  • use main_kb to verify scan_id for inconsistencies 11e06e4e
  • convert len1 and len2 to size_t, since the function returns a size_ value. Also, convert_string_ntlmssp uses (size_t) -1 as error code, so checking for it as well. 77d15729
  • adjust format with clang-format 6ca43e34
  • Multiple bugs reported by the clang static analyzer. 72ef8763
  • Bug reported by the clang static analyzer. 099487df
  • Bug reported by the clang static analyzer. 8e06fe99
  • Bug reported by the clang static analyzer. 35f307af
  • Bug reported by the clang static analyzer. efe513ee
  • Bug reported by the clang static analyzer. 9dabe7b2
  • Bug reported by the clang static analyzer. ef2340ba
  • Bug reported by the clang static analyzer. c7b3e9de
  • warning detected via ccc-analyzer. eaf0b756
  • memory leak. Free trace buffer on error 6033cc54
  • warning detected via ccc-analyzer 4c7a6648
  • memory leak detected by ccc-analyzer Free on error. 36bb7525
  • memory leak Always free name. 69b93de6
  • memory leak detected via ccc-analyzer Finally free the ipc context. 845380f4
  • warning detected via ccc-analyzer warning: Assigned value is garbage or undefined 815c1a26
  • null check. It has never closed the child process because a wrong logic. d145331b
  • warning detected via ccc-analyzer Initialize strutct 58747a95
  • more memory leaks in nasl_snmp.c 8f0be39c
  • memory leak. Make a copy of result to be returned as tree_cell and free result. Add destroy_snmp_result() function 44d969e2
  • more memory leaks found via ccc-analyzer 8b2558ba
  • possible memory leak detected via ccc-analyzer Allocate memory later and fix possible memory leak f9298a02
  • possible memory leak detected via ccc-analyzer Free request on error. 7a312d8a
  • possible memory leak detected via ccc-analyzer Move memory allocation inside 'if' block and avoid memory leak e3fef974
  • possible memory leak detected via ccc-analyzer Free frame, allocated in forge_frame. Members don't need to be free()'d. 6073025f
  • possible memory leak detected via ccc-analyzer Fix null check fc35c871
  • possible memory leak detected via ccc-analyzer Destroy ipc ctx when fork fails. 134ee40b
  • warning detected via ccc-analyzer e935e0a1
  • warning reported by ccc-analyzer 9009246f
  • memory leaks in ipc_openvas.c 5e1e6129
  • Solve warning detected by ccc-analyzer f55c05ca
  • initialize global_max_hosts and global_max_checks from config file (#1210) 2d536948
  • cleanup children pluginlaunch_wait_for_free_process a9483735
  • Could not fork too many open files 354c42a1
  • set transport again if falls back in a unecrypted connection (#1190) c4f5a8c1
  • duplicate destroy call 4aefb831
  • change ipc_exec_as_process to use copy instead of pointer 1db7508b
  • use newdir as a path in message when verification failure (#1182) 476201e4
  • determine SSL/TLS support on services (#1176) 710066d4
  • PLugin process keeps scanning after manually stopping task (#1164) c080bdd5
  • process handler deadlock and signal handler c9b9e8d6
  • sync Notus for enterprise feed. (#1150) 39094ec5
  • openvas-nasl should not exit when forked 1dcb23e0