Matt Johnston
f17400e738
Replace ChanType.sepfds with Channel.bidir_fd
...
This handles the case where a svrchansess has separate FDs
for nopty, but a single FD for pty mode.
The use of sepfds was also previously incorrect for X11 and
agent forwarding
2021-10-11 15:42:14 +08:00
Matt Johnston
c917807b1c
rsa-sha256 for ssh-agent
2020-05-25 20:23:02 +08:00
Matt Johnston
fe992bf4ea
Split ChanType closehandler() and cleanup() so that dbclient doesn't
...
lose exit status messages
2018-11-14 22:57:56 +08:00
Francois Perrad
89e64c631e
Pointer parameter could be declared as pointing to const
2017-08-19 17:16:13 +02:00
Francois Perrad
ecb4a6173d
upgrade atomicio
...
in order to remove K&R code in atomicio.c
now, vwrite comes from atomicio.h
2016-11-15 14:56:25 +01:00
Matt Johnston
32a28d0d9c
Convert #ifdef to #if, other build changes
2016-05-04 15:33:40 +02:00
Matt Johnston
f367273549
allocate buffer and data in a single allocation
...
--HG--
branch : nocircbuffer
2015-03-01 21:16:09 +08:00
Matt Johnston
eabd9f5e60
clarify bad/unknown
2015-01-04 22:32:38 +08:00
Catalin Patulea
d4609682af
Handle invalid agent keys by skipping rather than exiting.
...
My agent exposes both conventional keys and certs (ecdsa-sha2-nistp256-cert-v01@openssh.com ) and I want dropbear to be able to use the former.
2015-01-01 17:47:46 -05:00
Matt Johnston
6d2d3669f3
Make keepalive handling more robust, this should now match what OpenSSH does
2014-08-19 23:08:56 +08:00
Matt Johnston
c5e36f8e3c
Fix some warnings
2013-11-25 23:08:33 +08:00
Matt Johnston
cbe63bbabe
rename random.h to dbrandom.h since some OSes have a system random.h
...
--HG--
rename : random.c => dbrandom.c
rename : random.h => dbrandom.h
2013-11-14 22:05:47 +08:00
Matt Johnston
de1deaf0bd
use oldstyle comments
2013-11-14 22:03:30 +08:00
Matt Johnston
c6bdc810ab
ecc kind of works, needs fixing/testing
...
--HG--
branch : ecc
2013-04-07 01:36:42 +08:00
Matt Johnston
a8135dec1e
Make _sign and _verify functions take a buffer* rather than void* and int
...
--HG--
branch : ecc
2013-04-06 16:00:37 +08:00
Matt Johnston
c4861340e9
Fix a few compile warnings
2013-03-23 23:17:01 +08:00
Matt Johnston
52a466b8af
- Remove unused variable/code
2011-12-04 05:27:57 +08:00
Matt Johnston
eef35883b7
Tidy error handling and get rid of some commented out code
...
--HG--
extra : convert_revision : beb6fc766123135d5ae455ff7ad6b48d85386f62
2011-04-07 12:30:20 +00:00
Matt Johnston
3fc6569d46
Fix check of wrong variable found by Klocwork
...
--HG--
extra : convert_revision : 6f3b074e83bb808019f49c5aca3451b70f9f1e8f
2011-04-07 11:14:22 +00:00
Matt Johnston
c7e3eb9b3f
- Don't print warning if SSH_AUTH_SOCK is unset
...
--HG--
extra : convert_revision : 0d7a9127af37d6e74efc5ec031a7001ce63d334d
2009-08-13 14:57:27 +00:00
Matt Johnston
f15feb2ac6
- Handle failure to connect to forwarding socket
...
--HG--
extra : convert_revision : 0cc1ae25ba35931d6ddd9e989e875ef975616be6
2009-07-31 15:51:33 +00:00
Matt Johnston
bb8234c2f1
Agent forwarding works
...
--HG--
branch : agent-client
extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
2009-07-30 15:14:33 +00:00
Matt Johnston
8a19a049b2
- Client auth using an agent's key works. Still need to implement client
...
agent forwarding.
--HG--
branch : agent-client
extra : convert_revision : 276cf5e82276b6c879d246ba64739ec6868f5150
2009-07-06 14:02:45 +00:00
Matt Johnston
c742137dc8
New standard linked list to use, rather than adhoc SignKeyList or TCPFwdList
...
--HG--
branch : agent-client
extra : convert_revision : 5465e639cc3f5ee0c6c55f0de6e7b6d5a8769da3
2009-07-06 12:59:13 +00:00
Matt Johnston
9dc9aff016
Talking to the agent works now. Can't interpret the pubkeys.
...
--HG--
branch : agent-client
extra : convert_revision : 357373f28e889108178b8627480fd24bc26dcbd7
2009-07-01 06:27:27 +00:00
Matt Johnston
c6582dbe37
Make it compile, update for changes in channel structure.
...
--HG--
branch : agent-client
extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
2009-07-01 04:53:17 +00:00
Matt Johnston
e444f0cfe6
- progress towards client agent forwarding
...
(incomplete and does not compile)
--HG--
branch : agent-client
extra : convert_revision : 01038174ec27245b51bd43a66c01ad930880f67b
2005-07-18 14:32:52 +00:00