Matt Johnston
|
1a4db21fe4
|
buf_getstring and buf_putstring now use non-unsigned char*
|
2015-06-04 23:08:50 +08:00 |
|
Matt Johnston
|
e7ac4c1ab3
|
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
|
2015-06-04 22:25:28 +08:00 |
|
Gaël PORTAY
|
7928d83b02
|
Turn cleantext()'s dirtytext argument into char *
|
2015-05-05 20:39:13 +02:00 |
|
Gaël PORTAY
|
224b16b247
|
Fix pointer differ in signess warnings [-Werror=pointer-sign]
|
2015-05-05 20:39:13 +02:00 |
|
Matt Johnston
|
0e1dee828a
|
Make sure kexfirstinitialise is called early enough
|
2015-05-03 00:00:35 +08:00 |
|
Matt Johnston
|
31e379c300
|
merge from default
--HG--
branch : fastopen
|
2015-02-28 09:06:40 +08:00 |
|
Matt Johnston
|
1809f741cb
|
Add more ATTRIB_NORETURN annotations, from Thorsten Horstmann
|
2015-02-24 22:36:20 +08:00 |
|
Matt Johnston
|
364a53577e
|
Move generic network routines to netio.c
--HG--
branch : fastopen
|
2015-02-20 23:16:38 +08:00 |
|
Matt Johnston
|
1b1997bf2d
|
Update priority once the socket is open
--HG--
branch : fastopen
|
2015-02-20 22:13:53 +08:00 |
|
Matt Johnston
|
76a3eb393c
|
In theory TFO should work. Needs platform cleanup and testing
--HG--
branch : fastopen
|
2015-02-19 00:32:00 +08:00 |
|
Matt Johnston
|
755c1458f0
|
async connections working
--HG--
branch : fastopen
|
2015-02-18 22:46:15 +08: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
|
10eb218fb0
|
Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses
|
2014-08-13 21:48:47 +08:00 |
|
Matt Johnston
|
50a5d3756f
|
Send a failure response if a client receives a global request
|
2014-07-08 21:59:36 +08:00 |
|
Matt Johnston
|
61cecbb337
|
DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default
|
2014-01-17 21:39:27 +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
|
04518e9e80
|
merge in HEAD
--HG--
branch : ecc
|
2013-05-21 12:09:35 +08:00 |
|
Matt Johnston
|
95a21c8fd7
|
ecdsa is working
--HG--
branch : ecc
|
2013-05-03 23:07:48 +08:00 |
|
Matt Johnston
|
7f091e7019
|
start on ecdsa keys
--HG--
branch : ecc
|
2013-04-09 00:36:04 +08:00 |
|
Matt Johnston
|
2fdb5fd6ce
|
setup tcp after requesting a channel - might hide some DNS latency
|
2013-04-04 07:51:13 +08:00 |
|
Matt Johnston
|
7f42096d0f
|
Take transmit and receive keys into use separately
|
2013-04-04 00:18:50 +08:00 |
|
Matt Johnston
|
286fa93a8d
|
fix leftover kexguess debugging
|
2013-04-03 07:34:18 +08:00 |
|
Matt Johnston
|
1a16da38d5
|
merge kexguess branch
|
2013-04-03 00:49:24 +08:00 |
|
Matt Johnston
|
cbd3d5e3a5
|
Put some #ifdef options around first-follows options in case they
need to be disabled
--HG--
branch : kexguess
|
2013-04-03 00:43:31 +08:00 |
|
Matt Johnston
|
78fbed8c3e
|
Don't usually need to recalculate dh_e for the repeated kexdh_init packet
--HG--
branch : kexguess
|
2013-04-03 00:32:55 +08:00 |
|
Matt Johnston
|
ff2aa20565
|
Be a bit more careful about when we want to use CLI_AUTH_IMMEDIATE
Only use it if we have pubkeys to try, or we have $DROPBEAR_PASSWORD set
|
2013-04-02 00:11:53 +08:00 |
|
Matt Johnston
|
90b5691183
|
Run the cleanup handler also when we close due to TCP connection being closed
|
2013-04-01 22:26:55 +08:00 |
|
Matt Johnston
|
e5072c6b12
|
merge from head roundtrip changes
--HG--
branch : kexguess
|
2013-04-01 00:13:41 +08:00 |
|
Matt Johnston
|
90cf7f012c
|
Move the more verbose TRACE() statements into TRACE2()
|
2013-04-01 00:07:26 +08:00 |
|
Matt Johnston
|
36526700a9
|
Don't bother waiting for a ssh-connection service reply - the server
will disconnect if it wasn't accepted
|
2013-03-31 21:38:17 +08:00 |
|
Matt Johnston
|
32294978a3
|
merge
--HG--
branch : kexguess
|
2013-03-31 00:41:15 +08:00 |
|
Matt Johnston
|
a0e931005b
|
send out our kexinit packet before blocking to read the SSH version string
|
2013-03-31 00:40:00 +08:00 |
|
Matt Johnston
|
9c7485331a
|
Get rid of client/server specific buf_match_algo, use single
function with a couple of if statements instead
--HG--
branch : kexguess
|
2013-03-30 23:55:05 +08:00 |
|
Matt Johnston
|
4f62da0f0d
|
first_kex_packet_follows working, needs tidying
--HG--
branch : kexguess
|
2013-03-29 20:44:13 +08:00 |
|
Matt Johnston
|
e719a9ef6f
|
- Only request "none" cipher after auth has succeeded
--HG--
branch : insecure-nocrypto
|
2012-05-17 20:52:57 +08:00 |
|
Matt Johnston
|
38ed870ffe
|
Improve capitalisation for all logged strings
--HG--
extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
|
2011-02-23 15:50:30 +00:00 |
|
Matt Johnston
|
f88bed7a30
|
Rearrange getaddrstring() etc
--HG--
extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
|
2009-09-01 16:38:26 +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
|
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
|
709a3e75cf
|
propagate from branch 'au.asn.ucc.matt.dropbear' (head 899a8851a5edf840b2f7925bcc26ffe99dcac54d)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2)
--HG--
branch : agent-client
extra : convert_revision : d39a49137cc36b624768d4e79e564141dde8d355
|
2009-07-01 04:16:32 +00:00 |
|
Matt Johnston
|
5cd6995fb5
|
Report errors if a remote request fails
--HG--
extra : convert_revision : ed1584aacf189b8f8ddee813b98342fa8bb38022
|
2008-11-02 12:25:08 +00:00 |
|
Matt Johnston
|
e674c73ee6
|
propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee)
--HG--
branch : agent-client
extra : convert_revision : 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2
|
2008-09-23 16:05:04 +00:00 |
|
Matt Johnston
|
66e2f59c7b
|
propagate from branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head b02ba6628cf2095017c60d202ac630f231e6b553)
to branch 'au.asn.ucc.matt.dropbear' (head 636506b73e973b004cc058b07e6f36a25ff902f8)
--HG--
extra : convert_revision : eb8e95a8227df7802d79007d4dd89098759fa76b
|
2008-09-17 14:49:12 +00:00 |
|
Matt Johnston
|
af00c78e21
|
Rework netcat-alike to be a proper mode, with -B argument.
--HG--
branch : dbclient-netcat-alike
extra : convert_revision : b02ba6628cf2095017c60d202ac630f231e6b553
|
2008-09-17 14:36:49 +00:00 |
|
Matt Johnston
|
b619e88f54
|
- Split main socket var into ses.sock_in/ses.sock_out in preparation
for -J proxy_cmd option (and some prelim options for that)
--HG--
extra : convert_revision : 47cdea9a7d66c553c6f5eec43b899821939d4e4c
|
2008-09-15 12:51:50 +00:00 |
|
Matt Johnston
|
1c72a35ddb
|
propagate from branch 'au.asn.ucc.matt.dropbear' (head f21045c791002d81fc6b8dde6537ea481e513eb2)
to branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head d1f69334581dc4c35f9ca16aa5355074c9dd315d)
--HG--
branch : dbclient-netcat-alike
extra : convert_revision : 22bbe895accc3995b48f07b556e45d546ff1ce5d
|
2008-09-14 06:47:51 +00:00 |
|
Matt Johnston
|
e41452afeb
|
propagate from branch 'au.asn.ucc.matt.dropbear' (head 8a7db1e2fdc5636abb338adb636babc32f465739)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d)
--HG--
branch : agent-client
extra : convert_revision : 78d02301ae8310efa2639f15da0ea62dea110e4b
|
2007-08-16 13:34:37 +00:00 |
|
Matt Johnston
|
7f12251fbb
|
Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness
and trailing-comma-in-array issues
--HG--
extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
|
2007-02-16 14:42:08 +00:00 |
|
Matt Johnston
|
c81e058bb0
|
add -f background option to dbclient
--HG--
extra : convert_revision : 5ef61c30c0a634ac0da22a8c694ce235690e8170
|
2006-06-07 15:47:04 +00:00 |
|