1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/crypto/openssh
Dag-Erling Smørgrav 882ff9f579 Fix alignment of the cmsg buffer by placing it in a union with a struct
cmsghdr.  Derived from upstream patch.

Submitted by:	cognet
MFC after:	2 weeks
2008-07-30 09:16:46 +00:00
..
openbsd-compat Remove a bunch of files we don't need to build OpenSSH. They are still 2008-07-23 17:02:25 +00:00
aclocal.m4 Vendor import of OpenSSH 4.3p1. 2006-03-22 19:46:12 +00:00
acss.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
acss.h
atomicio.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
atomicio.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
audit-bsm.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
audit.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
audit.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth1.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth2-chall.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth2-gss.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth2-hostbased.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth2-kbdint.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth2-none.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth2-passwd.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth2-pubkey.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth2.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth-bsdauth.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth-chall.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth-krb5.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth-options.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth-options.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth-pam.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth-pam.h
auth-passwd.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth-rh-rsa.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth-rhosts.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth-rsa.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
auth-shadow.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth-sia.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
auth-sia.h
auth-skey.c Merge conflicts. 2006-09-30 13:38:06 +00:00
auth.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
auth.h Merge conflicts. 2006-09-30 13:38:06 +00:00
authfd.c Merge conflicts. 2006-09-30 13:38:06 +00:00
authfd.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
authfile.c Merge conflicts. 2006-09-30 13:38:06 +00:00
authfile.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
bufaux.c Merge conflicts. 2006-09-30 13:38:06 +00:00
bufbn.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
buffer.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
buffer.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
canohost.c Merge conflicts. 2006-09-30 13:38:06 +00:00
canohost.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ChangeLog Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
channels.c Merge conflicts. 2006-09-30 13:38:06 +00:00
channels.h Merge conflicts. 2006-09-30 13:38:06 +00:00
cipher-3des1.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
cipher-acss.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
cipher-aes.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
cipher-bf1.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
cipher-ctr.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
cipher.c Merge conflicts. 2006-09-30 13:38:06 +00:00
cipher.h Merge conflicts. 2006-09-30 13:38:06 +00:00
cleanup.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
clientloop.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
clientloop.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
compat.c Merge conflicts. 2006-09-30 13:38:06 +00:00
compat.h Merge conflicts. 2006-09-30 13:38:06 +00:00
compress.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
compress.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
config.guess
config.h Don't define XAUTH_PATH here, we either pass it in on the compiler command 2006-10-06 14:27:26 +00:00
crc32.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
crc32.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
CREDITS Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
deattack.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
deattack.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
defines.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
dh.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
dh.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
dispatch.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
dispatch.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
dns.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
dns.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
entropy.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
entropy.h Vendor import of OpenSSH 4.3p1. 2006-03-22 19:46:12 +00:00
fatal.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
fixpaths
fixprogs
FREEBSD-tricks
FREEBSD-upgrade Fix the Xlist so it actually works with 'tar -X', and update the upgrade 2008-02-06 23:14:24 +00:00
FREEBSD-vendor As per discussion, commit experimental metadata for my contrib packages. 2008-02-06 23:06:24 +00:00
FREEBSD-Xlist Fix the Xlist so it actually works with 'tar -X', and update the upgrade 2008-02-06 23:14:24 +00:00
groupaccess.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
groupaccess.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
gss-genr.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
gss-serv-krb5.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
gss-serv.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
hostfile.c Merge conflicts. 2006-09-30 13:38:06 +00:00
hostfile.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
includes.h Merge conflicts. 2006-09-30 13:38:06 +00:00
INSTALL Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
kex.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
kex.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
kexdh.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
kexdhc.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
kexdhs.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
kexgex.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
kexgexc.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
kexgexs.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
key.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
key.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
LICENCE Merge conflicts. 2006-09-30 13:38:06 +00:00
log.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
log.h Merge conflicts. 2006-09-30 13:38:06 +00:00
loginrec.c Merge conflicts. 2006-09-30 13:38:06 +00:00
loginrec.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
logintest.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
mac.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
mac.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
match.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
match.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
md5crypt.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
md5crypt.h
md-sha256.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
misc.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
misc.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
mkinstalldirs
moduli
moduli.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
monitor_fdpass.c Fix alignment of the cmsg buffer by placing it in a union with a struct 2008-07-30 09:16:46 +00:00
monitor_fdpass.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
monitor_mm.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
monitor_mm.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
monitor_wrap.c Merge conflicts. 2006-09-30 13:38:06 +00:00
monitor_wrap.h Merge conflicts. 2006-09-30 13:38:06 +00:00
monitor.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
monitor.h Merge conflicts. 2006-09-30 13:38:06 +00:00
msg.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
msg.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
myproposal.h Merge conflicts. 2006-09-30 13:38:06 +00:00
nchan.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
OVERVIEW Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
packet.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
packet.h Merge conflicts. 2006-09-30 13:38:06 +00:00
pathnames.h s/X11R6/local/g 2007-05-24 22:04:07 +00:00
platform.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
platform.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
progressmeter.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
progressmeter.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
readconf.c Merge conflicts. 2006-09-30 13:38:06 +00:00
readconf.h Merge conflicts. 2006-09-30 13:38:06 +00:00
README Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
README.dns
README.platform Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
README.privsep
README.smartcard
README.tun Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
readpass.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
RFC.nroff
rijndael.c
rijndael.h
rsa.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
rsa.h Merge conflicts. 2006-09-30 13:38:06 +00:00
scard-opensc.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
scard.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
scard.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
scp.1 Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
scp.c Merge conflicts. 2006-09-30 13:38:06 +00:00
servconf.c Merge conflicts. 2006-09-30 13:38:06 +00:00
servconf.h Merge conflicts. 2006-09-30 13:38:06 +00:00
serverloop.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
serverloop.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
session.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
session.h Merge conflicts. 2006-09-30 13:38:06 +00:00
sftp-client.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
sftp-client.h
sftp-common.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
sftp-common.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
sftp-glob.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
sftp-server.8 Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
sftp-server.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
sftp.1 Vendor import of OpenSSH 4.3p1. 2006-03-22 19:46:12 +00:00
sftp.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
sftp.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh1.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh2.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh_config Resolve conflicts. 2006-11-10 16:52:41 +00:00
ssh_config.5 s/X11R6/local/g 2007-05-24 22:04:07 +00:00
ssh_namespace.h Merge conflicts. 2006-09-30 13:38:06 +00:00
ssh-add.1
ssh-add.c Merge conflicts. 2006-09-30 13:38:06 +00:00
ssh-agent.1 Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh-agent.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
ssh-dss.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
ssh-gss.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh-keygen.1 Vendor import of OpenSSH 4.3p1. 2006-03-22 19:46:12 +00:00
ssh-keygen.c Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
ssh-keyscan.1 Vendor import of OpenSSH 4.5p1. 2006-11-10 16:39:21 +00:00
ssh-keyscan.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
ssh-keysign.8 Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh-keysign.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh-rand-helper.8
ssh-rand-helper.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh-rsa.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ssh.1 Resolve conflicts. 2006-11-10 16:52:41 +00:00
ssh.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
ssh.h Merge conflicts. 2006-09-30 13:38:06 +00:00
sshconnect1.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
sshconnect2.c Merge conflicts. 2006-09-30 13:38:06 +00:00
sshconnect.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
sshconnect.h Merge conflicts. 2006-09-30 13:38:06 +00:00
sshd_config Resolve conflicts. 2006-11-10 16:52:41 +00:00
sshd_config.5 s/X11R6/local/g 2007-05-24 22:04:07 +00:00
sshd.8 Merge conflicts. 2006-09-30 13:38:06 +00:00
sshd.c Resolve conflicts. 2006-11-10 16:52:41 +00:00
sshlogin.c Merge conflicts. 2006-09-30 13:38:06 +00:00
sshlogin.h Merge conflicts. 2006-09-30 13:38:06 +00:00
sshpty.c Merge conflicts. 2006-09-30 13:38:06 +00:00
sshpty.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
sshtty.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
TODO
ttymodes.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
ttymodes.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
uidswap.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
uidswap.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
uuencode.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
uuencode.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
version.c
version.h Resolve conflicts. 2006-11-10 16:52:41 +00:00
WARNING.RNG
xmalloc.c Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00
xmalloc.h Vendor import of OpenSSH 4.4p1. 2006-09-30 13:29:51 +00:00

See http://www.openssh.com/txt/release-4.5 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.64 2006/11/07 12:25:45 dtucker Exp $