summaryrefslogtreecommitdiff
path: root/channel.h
Commit message (Collapse)AuthorAgeFilesLines
* Leave non-interactive at default QoS classMatt Johnston2022-01-271-8/+2
| | | | | | | | 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
* Use DSCP for IP QoS traffic classesMatt Johnston2022-01-251-1/+1
| | | | | | | | | | | The previous TOS values are deprecated and not used by modern traffic classifiers. This sets AF21 for "interactive" traffic (with a tty). Non-tty traffic sets AF11 - that indicates high throughput but is not lowest priority (which would be CS1 or LE). This differs from the CS1 used by OpenSSH, it lets interactive git over SSH have higher priority than background least effort traffic. Dropbear's settings here should be suitable with the diffservs used by CAKE qdisc.
* Bring back recently removed channel->flushingMatt Johnston2021-10-141-2/+5
| | | | | This resolves the "sleep 10&echo hello" case which should return immediately
* Replace ChanType.sepfds with Channel.bidir_fdMatt Johnston2021-10-111-1/+3
| | | | | | | | 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
* - Remove "flushing" handling for exited processes, it should beMatt Johnston2021-10-111-2/+0
| | | | | | | handled by normal file descriptor reads. - Fix sesscheckclose() handling if a channel was closed before a process was ever launched
* Return errstring on connect failureMatt Johnston2021-03-051-1/+1
|
* Split ChanType closehandler() and cleanup() so that dbclient doesn'tMatt Johnston2018-11-141-4/+7
| | | | lose exit status messages
* more linting (#55)Fran?ois Perrad2018-02-171-2/+2
| | | | | | | | * dropbear_exit: remove priority parameter confusion with dropbear_log() * const parameter
* Pointer parameter could be declared as pointing to const (callback)Francois Perrad2017-08-191-2/+2
|
* Pointer parameter could be declared as pointing to constFrancois Perrad2017-08-191-4/+4
|
* Convert #ifdef to #if, other build changesMatt Johnston2016-05-041-2/+2
|
* fix empty C prototypesFrancois Perrad2016-01-011-14/+14
|
* Turn start_send_channel_request()'s type argument into char *Ga?l PORTAY2015-05-021-1/+1
|
* Make main socket nonblocking. Limit writequeue size.Matt Johnston2015-03-201-1/+1
|
* merge from defaultMatt Johnston2015-02-281-4/+4
|\
| * Some minor typo fixes, found by codespell.Thorsten Horstmann2015-02-241-1/+1
| |
| * DROPBEAR_ prefix for include guards to avoid collisionsThorsten Horstmann2015-02-241-3/+3
| |
* | async connections workingMatt Johnston2015-02-181-0/+4
|/
* Make keepalive handling more robust, this should now match what OpenSSH doesMatt Johnston2014-08-191-0/+5
|
* Set tcp priority as follows:Matt Johnston2014-07-161-9/+9
| | | | | | | | 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.
* Send a failure response if a client receives a global requestMatt Johnston2014-07-081-0/+3
|
* Add ~. and ~^Z handling to exit/suspend dbclientMatt Johnston2013-03-231-1/+3
|
* Fix memory leak when direct TCP connections time out on connection.Matt Johnston2013-03-191-4/+2
| | | | | Long-standing bug probably stemming from the awkwardly named delete_channel() versus remove_channel()
* - Make sure we don't use channel-specific data after it has been freedMatt Johnston2011-12-041-0/+4
| | | | with a ChanType->closehandler()
* Make it compile, update for changes in channel structure.Matt Johnston2009-07-011-1/+1
|
* Rearrange the channel buffer sizes into three neat use-editable values inMatt Johnston2007-07-241-8/+0
| | | | | | | 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.
* Improve behaviour when flushing out after a process has exited.Matt Johnston2007-02-091-0/+2
|
* just shuffle some variables names about, a brief commentMatt Johnston2006-10-011-5/+4
| | | | about the "bad writefd" problem
* * rename infd/outfd to writefd/readfd, to avoid confusionMatt Johnston2005-10-201-3/+3
|
* * ensure that we only handle open confirmation/failureMatt Johnston2005-09-051-0/+4
| | | | for channels where it is expected
* common session initialiser doesn't need to callMatt Johnston2005-09-051-1/+1
| | | | chansessioninnitialise(), fix up header definition
* channel.h: make definition externMatt Johnston2005-07-291-1/+1
| | | | svr-authpam.c: be smarter comparing pam prompts
* * fix longstanding bug with connections being closed on failure toMatt Johnston2005-03-131-1/+1
| | | | | | | connect to auth socket (server) * differentiate between get_byte and get_bool * get rid of some // comments * general tidying
* Rearrange preprocessor parts so that compilation with various optionsMatt Johnston2004-12-221-1/+1
| | | | disabled works OK.
* Cleaning out various dead wood found with -dead_stripMatt Johnston2004-12-201-0/+2
| | | | | | | | bignum.c: mptobytes now resides in dss.c loginrec.c: remove lastlog code since it isn't used. dbutil.c: removed obselete usingsyslog variable channel.h: client channel type only defined for client compile common-algo.c: s/rijndael/aes/
* 0.44test4 probablyMatt Johnston2004-09-141-2/+2
| | | | also bumped the channel recv window sizing
* - added circular buffering for channelsMatt Johnston2004-08-261-6/+6
| | | | | | - added stderr support for the client - cleaned up a bunch of "unused" warnings, duplicated header definitions - added exit-status support for the client
* Nasty.Matt Johnston2004-08-241-7/+17
|
* Merging in the changes from 0.41-0.43 main Dropbear treeMatt Johnston2004-08-121-0/+3
|
* Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)Matt Johnston2004-06-031-7/+1
|
* - Reworked non-channel fd handling to listener.cMatt Johnston2004-06-031-2/+1
| | | | - More channel cleaning up
* Chantype handling is sortedMatt Johnston2004-06-021-2/+3
|
* Makefile.in contains updated files requiredMatt Johnston2004-06-011-0/+122