summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
AgeCommit message (Collapse)Author
2017-08-19Pointer parameter could be declared as pointing to const (callback)Francois Perrad
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-03-16fix empty C prototypesFrancois Perrad
2016-03-16put default in switch/caseFrancois Perrad
2016-03-16remove unreachable codeFrancois Perrad
2015-06-04buf_getstring and buf_putstring now use non-unsigned char*Matt Johnston
2015-05-05Turn type and term local variables into char *Gaël PORTAY
2015-05-05Turn start_send_channel_request()'s type argument into char *Gaël PORTAY
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaël PORTAY
2014-08-19Make keepalive handling more robust, this should now match what OpenSSH doesMatt Johnston
2014-07-16Set tcp priority as follows:Matt Johnston
if (connecting || ptys || x11) tos = LOWDELAY; else if (tcp_forwards) tos = 0; else tos = BULK; TCP forwards could be either lowdelay or bulk, hence the default priority.
2013-12-03Fix TRACEs of cli_send_netcat_requestCatalin Patulea
2013-12-03- Sockets are set to lowdelay priority initially to improve conneciton setupMatt Johnston
time - Set non-pty connections to bulk for client and server
2013-12-02Set IPTOS_LOWDELAY on PTY sessions onlyCatalin Patulea
2013-11-14use oldstyle commentsMatt Johnston
2013-10-18Merge in changes from the past couple of releasesMatt Johnston
--HG-- branch : ecc
2013-09-21Only send a failure response to a channel request if wantreply is set.Matt Johnston
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-04-10reset terminal modes before printing a messageMatt Johnston
2013-04-07ecc kind of works, needs fixing/testingMatt Johnston
--HG-- branch : ecc
2013-03-23Add ~. and ~^Z handling to exit/suspend dbclientMatt Johnston
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2010-03-21- make structure staticMatt Johnston
--HG-- extra : convert_revision : 0adbc6745a5ada0b6780b0683209f5b26b1a335d
2009-08-25- Move netcat struct to where it stays in scope.Matt Johnston
--HG-- extra : convert_revision : e35cd321b6d4fab6ad854827249f610da3bb6878
2009-07-30Agent forwarding worksMatt Johnston
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
2009-07-06New standard linked list to use, rather than adhoc SignKeyList or TCPFwdListMatt Johnston
--HG-- branch : agent-client extra : convert_revision : 5465e639cc3f5ee0c6c55f0de6e7b6d5a8769da3
2008-09-23- Enable -s for specifying a subsystem (such as sftp)Matt Johnston
--HG-- extra : convert_revision : c7b916e6c522f16f06fe1bd52815ba13aa88b90b
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-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-07-25Add -W <windowsize> argument and document it.Matt Johnston
--HG-- extra : convert_revision : 98d4c0f15480bf749c451034cbc565d7e9d3b8dc
2007-07-24Rearrange the channel buffer sizes into three neat use-editable values inMatt Johnston
options.h. Increasing RECV_MAX_WINDOW gives big network performance increases - even with the present buffers (which haven't changed) it performs a lot better. Next step is to make the window size a cmdline option. --HG-- extra : convert_revision : 24c7cb47fb56cf5b82e3bc0859b45ea83038eab0
2007-02-12Ignore "exit-signal" request rather than returning failureMatt Johnston
--HG-- branch : channel-fix extra : convert_revision : 493d563a48aecc55015ba6d2820da223b3b013b7
2006-03-26A few more fixups, make sure that variable declarations are theMatt Johnston
first thing in a function --HG-- extra : convert_revision : 5e475ab869513f9ce5baff42838a656f99300487
2006-03-25Some cleanups/fixes for various TRACE statementsMatt Johnston
--HG-- extra : convert_revision : 84eb6fedc6df0666f8053b9018bf16635dbfb257
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
2005-10-20 * rename infd/outfd to writefd/readfd, to avoid confusionMatt Johnston
--HG-- extra : convert_revision : e3e7dc2cf75ad60c83a5b4307c210fee2fe90434
2005-03-13* fix longstanding bug with connections being closed on failure toMatt Johnston
connect to auth socket (server) * differentiate between get_byte and get_bool * get rid of some // comments * general tidying --HG-- extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2004-08-27merge of 50be59810e462f9f44f55e421227d6aa0b31982bMatt Johnston
and 69b007796063cb5f042be7cca2d479e90db869c3 --HG-- extra : convert_revision : 5d0dfaa8c0ee6c728a3b4f0f0855199ba729db83
2004-08-26- added circular buffering for channelsMatt Johnston
- added stderr support for the client - cleaned up a bunch of "unused" warnings, duplicated header definitions - added exit-status support for the client --HG-- extra : convert_revision : 5bdf806d8b440c87f7235414662f4189195618f4
2004-08-24Nasty.Matt Johnston
--HG-- extra : convert_revision : e1229cd01c3007206d2937ea390ad4966c289a5a
2004-08-22Move the revert-to-non-blocking-stdin code to cli-session so itMatt Johnston
always gets hit. --HG-- extra : convert_revision : 3eb50d87fa6439d336b2238926fbed5066302d30
2004-08-18Don't leave the stdin FD non-blocking on exit - busybox doesn't like it.Matt Johnston
--HG-- extra : convert_revision : 9c2b10bf10f9d38f62490346b53268a07afa0c3a
2004-08-14License boilerplate etc, add Mihnea as an author to some of the filesMatt Johnston
--HG-- extra : convert_revision : 75c02f80c4ed25bd4697e7f17ffac6eded54c148
2004-08-09Write the correct termcodes lengthMatt Johnston
--HG-- extra : convert_revision : 820649664926ee4346c564fc4d9c8e211d541092
2004-08-01added window-size change handlingMatt Johnston
--HG-- extra : convert_revision : 93a39c7b76f478035046b9c6f88af54612cce36f
2004-08-01- Added terminal mode handling etc for the client, and window changeMatt Johnston
- Refactored the terminal-mode handling for the server - Improved session closing for the client --HG-- extra : convert_revision : 9d19b4f22c39798af5f3f24c2022f8caec4919e8
2004-07-30tty raw mode support works mostlyMatt Johnston
adding cli-{chansession,runopts}.c which were missing --HG-- extra : convert_revision : ca970fb1e3fdbf0a72750e4af8f45ad308e77368