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
sched: Ignore closed channel after flushing cells
2017-11-08
David Goulet
sched: Ignore
c
l
o
sed channel after
f
lushi
n
g cells
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-07
David Goulet
Add a safe g
u
ard t
o
avoid usi
n
g a zeroed votin
g
schedule
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-07
David Goulet
R
e
cal
c
ulate votin
g
s
ch
e
dule fir
s
t when getting
a
ne
w
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-02
David
Goulet
n
odelist
:
Dow
n
grad
e
warning to p
r
otocol warn
i
ng
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-02
David
G
oule
t
s
c
hed: Rate
limit scheduler_bug_occurred()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-02
David Go
u
let
s
c
hed: Use SCHED_BUG
(
)
macro in sc
h
e
d
uler
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-11-01
Davi
d
Goulet
m
an: Specify HiddenSe
r
vic
e
N
u
m
I
n
t
r
o
d
uctionPoints for v3
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-31
David Goulet
t
es
t
: Fix voting
s
chedule
fo
r
hs_serv
i
ce
.
c
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-31
D
a
vid Gou
l
et
t
e
s
t
: Fix
v
otin
g
s
c
hedule fo
r
hs_common
.
c
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-31
D
a
v
i
d Goulet
t
est: Fi
x
voting sc
h
edule for share
d
random
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-31
David Goul
e
t
test: Initi
a
l
i
z
e th
e
voting schedule in
test_dir
.
c
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-31
David Goulet
h
s
-
v
3: Attempt
d
escript
o
r
r
efetch whe
n
dirinfo changes
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-31
David Goulet
Make
tor rec
a
lcula
t
e v
o
ting schedule
eve
n
if not a
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-27
D
a
vid
G
oulet
s
r
:
Don't u
s
e
a
dyn
a
mic votin
g
schedul
e
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-27
David Goule
t
dirvote: Move c
o
de
.
N
o
behavior cha
n
ge
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-26
David Goulet
hs-v3:
C
heck
the ed
2
5519 key when picking
i
n
tro
p
oint
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-26
David Goulet
fuzzing: Make hsde
s
cv3 use the
d
ecoding API correctly
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-26
Da
v
id Goulet
Rev
e
rt "Tem
p
orarily disable com
p
ilation of
the v3
hs
.
.
.
commit
|
commitdiff
|
tree
2017-10-25
Da
v
id Goulet
hs-v2: Copy needed information
b
etween se
r
vice on
p
r
un
n
ing
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-23
David Goulet
dirauth: Add
bastet t
o
the def
a
ult aut
h
orities
commit
|
commitdiff
|
tree
2017-10-04
David Goule
t
h
s-v3: Refactor client refetch
f
unction
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-03
David G
o
ulet
sched: Implement SCHED_BUG()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-03
David Goulet
hs: Add cha
n
ges fi
l
e for
2
3
6
53
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-03
David Goulet
test:
A
dd an HS v
3
d
e
scriptor fetch unit t
e
st
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-10-03
D
avid Goule
t
h
s
-v3:
C
lose pending S
O
CKS co
n
nection on descrip
t
or
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-29
David Goulet
sched:
A
lways initialize scheduler_last_ru
n
to now
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-27
David Go
u
let
hs-v3
:
Don't fetch des
c
rip
t
or if w
e
have a pend
i
n
g
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-26
David Goulet
h
s
-v3: Don'
t
non fatal asse
r
t if we can't get the intro
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-26
David Goulet
hs
:
Im
p
rove logging
commit
|
commitdiff
|
tree
2017-09-25
David Goulet
circuit: Log n_circ
_
id
and global id
e
nt
i
fier of
HS
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-25
David Goulet
circ
u
it: Log circuit identifiers w
h
en cannibalizing
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-25
Davi
d
Goulet
circuit: Keep a copy of n_circ_
i
d for log
g
ing
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-25
David Goulet
circu
i
t: Closing reason
are si
g
n
e
d
v
alu
e
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-25
D
a
vid Goulet
s
ched: Make KISTSchedR
u
n
I
nterval no
n
n
egative
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-22
David Goulet
hs: Avoid possible d
o
uble circuit close on error
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-21
D
a
vid Goulet
hs: Av
o
id
poss
i
bl
e
doubl
e
cir
c
u
it clo
s
e on
e
rror
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-21
David
Goulet
hs: Improve comments fo
r
when we
chan
g
e
t
i
mestamps
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-21
David
Goul
e
t
sched: H
a
rd
e
xi
t
if
we ca
n
't select a sched
u
le
r
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-21
D
a
vid Goulet
hs
:
Avoid p
o
s
sible double circuit
c
l
o
se on erro
r
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-20
Davi
d
G
o
ulet
hs: Log th
e
intro poin
t
when we clean it up
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-20
David
G
oulet
circuit: Log
n
_cir
c
_id
a
n
d
global id
e
n
t
if
i
er
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-19
Da
v
id Goulet
Add a BASE32_D
I
GEST_LEN define
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-19
Davi
d
G
o
u
le
t
hs: Pad RENDEZVOUS1 v3 cell to match leng
t
h of v2
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-19
D
avid Goulet
doc: Add version 3 to HiddenServiceVersi
o
n man pag
e
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-18
Dav
i
d
G
oulet
sche
d
: BUG() on
eve
n
t_add() and lo
g
_warn nex
t
_run
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-18
David Go
u
let
sched: Don't cast t
o
int32_
t
the
m
onotime_diff_msec
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David
Goulet
doc: Man p
a
ge entri
e
s for
KIST
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
s
c
h
e
d
: Revert IF_B
U
G
_ONCE() to tor
_
assert()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Gou
l
e
t
sched: Def
i
n
e
S
C
HEDULER
_
KI
S
T_PRIVATE
f
or
more encapsu
l
atio
n
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David
Goulet
sched: Improve logging
if KIS
T
is
disabl
e
d
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
t
est: Fix unit tests wit
h
latest sch
e
duler ch
a
nges
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
Davi
d
Go
u
let
sc
h
ed: Make the schedule
r
object
static
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
sched: Compare chann
e
l pointer in
t
h
e sock
e
t table
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
s
c
h
e
d
:
M
a
ke t
h
e o
u
tbuf tabl
e
l
o
cal
t
o run()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David
Goul
e
t
sched: Make check-spaces h
a
ppy
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goule
t
sc
h
e
d: Extra caref
u
l in chann
e
l_outbuf_length()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Gou
l
et
sch
e
d: Don't expose
the global scheduler libe
v
ent object
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
sched: Always call
on_chann
e
l_
f
ree()
regar
d
l
e
ss of
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
sched:
Add Sc
h
ed
u
lers torrc option
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David
Gou
l
et
sched: Add sandb
o
x
s
u
pp
o
rt for KIS
T
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
D
a
vid
G
oulet
sched:
Fallback
t
o
n
aive ap
p
roach if no
r
un
t
ime KIST
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
Da
v
id Goule
t
s
c
hed: D
e
tect
K
I
S
T
s
upport at comp
i
l
e
time
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Gou
l
et
tes
t
: Ma
k
e
c
heck-spaces happy
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
David Goulet
fixup
!
test: Add HS v3 cli
e
nt
-
si
d
e
t
e
st for picking
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-15
Davi
d
G
o
ulet
test: Unit test for the hs
i
ndex
e
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-12
David Goulet
hs-v3: S
t
all SOCKS c
o
nnection
w
hen no liv
e
cons
e
nsus
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-12
D
a
vid Go
u
l
et
hs-v3: Rate
l
imit some log statements
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-12
David Goulet
hs: F
i
x dig
e
st256 to
base6
4
is
s
ue in a
l
og state
m
ent
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-11
David Go
u
let
hs-
v
3:
Ca
n
cel
active descrip
t
or d
i
rectory connection
s
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-11
D
a
vid Goulet
prop224: Log undecodabl
e
de
s
cripto
r
whe
n
Safe
L
og
g
ing
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-11
David
G
ou
l
et
circuit: A
d
d a log info when
marking f
o
r
clos
e
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-11
David Goulet
test: Fi
x
memleaks
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-11
David Goulet
h
s: Handled REN
D
_J
O
INED circuit when getti
n
g an
INTRODU
C
E_ACK
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-08
D
a
vid
G
oulet
t
e
s
t
:
I
mp
r
ove
o
ur rotati
o
n an
d
build descri
p
tor
test
s
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-08
David Goulet
test: Fix u
s
e out of scope and cons
e
nsus timings
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-08
D
avid Goulet
test: A
d
d
a
n
HS v3 reachability unit test
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-08
David Goulet
prop
2
24: M
a
k
e c
l
ient
a
nd service pick same HSDir
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-08
David Goulet
p
r
o
p22
4
: Expand the overlap p
e
riod concept
t
o be a
.
.
.
commit
|
commitdiff
|
tree
2017-09-08
Davi
d
G
o
ule
t
prop224: Use fetch
a
nd st
o
re HSDir indexes
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-07
David Goulet
hs: Do not assert on rend
_
data
w
h
i
le it
e
rating over
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-07
David
Goul
e
t
d
o
c:
A
dd our Ub
u
ntu packager to ReleasingTor
.
md
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-07
David
G
o
u
l
e
t
p
rop224: When computin
g
hsdir index and
time period
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-07
David Goulet
pro
p
2
2
4
: Pick rendezvous
p
oint of protove
r
HSR
e
nd
=
2
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-05
Davi
d
Goulet
t
e
st: Fix memory leak in hs_descriptor/de
c
ode_
b
ad_signature
commit
|
commitdiff
|
tree
2017-09-05
David Gou
l
et
h
s
: Don't ent
e
r the HS
v3
s
u
bsystem w
i
thout a live
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-09-04
D
avid
G
oule
t
h
s:
Remove dead c
o
de
and uneeded feat
u
re
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-31
Dav
i
d
Goulet
hs: S
e
t rendezvous ci
r
c
uit timestamp_dirty all the
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-31
David Goulet
confi
g
: Make parse
_
outboun
d
_add
r
esses() return failures
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-30
David Gou
l
et
prop22
4
:
Pur
g
e client
s
t
ate on
NEWNY
M
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-29
D
a
vid G
o
ulet
hs
:
Impl
e
ment an HS cl
i
ent free al
l
f
u
nctio
n
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-28
David Goul
e
t
hs: Fix the in
t
ro circuit
max retry
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-25
Da
v
id Goulet
h
s: Note the
c
onnecti
o
n atte
m
pt if
d
esc
r
iptor is
unusable
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-25
D
avid Goulet
hs: Implement note_connection_atte
m
pt_succeed
e
d()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-25
David Gou
l
et
prop224: Don't mo
v
e
int
r
o po
i
n
ts but ra
t
her descriptors
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-25
David Goulet
sandbox: Fix double free w
h
en i
n
iti
a
l
izing HSv3 filenames
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-24
David Goulet
test: F
i
x mem
o
ry l
e
ak
in hs_descript
o
r
/
decode_bad_signatur
e
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-24
David Goule
t
circuit: Consider v3 hidden service
circuit in circuit_e
x
p
ir
.
.
.
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-24
D
avid Go
u
let
hs
:
Updat
e
intro ci
r
cuit times
t
amp when
r
e-ex
t
ending
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-24
David Goulet
circui
t
: Avoid needl
e
ss log in
f
o in circu
i
t_ge
t
_best()
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
2017-08-24
Davi
d
Goulet
prop224:
R
eg
i
ste
r
RP circuit when i
t
opens
Signed-off-by:
David Goulet
<dgoulet@torproject.org>
commit
|
commitdiff
|
tree
next