freebsd-dev/crypto/openssh
Dag-Erling Smørgrav 0aeb000d7b At some point, construct_utmp() was changed to use realhostname() to fill
in the struct utmp due to concerns about the length of the hostname buffer.
However, this breaks the UseDNS option.  There is a simpler and better
solution: initialize utmp_len to the correct value (UT_HOSTSIZE instead of
MAXHOSTNAMELEN) and let get_remote_name_or_ip() worry about the size of the
buffer.

PR:		bin/97499
Submitted by:	Bruce Cran <bruce@cran.org.uk>
MFC after:	1 week
2008-10-21 11:58:26 +00:00
..
openbsd-compat Remove some unused files. 2008-09-01 16:34:02 +00:00
aclocal.m4
acss.c
acss.h
addrmatch.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
atomicio.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
atomicio.h
audit-bsm.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
audit.c
audit.h
auth1.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth2-chall.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth2-gss.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth2-hostbased.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth2-kbdint.c More files which no longer have any local changes. 2008-08-01 01:32:56 +00:00
auth2-none.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth2-passwd.c
auth2-pubkey.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth2.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-bsdauth.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-chall.c More files which no longer have any local changes. 2008-08-01 01:32:56 +00:00
auth-krb5.c Accidentally mangled this one in the previous commit. 2008-08-01 01:38:24 +00:00
auth-options.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-options.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-pam.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-pam.h More files which no longer have any local changes. 2008-08-01 01:32:56 +00:00
auth-passwd.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-rh-rsa.c
auth-rhosts.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-rsa.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-shadow.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-sia.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth-sia.h
auth-skey.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
auth.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
authfd.c
authfd.h
authfile.c
authfile.h
bufaux.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
bufbn.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
buffer.c
buffer.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
canohost.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
canohost.h
ChangeLog Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
channels.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
channels.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
cipher-3des1.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
cipher-acss.c
cipher-aes.c
cipher-bf1.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
cipher-ctr.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
cipher.c
cipher.h
cleanup.c
clientloop.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
clientloop.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
compat.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
compat.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
compress.c
compress.h
config.guess
config.h Set SIZEOF_LONG_INT and SIZEOF_LONG_LONG_INT to plausible values. They 2008-09-01 14:15:57 +00:00
config.h.in Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
crc32.c
crc32.h
CREDITS
deattack.c
deattack.h
defines.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
dh.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
dh.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
dispatch.c
dispatch.h
dns.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
dns.h
entropy.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
entropy.h
fatal.c
fixpaths
fixprogs
FREEBSD-tricks Tag expansion is no longer needed (svn handles them correctly). 2008-08-01 01:05:27 +00:00
FREEBSD-upgrade Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
FREEBSD-vendor Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
groupaccess.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
groupaccess.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
gss-genr.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
gss-serv-krb5.c
gss-serv.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
hostfile.c
hostfile.h
includes.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
INSTALL Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
kex.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
kex.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
kexdh.c
kexdhc.c
kexdhs.c
kexgex.c
kexgexc.c
kexgexs.c
key.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
key.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
LICENCE Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
log.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
log.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
loginrec.c At some point, construct_utmp() was changed to use realhostname() to fill 2008-10-21 11:58:26 +00:00
loginrec.h
logintest.c
mac.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
mac.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
match.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
match.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
md5crypt.c
md5crypt.h
md-sha256.c
misc.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
misc.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
mkinstalldirs
moduli Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
moduli.5 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
moduli.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
monitor_fdpass.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
monitor_fdpass.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
monitor_mm.c
monitor_mm.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
monitor_wrap.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
monitor_wrap.h Another four files without local changes. This is driving me nuts - 2008-08-01 01:45:56 +00:00
monitor.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
monitor.h Another four files without local changes. This is driving me nuts - 2008-08-01 01:45:56 +00:00
msg.c
msg.h
mux.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
myproposal.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
nchan.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
OVERVIEW
packet.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
packet.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
pathnames.h
platform.c
platform.h
progressmeter.c
progressmeter.h
PROTOCOL Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
PROTOCOL.agent Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
readconf.c Use net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED. 2008-08-20 10:40:07 +00:00
readconf.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
README Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
README.dns
README.platform Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
README.privsep
README.smartcard
README.tun
readpass.c
rijndael.c
rijndael.h
rsa.c
rsa.h
scard-opensc.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
scard.c
scard.h
scp.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
scp.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
servconf.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
servconf.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
serverloop.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
serverloop.h
session.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
session.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sftp-client.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sftp-client.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sftp-common.c
sftp-common.h
sftp-glob.c
sftp-server-main.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sftp-server.8 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
sftp-server.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sftp.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
sftp.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sftp.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh1.h
ssh2.h
ssh_config Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh_config.5 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh_namespace.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-add.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh-add.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-agent.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh-agent.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-dss.c
ssh-gss.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-keygen.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh-keygen.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-keyscan.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh-keyscan.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-keysign.8 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh-keysign.c
ssh-rand-helper.8 Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-rand-helper.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh-rsa.c
ssh.1 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
ssh.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ssh.h
sshconnect1.c
sshconnect2.c MFV "xmalloc: zero size" fix. 2008-09-24 21:20:44 +00:00
sshconnect.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sshconnect.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sshd_config Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sshd_config.5 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
sshd.8 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
sshd.c At some point, construct_utmp() was changed to use realhostname() to fill 2008-10-21 11:58:26 +00:00
sshlogin.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sshlogin.h
sshpty.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sshpty.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
sshtty.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
TODO
ttymodes.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
ttymodes.h
uidswap.c
uidswap.h
umac.c Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
umac.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
uuencode.c
uuencode.h
version.c Ugh. Set svn:mergeinfo correctly. 2008-08-01 00:34:37 +00:00
version.h Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
WARNING.RNG
xmalloc.c
xmalloc.h

See http://www.openssh.com/txt/release-5.1 for the release notes.

- A Japanese translation of this document and of the OpenSSH FAQ is
- available at http://www.unixuser.org/~haruyama/security/openssh/index.html
- Thanks to HARUYAMA Seigo <haruyama@unixuser.org>

This is the port of OpenBSD's excellent OpenSSH[0] to Linux and other
Unices.

OpenSSH is based on the last free version of Tatu Ylonen's sample
implementation with all patent-encumbered algorithms removed (to
external libraries), all known security bugs fixed, new features
reintroduced and many other clean-ups.  OpenSSH has been created by
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt,
and Dug Song. It has a homepage at http://www.openssh.com/

This port consists of the re-introduction of autoconf support, PAM
support, EGD[1]/PRNGD[2] support and replacements for OpenBSD library
functions that are (regrettably) absent from other unices. This port
has been best tested on AIX, Cygwin, HP-UX, Linux, MacOS/X,
NetBSD, OpenBSD, OpenServer, Solaris, Unicos, and UnixWare.

This version actively tracks changes in the OpenBSD CVS repository.

The PAM support is now more functional than the popular packages of
commercial ssh-1.2.x. It checks "account" and "session" modules for
all logins, not just when using password authentication.

OpenSSH depends on Zlib[3], OpenSSL[4] and optionally PAM[5].

There is now several mailing lists for this port of OpenSSH. Please
refer to http://www.openssh.com/list.html for details on how to join.

Please send bug reports and patches to the mailing list
openssh-unix-dev@mindrot.org. The list is open to posting by
unsubscribed users.Code contribution are welcomed, but please follow the 
OpenBSD style guidelines[6].

Please refer to the INSTALL document for information on how to install
OpenSSH on your system. There are a number of differences between this
port of OpenSSH and F-Secure SSH 1.x, please refer to the OpenSSH FAQ[7]
for details and general tips.

Damien Miller <djm@mindrot.org>

Miscellania -

This version of OpenSSH is based upon code retrieved from the OpenBSD
CVS repository which in turn was based on the last free sample
implementation released by Tatu Ylonen.

References -

[0] http://www.openssh.com/faq.html
[1] http://www.lothar.com/tech/crypto/
[2] http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html
[3] http://www.gzip.org/zlib/
[4] http://www.openssl.org/
[5] http://www.openpam.org
    http://www.kernel.org/pub/linux/libs/pam/ 
    (PAM also is standard on Solaris and HP-UX 11)
[6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9
[7] http://www.openssh.com/faq.html

$Id: README,v 1.69 2008/07/21 08:21:52 djm Exp $