mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
r9319@Kushana: nickm | 2006-10-22 15:25:18 -0400
oops; include or.h changes for last patch. svn:r8795
This commit is contained in:
parent
42bab1c6d3
commit
ed69c10b3f
@ -1572,10 +1572,14 @@ typedef struct {
|
|||||||
config_line_t *RedirectExit; /**< List of config lines for simple
|
config_line_t *RedirectExit; /**< List of config lines for simple
|
||||||
* addr/port redirection */
|
* addr/port redirection */
|
||||||
smartlist_t *RedirectExitList; /**< List of exit_redirect_t */
|
smartlist_t *RedirectExitList; /**< List of exit_redirect_t */
|
||||||
|
config_line_t *AuthDirBadExit; /**< Address policy for descriptors to
|
||||||
|
* mark as bad exits. */
|
||||||
config_line_t *AuthDirReject; /**< Address policy for descriptors to
|
config_line_t *AuthDirReject; /**< Address policy for descriptors to
|
||||||
* reject. */
|
* reject. */
|
||||||
config_line_t *AuthDirInvalid; /**< Address policy for descriptors to
|
config_line_t *AuthDirInvalid; /**< Address policy for descriptors to
|
||||||
* never mark as valid. */
|
* never mark as valid. */
|
||||||
|
int AuthDirListBadExits; /**< True iff we should list bad exits,
|
||||||
|
* and vote for all other exits as good. */
|
||||||
int AuthDirRejectUnlisted; /**< Boolean: do we reject all routers that
|
int AuthDirRejectUnlisted; /**< Boolean: do we reject all routers that
|
||||||
* aren't named in our fingerprint file? */
|
* aren't named in our fingerprint file? */
|
||||||
char *AccountingStart; /**< How long is the accounting interval, and when
|
char *AccountingStart; /**< How long is the accounting interval, and when
|
||||||
@ -2321,6 +2325,7 @@ int dir_policy_permits_address(uint32_t addr);
|
|||||||
int socks_policy_permits_address(uint32_t addr);
|
int socks_policy_permits_address(uint32_t addr);
|
||||||
int authdir_policy_permits_address(uint32_t addr, uint16_t port);
|
int authdir_policy_permits_address(uint32_t addr, uint16_t port);
|
||||||
int authdir_policy_valid_address(uint32_t addr, uint16_t port);
|
int authdir_policy_valid_address(uint32_t addr, uint16_t port);
|
||||||
|
int authdir_policy_badexit_address(uint32_t addr, uint16_t port);
|
||||||
|
|
||||||
int validate_addr_policies(or_options_t *options, char **msg);
|
int validate_addr_policies(or_options_t *options, char **msg);
|
||||||
void policies_parse_from_options(or_options_t *options);
|
void policies_parse_from_options(or_options_t *options);
|
||||||
|
Loading…
Reference in New Issue
Block a user