repo.or.cz
/
tor.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
expand the blurb
2018-04-13
D
avid Goulet
to
k
en_bucket: Fix indentation
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-04-13
David Go
u
l
e
t
doc:
Move DOS options below SERVER opti
o
ns
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-04-13
Dav
i
d Goulet
d
oc: Imp
r
ove
D
oS section o
f
t
he man pag
e
tor
.
1
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-04-09
David Goulet
compat: Fix un
c
hec
k
ed r
e
turn val
u
e from ev
e
nt_del()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-04-05
David
Goulet
man:
Move RephistTrackTi
m
e to the se
r
ver
s
ec
t
ion
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-04-04
D
a
vid Gou
l
e
t
man: Add a commen
t
to anchor only op
t
ion
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-04-04
David Goulet
rel
a
y: Remo
v
e max middle cells dead
cod
e
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-03-27
Davi
d
Goulet
re
l
a
y
: Avoid
c
o
nnecting to
do
w
n relays
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-03-23
Da
v
id Go
u
let
cha
n
: Use
c
hannel_is_client() in channel_do
_
op
e
n_actions(
)
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-03-20
David G
o
ulet
hs-v3: BUG() on missing desc
r
iptors durin
g
rotation
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-15
D
a
vi
d
Goulet
man: Upda
t
e th
e
Cir
c
ui
t
PriorityHalflife e
n
try
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-15
David Goulet
cm
u
x: Always use the cmux po
l
i
cy
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-15
David
G
oulet
cmux:
Remove round-robin circuit poli
c
y
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-15
Da
v
id Goulet
cmux: Remove PARANOIA ass
e
r
t
funct
i
ons
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-15
Da
v
id Goulet
cm
u
x
:
R
ename cell_
e
wma_se
t
_sc
a
le_factor()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-15
David Goulet
cmux: Make EWMA pol
i
cy
mandatory
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-13
David Go
u
l
e
t
M
ake check-cha
n
ges hap
p
y
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-13
Dav
i
d Goulet
man: Docum
e
nt default values if not i
n
t
he consensus
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-13
David Goulet
Merge remote-trac
k
ing branc
h
'dgoulet/bug25223
_
029_01
.
.
.
commit
|
commitdiff
|
tree
2018-02-13
David Goulet
dos: Add
e
xtr
a
safety ass
e
r
t
s
i
n cc_sta
t
s
_r
e
f
ill_bucket()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-13
Davi
d
Goule
t
do
s
: Don't set
c
onsensus
param i
f
we
aren't a publ
i
c
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-13
David
Goulet
dirserv: Im
p
ro
v
e returne
d
messag
e
when re
l
ay is reject
e
d
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-09
David Goulet
t
est: DoS test to make sure we
e
xclude know
n
r
elay
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-09
David
G
ou
l
e
t
do
s
: Excl
u
de known relays
f
r
o
m cl
i
ent
co
n
nect
i
on
count
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-08
David
G
oulet
Merge branch 'tic
k
et25
1
83_029_
0
1' int
o
ticket24902_029_
0
5
commit
|
commitdiff
|
tree
2018-02-08
David Go
u
let
test: Ad
d
unit test
s
for addressset
.
c
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-08
David Goulet
dirserv
:
Impro
v
e re
t
urn
e
d
m
essage when relay is
r
ejected
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-07
Davi
d
Goule
t
Remove a
n
ything
relate
d
to the old Soc
k
sSockets opt
i
on
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-07
David Go
u
let
test: Bump
to 10 msec gap in
t
h
e
monotonic test
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-06
David Go
u
let
rephist: Stop tr
a
cking relay c
o
n
nectio
n
s
tatu
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-06
David
G
o
ulet
r
ephist
:
Stop t
r
ack
i
ng EXTEND attempts
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-05
David
Goulet
Make
c
ircuit_log_ancient_one_hop_circuits() ignore
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-05
David Goule
t
geoip: Ma
k
e g
e
oip_client_cache_total_allocat
i
on() return
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-02
David G
o
ulet
dos: We can put less token than the curren
t
a
moun
t
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-02
David Goulet
Me
r
ge branch
'
ticke
t
251
2
2_029_0
2
' into ticket24902_029_05
commit
|
commitdiff
|
tree
2018-02-02
D
a
v
id Go
u
le
t
geo
i
p: Add cli
e
ntmap_entry_new() f
u
n
c
t
ion
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-02
Dav
i
d
Go
u
let
g
e
oip: Increment a
n
d decre
m
ent fun
c
tions
f
or the
geoip
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-02
David Goulet
ge
o
ip: Hook the
c
l
i
ent hist
o
ry cache in
t
o the OOM ha
n
dler
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-02
David Goule
t
sc
h
e
d
:
When
rel
e
asing a
channel,
do not BUG()
if ab
s
e
nt
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-01
David Go
u
le
t
test: KIST Sche
d
uler un
i
t tests to
t
est t
h
e
pend
i
n
g
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-02-01
David Goulet
Merg
e
branch 'bug24700
_
0
3
2_01' into bug24700_033_01
commit
|
commitdiff
|
tree
2018-01-31
David Goulet
cir
c
: Don't cannibaliz
e
a circuit
i
f
t
he guard s
t
at
e
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-31
David Goulet
n
s
:
Add a before an
d
a
f
t
e
r consensus has c
h
anged notif
i
cation
commit
|
commitdiff
|
tree
2018-01-31
Davi
d
Goulet
Revert "
n
s: C
a
ll noti
f
y_ne
t
w
orkstatus_changed()
a
f
ter
.
.
.
commit
|
commitdiff
|
tree
2018-01-31
D
a
vid Goulet
sched: Avoid add
i
ng the same channel t
w
ice
to th
e
KIST
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-31
David Goulet
hs-v3: Remove a BUG() w
h
en storing a descriptor
in
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-31
Dav
i
d Goulet
n
s
:
Call
notify_networks
t
atus_chang
e
d() a
f
t
e
r
t
h
e ne
w
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
Dav
i
d Goul
e
t
M
e
rge br
a
n
c
h 'ticket
2
4
9
02_02
9
_05' into ticket24902_033_02
commit
|
commitdiff
|
tree
2018-01-30
David Goulet
d
os: Add c
h
anges fi
l
e fo
r
ticket 2
4
902
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David Goulet
d
os: Mak
e
c
i
rcuit rat
e
limit per
second, not tenths
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David Goul
e
t
dos: Man
p
age entry for DoS mitigatio
n
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
D
avi
d
Goulet
dos: Clear connection
t
racke
d
flag if geo
i
p entry is
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David Goulet
do
s
: Add a hea
r
tbeat lo
g
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David
Goulet
dos: Add the DoSRefuseSingleHopCl
i
entRendezvou
s
opt
i
on
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David Goulet
d
o
s: Add the c
o
n
necti
o
n
D
oS mitig
a
tion subsystem
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David Goulet
d
os: Apply def
e
nse
for circuit creati
o
n DoS
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
D
a
vid Goulet
d
os: Detect circuit creation denial
o
f s
e
rvice
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
D
a
vid Goulet
dos:
T
rack new and closed OR
c
lient conn
e
ctions
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
David Goulet
ge
o
ip: Rem
e
mber c
l
ien
t
s
t
a
ts if D
o
S
m
itigation is enable
d
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-30
Da
v
id
Goulet
dos: Initial
c
ode of Denial of Serv
i
ce
m
it
i
gation
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-25
David
G
o
ul
e
t
g
e
oip:
A
dd
a lookup function f
o
r
c
li
e
nt map
e
n
try
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2018-01-19
David Goulet
Merg
e
branch 'bu
g
24895_031_02' i
n
to
b
ug24895_032_02
commit
|
commitdiff
|
tree
2018-01-19
David
Goul
e
t
Merge branch 'bug24895_029_02' into
b
ug2
4
895_031_02
commit
|
commitdiff
|
tree
2017-12-21
David Go
u
let
sche
d
: Consider extra
_
spa
c
e even if ne
g
ative in KI
S
T
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-20
Da
v
id
Goulet
s
ched: Use lower la
y
er cell limit with KISTLi
t
e
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-11
David Goulet
s
ched: Avoid in
t
eger overflow when compu
t
ing tc
p
_
space
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-08
D
a
vid Goulet
c
han
:
Add changes
f
ile for ticke
t
23
7
09
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-08
David
G
oulet
test: M
a
ke old
e
r GCC happy and thus our oniongit pipeline
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-08
Dav
i
d
G
o
u
let
chan
:
Do not
r
e-queue aft
e
r
a
fail cell write
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Goulet
test: Add a KIST test
f
or
a
non ope
n
ed channel
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Dav
i
d
Goulet
control: Add cha
n
ges file fo
r
HSv3 control po
r
t
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Goulet
c
ont
r
ol: Impro
v
e
A
DD_ON
I
ON helper func
t
ion comment
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Da
v
id Gou
l
et
co
n
trol: Do
n
't use
v
oi
d
poi
n
ter for ADD_ONION s
e
c
ret key
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David G
o
ulet
t
e
s
t
: Add HS
_
DESC v3
u
n
i
t t
e
sts
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Davi
d
Goulet
co
n
tr
o
l: HSPOST com
m
and suppor
t
for v3
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Davi
d
G
oulet
c
ontrol: Don
'
t chec
k
if
S
erver is an HS
D
ir
fo
r
HSPOST
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Goulet
hs-v3
:
Add an handl
e
r for the HSPO
S
T com
m
and
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Gou
l
et
hs-v3:
Add
a public funct
i
on to uplo
a
d a descriptor
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
D
avid Goulet
hs-v3:
I
mplement HS_DESC_CONTENT eve
n
t
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
D
a
v
id Goulet
c
ontrol: Suppor
t
H
S
v3 for CIRC and CIR
C
_MINOR event
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Gou
l
et
h
s
-v3: Support H
S
_
DESC UPLOAD failed
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David G
o
ule
t
hs-v3: I
m
p
l
ement HS_
D
E
S
C UPLOADED event
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Goulet
hs-v3
:
Im
p
lemen
t
HS_DESC UPLOAD e
v
ent
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Gou
l
e
t
hs-v3: Implement HS_DESC CREATED event
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Da
v
id
Goulet
hs-v
3
: I
m
plement HS_DESC RECEIV
E
D
event
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Goulet
hs-v3: I
m
plement HS_DESC
FAILED eve
n
t
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David Goulet
hs-v3:
I
m
ple
m
ent HS_DE
S
C REQ
U
ESTE
D
e
v
e
n
t
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Da
v
id
G
oulet
c
o
ntrol: Re
n
a
me
t
w
o
HS v2 spe
c
ifi
c
function
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
Davi
d
Goulet
control: Refactor con
t
rol_eve
n
t_hs_descrip
t
o
r_receive_end
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David G
o
ule
t
c
ontrol: Refactor H
S
_DESC
e
v
e
nts functio
n
s to not be
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
David G
o
ulet
hs-v3:
Downg
r
a
d
e war
n
ing lo
g
when an int
r
o circ
u
it
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-06
D
a
vid G
o
ulet
hs-v3: Add eph
e
meral serv
i
ce sup
p
ort
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-05
David Goulet
test: Add HSv3 un
i
t test for expirin
g
intro p
o
int
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-05
David Goul
e
t
hs-v3: Cleanup HS
circuits when marki
n
g
a
s closed
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-05
David
G
oulet
hs-v3: Do
n
't cleanup intro point in has_closed()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-04
Dav
i
d Goulet
sched:
Set ch
a
nn
e
l scheduler
state to IDLE whe
n
n
ot
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-12-04
David
Goulet
sched: Downgrade
w
arning
l
og
to info
in KI
S
T
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-29
David Gou
l
et
hs-
v
3
:
Bu
m
p hsdir_sprea
d
_store fr
o
m
3 to 4
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-29
Dav
i
d Goulet
Use lo
c
al
desc
r
i
p
t
o
r
ob
j
ect
t
o exc
l
u
d
e
self i
n
path
.
.
.
commit
|
commitdiff
|
tree
2017-11-29
David Goulet
Guard: Don't pi
c
k ourselves as a possible Guard
commit
|
commitdiff
|
tree
next