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.1.
2009-02-03
Ben
K
ibbey
Fixed status m
e
ssages to use the
n
ew iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
F
ixed
data file portability
b
etwe
e
n
v
arious systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
A few mo
r
e pthrea
d
_testca
n
cel()'s
.
S
h
ould
b
e
t
h
e
l
a
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
i
b
bey
Thread cancell
a
tion
t
ests in do_compres
s
(
)
and do_de
c
o
m
press()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't send
s
tatus m
e
ssa
g
es to clie
n
t
s
that
a
re exitin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed
a seg
f
ault with the
S
AVE comman
d
w
h
e
n
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
ibbey
More threa
d
ca
n
celation
t
e
sts and handler
s
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
Create a mutex for the custom
m
emory fu
n
ctions
.
F
ixe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
C
r
eate a new thread
when
reloading t
h
e
rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben K
i
bbey
More t
h
read
c
ance
l
lation tests (more to come) and
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
K
i
bbey
A couple m
o
re thread c
a
ncellation tests
a
nd c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the client t
h
rea
d
terminates w
h
ile a pinent
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n K
i
b
be
y
Setu
p
a cleanup handler in
i
t
er
a
te
_
c
r
ypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encrypt
i
n
g/decrypting, don'
t
d
o
the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
I
n cleanup_cb(), do
n
't free
c
n
-
>name until everythi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Bette
r
m
u
t
ex locking and unlocking macros
.
U
seful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibb
e
y
Update the mtime in do_xml_e
n
crypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
K
ibb
e
y
crypto-
>
inbuf
is set to the data to encry
p
t
when pa
s
sed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
memor
y
func
t
ions in do_compr
e
s
s() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
bbey
R
e
tur
n
GPG_ERR
_
E
N
O
ANO
if th
e
data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Ki
b
b
e
y
A coupl
e
mi
n
or ca
c
he
.
c cl
e
anups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixed potential
l
y not f
r
eeing a
l
l
cach
e
entries i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed status
m
e
s
sages send w
i
t
h
se
n
d_status_all() o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init() n
o
t i
n
i
t
i
a
lizing
the SHA-1 hash si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
In
i
tialize l
i
bgcr
y
pt
pr
o
p
e
rly b
y
ca
l
lin
g
g
c
ry_
c
hec
k
_ver
s
ion()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kib
b
ey
Mov
e
initTls
P
arams() and
d
einitTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Adde
d
o
ption
"tcp
_
use_crl"
.
When
T
RUE
,
~/
.
pwmd/cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
Set th
e
s
ig
n
al mask bef
o
re other threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't
try and link with -lrt on
s
ystems other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbe
y
Fi
x
ed a
c
o
mpi
l
e time
e
rr
o
r
o
n F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
x
ed
a
c
o
mpile tim
e
warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove
o
ld < v1
.
11 command line opt
i
on -b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
U
se PTHREAD
_
MUTEX_RECURSIVE no
t
PTHREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xe
d
som
e
c
o
mp
l
e time
c
ondition
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore
c
l
i
ent->has
_
lock i
n
c
leanup_clie
n
t()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Use a s
t
ructure in fil
e
_c
a
che_t
to h
o
ld the f
i
le mu
t
ex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
i
b
bey
The
c
lient mu
s
t explicitly set OP
T
ION
P
INENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kib
b
e
y
Don
'
t write a lo
g
messag
e
when
t
he cache mutex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
a
lly fi
x
commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Revert "Fix for commit a7
e
15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix f
o
r co
m
mit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kib
b
ey
Res
t
a
rt t
h
e k
e
epalive_thread() after re
c
eiving S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop acce
p
ting TCP
c
onnections when shut
t
ing down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
I
f
MEM_DE
B
UG is defined t
h
en set the
x
.
.
.
d
e
/
a
ll
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
Use an SH
A
-1 finger
p
rint rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
F
i
xe
d
a segfault when TLS failed nego
t
iation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create
t
he client_msg_thread an
d
client_msg_s
e
nder_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
On
l
y append unique
status
messages
t
o the mess
a
ge
q
u
e
ue
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n K
i
b
b
e
y
I
f th
e
curr
e
nt threa
d
is
cal
l
ing
s
end_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
M
ake sure the msg mutex is
unlocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en Kibbey
Create a message queue that
w
o
n't block
send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Po
r
t
ed to pthread
.
cac
h
e
_
mut
e
x
a
nd cn_mutex a
r
e now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP wil
l
s
t
o
p or star
t
th
e
tcp_accept_thread(
)
dependin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
b
b
ey
Updated the copyright head
e
rs for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
ixed
a pine
n
try segfault (hopefu
l
ly)
during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow other
ch
a
r
a
cters in
t
he
f
i
l
ena
m
e when using G
E
TCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
R
eturn GPG_
E
RR_NO_VALUE ins
t
ead of a syntax
e
rro
r
f
r
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Re-ad
d
.
flags
t
o
the
new v2 f
i
le head
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
i
xed a memory l
e
ak in pi
n
en
t
r
y_it
e
rat
e
()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fix
e
d starting up w
i
th
o
u
t
an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about
errors opening a key_file while
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Fixed clear_cache() c
l
earing all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben K
i
b
b
ey
Fixed a memory leak create_d
t
d()
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Kibbey
Fi
x
ed asking for a passphrase a
f
ter
o
pe
n
ing
a
new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kib
b
ey
Fixed c
l
o
s
ing t
h
e wrong FD in cleanup_cr
y
pto()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
Fix
e
d S
A
VE with a passphrase
spe
c
ifie
d
in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the cipher ha
n
d
l
e in
c
rypto_clean
u
p();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some compile-time w
a
r
n
i
ngs
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
be
y
The "di
s
able_list_and_dump
"
configuratio
n
parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When importing
,
conv
e
r
ting and pushing files i
n
to t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n
Kibbey
Some c
o
de rea
r
ran
g
e
ments
.
Getting
r
ea
d
y to fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show the output filename and not stdout
i
n the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Kibbey
Fixed a memor
y
leak i
n
d
o
_cache_push(
)
.
Th
e
document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
Kibbe
y
H
an
d
le STATUS_COMPRESS/
D
ECOMPRE
S
S/EN
C
RYPT/DECRY
P
T in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fix
e
d the pi
n
e
nt
r
y dialo
g
showing
t
he wr
o
ng fi
l
ename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kib
b
ey
Fixed freeing "tcp_wa
i
t
"
i
n
tcp_
a
ccept_thread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Kibbey
Add
e
d
c
onfigur
a
t
i
on param
e
ter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
Kibbey
C
h
e
c
k
the return va
l
ue of pth_sp
a
wn(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Ki
b
bey
Updated th
e
d
o
c
s
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Us
e
send_sta
t
us(
)
f
r
om CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kibbey
Set th
e
threa
d
name
for other thread
s
too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Remove
d
the
u
nused file head
e
r
variables
.
They
can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Allow "GETCO
N
F
IG key" and "GET
C
ONFIG
key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Kibb
e
y
Added comma
n
d
V
ERSION to return the vers
i
on strin
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the client FD
to
n
on-blocking in the BYE no
t
if
i
er
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_
f
ile" is
s
peci
f
ied
i
n the co
n
fig
u
ration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en Kibbey
Return a gbo
o
lean
f
r
om validate_acc
e
ss(
)
.
commit
|
commitdiff
|
tree
2008-11-22
Ben
Kibbey
M
e
rge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
e
y
Use a temporar
y
variable in reload_rc
f
ile() in
case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
ey
W
IT
H
_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Ki
b
bey
Revert
"
Set the client
s
o
c
ket
fil
e
desc
r
i
p
t
or
to
n
on
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbey
Fix for commit
8
f85846
.
S
how t
h
e a
c
tual e
r
ror
descrip
t
ion
.
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbey
Use
_SC_PAGESIZE as t
h
e size argume
n
t
to mlock(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Revert
"
Fixed a leak
i
n cache_f
r
ee()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben
K
i
b
bey
Fixed a
leak i
n
cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Red
i
d the
file cache to use a GS
L
ist (
s
i
n
g
ular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Mo
v
ed read_hook(
)
and
write_hook()
t
o tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
Use log
_
writ
e
() instead of warn[x] and fpr
i
ntf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
en Kibbey
Let the "k
e
y_file" con
f
ig
u
ration pa
r
ameter work with
.
.
.
commit
|
commitdiff
|
tree
next