- Global buffer_config_preference_xml (GString *buffer, iterator_t *prefs, config_t config, int hide_passwords)
- g_convert back to ISO-8559-1 for scanner?
- Global buffer_config_preference_xml (GString *buffer, iterator_t *prefs, config_t config, int hide_passwords)
- g_convert back to ISO-8559-1 for scanner?
- Global buffer_results_xml (GString *, iterator_t *, task_t, int, int, int, int, int, int, int, const char *, iterator_t *, int)
Defined in omp.c!
Exported for manage_sql.c.
- Global buffer_results_xml (GString *buffer, iterator_t *results, task_t task, int include_notes, int include_notes_details, int include_overrides, int include_overrides_details, int include_tags, int include_tags_details, int include_details, const char *delta_state, iterator_t *delta_results, int changed)
- Exported for manage_sql.c.
- Global config_nvts_growing (config_t config)
- Move these config functions to the config section.
- Global config_nvts_growing (config_t config)
- Move these config functions to the config section.
- Global create_user (const gchar *name, const gchar *password, const gchar *hosts, int hosts_allow, const gchar *ifaces, int ifaces_allow, const array_t *allowed_methods, array_t *groups, gchar **group_id_return, array_t *roles, gchar **role_id_return, gchar **r_errdesc, user_t *new_user, int forbid_super_admin)
- Adding users authenticating with certificates is not yet implemented.
- Global create_user (const gchar *name, const gchar *password, const gchar *hosts, int hosts_allow, const gchar *ifaces, int ifaces_allow, const array_t *allowed_methods, array_t *groups, gchar **group_id_return, array_t *roles, gchar **role_id_return, gchar **r_errdesc, user_t *new_user, int forbid_super_admin)
- Adding users authenticating with certificates is not yet implemented.
- Global delete_task (task_t task, int ultimate)
- Many other places just assert this.
- Global delete_task (task_t task, int ultimate)
- Many other places just assert this.
- Global delete_task_lock (task_t task, int ultimate)
- Many other places just assert this.
- Global delete_task_lock (task_t task, int ultimate)
- Many other places just assert this.
- Global from_buffer_size
- As with the OMP version, this should most likely be passed to and from the client in a data structure like an otp_parser_t.
- Global from_client []
- Most likely the client should get these from init_omp_process inside an omp_parser_t and should pass the omp_parser_t to process_omp_client_input. process_omp_client_input can pass then pass them on to the other Manager "libraries".
- Global from_client []
- Most likely the client should get these from init_omp_process inside an omp_parser_t and should pass the omp_parser_t to process_omp_client_input. process_omp_client_input can pass then pass them on to the other Manager "libraries".
- Global from_scanner
- As with the OMP version, these should most likely be passed to and from the client in a data structure like an otp_parser_t.
- Global G_LOG_DOMAIN
For access to scanner_t scanner.
For scanner_init_state.
Ensure that the globals used to store information across the XML parser callbacks (for example, current_scanner_preferences) are freed in the failure cases.
Consider moving to libs (so please leave "server" in the names).
- Global make_nvt_from_nvti (const nvti_t *nvti, int remove)
- Freeing string literals.
- Global make_nvt_from_nvti (const nvti_t *nvti, int remove)
- Freeing string literals.
- Global manage_schema (gchar *format, gchar **output_return, gsize *output_length, gchar **extension, gchar **content_type)
- NULL arg is glibc extension.
- Global manage_schema (gchar *format, gchar **output_return, gsize *output_length, gchar **extension, gchar **content_type)
- NULL arg is glibc extension.
- Global manage_task_update_file (task_t task, const char *name, const void *content)
- Probably better to save ASCII instead of base64.
- Global manage_task_update_file (task_t task, const char *name, const void *content)
- Probably better to save ASCII instead of base64.
- Class message_t
- Should be in otp.c/h.
- Global migrate_10_to_11 ()
- ROLLBACK on failure.
- Global migrate_11_to_12 ()
- ROLLBACK on failure.
- Global migrate_12_to_13 ()
- ROLLBACK on failure.
- Global migrate_13_to_14 ()
- ROLLBACK on failure.
- Global migrate_14_to_15 ()
- ROLLBACK on failure.
- Global migrate_15_to_16 ()
- ROLLBACK on failure.
- Global migrate_16_to_17 ()
- ROLLBACK on failure.
- Global migrate_17_to_18 ()
- ROLLBACK on failure.
- Global migrate_18_to_19 ()
- ROLLBACK on failure.
- Global migrate_19_to_20 ()
- ROLLBACK on failure.
- Global migrate_20_to_21 ()
- ROLLBACK on failure.
- Global migrate_21_to_22 ()
- ROLLBACK on failure.
- Global migrate_22_to_23 ()
- ROLLBACK on failure.
- Global migrate_33_to_34 ()
- ROLLBACK on failure.
- Global migrate_34_to_35 ()
- ROLLBACK on failure.
- Global migrate_35_to_36 ()
- ROLLBACK on failure.
- Global migrate_39_to_40 ()
- ROLLBACK on failure.
- Global migrate_40_to_41 ()
- ROLLBACK on failure.
- Global migrate_41_to_42 ()
- ROLLBACK on failure.
- Global migrate_42_to_43 ()
- ROLLBACK on failure.
- Global migrate_54_to_55 ()
- ROLLBACK on failure.
- Global migrate_55_to_56 ()
- ROLLBACK on failure.
- Global migrate_56_to_57 ()
- ROLLBACK on failure.
- Global migrate_57_to_58 ()
- ROLLBACK on failure.
- Global migrate_58_to_59 ()
- ROLLBACK on failure.
- Global migrate_59_to_60 ()
- ROLLBACK on failure.
- Global migrate_60_to_61 ()
- ROLLBACK on failure.
- Global migrate_61_to_62 ()
- ROLLBACK on failure.
- Global migrate_62_to_63 ()
- ROLLBACK on failure.
- Global migrate_63_to_64 ()
- ROLLBACK on failure.
- Global migrate_64_to_65 ()
- ROLLBACK on failure.
- Global migrate_65_to_66 ()
- ROLLBACK on failure.
- Global migrate_66_to_67 ()
- ROLLBACK on failure.
- Global migrate_67_to_68 ()
- ROLLBACK on failure.
- Global migrate_68_to_69 ()
- ROLLBACK on failure.
- Global migrate_69_to_70 ()
- ROLLBACK on failure.
- Global migrate_70_to_71 ()
- ROLLBACK on failure.
- Global migrate_71_to_72 ()
- ROLLBACK on failure.
- Global migrate_72_to_73 ()
- ROLLBACK on failure.
- Global migrate_73_to_74 ()
- ROLLBACK on failure.
- Global migrate_74_to_75 ()
- ROLLBACK on failure.
- Global migrate_8_to_9 ()
- Does ROLLBACK happen when these fail?
- Global migrate_9_to_10 ()
- ROLLBACK on failure.
- Global migrate_9_to_10_user_uuid (const char *name)
- Untested
- Global openvas_scanner_read ()
- Rehandshake.
- Global OVAS_MANAGE_REPORT_ID_LENGTH
- How is this documented?
- Class port_t
- Should be in otp.c/h.
- Global process_omp_client_input ()
- The -2 return has been replaced by send_to_client trying to write the to_client buffer to the client when it is full. This is necessary, as the to_client buffer may fill up halfway through the processing of an OMP element.
- Global process_otp_scanner_input (void(*)())
Replace "\n" with newline in description.
Field could be "general".
Replace "\n" with newline in description.
Field could be "general".
Replace "\n" with newline in description.
Field could be "general".
Exit more formally with Scanner?
Consider reading all fields up to <|> SERVER?
- Global process_otp_scanner_input (void(*)())
Replace "\n" with newline in description.
Field could be "general".
Replace "\n" with newline in description.
Field could be "general".
Replace "\n" with newline in description.
Field could be "general".
Exit more formally with Scanner?
Consider reading all fields up to <|> SERVER?
- Global report_counts (const char *report_id, int *debugs, int *holes, int *infos, int *logs, int *warnings, int *false_positives, double *severity, int override, int autofp, int min_qod)
- Lacks permission check. Caller contexts all have permission checks before calling this so it's safe. Rework callers to use report_counts_id instead.
- Global report_counts (const char *report_id, int *debugs, int *holes, int *infos, int *logs, int *warnings, int *false_positives, double *severity, int override, int autofp, int min_qod)
- Lacks permission check. Caller contexts all have permission checks before calling this so it's safe. Rework callers to use report_counts_id instead.
- Global report_timestamp (const char *report_id, gchar **timestamp)
- Lacks permission check. Caller contexts all have permission checks before calling this so it's safe. Rework callers so they pass report_t instead of UUID string.
- Global report_timestamp (const char *report_id, gchar **timestamp)
- Lacks permission check. Caller contexts all have permission checks before calling this so it's safe. Rework callers so they pass report_t instead of UUID string.
- Global reset_scanner_states ()
- Exported for scanner.c.
- Global run_otp_task (task_t task, scanner_t scanner, int from, char **report_id)
On fail exits only, may need to honour request states that one of the other processes has set on the task (stop_task, request_delete_task).
Also reset status on report, as current_scanner_task is 0 here.
- Global scanner_init_offset
- Exported for ompd.c.
- Global scanner_init_state
- Exported for ompd.c.
- Global scanner_init_state_t
- Exported for following functions.
- Global serve_omp (openvas_connection_t *, const gchar *, gchar **, void(*progress)())
Confirm and clarify complications, especially last one.
nfds must only include a socket if it's in >= one set.
Shutdown on failure (for example, if a read fails).
Then should get EOF (-3).
This may be because the scanner closed the connection at the end of a command?
- Global serve_omp (openvas_connection_t *, const gchar *, gchar **, void(*progress)())
Confirm and clarify complications, especially last one.
nfds must only include a socket if it's in >= one set.
Shutdown on failure (for example, if a read fails).
Then should get EOF (-3).
This may be because the scanner closed the connection at the end of a command?
- Global set_scanner_init_state (scanner_init_state_t state)
- Exported for ompd.c and scanner.c.
- Global set_task_observers (task_t task, const gchar *observers)
- Similar to validate_user in openvas-administrator.
- Global set_task_observers (task_t task, const gchar *observers)
- Similar to validate_user in openvas-administrator.
- Global set_task_parameter (task_t task, const char *parameter, char *value)
- Free value consistently.
- Global set_task_parameter (task_t task, const char *parameter, char *value)
- Free value consistently.
- Global slist_free (GSList *list)
- Duplicate in openvas_string module (openvas_string_list_free) . Find proper module to place this function.
- Global target_port_list (target_t)
- Move return to arg; return -1.
- Global target_port_list (target_t)
- Move return to arg; return -1.
- Global task_finished_report_count (task_t task)
- Should be on tasks page above.
- Global task_id (task_t task)
- The cast is a hack for compatibility with the old, alternate, FS based storage mechanism.
- Global task_id (task_t task)
- The cast is a hack for compatibility with the old, alternate, FS based storage mechanism.
- Global task_trend (task_t task, int override, int min_qod)
Either fail better or abort at SQL level.
Either fail better or abort at SQL level.
- Global task_trend (task_t task, int override, int min_qod)
Either fail better or abort at SQL level.
Either fail better or abort at SQL level.
- Global to_client []
As described in omp.c, probably should be replaced by omp_parser_t.
Temporarily declared here, for omp.c SEND_TO_CLIENT.
- Global to_client []
As described in omp.c, probably should be replaced by omp_parser_t.
Temporarily declared here, for omp.c SEND_TO_CLIENT.