repo.or.cz
/
pwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Version 2.2.
2009-02-05
Ben Kibbey
Use a local mutex in cli
e
n
t_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
B
en Kibbey
Use a
goffset rath
e
r
t
han gsize for
c
ry
p
to->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n Kibbey
F
i
xed status messag
e
s to u
s
e
the
new iteration typ
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed
data file por
t
ability
between variou
s
systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Ki
b
bey
A
few more
p
thread_te
s
t
c
an
c
el()'s
.
Should be t
h
e
l
ast
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Ki
b
bey
Thre
a
d cancellat
i
on tes
t
s in do_co
m
press() and do_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
Don't send status messages to cli
e
nts
t
hat are
e
xiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n K
i
bbey
Fixed a
segfau
l
t with th
e
SAVE command wh
e
n used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Kibbey
More
t
h
read cancelation
test
s
and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mutex
f
or th
e
cust
o
m memory functions
.
Fix
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
Cre
a
te a
new thre
a
d
when reloading
the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread cancellation
t
ests (more to come) and t
h
rea
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
K
ibbey
A couple
more thread cancellation test
s
and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kib
b
e
y
I
f
the cli
e
nt thread
t
erminates while a pi
n
ent
r
y i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Setu
p
a cleanu
p
handler in itera
t
e_cr
y
pto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
b
ey
W
h
e
n
enc
r
ypting
/
decr
y
pting, don't
d
o th
e
whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
In
c
lean
u
p
_
cb
(
), don
'
t f
r
ee cn->name u
n
til everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
B
ette
r
mu
t
ex locking and unlocking macros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Update
t
he mtime in do_xml_e
n
crypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kib
b
e
y
cr
y
pto->inbuf is
s
et to the data to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Use gcry_
.
.
.
m
emory
f
u
nctions in
do
_
compress() an
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
R
e
turn GP
G
_
E
R
R_E
N
O
A
NO if the d
a
ta file is not a
r
eg
u
lar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
c
o
uple minor cach
e
.
c clea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
be
y
Fixed potenti
a
l
l
y not fr
e
eing all c
a
che
e
ntries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed status mess
a
g
es
s
end with s
e
n
d
_stat
u
s
_all()
on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed t
l
s_in
i
t() not in
i
ti
a
lizin
g
the SH
A
-1 hash s
i
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
In
i
t
ialize libgcrypt
p
ro
p
e
r
ly by calling g
c
ry_
c
heck_ve
r
sion()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTlsParams() and
deinitTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Added op
t
ion "tcp_use_crl"
.
W
h
en TRU
E
,
~
/
.
pwmd
/
cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
S
e
t th
e
s
i
g
n
al mask befo
r
e
o
ther threads are creat
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kib
b
ey
Don't try and link with
-
lrt o
n
systems
oth
e
r th
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile time error on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed a compil
e
ti
m
e warning
o
n
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Rem
o
ve old < v1
.
11
command l
i
ne option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
U
s
e
PTHREAD_MUTEX
_
RECURSIVE not PTHREA
D
_MUTEX_RECUR
S
IV
E
_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed some comple
t
i
m
e con
d
itionals
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Restore client->has_loc
k
i
n
cle
a
nup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Use a structure in file_ca
c
he
_
t to h
o
ld t
h
e f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
The client must expli
c
itly set OPTI
O
N
PINENT
R
Y if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
D
on't write a l
o
g messag
e
when the
c
a
che mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kibbey
R
e
a
lly
f
ix commit a7e
1
5f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Rev
e
rt "Fix for commit a
7
e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Restart the keepal
i
ve_thread()
a
fter recei
v
ing SIGHU
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accepting
T
CP connections when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
If MEM_D
E
B
U
G
is
d
efined t
h
en set
th
e
x
.
.
.
de/allocator
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-
1
finger
p
rint
rather
than MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kib
b
ey
Fixe
d
a
segfault when TLS
f
ailed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Crea
t
e the client_msg_
t
hr
e
ad and client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Only
a
ppend uniq
u
e status
m
es
s
ages to the message
queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If
the
c
urrent
t
hrea
d
is calling send
_
status_al
l
()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
K
i
bbey
Make sure
t
he msg mutex is unlocked before
try
i
ng to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Ki
b
bey
Create a message queue
t
hat won't b
l
ock send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
Ported to pthrea
d
.
cache_mute
x
and cn_mutex are
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben
K
ibbey
S
I
GHUP will stop or s
t
art th
e
tcp_acc
e
pt_thread() depend
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibb
e
y
Upda
t
ed t
h
e copy
r
ight headers for 2
0
09
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
F
ixed a pinentr
y
segfault (ho
p
efully) du
r
ing cle
a
n
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
A
l
l
o
w
o
t
h
e
r
chara
c
ters in the fi
l
ename when us
i
ng GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Moved
C
OM
M
A
NDS
to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbe
y
Re
t
urn GPG_
E
R
R
_NO_VALUE
instead o
f
a syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
flags to
t
he ne
w
v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
K
ibbey
F
i
xed a memory leak in pinent
r
y
_
ite
r
at
e
()
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Fixed starti
n
g
up wi
t
hout an rc
f
ile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn ab
o
ut
e
rrors
o
p
ening a
key_file w
h
i
le parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bb
e
y
Fix
e
d cle
a
r
_
cache() cle
a
rin
g
all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kib
b
ey
Fixed a memory le
a
k
crea
t
e_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
ixed a
s
k
ing for a passphra
s
e after op
e
ning a new
fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
en Kibbey
Fixed
c
losing the wrong FD in cle
a
nup_cryp
t
o() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
Kibbey
Fixed SAV
E
with a passphrase sp
e
cified in the co
m
mand
.
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Kibbey
Close t
h
e
cipher
handle in
c
r
ypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbey
Fi
x
e
d some compile-
t
ime
w
arnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kib
b
e
y
The
"
disable_list_and_dump
"
configuration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
W
h
en importing,
c
onverting a
n
d
pushing
f
iles into
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kib
b
ey
Some code rearra
n
gements
.
G
et
t
i
n
g ready
t
o fix
freei
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show the output filename and
not
stdou
t
i
n the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en Kibbey
Fixed a memor
y
le
a
k in do_cache_pus
h
()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben K
i
bbey
Handle STATUS
_
COM
P
R
E
SS/DECOMPRESS/ENC
R
YPT/D
E
CRYP
T
in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en Kibbe
y
Fixed t
h
e
p
in
e
ntr
y
d
ial
o
g
s
howing the wro
n
g f
i
lename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Fixe
d
fr
e
eing "t
c
p_wait" in tcp_accep
t
_
t
hre
a
d() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibb
e
y
Ad
d
e
d conf
i
guration
p
aramete
r
"cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbe
y
Check the retur
n
v
alue of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
Kibb
e
y
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use send_status()
f
rom C
A
C
HE_LOC
K
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbe
y
Se
t
the
t
hr
e
ad name for othe
r
t
h
r
ead
s
t
oo
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Removed the unused fil
e
h
eader variables
.
They ca
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
Allow "GETCONFIG key"
and "GET
C
ONFIG ke
y
_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibb
e
y
Added command
V
ERSION
t
o
return the version
string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben K
i
bbey
Set the
clie
n
t FD to non-blocking in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Kibbey
When "ke
y
_
f
i
le" is specified in the configuratio
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Kibbey
Return
a
gboo
l
ean from validate
_
access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
se a temporar
y
va
r
i
a
bl
e
in reload_rcfile() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WI
T
H_G
N
UTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
Rev
e
rt "Set
t
he client so
c
ket
f
ile de
s
criptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
Ki
b
bey
Fi
x
fo
r
com
m
i
t 8f85846
.
Sho
w
the actual er
r
or
d
escription
.
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbey
Use
_SC_PAGESIZE as th
e
size argument to
m
loc
k
()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
R
evert
"Fixed a
leak
in c
a
che_fre
e
()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben
K
i
b
b
ey
F
ixed a le
a
k
in
cach
e
_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
Red
i
d the fi
l
e cache
t
o us
e
a GSList (singular l
i
nke
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
Moved re
a
d
_
hook() an
d
write_hook(
)
to tls
.
c
.
commit
|
commitdiff
|
tree
next