repo.or.cz
/
libpwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
A few minor cleanups.
2009-03-29
B
en Kibbey
A fe
w
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fi
x
ed zombie pi
n
entry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
K
i
bb
e
y
F
ixed
p
wmd_save_asy
n
c2() when used with an
S
SH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
b
bey
F
i
x
e
d the --get-
h
ostke
y
op
t
i
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixed som
e
compile tim
e
w
a
r
n
ings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
A
few compile tim
e
c
onditional
fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing a pwmd_open_a
s
y
n
c
2
(
), check t
h
e p
a
ssphras
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixe
d
che
c
kin
g
for a
n
SSH e
r
ror in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Tri
m
any '\r\n' in the comman
d
be
f
ore s
e
ndin
g
it
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
be
y
Fixed p
i
n
e
ntr
y
retries when u
s
ed with pwmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Check
for g
e
t
o
p
t
.
h for s
y
st
e
ms that have g
e
topt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Use getopt_long()
.
When not available, build the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibb
e
y
Fixed a p
o
tenti
a
l buffer overflow i
n
do_nb_c
o
m
m
and()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
F
a
i
l if assuan_g
e
t
_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
i
bbey
Renamed pw
m
d_tc
p
_connect()
an
d
pwmd_tcp_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Don't dup() the assuan ctx F
D
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix fo
r
the previo
u
s commit which di
d
n't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Fixe
d
pwmd_open/save
_
a
s
ync2() w
h
en the file is c
a
ched
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed using a
specified p
a
ssphrase wh
e
n
using
p
wmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Don't close the TCP
F
D whe
n
an async co
m
mand complete
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixed a pwmd
_
t
c
p_connec
t
_
async() segfa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added pwmd_get_fd2() to retu
r
n the
FD used by pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n K
i
bbey
Remo
v
ed
pwmd_ter
m
i
n
ate
_
p
i
nent
r
y()
.
There is
n
o need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Removed pwmd
_
o
pen_nb(), p
w
md_save_
n
b
(
), pwmd_open_nb_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the state after command completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwmd_get_hos
t
key_a
s
ync()
to
reset
t
he
st
a
t
e
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set th
e
p
w
m
d_proc
e
ss
(
)
r
esult whe
n
finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
pwmd_
c
a
lloc
(
)
n
ot pwmd_
m
all
o
c() in
p
wm
d
_n
e
w(
)
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbe
y
Let
pwmd_open_nb(
)
use PWMD_OPTION_PIN
E
NT
R
Y_
T
IMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-ad
d
p
w
md
_
p
e
nding_line
(
)
.
Th
e
difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
A
P
I changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbe
y
#in
c
lude <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
P
u
blic/priva
t
e
s
ymbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
e
y
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
be
y
U
s
e getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If username is
NULL when
p
assed to pwmd_tcp_
c
onnect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
W
ITH_
L
IBPTH co
n
d
itional
f
ixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Added pwmd_strerror
_
r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Fixe
d
p
wm->re
s
ult witho
u
t TCP sup
p
ort
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
Kibbey
Bet
t
er pwmc argument
c
hecking with tcp opt
i
ons
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
K
ibbey
Allow -y for pi
n
e
n
try retries
even
wi
t
hout
D
EBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kib
b
ey
--disable-
t
cp compile time
fixes and other minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Fix
e
d
a
t
y
po in
p
w
mc
.
c
p
reventing reading S
T
DIN
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
K
ibbey
L
et pwmd_pro
c
ess() work with
o
ut a running command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
M
a
ke sur
e
the resul
t
of a pwmd_c
o
mmand
(
) is
n
o
t
N
U
LL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Re
v
ert "Let pwmd_pr
o
cess() work when
n
ot i
n
side a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
F
ix
e
d
a segfault when a
f
ter a remote client t
e
rminates
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Le
t
pwmd_process() work when not inside
a
co
m
mand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Finalized c
o
mm
i
t 65d085f
.
S
ho
u
ld
b
e back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
i
bb
e
y
Compil
e
-t
i
me fix for
Fre
e
BSD when try
i
ng to
link wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Co
m
pi
l
e-time fix f
o
r --disa
b
le-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
U
p
dated pwmc
.
c
t
o use pw
m
d_setopt
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Adde
d
PWMD_O
P
TION_PINEN
T
RY
_
TIMEOUT
.
Only useful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Let pw
m
d_setopt() set pwmd options di
r
ectly w
h
en PWMD_O
P
TION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added pwmc command
line options
-C and -M to set L
C
_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
P
WMD_OPTION_PINEN
T
R
Y_LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
In do_pwmd
_
save(), check for
t
h
e user supplied
pas
s
word
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Reset pwm->pid in pwm
d
_
t
er
m
inate_pi
n
entry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Make sure
p
wmd_command_ap()
h
as a ha
n
dl
e
a
nd command
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
C
ompile time fix for -DM
E
M_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ib
b
ey
D
o
n't try to xfre
e
the p
a
ssword returned b
y
a
user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Updated t
h
e
c
o
pyright header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
A
dded warn_unu
s
e
d
_result attribut
e
to pwmd
_
comman
d
_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
F
ixed m
e
m
.
c to use a m
u
tex when accessing the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Ad
d
ed pwmd_command_a
p
()
.
T
h
is mak
e
s pwmd_command()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kib
b
ey
I
messed up th
e
directory tree mak
i
n
g
it hard to
pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben K
i
bbey
Fixe
d
som
e
m
emory l
e
aks
.
commit
|
commitdiff
|
tree
2009-03-13
B
e
n Kibbey
A
d
ded p
w
md
_
get_hostkey_async()
.
A
cts like pwmd
_
tcp_conn
e
ct_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
Fixed pwmd_tcp_connect_async()
.
commit
|
commitdiff
|
tree
2009-03-12
B
en Kibbey
Allow comme
n
ts beginn
i
n
g
w
ith '#' in the known
h
o
st
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
Cha
n
g
e
d
the
a
rg
u
ments t
o
p
w
md
_
tcp_
c
o
n
n
ect() and
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
Use
secur
e
memory f
u
nctions
.
commit
|
commitdiff
|
tree
2009-03-11
Be
n
Kibbey
An alternate way to
d
o re
m
ote connect
i
on
s
.
T
h
is will
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Be
n
Kibbey
Added pwmd_c
o
mm
a
nd_ap()
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added d
o
c/ a
n
d src/
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
ibb
e
y
Fix
e
d
'make dis
t
check'
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Ki
b
bey
Use the
new pwm
d
VERSI
O
N c
o
mmand to de
t
ermi
n
e valid
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibb
e
y
Prefix all libassuan symbols with _pwmd_ to prevent
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
K
i
bbey
Make libassuan a convenie
n
c
e
library
t
o fix libt
o
ol
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
Ben Kibbe
y
A
d
ded
a
s
suan_socket_connect_fd() and a
s
suan_se
t
_finish_handl
.
.
.
commit
|
commitdiff
|
tree
2008-12-12
Ben Kibbey
Added libas
s
uan
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Fix
f
o
r
p
wmd_assuan_ctx()
.
D
on't declare assu
a
n_con
t
ext_t
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
Ben
K
ibbey
Fix
for ARES
_
EDESTRUCTI
O
N whi
c
h
i
s
sent to the call
b
ack
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
B
e
n Kibb
e
y
D
ont free the hostent un
t
il the
co
n
n
e
c
t
ion is complete
.
.
.
commit
|
commitdiff
|
tree
2008-11-16
B
e
n Kib
b
ey
U
se lib
c
ares instead of libevdns
for non-
b
locking DNS
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben
K
ibbey
Fixed libpth supp
o
rt with --en
a
ble-tcp
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
pwmd_tcp_con
n
e
c
t()
and
pwmd_tcp_c
o
nnec
t
_as
y
n
c() requi
r
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
R
ev
e
rt
"
A
dded P
W
MD_OPTION_VERIFY_HOSTNAME a
n
d pwmc
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Be
n
Kibbey
Added PWM
D
_OPTION
_
V
ERIFY_HOS
T
NAME
a
nd pwmc option
.
.
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
Fixed checking the e
n
tire peer c
e
rtificate l
i
st
.
commit
|
commitdiff
|
tree
2008-11-14
Ben Kibbey
Added E
P
WMD_FILE_ACC
E
SS
.
commit
|
commitdiff
|
tree
2008-11-08
Ben K
i
b
b
ey
R
e
quire libass
u
an v1
.
0
.
5 or later
.
commit
|
commitdiff
|
tree
2008-11-03
Ben
K
i
bbey
When any of the gnu
t
ls_() functions fail i
n
_tls_init
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
n Kibbey
H
a
ve pwmc show the hostname in the e
r
ro
r
messa
g
e
when
.
.
.
commit
|
commitdiff
|
tree
2008-10-31
Ben K
i
bb
e
y
Use "pass
p
h
ras
e
"
i
nste
a
d of "password"
i
n vis
a
ble strings
.
commit
|
commitdiff
|
tree
2008-09-28
Ben
Kibbey
Small
fix for the previous
m
e
rg
e
.
commit
|
commitdiff
|
tree
2008-09-28
Ben
K
ibbey
Merge b
r
anch 'master
'
into
exp
commit
|
commitdiff
|
tree
2008-09-28
Be
n
Kibbey
Vers
i
o
n
5
.
0
.
8
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
M
o
re dynamic version number handling
.
Mak
e
s it easie
r
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Ben Kibbey
p
w
md_init()
now r
e
tur
n
s immediatel
y
if cal
l
ed more
.
.
.
commit
|
commitdiff
|
tree
next