summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
AgeCommit message (Collapse)Author
2001-07-17keep track of both maxfd and the size of the malloc'ed fdsets.Markus Friedl
update maxfd if maxfd gets closed.
2001-07-02improve cleanup/exit logic in ssh2:Markus Friedl
stop listening to channels, detach channel users (e.g. sessions). wait for children (i.e. dying sessions), send exit messages, cleanup all channels.
2001-06-30adress -> address; ok markus@Kevin Steves
2001-06-29use socklen_t for getsockopt arg #5; ok markus@Kevin Steves
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-06-20move from channel_stop_listening to channel_free_all,Markus Friedl
call channel_free_all before calling waitpid() in serverloop. fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE
2001-06-07use xxx_put_cstring()Markus Friedl
2001-06-05don't delete the auth socket in channel_stop_listening()Markus Friedl
auth_sock_cleanup_proc() will take care of this.
2001-06-04switch uid when cleaning up tmp files and sockets; reported by ↵Markus Friedl
zen-parse@gmx.net on bugtraq
2001-06-03use fatal_register_cleanup instead of atexit, sync with x11 authdir handlingMarkus Friedl
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-28cleanup, typoMarkus Friedl
2001-05-28undo broken channel fix and try a different one. thereMarkus Friedl
should be still some select errors...
2001-05-19typo in error messageKevin Steves
2001-05-16more select() error fixes (don't set rfd/wfd to -1).Markus Friedl
2001-05-09fix -R for protocol 2, noticed by greg@nest.cx.Markus Friedl
bug was introduced with experimental dynamic forwarding.
2001-05-08adds correct error reporting to async connect()sMarkus Friedl
fixes the server-discards-data-before-connected-bug found by onoe@sm.sony.co.jp
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-05-04channel_new() reallocs channels[], we cannot use Channel *c after callingMarkus Friedl
channel_new(), XXX fix this in the future...
2001-05-03typo in debug() stringKevin Steves
2001-04-29more ssh.com-2.0.x bug-compat; from per@appgate.comMarkus Friedl
2001-04-17undo socks5 and https support since they are not really used andMarkus Friedl
only bloat ssh. remove -D from usage(), since '-D' is experimental.
2001-04-14remove some channels that are not appropriate for keepalive.Markus Friedl
2001-04-13Add options ClientAliveInterval and ClientAliveCountMax to sshd.Bob Beck
This gives the ability to do a "keepalive" via the encrypted channel which can't be spoofed (unlike TCP keepalives). Useful for when you want to use ssh connections to authenticate people for something, and know relatively quickly when they are no longer authenticated. Disabled by default (of course). ok markus@
2001-04-11https-connect and socks5 support. i feel so bad.Markus Friedl
2001-04-10debug cleanupMarkus Friedl
2001-04-10cleanup socks4 handlingMarkus Friedl
2001-04-07allow the ssh client act as a SOCKS4 proxy (dynamic local portforwarding).Markus Friedl
work by Dan Kaminsky <dankamin@cisco.com> and me. thanks to Dan for this great patch: use 'ssh -D 1080 host' and make netscape use localhost:1080 as a socks proxy.
2001-04-06do gid/groups-swap in addition to uid-swap, should help if /home/groupMarkus Friedl
is chmod 750 + chgrp grp /home/group/, work be deraadt and me, thanks to olar@openwall.com is comments. we had many requests for this.
2001-04-05fix whitespace: unexpand + trailing spaces.Markus Friedl
2001-04-04more robust rekeyingMarkus Friedl
don't send channel data after rekeying is started.
2001-03-16implement "permitopen" key option, restricts -L style forwarding toMarkus Friedl
to specified host:port pairs. based on work by harlan@genua.de
2001-03-04log functions should not be passed strings that end in newline as theyTodd C. Miller
get passed on to syslog() and when logging to stderr, do_log() appends its own newline.
2001-03-04debug1->2Markus Friedl
2001-02-28typoMarkus Friedl
2001-02-28use ignore message to simulate a SSH2_MSG_CHANNEL_DATA messageMarkus Friedl
use random content in ignore messages.
2001-02-28unify debug messagesMarkus Friedl
2001-02-28make sure remote stderr does not get truncated.Markus Friedl
remove closed fd's from the select mask.
2001-02-16remove debugMarkus Friedl
2001-02-15genericize password padding function for SSH1 and SSH2.Markus Friedl
add stylized echo to 2, too.
2001-02-08nuke sprintf, ok deraadt@Markus Friedl
2001-02-04unexpand and remove end-of-line whitespace; ok markus@Kevin Steves
2001-02-01use ipaddr in channel messages, ietf-secsh wants thisMarkus Friedl
2001-01-31do not disconnect if local port forwarding fails, e.g. if port is already in useMarkus Friedl
2001-01-31ssh.com-2.0.1x does not send additional info in CHANNEL_OPEN_FAILURE ↵Markus Friedl
messages; bug report from edmundo@rano.org
2001-01-29add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNSMarkus Friedl
2001-01-29fix select overflow; ok deraadt@ and stevesk@Markus Friedl
2001-01-24missing freeaddrinfo(); ok markus@Kevin Steves