summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2001-11-02replace fprintf(stderr)/exit w/ err/warnMichael Shalayeff
2001-11-02Change 2 Exit() -> exit()Todd C. Miller
Avoid stdio in Exit() and call _exit() if we are a signal handler. We no longer print the signal number but the user can just check the exit value for that.
2001-11-02Revert to clnt_broadcast() method until an alignment problem with theTodd C. Miller
asyncronous rpc code in the previous commit is fixed.
2001-11-02avoid stdio in signal handlerTheo de Raadt
2001-11-02use _exit() in signal handlerTheo de Raadt
2001-11-01Major overhaul.Todd C. Miller
Add protocol version 3 support. To avoid doing two separate broadcasts (like the solaris client does) we now do the equivalent of clnt_broadcast() ourselves and send both version 2 and 3 broadcasts. These are staggered such that under normal circumstances the version 3 reply will be received before the version 2 reply (which is what we want). Version 3 support is important now that we have long user and host names in utmp. Avoid potential duplicates on multihomed machines by storing all the addresses we get back from gethostbyaddr(), not just a single address. Reduce the timeout from 1 minute to 30 seconds which is closer to what Solaris uses and is generally more useful. Check window width and take this into account when formatting lines in -l mode.
2001-11-01printf() format string fix.Miod Vallat
2001-10-30undo (disable debug again)Markus Friedl
2001-10-30ssh.1Markus Friedl
2001-10-29hostbased: check for client hostkey before building chostMarkus Friedl
2001-10-28remove bogus error-check, resolve pr#2147Jakob Schlyter
2001-10-28fix getaddrinfo error handlingJakob Schlyter
2001-10-28fix stupid typoJakob Schlyter
2001-10-28remove unused variableJakob Schlyter
2001-10-28indentTheo de Raadt
2001-10-28fix -z; jarle@uninett.noTheo de Raadt
2001-10-27Send User-Agent: OpenBSD ftp to WWW servers and proxies.Heikki Korpela
``User agents SHOULD include this field with requests'', from RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43 Patch from and problem reported by Diana Eichert <deicher@sandia.gov> when using proxies with specific browser requirements. Tested by me with the ports mirror-maker makefile / fetch-all script (with and without a proxy). ok millert@
2001-10-26add eisensteinMichael Shalayeff
2001-10-25better docu for fingerprinting, ok deraadt@Markus Friedl
2001-10-24Misplaced space in fprintf "Execute get, put orappend to initiate transfer"Todd C. Miller
2001-10-24make ~& (backgrounding) work again for proto v1; add support ~& for v2, tooMarkus Friedl
2001-10-24kill registerTodd C. Miller
2001-10-24getopt(3) returns -1 when out of args, not EOF.Mike Pechkin
millert@ ok
2001-10-24ignore SIGPIPE early, makes ssh work if agent dies, netbsd-pr via itojun@Markus Friedl
2001-10-24mention remote port in debug messageMarkus Friedl
2001-10-24remove unusedMarkus Friedl
2001-10-15crank versionTheo de Raadt
2001-10-13Resize buffer correctly, I'm an idiot.Marc Espie
Found by fries@, ok deraadt@
2001-10-11missing arg to errxTodd C. Miller
2001-10-11fix bodun description; from Denis Afonin <dfa@solo.ee>Michael Shalayeff
2001-10-11clear select masks if we return before calling select().Markus Friedl
2001-10-11delay detach of session if a channel gets closed but the child is still alive.Markus Friedl
however, release pty, since the fd's to the child are already closed.
2001-10-11Use RNUSERS_MAXHOSTLEN, RNUSERS_MAXUSERLEN and RNUSERS_MAXLINELENTodd C. Miller
instead of UT_HOSTSIZE, UT_NAMESIZE and UT_LINESIZE since the UT_* constants define sizes on the local machine, not the sizes specified by the rusers protocol.
2001-10-11Sync with portable mktemp-1.4; the template is now optional.Todd C. Miller
Came out of discussions with Solar Designer.
2001-10-10Handle macro expansion even if argc==2, which can happen in indir() calls.Marc Espie
Problem encountered by obecian@.
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-10-10Prototypes shouldn't mention argument name.Marc Espie
2001-10-10Quote filename properly.Marc Espie
2001-10-10Fix indentMarc Espie
2001-10-09simplify session close: no more delayed session_close, no more blocking ↵Markus Friedl
wait() calls.
2001-10-09close all channels if the connection to the remote host has been closed,Markus Friedl
should fix sshd's hanging with WCHAN==wait
2001-10-09stat subsystem command before calling do_exec, and return error to client.Markus Friedl
2001-10-09chdir $HOME after krb_afslog(); from bbense@networking.stanford.eduMarkus Friedl
2001-10-09Don't assume that the RTF_HOST flag implies that a netmask is available.brian
2001-10-08some more IPv4or6 cleanupMarkus Friedl
2001-10-08use correct family for -b optionMarkus Friedl
2001-10-08better debugMarkus Friedl
2001-10-07BSD_AUTH supersedes SKEY, so SKEY is commented out.Markus Friedl
2001-10-07avoid possible FD_ISSET overflow for channels establishedMarkus Friedl
during channnel_after_select() (used for dynamic channels).
2001-10-07grammer; Matthew_Clarke@mindlink.bc.caMarkus Friedl