repo.or.cz
/
dnstt.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Make the privkey file only readable by the user.
2020-04-19
David F
i
f
ield
Make the privke
y
file only re
a
dable
by
t
he us
e
r
.
commit
|
commitdiff
|
tree
2020-04-19
D
a
vid
F
ifield
Don
'
t
log QTYPE != TXT
errors
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifie
l
d
Docu
m
entation and li
g
ht refactoring
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifie
l
d
F
i
x
a
b
u
g in noise
.
readMessage
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifield
Ma
k
e
-
udp required, resolv
e
in main
.
commit
|
commitdiff
|
tree
2020-04-19
D
avid Fifield
M
ove
some helper fun
c
tion
s
into
dns
.
g
o
.
commit
|
commitdiff
|
tree
2020-04-19
Da
v
i
d F
i
fi
e
ld
Add test for dns
.
EncodeRDataTXT
.
commit
|
commitdiff
|
tree
2020-04-19
Davi
d
Fifie
l
d
R
efactor MessageFromWireFo
r
mat and writeM
e
ssage
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifield
dns Message
.
Opc
o
d
e
method
.
commit
|
commitdiff
|
tree
2020-04-19
D
a
vi
d
Fifiel
d
Cons
o
lidate t
h
e authoritative domain check
.
commit
|
commitdiff
|
tree
2020-04-19
Davi
d
F
ifie
l
d
Not
e
on covertness af
t
er the
t
unnel
s
erver
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifield
N
o
tes o
n
-p
r
i
vkey/-privkey-
f
i
le/-pubkey/-pubkey-file
.
commit
|
commitdiff
|
tree
2020-04-19
D
a
vid Fifi
e
l
d
Remove addr fro "cann
o
t pars
e
DN
S
query" lo
g
message
.
commit
|
commitdiff
|
tree
2020-04-19
David Fi
f
ield
A
vo
i
d
log
g
ing EOF and Er
r
C
l
os
e
dPip
e
errors
.
commit
|
commitdiff
|
tree
2020-04-19
David
Fi
f
i
eld
More loggin
g
of query valida
t
io
n
er
r
o
rs in server
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifield
U
s
e NX
D
O
M
AIN rather
t
h
an FORMERR
for QTYPE != TXT
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifie
l
d
D
o
the p
a
yload s
i
ze
c
he
c
k after t
h
e TX
T
an
d
base32
.
.
.
commit
|
commitdiff
|
tree
2020-04-19
D
a
vid
Fi
f
ield
I
nf
e
r
a p
a
yload size
of
512 ev
e
n when there is no
OPT RR
.
commit
|
commitdiff
|
tree
2020-04-19
David Fif
i
eld
Fix seco
n
d
AA che
c
k
.
commit
|
commitdiff
|
tree
2020-04-19
David
Fifield
A
dd mis
s
ing return
f
or EDNS version != 0
.
commit
|
commitdiff
|
tree
2020-04-19
Da
v
id Fifield
R
ed
u
ce maxUDP
P
ayload to 1232 for
com
p
atibility wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2020-04-19
D
avid Fifield
RE
A
DME
.
commit
|
commitdiff
|
tree
2020-04-19
D
a
v
i
d
Fifield
Move global base32Enc
o
d
i
ng int
o
d
n
s
.
go
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifield
Lowercase base3
2
-encoded data in D
N
S
names
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifie
l
d
Do M
T
U
check first
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifiel
d
Log
s
t
rea
m
begin/
e
nd i
n
server, log conv
in client
.
commit
|
commitdiff
|
tree
2020-04-19
David Fifield
Ins
e
rt m
o
re
p
a
dding
when polli
n
g
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
-
p
r
i
v
key-f
i
le and -pubk
e
y-file option
s
.
commit
|
commitdiff
|
tree
2020-04-18
Dav
i
d Fifield
Server -privk
e
y
option
a
nd client -
p
ubkey option
.
commit
|
commitdiff
|
tree
2020-04-18
D
a
v
i
d
F
ifiel
d
Add a noise
.
P
u
b
keyFromPrivkey f
u
nction
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Note -udp is required on server
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Rename Cli
e
ntM
a
p
to R
e
moteMap
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
M
o
ve dummy
A
d
dr to turb
o
t
unnel
.
DummyAd
d
r
.
commit
|
commitdiff
|
tree
2020-04-18
David Fi
f
i
e
l
d
E
m
i
t
a log line
e
ven if we
t
a
ke no
ac
t
ion on an un
k
nown
.
.
.
commit
|
commitdiff
|
tree
2020-04-18
Dav
i
d Fifield
Handle other
unknown response stat
u
s c
o
des
the
sam
e
.
.
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Handle 429 Too Many Req
u
est
s
.
commit
|
commitdiff
|
tree
2020-04-18
David Fi
f
ield
D
o
n't e
x
p
i
re
C
lientMap
if
ti
m
eout is zer
o
.
commit
|
commitdiff
|
tree
2020-04-18
D
a
vid Fi
f
ield
D
o
n
't send User-
A
g
e
nt
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Refactor H
T
TP respons
e
h
a
n
d
ling
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Add a timeo
u
t
to H
T
TP requests
and
f
ollow redirects
.
commit
|
commitdiff
|
tree
2020-04-18
David Fif
i
eld
Truncation
and T
C
bit in respo
n
ses
.
commit
|
commitdiff
|
tree
2020-04-18
David Fif
i
eld
R
e
duce respo
n
se delay to 1 s
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifi
e
ld
On third
thought,
d
o close
se
n
d queues
w
h
en expiring
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Increase initPollD
e
la
y
t
o
5
0
0 ms
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifie
l
d
Rework polling
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
-dot mode
.
commit
|
commitdiff
|
tree
2020-04-18
D
a
v
i
d F
i
field
Sim
p
l
i
fy
HTTPPacketCo
n
n
.
commit
|
commitdiff
|
tree
2020-04-18
Dav
i
d Fi
f
ield
Refacto
r
PacketConn ha
n
dling
.
commit
|
commitdiff
|
tree
2020-04-18
David Fif
i
eld
Use a g
l
obal CipherSuite
.
commit
|
commitdiff
|
tree
2020-04-18
David
F
ifield
Overlay a noise layer at
o
p KCP
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
noi
s
e so
c
ket abstraction
commit
|
commitdiff
|
tree
2020-04-18
David
F
ifield
Log when there's an error
o
pening
a
strea
m
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Switch up order o
f
query checks
i
n server
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Need
to
s
et RR class in r
e
sponses
.
commit
|
commitdiff
|
tree
2020-04-18
Da
v
id Fifie
l
d
-
doh mode
.
commit
|
commitdiff
|
tree
2020-04-18
David
F
if
i
eld
Factor out
a p
a
ttern for different kin
d
s o
f
remote
.
.
.
commit
|
commitdiff
|
tree
2020-04-18
D
avid Fifield
Factor
out udp
.
go
.
commit
|
commitdiff
|
tree
2020-04-18
Davi
d
Fifield
Log stream
b
egin
/
end
.
commit
|
commitdiff
|
tree
2020-04-18
David
Fif
i
eld
MTU to log, n
o
t stdou
t
.
commit
|
commitdiff
|
tree
2020-04-18
David Fif
i
eld
Check fo
r
error from SetMtu
.
commit
|
commitdiff
|
tree
2020-04-18
David Fi
f
i
e
ld
L
arger downstream capaci
t
y
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
EDNS ch
e
c
k
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
A
dvert
i
se ED
N
S(0) in client
.
commit
|
commitdiff
|
tree
2020-04-18
Davi
d
Fifield
Per-
m
essage byte li
m
it de
p
ends on n
a
me length
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifi
e
l
d
Timer priority
.
commit
|
commitdiff
|
tree
2020-04-18
Dav
i
d Fifield
d
elay r
e
sp
commit
|
commitdiff
|
tree
2020-04-18
Davi
d
F
ifield
Bundle m
u
ltiple pa
c
k
e
ts
downstream
.
commit
|
commitdiff
|
tree
2020-04-18
D
avid
Fifield
Pac
k
e
t
ization ser
v
er→client
direction
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Pack
e
t fr
a
m
i
ng
d
ownstream
.
commit
|
commitdiff
|
tree
2020-04-18
David Fif
i
e
l
d
Logging in client
.
commit
|
commitdiff
|
tree
2020-04-18
D
av
i
d Fifield
On se
c
on
d
t
h
ought,
don'
t
close send queues
when expiring
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifi
e
ld
Don't explicitly send 0-length packets
.
commit
|
commitdiff
|
tree
2020-04-18
Da
v
id Fif
i
eld
F
a
ctor ou
t
separate sending a
n
d receiving threads
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifiel
d
Lo
g
ging in server
.
commit
|
commitdiff
|
tree
2020-04-18
David F
i
field
Packetization
and padding in the c
l
ient→server direc
t
io
n
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifie
l
d
D
owns
t
ream MTU
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifie
l
d
D
o name comp
r
ession in
w
riting
.
commit
|
commitdiff
|
tree
2020-04-18
David
Fifield
Set MTU based on
d
omain len
g
th
.
commit
|
commitdiff
|
tree
2020-04-18
David
F
ifield
In
c
reasing poll inter
v
al
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
A
utomatic polling
.
commit
|
commitdiff
|
tree
2020-04-18
Da
v
id Fi
f
iel
d
Send full 8-b
y
te Cli
e
ntID
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
c
l
ient
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
Better command-li
n
e usag
e
m
essage
.
commit
|
commitdiff
|
tree
2020-04-18
D
a
v
id Fifield
Exchange payloads
.
commit
|
commitdiff
|
tree
2020-04-18
David
Fifield
Ma
y
be we should close S
e
ndQueue when e
x
pirin
g
clients
.
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
G
e
ne
r
ati
n
g
a
re
s
ponse
.
commit
|
commitdiff
|
tree
2020-04-18
Da
v
id Fifield
WireFormat
commit
|
commitdiff
|
tree
2020-04-18
David Fifield
MessageFromWireFormat
commit
|
commitdiff
|
tree
2020-04-18
David Fifi
e
ld
Start
i
n
g
o
n s
e
r
ver
.
commit
|
commitdiff
|
tree