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
Log what socket this invokation is listening on.
2009-04-19
B
en
K
ib
b
ey
Log what
soc
k
et
t
hi
s
invoka
t
ion is
listen
i
ng
o
n
.
commit
|
commitdiff
|
tree
2009-04-19
B
e
n
K
i
b
b
e
y
Initialize
t
he p
i
n m
u
te
x
whe
n
conver
t
ing (-C)
.
commit
|
commitdiff
|
tree
2009-04-18
Ben K
i
bbey
Req
u
ire automake 2
.
6
0
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
K
i
b
b
ey
R
emoved EPWMD_FILE_AC
C
ESS
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Set the client
n
a
m
e in
t
he pinentry dialog (OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Ki
b
bey
Minor cleanup
.
Removed
c
leanup_crypto
_
handler()
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
Kibbey
N
o
need
t
o create
an extr
a
th
r
ead in clien
t
_msg_thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n
K
ibbey
Added a ne
w
s
ta
t
us
m
essage XFER
f
o
r use wi
t
h the GE
T
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
i
b
b
e
y
When
a
n
option value string is
NULL
,
reset it to the
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
Let
ISCACHED check for file exis
t
ence with access(2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
W
a
it for the write_
s
tatus_thread
(
)
t
o retur
n
(or tim
e
ou
t
)
i
n
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
C
o
mpare only "<
?
x
ml version=" in the decrypted document
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
B
e
n
Kibbe
y
Make clie
n
t_msg_t
h
read() joinable
.
commit
|
commitdiff
|
tree
2009-03-21
B
e
n Kibbey
Use g_get_home_dir() instea
d
.
commit
|
commitdiff
|
tree
2009-03-20
Ben K
i
b
be
y
Rem
o
ved all tcp/remote/G
n
uT
L
S sup
p
o
r
t
.
Remote connections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
Fix tls
.
c
compile-time warni
n
g
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibbey
Dont lin
k
with
-
l
rt
or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Remo
v
ed acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
C
heck for EDEADL
K
in MUTEX_UNL
O
CK
.
It can be ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wait for thread TID e
v
e
n
t
s which a
r
e
t
riggered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Ki
b
be
y
Catch SIGABRT, but not
SIGUS
R
2
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbe
y
Chec
k
t
he return value fr
o
m pth_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Mi
n
or cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use thread-s
a
f
e
l
ibgcrypt and libg
p
g-error fu
n
c
t
ions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Dont w
r
ite
a
log message
i
n M
U
TE
X
_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUTEX
_
TRYLOCK ev
e
rywhere S
T
A
TUS_LOCKED
i
s sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Fixe
d
unlock_file_mut
e
x() releasing the unlocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
Kibbey
che
c
k the return of
pth_mutex
_
acq
u
ire and pth_mutex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Ki
b
be
y
squash before co
m
miting to master
.
thi
s
is th
e
initia
l
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
K
ibbe
y
Use "git log"
not "git-log" in th
e
Makefile
'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Added
O
PT
I
ON L
C
_CT
Y
PE and OPTION LC_
M
ESSAG
E
S
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
Fixed a typo in the prev
i
ous commit
.
Destroy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
F
i
xe
d
keepalive_thread
(
) to use a local conditi
o
n
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
F
i
x
e
d aborting the connection when the configu
r
ed keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
bbey
Move
d
client_msg_thread()
a
nd
c
lien
t
_msg_sen
d
er_threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
be
y
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
After se
n
ding a s
t
atus message
to
send_status
(
), cr
e
ate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbey
Remove the exi
t
ing client
f
rom the
c
lient list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Min
o
r cleanups in
m
em
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbe
y
Lock the rcfile_mutex at
e
a
c
h
keyfil
e
h access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don
'
t loc
k
the cn_mut
e
x before cancelling t
h
e clie
n
t
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix for th
e
previous commit that wou
l
dn
'
t
terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a local mutex
in client_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Be
n
Ki
b
bey
Use
a goff
s
et rather than gsize
f
or crypto->i
n
si
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
ibbey
Fixed stat
u
s messag
e
s to use the new iteratio
n
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Fixe
d
da
t
a file porta
b
i
lity between v
a
rious s
y
stems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ibbey
A f
e
w more pthread_testcancel()'s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thre
a
d cancellation tests in do_compress() an
d
do_decomp
r
ess
(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Don't
s
end status
mes
s
ag
e
s to clients that are
exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Kib
b
ey
Fix
e
d a
s
eg
f
ault with the SAVE command w
h
en u
s
ed with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbe
y
More thread
cancelation tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbe
y
Cre
a
t
e
a
m
u
te
x
for the cu
s
tom memory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
C
reate a n
e
w
thread whe
n
reloadin
g
the rcf
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ib
b
ey
Mo
r
e t
h
read c
a
ncellation t
e
sts (mo
r
e to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben K
i
bbey
A coupl
e
mor
e
thre
a
d
canc
e
llation
t
ests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Kibbey
If
t
he
c
lien
t
thr
e
ad terminates while a pinentr
y
is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Se
t
up a
cleanup ha
n
dler in it
e
rate_cr
y
pto_once
(
) i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
b
ey
When
e
ncrypting/decrypting, do
n
't do the whol
e
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In clea
n
up_cb(), don't free cn->name until
every
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
b
bey
B
e
tter mutex lo
c
ki
n
g an
d
unlocking macro
s
.
Useful fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Update the mtime in do_xml_encryp
t
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbuf is set to
t
he
d
ata
to
e
ncrypt when p
a
ssed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
s
e gcry_
.
.
.
memory functions
i
n
do_
c
ompress(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG
_
ERR
_
ENOANO
if the data fi
l
e is n
o
t
a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A coup
l
e minor cac
h
e
.
c clea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fix
e
d pote
n
tially not freeing all cac
h
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bbey
Fixed
s
tatus
m
essages
s
end with
s
e
n
d_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed tls_init() not init
i
alizing
t
he
S
HA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
In
i
t
iali
z
e
l
ibgcry
p
t properly by calli
n
g gcry_
c
heck_v
e
r
si
o
n()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Mo
v
e
initTlsParams(
)
and deinitTlsParam
s
() to
t
ls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Added option "tcp_u
s
e_crl"
.
W
h
en TR
U
E, ~/
.
pwmd
/
crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the signal mask before other threads are cre
a
t
ed
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
D
on'
t
try
a
nd link with -lr
t
on systems o
t
her
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixe
d
a
compile time error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbe
y
Fixed a compil
e
time warning
o
n FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Remov
e
old
< v
1
.
11 command line o
p
tion -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
bey
Use
PTHREAD_M
U
TEX_R
E
CURSIVE no
t
PT
H
R
E
A
D_MUTEX_RECURSIVE
_
NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibb
e
y
F
ixed some com
p
le t
i
me condi
t
ionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Rest
o
re
c
li
e
nt->has_lock in cleanu
p
_cli
e
n
t()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use a structure in file_c
a
che_t
to
h
o
ld the file mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
The client must
e
xplic
i
tly set OPTION
PINENTRY
if
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en
K
i
bbey
Don't write a log messag
e
w
hen the cache mutex is l
o
cked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n K
i
bbey
Really
f
ix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kib
b
ey
Revert "F
i
x for
c
ommi
t
a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Ki
b
b
e
y
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Resta
r
t the keepalive_
t
h
r
e
ad(
)
after receiving S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accepting TCP
c
o
n
nections when shuttin
g
down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
be
y
If MEM_D
E
BUG is d
e
fine
d
th
e
n set th
e
x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
Use an SHA-1 finge
r
print r
a
th
e
r than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a
s
e
gfault when
T
LS f
a
iled nego
t
iation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
i
bbey
Create the client_msg_
t
hread and clien
t
_msg_s
e
nde
r
_thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbe
y
Only a
p
pend u
n
i
que statu
s
messa
g
e
s
to t
h
e mes
s
age q
u
eue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
I
f
the c
u
rrent thread is calling send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Make sure the msg mutex is unlock
e
d
before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibb
e
y
C
reate a m
e
ssage queue that
won't
block send_sta
t
u
s
_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
P
o
rted to pthread
.
cache_mutex and cn
_
mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
e
n Ki
b
bey
SIGHUP will stop or s
t
ar
t
the tcp_acce
p
t_thread() d
e
pending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated th
e
copyright headers
f
or 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fi
x
ed
a
pinentry
segfault
(
hopefully) d
u
ri
n
g clea
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
All
o
w
oth
e
r chara
c
te
r
s in the filename when using GET
C
ONFI
G
.
commit
|
commitdiff
|
tree
next