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
The XFER status message is sent with the LIST, DUMP and XPATH command
2009-04-19
Be
n
Kibbey
T
h
e X
F
ER
status mes
s
ag
e
i
s
sent with t
h
e LI
S
T, DU
M
P
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
L
og what sock
e
t
t
his invokat
i
on is listening
on
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n Kibbey
In
i
t
i
alize
t
he
p
in mu
t
ex when
conv
e
r
t
i
ng (-C)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Ki
b
bey
Require
a
utomake 2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
Ben
K
ibbey
Removed
E
PWMD_
F
ILE_ACCESS
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Set the clien
t
name in the p
i
nentry
dial
o
g
(
OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben
K
i
b
b
e
y
Minor cleanup
.
Removed c
l
eanup_crypto_handler()
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
No
n
eed to crea
t
e an
ext
r
a
thr
e
ad
i
n client_msg_thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Add
e
d
a
n
e
w
status m
e
ssage XFER for use with the GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Whe
n
an o
p
tion
v
alu
e
string is NU
L
L, reset
i
t
t
o
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Let
I
S
CACHED
c
heck fo
r
file existence wi
t
h
acces
s
(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
B
e
n
Kib
b
ey
Wai
t
for the write_s
t
atus_thread() to return (or timeout) in
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Compare only "<?
x
ml version="
i
n th
e
d
ec
r
ypted document
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
B
e
n K
i
bbey
Mak
e
cl
i
ent_msg_th
r
e
a
d() join
a
b
le
.
commit
|
commitdiff
|
tree
2009-03-21
B
en
Kibbey
Use g_ge
t
_home_dir() i
n
stead
.
commit
|
commitdiff
|
tree
2009-03-20
B
e
n Kibbey
R
e
moved all t
c
p/remote/
G
nuTLS support
.
Re
m
ote connections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
b
b
e
y
Fix tls
.
c compile-time
w
arning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont link wi
t
h -lrt or -l
p
t
h
re
a
d
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
Removed acinclude
.
m
4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Check
for EDEADLK in MUTEX_UNL
O
CK
.
I
t c
a
n be ig
n
o
red
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wait for thread
T
I
D
events which are tri
g
ger
e
d when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Catch SIGABRT, but not SI
G
USR
2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ib
b
e
y
Check the return value from pth_spa
w
n()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Minor cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use thread-s
a
fe
l
ibgcrypt an
d
lib
g
pg-erro
r
fu
n
ctions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en
K
ibbey
Dont write a log mes
s
age in MUTEX_TRYL
O
CK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUTEX_TRYLOCK ev
e
r
y
w
he
r
e ST
A
TUS_LOC
K
ED i
s
sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fixed unlock_file_mutex() releas
i
ng
t
he
u
n
locked mute
x
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
check the return of
p
th
_
mut
e
x_acquire and pth_mute
x
_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Be
n
K
i
bbey
squ
a
sh before commiting to ma
s
ter
.
thi
s
is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Be
n
Kibbey
Use "git log" not "git-
l
og" in the Mak
e
f
i
le 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
Kibbey
A
dded OPTIO
N
L
C_CTYPE and O
P
TI
O
N
L
C_MESS
A
G
ES
.
B
o
th
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
e
y
Fixed
a typo
i
n
t
h
e
previo
u
s com
m
it
.
Destroy
the
c
ond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed
keepa
l
ive_thread() to use a local conditio
n
and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
F
i
xed ab
o
rting the conne
c
t
ion when t
h
e configured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved client_msg
_
th
r
e
a
d() and
c
l
ient_msg_
s
ender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
K
ibbey
Created stat
u
s
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
K
i
bbey
After sending a statu
s
message to sen
d
_s
t
at
u
s
(
),
c
reate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
Remove the exiting client from
t
h
e cli
e
nt l
i
s
t
as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Mino
r
clean
u
ps i
n
mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Lock
the rcf
i
le_mutex at
e
ach keyfil
e
h access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't
lock
the
c
n_mu
t
ex before cancellin
g
the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix
for the p
r
e
vi
o
u
s
co
m
mit that
w
oul
d
n't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kib
b
ey
Use a local mute
x
in client_
m
sg_thread
(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goffset r
a
t
h
e
r than gsize for
c
ryp
t
o->i
n
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
Fixed status messages to use th
e
new iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed data fil
e
portability betw
e
en various systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Kibbey
A few
more
pthread_testcancel
(
)'s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread c
a
ncellation tests in
do_comp
r
ess() an
d
do_dec
o
mpress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't send s
t
atus messages to clients that are exiti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed
a
segfault with the S
A
VE co
m
m
and
w
h
en
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More thread c
a
ncelati
o
n tests and han
d
ler
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbey
Create a
m
utex for the cus
t
om memory
f
u
n
ction
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Cr
e
ate a ne
w
thread when reloadi
n
g t
h
e
rcfil
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
M
ore
th
r
ead canc
e
llation
t
e
s
ts
(more to c
o
me) an
d
t
hre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple m
o
re thre
a
d cancellat
i
on tests
a
nd
clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the client thread te
r
minates
w
h
i
l
e
a p
i
nentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Set
u
p a cl
e
a
n
up
handler in
iterate
_
crypto_on
c
e(
)
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kib
b
ey
When
e
ncryp
t
ing
/
decrypting, don't do the whole thi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Ki
b
bey
In cleanup_cb(), d
o
n't free c
n
-
>
n
am
e
until everythin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Better mutex locking
a
nd unloc
k
in
g
macro
s
.
U
sefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update t
h
e mtime in do_xml_e
n
cry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibb
e
y
crypto->inbuf is set
to the
d
ata to encrypt
wh
e
n pas
s
ed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Use gcr
y
_
.
.
.
memory
func
t
ions in do_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Return GPG_ERR
_
EN
O
A
N
O
i
f
the
data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple minor cach
e
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
p
otent
i
ally
n
o
t
freeing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fi
x
ed
s
tatus messages sen
d
w
i
t
h
send_status_al
l
()
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
Fixed
tls
_
init() not
initializing the SHA-1 hash s
i
ze
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
I
n
itialize libgcr
y
pt properly by calling gcry_check_ve
r
s
i
on(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTlsPa
r
ams()
a
nd deinitTls
P
aram
s
(
) to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibb
e
y
Added option "tcp_use_crl"
.
When
T
R
UE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the sign
a
l
m
a
sk before other threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don'
t
try
and link
with -lrt
on sys
t
ems oth
e
r tha
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixe
d
a compile time error
o
n
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
i
bbey
Fi
x
ed a compile time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove o
l
d < v1
.
1
1
command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PT
H
R
E
AD_MUTEX_RECURSIVE not PTHREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed some comple time condi
t
ional
s
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
b
bey
R
e
store client->ha
s
_l
o
c
k in
c
leanu
p
_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use
a
structure in file_ca
c
he_t to hold the f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
The c
l
i
e
n
t mu
s
t expli
c
i
tly set OPTION
PI
N
E
N
TRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
e
y
D
o
n't write a log mes
s
a
g
e when the cache mutex
is l
o
cked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Ki
b
bey
Really fix com
m
i
t a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
Reve
r
t "
F
ix for com
m
it a7
e
15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for com
m
it a7
e
15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
i
bbey
Restart the keepalive_thread()
a
f
te
r
rec
e
iving
S
IGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
Stop ac
c
epting TCP c
o
nnections when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
i
bbe
y
If M
E
M
_DEBUG
is defined then
s
et the
x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibb
e
y
Use an SH
A
-1 fin
g
erprint rather
t
han M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Fix
e
d a segfa
u
l
t
when TL
S
failed
negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the
c
lient_m
s
g_threa
d
and clien
t
_msg_sender_th
r
e
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only append
u
nique status messages to t
h
e
messa
g
e
q
u
eue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
If the current thread is calli
n
g se
n
d_status
_
all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kib
b
ey
Make sure the
m
sg mute
x
i
s
unlocked
b
e
fore
t
rying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbe
y
Creat
e
a message queue that won't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported
t
o
pthread
.
cache_mutex and cn_mu
t
ex
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SI
G
HUP w
i
l
l stop or start the tcp_a
c
cept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
Updated th
e
copyright headers fo
r
2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
Fixed a pinentr
y
s
e
g
fault (
h
o
p
e
full
y
) during cleanup
.
.
.
commit
|
commitdiff
|
tree
next