summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
AgeCommit message (Expand)Author
2021-05-19restore blocking status on stdio fds before closeDamien Miller
2021-04-03highly polished whitespace, mostly fixing spaces-for-tab and badDamien Miller
2021-02-15ssh: add PermitRemoteOpen for remote dynamic forwarding with SOCKSMarkus Friedl
2021-01-27remove global variable used to stash compat flags and use theDamien Miller
2020-10-18use the new variant log macros instead of prepending __func__ andDamien Miller
2020-09-20cap channel input buffer size at 16MB; avoids high memory use whenDamien Miller
2020-07-03put back the mux_ctx memleak fix, but only for channels of typeDamien Miller
2020-07-03revert r1.399 - the lifetime of c->mux_ctx is more complex; simply freeingDamien Miller
2020-07-03fix memory leak of mux_ctx; patch from Sergiy Lozovsky via bz3189Damien Miller
2020-04-25We've standardized on memset over bzero, replace a couple that had slippedDarren Tucker
2020-03-06fix uninitialized pointers for forward_cancel; ok djmMarkus Friedl
2020-02-26change explicit_bzero();free() to freezero()Jonathan Gray
2020-01-25the GatewayPorts vs -R listen address selection logic is stillDamien Miller
2019-07-07Remove some set but never used variables. ok daraadt@Darren Tucker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-07Typo and spelling fixes in comments and error messages. Patch fromDarren Tucker
2019-05-10For PermitOpen violations add the remote host and port toFlorian Obser
2019-05-03Free channel objects on exit path. Patch from markus at blueflash.cc,Darren Tucker
2019-01-19convert channels.c to new packet APIDamien Miller
2019-01-19begin landing remaining refactoring of packet parsing API, startedDamien Miller
2018-12-07no need to allocate channels_pre/channels_post in channel_init_channels()Damien Miller
2018-10-04factor out channel status formatting from channel_open_message() soDamien Miller
2018-10-04include a little more information about the status and disposition ofDamien Miller
2018-07-27avoid expensive channel_open_message() calls; ok djm@Markus Friedl
2018-07-11remove legacy key emulation layer; ok djm@Markus Friedl
2018-06-25fix NULL dereference in open_listen_match_tcpip()Damien Miller
2018-06-06Add a PermitListen directive to control which server-side addressesDamien Miller
2018-04-10lots of typos in comments/docs. Patch from Karsten Weiss after checkingDamien Miller
2018-02-05The file descriptors for socket, stdin, stdout and stderr aren'tTheo Buehler
2018-01-23Drop compatibility hacks for some ancient SSH implementations, includingDamien Miller
2017-12-05include the addr:port in bind/listen failure messagesDamien Miller
2017-10-25Add optional rdomain qualifier to sshd_config's ListenAddress optionDamien Miller
2017-09-24fix inverted test on channel open failure path that "upgraded" aDamien Miller
2017-09-24write the correct buffer when tunnel forwarding; doesn't matterDamien Miller
2017-09-23fix tunnel forwarding problem introduced in refactor; reported byDamien Miller
2017-09-21Add 'reverse' dynamic forwarding which combines dynamic forwardingMarkus Friedl
2017-09-19Use explicit_bzero() instead of bzero() before free() to preventTodd C. Miller
2017-09-12unused variableDamien Miller
2017-09-12fix tun/tap forwarding case in previousDamien Miller
2017-09-12Make remote channel ID a u_intDamien Miller
2017-09-12refactor channels.cDamien Miller
2017-08-30pass packet state down to some of the channels function (moreDamien Miller
2017-05-31These shutdown() SHUT_RDWR are not needed before close()Theo de Raadt
2017-05-31fix possible OOB strlen() in SOCKS4A hostname parsing; ok markus@Damien Miller
2017-05-30protocol handlers all get struct ssh passed; ok djm@Markus Friedl
2017-05-30remove ssh1 references; ok djm@Markus Friedl
2017-05-26remove SSH_CHANNEL_XXX_DRAINING (ssh1 only); ok djm@Markus Friedl
2017-05-26remove channel_input_close_confirmation (ssh1 only); ok djm@Markus Friedl
2017-04-30obliterate ssh1.h and some dead code that used itDamien Miller
2017-04-30remove compat20/compat13/compat15 variablesDamien Miller