summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
AgeCommit message (Collapse)Author
2015-02-28merge from defaultMatt Johnston
--HG-- branch : fastopen
2015-02-24Add more ATTRIB_NORETURN annotations, from Thorsten HorstmannMatt Johnston
2015-02-20Move generic network routines to netio.cMatt Johnston
--HG-- branch : fastopen
2015-02-20Update priority once the socket is openMatt Johnston
--HG-- branch : fastopen
2015-02-19In theory TFO should work. Needs platform cleanup and testingMatt Johnston
--HG-- branch : fastopen
2015-02-18async connections workingMatt Johnston
--HG-- branch : fastopen
2014-08-19Make keepalive handling more robust, this should now match what OpenSSH doesMatt Johnston
2014-08-13Don't send SSH_MSG_UNIMPLEMENTED for keepalive responsesMatt Johnston
2014-07-08Send a failure response if a client receives a global requestMatt Johnston
2014-01-17DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by defaultMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h
2013-11-14use oldstyle commentsMatt Johnston
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-05-03ecdsa is workingMatt Johnston
--HG-- branch : ecc
2013-04-09start on ecdsa keysMatt Johnston
--HG-- branch : ecc
2013-04-04setup tcp after requesting a channel - might hide some DNS latencyMatt Johnston
2013-04-04Take transmit and receive keys into use separatelyMatt Johnston
2013-04-03fix leftover kexguess debuggingMatt Johnston
2013-04-03merge kexguess branchMatt Johnston
2013-04-03Put some #ifdef options around first-follows options in case theyMatt Johnston
need to be disabled --HG-- branch : kexguess
2013-04-03Don't usually need to recalculate dh_e for the repeated kexdh_init packetMatt Johnston
--HG-- branch : kexguess
2013-04-02Be a bit more careful about when we want to use CLI_AUTH_IMMEDIATEMatt Johnston
Only use it if we have pubkeys to try, or we have $DROPBEAR_PASSWORD set
2013-04-01Run the cleanup handler also when we close due to TCP connection being closedMatt Johnston
2013-04-01merge from head roundtrip changesMatt Johnston
--HG-- branch : kexguess
2013-04-01Move the more verbose TRACE() statements into TRACE2()Matt Johnston
2013-03-31Don't bother waiting for a ssh-connection service reply - the serverMatt Johnston
will disconnect if it wasn't accepted
2013-03-31mergeMatt Johnston
--HG-- branch : kexguess
2013-03-31send out our kexinit packet before blocking to read the SSH version stringMatt Johnston
2013-03-30Get rid of client/server specific buf_match_algo, use singleMatt Johnston
function with a couple of if statements instead --HG-- branch : kexguess
2013-03-29first_kex_packet_follows working, needs tidyingMatt Johnston
--HG-- branch : kexguess
2012-05-17- Only request "none" cipher after auth has succeededMatt Johnston
--HG-- branch : insecure-nocrypto
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2009-09-01Rearrange getaddrstring() etcMatt Johnston
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-07-30Agent forwarding worksMatt Johnston
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
2009-07-01Make it compile, update for changes in channel structure.Matt Johnston
--HG-- branch : agent-client extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
2009-07-01propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
899a8851a5edf840b2f7925bcc26ffe99dcac54d) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2) --HG-- branch : agent-client extra : convert_revision : d39a49137cc36b624768d4e79e564141dde8d355
2008-11-02Report errors if a remote request failsMatt Johnston
--HG-- extra : convert_revision : ed1584aacf189b8f8ddee813b98342fa8bb38022
2008-09-23propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
4fb35083f0f46ea667e7043e7d4314aecd3df46c) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee) --HG-- branch : agent-client extra : convert_revision : 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2
2008-09-17propagate from branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head ↵Matt Johnston
b02ba6628cf2095017c60d202ac630f231e6b553) to branch 'au.asn.ucc.matt.dropbear' (head 636506b73e973b004cc058b07e6f36a25ff902f8) --HG-- extra : convert_revision : eb8e95a8227df7802d79007d4dd89098759fa76b
2008-09-17Rework netcat-alike to be a proper mode, with -B argument.Matt Johnston
--HG-- branch : dbclient-netcat-alike extra : convert_revision : b02ba6628cf2095017c60d202ac630f231e6b553
2008-09-15- Split main socket var into ses.sock_in/ses.sock_out in preparationMatt Johnston
for -J proxy_cmd option (and some prelim options for that) --HG-- extra : convert_revision : 47cdea9a7d66c553c6f5eec43b899821939d4e4c
2008-09-14propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
f21045c791002d81fc6b8dde6537ea481e513eb2) to branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head d1f69334581dc4c35f9ca16aa5355074c9dd315d) --HG-- branch : dbclient-netcat-alike extra : convert_revision : 22bbe895accc3995b48f07b556e45d546ff1ce5d
2007-08-16propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
8a7db1e2fdc5636abb338adb636babc32f465739) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d) --HG-- branch : agent-client extra : convert_revision : 78d02301ae8310efa2639f15da0ea62dea110e4b
2007-02-16Fix for -pedantic -ansi compilation, change // to /**/, plus some signednessMatt Johnston
and trailing-comma-in-array issues --HG-- extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
2006-06-07add -f background option to dbclientMatt Johnston
--HG-- extra : convert_revision : 5ef61c30c0a634ac0da22a8c694ce235690e8170
2006-06-07Add -N "no remote command" dbclient option.Matt Johnston
Document -N in dbclient.1 and -P in dropbear.8 --HG-- extra : convert_revision : 7cada79bf8f61e09a72e5d492170bd10ab0acee3
2006-03-21propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
0501e6f661b5415eb76f3b312d183c3adfbfb712) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 01038174ec27245b51bd43a66c01ad930880f67b) --HG-- branch : agent-client extra : convert_revision : 12b2f59db65e7339d340e95ac67d6d9ddb193c2b
2006-03-21A hack to make dbclient to tcp forwarding netcat style.Matt Johnston
eg ./dbclient -i testkey -L 1234:remotehost:remoteport tunnelhost will ssh to tunnelhost (using testkey, there's no way to ask for a password) and then tcpfwd to remotehost:remoteport on stdin/stdout. There's no way to give a cmdline password, so -i for a keyfile will have to do. Yet another reason for agent forwarding. The 1234 is a dummy var, I think it has to be a valid portnumber though. --HG-- branch : dbclient-netcat-alike extra : convert_revision : d1f69334581dc4c35f9ca16aa5355074c9dd315d
2006-02-11Only read /dev/random once when the program startsMatt Johnston
rather than for every connection, to "conserve entropy". --HG-- extra : convert_revision : 21df240b71c0af8454725dec9abb428dd4bb97a2
2005-09-20added keyboard-interactive client supportMatt Johnston
--HG-- extra : convert_revision : 3df738e42f4fc8b7f0f3ff9ca767386f54edb1ea