Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
77e51224
Commit
77e51224
authored
Apr 11, 2012
by
Nick Mathewson
🎨
Browse files
Obsolete GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
Closes ticket 4572.
parent
ab338e3b
Changes
5
Hide whitespace changes
Inline
Side-by-side
changes/bug4572
0 → 100644
View file @
77e51224
o Removed features
- Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
authorities needed to use it for a while to keep the network working
as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but that
was six months ago. As of now, it should no longer be needed or used.
doc/tor.1.txt
View file @
77e51224
...
...
@@ -1610,10 +1610,6 @@ DIRECTORY AUTHORITY SERVER OPTIONS
votes on whether to accept relays as hidden service directories.
(Default: 1)
GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays **0**|**1**::
When this option is set to 0, do not vote to give the Guard flag to any
version of Tor vulnerable to CVE-2011-2769. (Default: 0)
HIDDEN SERVICE OPTIONS
----------------------
...
...
src/or/config.c
View file @
77e51224
...
...
@@ -295,8 +295,7 @@ static config_var_t _option_vars[] = {
V
(
GeoIPFile
,
FILENAME
,
SHARE_DATADIR
PATH_SEPARATOR
"tor"
PATH_SEPARATOR
"geoip"
),
#endif
V
(
GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
,
BOOL
,
"0"
),
OBSOLETE
(
"GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays"
),
OBSOLETE
(
"Group"
),
V
(
HardwareAccel
,
BOOL
,
"0"
),
V
(
HeartbeatPeriod
,
INTERVAL
,
"6 hours"
),
...
...
src/or/dirserv.c
View file @
77e51224
...
...
@@ -2417,8 +2417,7 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs,
routerbw
>=
options
->
AuthDirGuardBWGuarantee
)
||
routerbw
>=
MIN
(
guard_bandwidth_including_exits
,
guard_bandwidth_excluding_exits
))
&&
(
options
->
GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
||
is_router_version_good_for_possible_guard
(
ri
->
platform
)))
{
(
is_router_version_good_for_possible_guard
(
ri
->
platform
)))
{
long
tk
=
rep_hist_get_weighted_time_known
(
node
->
identity
,
now
);
double
wfu
=
rep_hist_get_weighted_fractional_uptime
(
...
...
src/or/or.h
View file @
77e51224
...
...
@@ -3270,10 +3270,6 @@ typedef struct {
* number of servers per IP address shared
* with an authority. */
/** Should we assign the Guard flag to relays which would allow
* exploitation of CVE-2011-2768 against their clients? */
int
GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
;
/** If non-zero, always vote the Fast flag for any relay advertising
* this amount of capacity or more. */
uint64_t
AuthDirFastGuarantee
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment