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
Use a pth_msgport_t for message passing. Also wait for an PTH_EVENT_MSG
2009-04-21
B
e
n Kibbe
y
Use a pth_
m
sgport_t for message
p
a
s
s
ing
.
A
lso wait
.
.
.
commit
|
commitdiff
|
tree
2009-04-21
B
e
n Kibbey
ke
e
palive_
t
hre
a
d()
cleanup
.
Als
o
fixes a segfault when
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
F
ixe
d
a lib
x
ml2 warnin
g
whe
n
conver
t
ing a data file
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
Kibbey
F
ixed
"GE
T
CO
N
FIG <filen
a
me> ITER
A
TIONS" after "OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
Kibbey
C
hanged how "GETCON
F
IG
ITE
R
ATIONS"
works
.
I
f there
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
i
b
bey
F
l
ush the
d
ata buffer be
f
ore sending the final XFE
R
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
C
hanged th
e
f
i
le header again
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Ki
b
b
ey
Fixed
a me
m
o
ry lea
k
in do_
a
s
s
uan_comma
n
d()
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
K
i
bb
e
y
Fixed
"
x
fer_
p
rogress=0"
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Adde
d
conf
i
guration pa
r
amet
e
r "xfer_
p
rogre
s
s" to specify
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben K
i
b
bey
W
h
en doing an I
N
QUIRE, appe
n
d an e
v
en
t
to wait
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
Kibbey
A
l
l com
m
ands
that
s
end data use
do_as
s
uan_comman
d
(
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n
K
ibbey
The XFER status message is sent wi
t
h
the
LIST, D
U
MP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Lo
g
what
s
oc
k
e
t this invokation is listening
o
n
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
Kibbey
I
n
itialize t
h
e
pi
n
m
u
tex
w
hen converting (-C)
.
commit
|
commitdiff
|
tree
2009-04-18
B
en Kibbey
Re
q
ui
r
e automake 2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
Ben K
i
bbey
Removed
E
PWMD_FILE_ACCESS
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Set th
e
client name in th
e
pin
e
nt
r
y
dialog (OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibb
e
y
Minor cleanup
.
Removed cleanup_c
r
ypt
o
_
handler()
.
commit
|
commitdiff
|
tree
2009-04-18
B
en Ki
b
b
e
y
No
n
eed to crea
t
e an extra t
h
read in cl
i
ent_msg_t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Added a new
status message XFER for
u
se with the GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
When an op
t
i
o
n
value string is NULL, rese
t
it to t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Let I
S
CACHED c
h
eck for file
e
x
i
s
t
e
nce
w
ith acce
s
s(
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Wait fo
r
t
he wri
t
e_status_th
r
ead
(
) to return (or timeout) in
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Compare onl
y
"<?
x
ml v
e
rsio
n
=" in the decrypted
d
ocument
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Make client_
m
s
g
_thread() joinable
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Use g_get_home_d
i
r() instead
.
commit
|
commitdiff
|
tree
2009-03-20
Be
n
K
ibbey
R
emoved all
tc
p
/r
e
mote/
G
nuTLS
s
u
p
port
.
R
emote connect
i
ons
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fix tls
.
c compile-time warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont link with
-
lr
t
or -l
p
thread
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Removed
acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Ki
b
bey
Check for EDEADLK in MUT
E
X
_UN
L
OCK
.
I
t can be ign
o
red
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wai
t
for thread TID events which are trigge
r
ed when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
b
be
y
Catch
S
IGABRT, but not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
b
e
y
Chec
k
the
return value from
pth_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbe
y
Minor
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use
t
hr
e
ad-safe
libgcrypt and l
i
bgpg-erro
r
fun
c
t
io
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont writ
e
a log message in MUT
E
X
_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUTEX_TR
Y
LOCK everywh
e
r
e STATUS_LOCKED
i
s
s
ent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
F
i
xed unlock_f
i
l
e
_mu
t
ex
(
) rel
e
asin
g
the unlock
e
d mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibb
e
y
check t
h
e
return of pth_
m
utex_acquir
e
and pth_mutex_rel
e
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Ki
b
bey
squash
before commit
i
n
g
t
o
m
aster
.
t
h
i
s
i
s the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Use "git lo
g
" not
"
git-log
"
in the
Mak
e
file 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
Kibbey
Added O
P
T
I
O
N
L
C
_CTY
P
E and OPTION LC_
M
ESS
A
GES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Fixed
a t
y
po in the p
r
evio
u
s
commit
.
D
e
stroy t
h
e
cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixe
d
keepalive_thread() to us
e
a
local condit
i
on and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
bbey
Fixed aborting
the co
n
n
ection w
h
en the c
o
n
f
igured ke
e
p
a
live
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved cli
e
n
t
_
m
s
g_thread() a
n
d client_msg_sender_thr
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sending a s
t
a
tus message to send_
s
tatus(), creat
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Remo
v
e t
h
e exiting client
from the clie
n
t
list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
bb
e
y
Minor cleanups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
e
n Kibbey
Lock
t
he
r
cfi
l
e_mu
t
ex at
e
ach keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't l
o
ck t
h
e cn_mutex before cancellin
g
the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
e
n Kibbey
Fi
x
for the
p
r
e
vious commit that wouldn't
t
erminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbe
y
Us
e
a local
m
utex
i
n client
_
msg_thread
(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
b
b
ey
Use a goffset
rather than gsize fo
r
crypto->
i
nsi
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
bbey
Fixe
d
s
tatus messages to use the new iteration typ
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed data f
i
le portabil
i
t
y
between various sy
s
te
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n
K
ib
b
ey
A
few
more
pthread_t
e
stca
n
c
e
l()
'
s
.
Should be
the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread cancellation
tests in d
o
_compr
e
ss()
a
n
d do_decomp
r
ess()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
i
b
bey
Don't se
n
d s
t
atus message
s
to clients
tha
t
are exitin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
Fixed a segfault with the S
A
VE command when used w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
More t
h
read cance
l
a
t
ion tes
t
s and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kib
b
ey
Create a mutex for the cu
s
tom memory function
s
.
F
i
xes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a new thread
when relo
a
ding the
r
c
f
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread
c
ancellation
t
ests (more to come) and
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Ki
b
be
y
A coup
l
e more thread cancellation tests and
cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibb
e
y
If t
h
e clie
n
t
t
h
r
ead
termin
a
tes
w
hile a pinent
r
y i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
S
e
tup a cleanup h
a
ndler in it
e
rate_crypto_
o
nce()
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When en
c
rypting/
d
ecry
p
ting,
d
on't do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
In cleanup_cb(), don't free cn-
>
name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Bette
r
m
u
tex locking and
un
l
ocking macr
o
s
.
Useful
fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Update the m
t
ime in do_xml_enc
r
ypt(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
bbey
crypto->inbuf i
s
set to th
e
data to encr
y
pt when passed
t
o
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Ki
b
bey
Use gcry_
.
.
.
m
e
mory f
u
nctions in
d
o
_
compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Re
t
urn
GPG_ERR_E
N
OA
N
O
if the data file
i
s not a regu
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
A couple minor cac
h
e
.
c
cle
a
nup
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Fi
x
ed potentiall
y
not f
r
e
e
ing
all cach
e
ent
r
ies in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fixe
d
sta
t
us messages
s
end with s
e
nd_s
t
atus_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
i
xed tls
_
init() not
init
i
alizin
g
the SHA-1 ha
s
h siz
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Initialize lib
g
c
rypt properly by
c
alling gcry
_
c
heck_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move
i
ni
t
TlsPa
r
ams() and deini
t
TlsParams
(
)
t
o tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Added option "tcp_u
s
e_crl"
.
When TRUE, ~/
.
p
w
m
d
/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Set
t
he sig
n
al mask bef
o
r
e
oth
e
r threads are cr
e
ated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
D
on't try and link wi
t
h -l
r
t on
systems
other
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Fi
x
ed a
c
o
mpile time er
r
or on FreeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed
a co
m
p
i
le tim
e
warni
n
g on Free
B
SD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Remove old
< v1
.
11 comm
a
nd
l
ine option
-b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Use PTHREAD_MUTEX_
R
ECURSIVE
not PTHREAD_MUTE
X
_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed some
co
m
ple t
i
me conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Resto
r
e c
l
ient->has_lock
i
n
c
l
eanup_client(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use a stru
c
t
ure in fil
e
_
c
ac
h
e_t to
hold the
f
ile mu
t
ex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
The
client must explicitly set OPTION
P
INENTRY i
f
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
bbey
D
o
n't w
r
ite
a
log message when the ca
c
he mu
t
ex
is lock
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Rea
l
ly fix commit a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
v
e
r
t
"
F
i
x for commit
a
7e1
5
f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Fix
for commit a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibb
e
y
Restart
t
he
k
eepalive_thread()
afte
r
rec
e
iv
i
ng
S
IGHU
P
.
commit
|
commitdiff
|
tree
2009-01-22
B
en
K
i
bbey
Sto
p
accepting TCP connec
t
i
o
n
s wh
e
n
s
h
u
ttin
g
do
w
n and
.
.
.
commit
|
commitdiff
|
tree
next