changeset | 1d86a58fb52d |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Leave non-interactive at default QoS class Lower class levels are less well defined, and non-interactive SSH can carry various different types of applications. This change also sets lowdelay class (AF21) earlier in an an outbound dbclient session |
files |
changeset | 90ac15aeac43 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@codeconstruct.com.au> |
description | Bring back recently removed channel->flushing This resolves the "sleep 10&echo hello" case which should return immediately |
files |
changeset | a7cc3332d8ab |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | 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 |
files |
changeset | 3f0ac6bc58a1 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Remove "flushing" handling for exited processes, it should be handled by normal file descriptor reads. - Fix sesscheckclose() handling if a channel was closed before a process was ever launched |
files |
changeset | 8a78cc13eb30 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix some outdated comments |
files |
changeset | c584b5602bd8 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Return errstring on connect failure |
files |
changeset | 79eef94ccea9 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Split ChanType closehandler() and cleanup() so that dbclient doesn't lose exit status messages |
files |
changeset | 5916af64acd4 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge from main |
files |
changeset | 06d52bcb8094 |
---|---|
branch | |
bookmark | |
tag | |
user | Francois Perrad <francois.perrad@gadz.org> |
description | Pointer parameter could be declared as pointing to const |
files |
changeset | a91466491d5b |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | remove unneeded check |
files |
changeset | 6b89eb92f872 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | glaring wrapfd problems fixed |
files |
changeset | 0b1162fbf1c6 |
---|---|
branch | |
bookmark | |
tag | |
user | Francois Perrad <francois.perrad@gadz.org> |
description | remove duplicated include |
files |
changeset | 750ec4ec4cbe |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Convert #ifdef to #if, other build changes |
files |
changeset | af940cefdba1 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix "Avoid queueing into circbuffer when the channel is about to close" which broken handling EAGAIN/EINTR |
files |
changeset | b370b4b172d0 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix ses.channel_signal_pending race |
files |
changeset | 509cf5df51c6 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Avoid queueing into circbuffer when the channel is about to close |
files |
changeset | b0f351edf370 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Send SSH_OPEN_RESOURCE_SHORTAGE response when too many channels open rather than SSH_OPEN_UNKNOWN_CHANNEL_TYPE |
files |
changeset | a96cf3627a58 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Only clear channel_signal_pending after handling all channels, from Andrzej Szombierski |
files |
changeset | aaf576b27a10 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Merge pull request #13 from gazoo74/fix-warnings Fix warnings |
files |
changeset | f95b6e87cd0c |
---|---|
branch | |
bookmark | |
tag | |
user | Gaël PORTAY <gael.portay@gmail.com> |
description | Turn send_msg_channel_open_failure()'s text and lang into const char * |
files |
changeset | 93e29b0ef8dc |
---|---|
branch | |
bookmark | |
tag | |
user | Gaël PORTAY <gael.portay@gmail.com> |
description | Turn start_send_channel_request()'s type argument into char * |
files |
changeset | c45d65392c1a |
---|---|
branch | |
bookmark | |
tag | |
user | Gaël PORTAY <gael.portay@gmail.com> |
description | Fix pointer differ in signess warnings [-Werror=pointer-sign] |
files |
changeset | acf444bcb115 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix no-writev fallback |
files |
changeset | cc6116cc0b5c |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Avoid channel writev() when there is nothing to write |
files |
changeset | 10f198d4a308 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make main socket nonblocking. Limit writequeue size. |
files |
changeset | 696205e3dc99 |
---|---|
branch | pam |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Remove ATTRIB_NORETURN from session_loop() since it returns. The stack breaks pretty badly. |
files |
changeset | c71df09bc610 |
---|---|
branch | nocircbuffer |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Avoid copying data into circular buffer |
files |
changeset | 01eea88963f3 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge from default |
files |
changeset | d0e6dd5af46e |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Use m_close() which will avoid close(-1) |
files |
changeset | d3925ed45a85 |
---|---|
branch | |
bookmark | |
tag | |
user | Thorsten Horstmann <thorsten.horstmann@web.de> |
description | Fix for old compilers, variable declarations at beginning of functions and /**/ comments |
files |
changeset | 0da8ba489c23 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Move generic network routines to netio.c |
files |
changeset | 02baa0b334e8 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | async connections working |
files |
changeset | 0bb16232e7c4 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make keepalive handling more robust, this should now match what OpenSSH does |
files |
changeset | 36eacc322e00 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make sure the check_close() handler runs when a server child process exits |
files |
changeset | 2e402a09e21e |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Avoid use-after-free when channel inithandler fails. Thanks to Coverity |
files |
changeset | 5daedffd0769 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Set tcp priority as follows: 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. |
files |
changeset | c88dce72f6d2 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make sure client exit messages don't get lost |
files |
changeset | 4ad38e223ccd |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Send a failure response if a client receives a global request |
files |
changeset | d93a6bcf616f |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Improve handling lots of concurrent forwarded connections. Increase connection backlog, avoid check_close() for channels that haven't had IO |
files |
changeset | 4696755c4cac |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | A few fixes for cases where compression increases payload sizes, and be more precise about maximum channel sizes |
files |
changeset | a1a97e98b0c1 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Read (and enqueue) packets from interactive input even when we're waiting for a key exchange. This should hopefully fix the situation where "~." doesn't work to terminate a client session when a laptop wakes up. The client will be stuck waiting for a key exchange on a dead connection, so won't have read the escape character |
files |
changeset | 35183e8a7851 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Improve EOF handling for half-close. Patch from Catalin Patulea Fixes the situation $ ./dbclient root@1.2.3.4 'cat; echo foo' ^D <no output> |
files |
changeset | 7577a3afc42d |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | run closehandlers on cleanup |
files |
changeset | 9a5438271556 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Move the more verbose TRACE() statements into TRACE2() |
files |
changeset | 4a274f47eabd |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add ~. and ~^Z handling to exit/suspend dbclient |
files |
changeset | abd99ecd7ec2 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | use an empty writebuf rather than a NULL one |
files |
changeset | 564e7f87ecc3 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix memory leak when direct TCP connections time out on connection. Long-standing bug probably stemming from the awkwardly named delete_channel() versus remove_channel() |
files |
changeset | c519b78b6d1a |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Don't sent SSH_MSG_UNIMPLEMENTED if we don't have ENABLE_SVR_REMOTETCPFWD - Fix build if ENABLE_SVR_REMOTETCPFWD is disabled but ENABLE_SVR_LOCALTCPFWD is enabled |
files |
changeset | 17962b2a6b8f |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Make sure we don't use channel-specific data after it has been freed with a ChanType->closehandler() |
files |
changeset | a98a2138364a |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Improve capitalisation for all logged strings |
files |
changeset | a3748e54273c |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Idle timeout patch from Farrell Aultman. Needs testing, unsure if server code works |
files |
changeset | 950c38b854a1 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Don't use // style comments |
files |
changeset | cd02449b709c |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Don't send anything in response to a SSH_MSG_CHANNEL_REQUEST if we have already sent a SSH_MSG_CHANNEL_CLOSE. This fixes a bug triggered by more recent versions of putty with tcp fowarding and window adjustment request messages. |
files |
changeset | 0871a0b89f7c |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Don't return until the shell has quit. This will ensure that an exit status is always returned. |
files |
changeset | 3e6c536bc023 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add -W <windowsize> argument and document it. |
files |
changeset | 9c61e7af0156 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Rearrange the channel buffer sizes into three neat use-editable values in 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. |
files |
changeset | ab370c629d36 |
---|---|
branch | |
bookmark | |
tag | DROPBEAR_0.49 |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix a stupid bug s/readfd/errfd/ affecting channel close on child exit |
files |
changeset | c216212001fc |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness and trailing-comma-in-array issues |
files |
changeset | b2b67cfcd66e |
---|---|
branch | channel-fix |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Fix bug in child-exit handling where the wrong pid was being matched. - Also wait for errfd to close before closing the channel |
files |
changeset | a01c0c8e543a |
---|---|
branch | channel-fix |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Improve behaviour when flushing out after a process has exited. |
files |