summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/nchan.c
AgeCommit message (Collapse)Author
2002-06-19KNF done automatically while reading....Theo de Raadt
2002-06-09use tab not spaces (|unexpand)Markus Friedl
2002-03-25don't send stderr data after EOF, accept this from older known (broken)Markus Friedl
sshd servers only, fixes http://bugzilla.mindrot.org/show_bug.cgi?id=179
2002-01-21cleanup channels faster if the are empty and we are in drain-state; ok deraadt@Markus Friedl
2002-01-14(c) 2002Markus Friedl
2002-01-14remove function pointers for events, remove chan_init*; ok provos@Markus Friedl
2002-01-14remove duplicated code; ok provos@Markus Friedl
2002-01-14correct fn names for ssh2, do not switch from closed to closed; ok provos@Markus Friedl
2002-01-14merge chan_[io]buf_empty[12]; ok provos@Markus Friedl
2002-01-14chan_send_oclose1() no longer calls chan_shutdown_write(); ok provos@Markus Friedl
2002-01-13add chan_set_[io]state(), order states, state is now an u_int,Markus Friedl
simplifies debugging messages; ok provos@
2002-01-10more unused code (with channels.c:1.156)Markus Friedl
2002-01-10remove dead code (skip drain)Markus Friedl
2002-01-09replace buffer_consume(b, buffer_len(b)) with buffer_clear(b); ok provos@Markus Friedl
2001-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-10-10try to keep channels open until an exit-status message is sent.Markus Friedl
don't kill the login shells if the shells stdin/out/err is closed. this should now work: ssh -2n localhost 'exec > /dev/null 2>&1; sleep 10; exit 5'; echo ?
2001-07-17keep track of both maxfd and the size of the malloc'ed fdsets.Markus Friedl
update maxfd if maxfd gets closed.
2001-06-25update copyright for 2001Markus Friedl
2001-06-23more strict prototypes. raise warning level in Makefile.inc. markus ok'edJun-ichiro itojun Hagino
TODO; cleanup headers
2001-05-31undo the .c file split, just merge the header and keep the cvs historyMarkus Friedl
2001-05-30channel layer cleanup: merge header files and split .c filesMarkus Friedl
2001-05-28undo broken channel fix and try a different one. thereMarkus Friedl
should be still some select errors...
2001-05-16more select() error fixes (don't set rfd/wfd to -1).Markus Friedl
2001-05-04move to Channel **channels (instead of Channel *channels), fixes realloc ↵Markus Friedl
problems. channel_new now returns a Channel *, favour Channel * over channel id. remove old channel_allocate interface.
2001-02-28make sure remote stderr does not get truncated.Markus Friedl
remove closed fd's from the select mask.
2001-01-21split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.Markus Friedl
rename util.[ch] -> misc.[ch]
2001-01-19move ssh1 definitions to ssh1.h, pathnames to pathnames.hMarkus Friedl
2000-11-06agent forwarding and -R for ssh2, based on work from jhuuskon@messi.uku.fiMarkus Friedl
2000-09-07cleanup copyright notices on all files. I have attempted to be accurate withTheo de Raadt
the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
2000-06-20OpenBSD tagMarkus Friedl
2000-05-08no drain if ibuf_empty, fixes x11fwd problems; tests by fries@Markus Friedl
2000-05-03fix close for non-open ssh1 channelsMarkus Friedl
2000-05-02use c-style commentsMarkus Friedl
2000-04-14whitespace cleanupMarkus Friedl
2000-04-03channel layer support for ssh2Markus Friedl
2000-03-28sync w/ channels.cMarkus Friedl
2000-03-28replace big switch() with function tables (prepare for ssh2)Markus Friedl
2000-01-10handle OCLOSE for CHAN_INPUT_WAIT_DRAIN, i.e. do not drain buffer ifMarkus Friedl
peer is not going to read the data.
1999-12-02use error() for internal errorsMarkus Friedl
1999-11-24it's not an error() if shutdown_write failes in nchan.Markus Friedl
1999-11-24missing copyrightMarkus Friedl
1999-11-23KNF part 1Markus Friedl
1999-10-25remove buggy 'x11-fix'Markus Friedl
1999-10-25typo in debug messages (input vs. ouput)Markus Friedl
1999-10-17re-implement the proto-1.5 channel close protocol, see nchan.ms.Markus Friedl
1999-10-16add CVS tags, fix comments and whitespaceMarkus Friedl
1999-10-16support for SSH protocol 1.5 which is poorly documented, the RFC.troff lies.Markus Friedl
interops (x11,agent,etc) with 1.2.27 and protocol 1.3