summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/clientloop.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* rename log() into logit() to avoid name conflict. markus ok, from netbsditojun2003-04-081-8/+8
|
* reapply rekeying chage, tested by henning@, ok djm@markus2003-04-021-4/+3
|
* backout rekeying changes (for 3.6.1)markus2003-04-011-3/+4
|
* rekeying bugfixes and automatic rekeying:markus2003-04-011-4/+3
| | | | | | | | | | | | * both client and server rekey _automatically_ (a) after 2^31 packets, because after 2^32 packets the sequence number for packets wraps (b) after 2^(blocksize_in_bits/4) blocks (see: http://www.ietf.org/internet-drafts/draft-ietf-secsh-newmodes-00.txt) (a) and (b) are _enabled_ by default, and only disabled for known openssh versions, that don't support rekeying properly. * client option 'RekeyLimit' * do not reply to requests during rekeying
* don't overwrite SIG{INT,QUIT,TERM} handler if set to SIG_IGN;markus2002-11-181-5/+11
| | | | e.g. if ssh is used for backup; report Joerg Schilling; ok millert@
* format with current EscapeChar; bugzilla #388 from wknox@mitre.org.stevesk2002-08-221-10/+12
| | | | ok markus@
* minor KNFderaadt2002-06-301-4/+4
|
* move channel counter to u_intmarkus2002-06-241-4/+2
|
* use tab not spaces (|unexpand)markus2002-06-091-2/+2
|
* request reply (success/failure) for -R style fwd in protocol v2,markus2002-04-221-1/+6
| | | | | depends on ordered replies. fixes http://bugzilla.mindrot.org/show_bug.cgi?id=215; ok provos@
* remove unused, sync w/ cmdline patch in my tree.markus2002-03-211-19/+12
|
* remove unusedmarkus2002-03-211-2/+1
|
* add built-in command line for adding new port forwardings on the fly.jakob2002-03-211-1/+76
| | | | based on a patch from brian wellington. ok markus@.
* channel_new never returns NULL, mouring@; ok djm@markus2002-02-061-13/+1
|
* handle SSH2_MSG_GLOBAL_REQUEST (just reply with failure); ok djm@markus2002-01-101-1/+20
|
* remove plen from the dispatch fn. it's no longer used.markus2001-12-281-6/+6
|
* s/packet_done/packet_check_eom/ (end-of-message); ok djm@markus2001-12-281-7/+7
|
* get rid of packet_integrity_check, use packet_done() instead.markus2001-12-271-4/+4
|
* Conformance fix: we should send failing packet sequence number whendjm2001-12-201-6/+6
| | | | | responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
* basic KNF done while i was looking for something elsederaadt2001-12-191-8/+8
|
* deal with LP64 printf issue with sig_atomic_t. from thorpejitojun2001-12-051-2/+2
|
* volatile sig_atomic_tmarkus2001-11-221-3/+3
|
* don't memset too much memory, ok millert@markus2001-11-091-5/+5
| | | | original patch from jlk@kamens.brookline.ma.us via nalin@redhat.com
* make ~& (backgrounding) work again for proto v1; add support ~& for v2, toomarkus2001-10-241-23/+26
|
* ignore SIGPIPE early, makes ssh work if agent dies, netbsd-pr via itojun@markus2001-10-241-2/+1
|
* clear select masks if we return before calling select().markus2001-10-111-4/+7
|
* try to keep channels open until an exit-status message is sent.markus2001-10-101-1/+2
| | | | | | 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 ?
* try to fix agent-forwarding-backconnection-bug, as seen on HPUX, for example;markus2001-09-171-1/+3
| | | | with Lutz.Jaenicke@aet.TU-Cottbus.DE,
* keep track of both maxfd and the size of the malloc'ed fdsets.markus2001-07-171-5/+6
| | | | update maxfd if maxfd gets closed.
* adress -> address; ok markus@stevesk2001-06-301-2/+2
|
* sync function definition with declaration; ok markus@stevesk2001-06-291-2/+2
|
* update copyright for 2001markus2001-06-251-2/+2
|
* more strict prototypes. raise warning level in Makefile.inc. markus ok'editojun2001-06-231-30/+30
| | | | TODO; cleanup headers
* move from channel_stop_listening to channel_free_all,markus2001-06-201-4/+3
| | | | | call channel_free_all before calling waitpid() in serverloop. fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE
* set flags in the signal handlers, do real work in the main loop, ok provos@markus2001-06-041-19/+21
|
* undo the .c file split, just merge the header and keep the cvs historymarkus2001-05-311-2/+2
|
* channel layer cleanup: merge header files and split .c filesmarkus2001-05-301-2/+2
|
* don't perform escape processing when ``EscapeChar none''; ok markus@stevesk2001-05-241-6/+6
|
* check for open sessions before we call select(); fixes the x11 clientmarkus2001-05-161-2/+8
| | | | bug reported by bowman@math.ualberta.ca
* add unset_nonblock for stdout/err flushing in client_loop().markus2001-05-111-7/+20
|
* adds correct error reporting to async connect()smarkus2001-05-081-9/+10
| | | | fixes the server-discards-data-before-connected-bug found by onoe@sm.sony.co.jp
* use atomicio for flushing stdout/stderr bufs. thanks to jbw@izanami.cee.hw.ac.ukmarkus2001-05-061-11/+7
|
* move to Channel **channels (instead of Channel *channels), fixes realloc problems.markus2001-05-041-23/+35
| | | | | channel_new now returns a Channel *, favour Channel * over channel id. remove old channel_allocate interface.
* more ssh.com-2.0.x bug-compat; from per@appgate.commarkus2001-04-291-3/+5
|
* Split out and improve escape character documentation, mention ~R indjm2001-04-201-1/+2
| | | | ~? help text; ok markus@
* handle EINTR/EAGAIN on read; ok deraadt@markus2001-04-171-3/+5
|
* set stdin/out/err to nonblocking in SSH proto 1, too. suggested by ho@markus2001-04-151-1/+9
| | | | should fix some of the blocking problems for rsync over SSH-1
* protocol 2 tty modes support; ok markus@stevesk2001-04-141-52/+4
|
* leave_raw_mode if ssh2 "session" is closedmarkus2001-04-081-1/+3
|
* don't request a session for 'ssh -N', pointed out slade@shore.netmarkus2001-04-051-6/+17
|