Tor 0.4.9.2-alpha-dev
|
Header file for control_auth.c. More...
Go to the source code of this file.
Functions | |
void | control_remove_authenticated_connection (const control_connection_t *conn) |
int | init_control_cookie_authentication (int enabled) |
char * | get_controller_cookie_file_name (void) |
smartlist_t * | decode_hashed_passwords (struct config_line_t *passwords) |
int | handle_control_authchallenge (control_connection_t *conn, const struct control_cmd_args_t *args) |
int | handle_control_authenticate (control_connection_t *conn, const struct control_cmd_args_t *args) |
void | control_auth_free_all (void) |
Variables | |
const struct control_cmd_syntax_t | authchallenge_syntax |
const struct control_cmd_syntax_t | authenticate_syntax |
Header file for control_auth.c.
Definition in file control_auth.h.
void control_auth_free_all | ( | void | ) |
Definition at line 470 of file control_auth.c.
void control_remove_authenticated_connection | ( | const control_connection_t * | conn | ) |
Definition at line 44 of file control_auth.c.
smartlist_t * decode_hashed_passwords | ( | config_line_t * | passwords | ) |
Decode the hashed, base64'd passwords stored in passwords. Return a smartlist of acceptable passwords (unterminated strings of length S2K_RFC2440_SPECIFIER_LEN+DIGEST_LEN) on success, or NULL on failure.
Definition at line 119 of file control_auth.c.
char * get_controller_cookie_file_name | ( | void | ) |
Helper: Return a newly allocated string containing a path to the file where we store our authentication cookie.
Definition at line 79 of file control_auth.c.
Referenced by get_esc_cfile(), and tor_cleanup().
int init_control_cookie_authentication | ( | int | enabled | ) |
Definition at line 93 of file control_auth.c.
|
extern |
Definition at line 154 of file control_auth.c.
|
extern |
Definition at line 265 of file control_auth.c.