4 fix get_remote_port() and friends for sshd -i;
5 Holger.Trapp@Informatik.TU-Chemnitz.DE
7 make code simpler. no need for memcpy. niels@ ok
9 namebuflen not sizeof namebuflen; bnd@ep-ag.com via djm@mindrot.org
12 typo; mark.baushke@solipsa.com
13 - [channels.c ssh.c ssh.h sshd.c]
14 type conflict for 'extern Type *options' in channels.c; dot@dotat.at
16 move checking of hostkey into own function.
21 - Fix compilation on systems with AFS. Reported by
23 - Fix installation on Solaris. Reported by
24 Gordon Rowell <gordonr@gormand.com.au>
25 - Fix gccisms (__attribute__ and inline). Report by edgy@us.ibm.com,
26 patch from Markus Friedl <markus.friedl@informatik.uni-erlangen.de>
27 - Auto-locate xauth. Patch from David Agraz <dagraz@jahoopa.com>
28 - Compile fix from David Agraz <dagraz@jahoopa.com>
29 - Avoid compiler warning in bsd-snprintf.c
30 - Added pam_limits.so to default PAM config. Suggested by
31 Jim Knoble <jmknoble@pobox.com>
34 - Import of patch from Ben Taylor <bent@clark.net>:
35 - Improved PAM support
36 - "uninstall" rule for Makefile
38 - Should fix PAM problems on Solaris
39 - OpenBSD CVS updates:
41 avoid stdio; based on work by markus, millert, and I
43 make sure the client selects a supported cipher
45 fix sighup handling. accept would just restart and daemon handled
46 sighup only after the next connection was accepted. use poll on
50 - Applied patch from David Rankin <drankin@bohemians.lexington.ky.us>
51 to fix libwrap support on NetBSD
55 - Compile fix for Solaris with /dev/ptmx from
56 David Agraz <dagraz@jahoopa.com>
59 - sshd Redhat init script patch from Jim Knoble <jmknoble@pobox.com>
60 fixes compatability with 4.x and 5.x
61 - Fixed default SSH_ASKPASS
62 - Fix PAM account and session being called multiple times. Problem
63 reported by Adrian Baugh <adrian@merlin.keble.ox.ac.uk>
64 - Merged more OpenBSD changes:
65 - [atomicio.c authfd.c scp.c serverloop.c ssh.h sshconnect.c sshd.c]
66 move atomicio into it's own file. wrap all socket write()s which
67 were doing write(sock, buf, len) != len, with atomicio() calls.
71 properly name fd variable
73 display great hatred towards strcpy
74 - [pty.c pty.h sshd.c]
75 use openpty() if it exists (it does on BSD4_4)
77 check for ~ expansion past MAXPATHLEN
78 - Modified helper.c to use new atomicio function.
79 - Reformat Makefile a little
80 - Moved RC4 routines from rc4.[ch] into helper.c
81 - Added autoconf code to detect /dev/ptmx (Solaris) and /dev/ptc (AIX)
82 - Updated SuSE spec from Chris Saia <csaia@wtower.com>
84 - Clean up bad imports of a few files (forgot -kb)
88 - Small cleanup of PAM code in sshd.c
89 - Merged OpenBSD CVS changes:
90 - [auth-krb4.c auth-passwd.c auth-skey.c ssh.h]
91 move skey-auth from auth-passwd.c to auth-skey.c, same for krb4
93 warn only about mismatch if key is _used_
94 warn about keysize-mismatch with log() not error()
95 channels.c readconf.c readconf.h ssh.c ssh.h sshconnect.c
98 indent, shorter warning
100 use error() for internal errors
102 set loglevel for SSH_MSG_DISCONNECT to log(), not fatal()
105 - [ssh-add.1 ssh-add.c ssh.h]
106 document $SSH_ASKPASS, reasonable default
108 CheckHostIP is not available for connects via proxy command
111 easier to read client code for passwd and skey auth
112 turn of checkhostip for proxy connects, since we don't know the remote ip
115 - Add definition for __P()
116 - Added [v]snprintf() replacement for systems that lack it
119 - More reformatting merged from OpenBSD CVS
120 - Merged OpenBSD CVS changes:
122 fix packet_integrity_check() for !have_hostname_in_open.
123 report from mrwizard@psu.edu via djm@ibs.com.au
125 set SO_REUSEADDR and SO_LINGER for forwarded ports.
126 chip@valinux.com via damien@ibs.com.au
128 it's not an error() if shutdown_write failes in nchan.
130 remove dead #ifdef-0-code
131 - [readconf.c servconf.c]
132 strcasecmp instead of tolower
134 progress meter overflow fix from damien@ibs.com.au
135 - [ssh-add.1 ssh-add.c]
138 postpone fork_after_authentication until command execution,
139 request/patch from jahakala@cc.jyu.fi via damien@ibs.com.au
140 plus: use daemon() for backgrounding
141 - Added BSD compatible install program and autoconf test, thanks to
142 Niels Kristian Bech Jensen <nkbj@image.dk>
143 - Solaris fixing, thanks to Ben Taylor <bent@clark.net>
144 - Merged beginnings of AIX support from Tor-Ake Fransson <torake@hotmail.com>
148 - Merged very large OpenBSD source code reformat
149 - OpenBSD CVS updates
150 - [channels.c cipher.c compat.c log-client.c scp.c serverloop.c]
151 [ssh.h sshd.8 sshd.c]
153 * Unified Logmessage for all auth-types, for success and for failed
154 * Standard connections get only ONE line in the LOG when level==LOG:
155 Auth-attempts are logged only, if authentication is:
158 c) we had more than AUTH_FAIL_LOG failues
159 * many log() became verbose()
160 * old behaviour with level=VERBOSE
161 - [readconf.c readconf.h ssh.1 ssh.h sshconnect.c sshd.c]
162 tranfer s/key challenge/response data in SSH_SMSG_AUTH_TIS_CHALLENGE
163 messages. allows use of s/key in windows (ttssh, securecrt) and
164 ssh-1.2.27 clients without 'ssh -v', ok: niels@
166 -V, for fallback to openssh in SSH2 compatibility mode
168 fix sigchld race; cjc5@po.cwru.edu
171 - Added SuSE package files from Chris Saia <csaia@wtower.com>
172 - Restructured package-related files under packages/*
173 - Added generic PAM config
174 - Numerous little Solaris fixes
175 - Add recommendation to use GNU make to INSTALL document
178 - Make <enter> close gnome-ssh-askpass (Debian bug #50299)
179 - OpenBSD CVS Changes
181 don't create ~/.ssh only if the user wants to store the private
182 key there. show fingerprint instead of public-key after
183 keygeneration. ok niels@
184 - Added OpenBSD bsd-strlcat.c, created bsd-strlcat.h
185 - Added timersub() macro
186 - Tidy RCSIDs of bsd-*.c
187 - Added autoconf test and macro to deal with old PAM libraries
188 pam_strerror definition (one arg vs two).
189 - Fix EGD problems (Thanks to Ben Taylor <bent@clark.net>)
190 - Retry /dev/urandom reads interrupted by signal (report from
191 Robert Hardy <rhardy@webcon.net>)
192 - Added a setenv replacement for systems which lack it
193 - Only display public key comment when presenting ssh-askpass dialog
196 - Configure, Make and changelog corrections from Tudor Bosman
197 <tudorb@jm.nu> and Niels Kristian Bech Jensen <nkbj@image.dk>
200 - OpenBSD CVS Changes:
202 make this compile, bad markus
203 - [log.c readconf.c servconf.c ssh.h]
204 bugfix: loglevels are per host in clientconfig,
205 factor out common log-level parsing code.
207 remove unused index (-Wall)
209 only one 'extern char *__progname'
211 document SIGHUP, -Q to synopsis
212 - [sshconnect.c serverloop.c sshd.c packet.c packet.h]
213 [channels.c clientloop.c]
214 SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@
215 [hope this time my ISP stays alive during commit]
216 - [OVERVIEW README] typos; green@freebsd
218 replace xstrdup+strcat with strlcat+fixed buffer, fixes OF (bad me)
219 exit if writing the key fails (no infinit loop)
220 print usage() everytime we get bad options
221 - [ssh-keygen.c] overflow, djm@mindrot.org
222 - [sshd.c] fix sigchld race; cjc5@po.cwru.edu
225 - Merged more Solaris support from Marc G. Fournier
226 <marc.fournier@acadiau.ca>
227 - Wrote autoconf tests for integer bit-types
228 - Fixed enabling kerberos support
229 - Fix segfault in ssh-keygen caused by buffer overrun in filename
233 - Merged PAM buffer overrun patch from Chip Salzenberg <chip@valinux.com>
234 - Merged OpenBSD CVS changes
235 - [auth-rhosts.c auth-rsa.c ssh-agent.c sshconnect.c sshd.c]
236 more %d vs. %s in fmt-strings
238 Integers should not be printed with %s
239 - EGD uses a socket, not a named pipe. Duh.
240 - Fix includes in fingerprint.c
241 - Fix scp progress bar bug again.
242 - Move ssh-askpass from ${libdir}/ssh to ${libexecdir}/ssh at request of
243 David Rankin <drankin@bohemians.lexington.ky.us>
244 - Added autoconf option to enable Kerberos 4 support (untested)
245 - Added autoconf option to enable AFS support (untested)
246 - Added autoconf option to enable S/Key support (untested)
247 - Added autoconf option to enable TCP wrappers support (compiles OK)
248 - Renamed BSD helper function files to bsd-*
249 - Added tests for login and daemon and enable OpenBSD replacements for
250 when they are absent.
251 - Added non-PAM MD5 password support patch from Tudor Bosman <tudorb@jm.nu>
254 - Merged OpenBSD CVS changes
255 - [scp.c] foregroundproc() in scp
256 - [sshconnect.h] include fingerprint.h
257 - [sshd.c] bugfix: the log() for passwd-auth escaped during logging
259 - [ssh.1] Spell my name right.
260 - Added openssh.com info to README
263 - Merged OpenBSD CVS changes
264 - [ChangeLog.Ylonen] noone needs this anymore
265 - [authfd.c] close-on-exec for auth-socket, ok deraadt
267 in known_hosts key lookup the entry for the bits does not need
268 to match, all the information is contained in n and e. This
269 solves the problem with buggy servers announcing the wrong
270 modulus length. markus and me.
272 bugfix: check for space if child has terminated, from:
274 - [ssh-add.1 ssh-add.c ssh-keygen.1 ssh-keygen.c sshconnect.c]
275 [fingerprint.c fingerprint.h]
276 rsa key fingerprints, idea from Bjoern Groenvall <bg@sics.se>
278 - [ssh.1] add OpenSSH information to AUTHOR section. okay markus@
280 force logging to stderr while loading private key file
281 (lost while converting to new log-levels)
284 - Fix some Linux libc5 problems reported by Miles Wilson <mw@mctitle.com>
285 - Merged OpenBSD CVS changes:
286 - [auth-rh-rsa.c auth-rsa.c authfd.c authfd.h hostfile.c mpaux.c]
287 [mpaux.h ssh-add.c ssh-agent.c ssh.h ssh.c sshd.c]
288 the keysize of rsa-parameter 'n' is passed implizit,
289 a few more checks and warnings about 'pretended' keysizes.
290 - [cipher.c cipher.h packet.c packet.h sshd.c]
291 remove support for cipher RC4
293 a note for legay systems about secuity issues with permanently_set_uid(),
294 the private hostkey and ptrace()
296 more detailed messages about adding and checking hostkeys
299 - Merged OpenBSD CVS changes:
300 - [ssh-add.c] change passphrase loop logic and remove ref to
302 - Changed to ssh-add.c broke askpass support. Revised it to be a little more
304 - Revised autoconf support for enabling/disabling askpass support.
305 - Merged more OpenBSD CVS changes:
307 - disconnect if getpeername() fails
308 - missing xfree(*client)
310 - disconnect if getpeername() fails
311 - fix comment: we _do_ disconnect if ip-options are set
313 - disconnect if getpeername() fails
314 - move checking of remote port to central place
315 [auth-rhosts.c] move checking of remote port to central place
316 [log-server.c] avoid extra fd per sshd, from millert@
317 [readconf.c] print _all_ bad config-options in ssh(1), too
318 [readconf.h] print _all_ bad config-options in ssh(1), too
319 [ssh.c] print _all_ bad config-options in ssh(1), too
320 [sshconnect.c] disconnect if getpeername() fails
321 - OpenBSD's changes to sshd.c broke the PAM stuff, re-merged it.
322 - Various small cleanups to bring diff (against OpenBSD) size down.
323 - Merged more Solaris compability from Marc G. Fournier
324 <marc.fournier@acadiau.ca>
325 - Wrote autoconf tests for __progname symbol
326 - RPM spec file fixes from Jim Knoble <jmknoble@pobox.com>
329 - Another OpenBSD CVS update:
330 - [ssh-keygen.1] fix .Xr
333 - Solaris compilation fixes (still imcomplete)
336 - Build patch from Niels Kristian Bech Jensen <nkbj@image.dk>
337 - Don't install config files if they already exist
338 - Fix inclusion of additional preprocessor directives from acconfig.h
339 - Removed redundant inclusions of config.h
340 - Added 'Obsoletes' lines to RPM spec file
341 - Merged OpenBSD CVS changes:
342 - [bufaux.c] save a view malloc/memcpy/memset/free's, ok niels
343 - [scp.c] fix overflow reported by damien@ibs.com.au: off_t
344 totalsize, ok niels,aaron
345 - Delay fork (-f option) in ssh until after port forwarded connections
346 have been initialised. Patch from Jani Hakala <jahakala@cc.jyu.fi>
347 - Added shadow password patch from Thomas Neumann <tom@smart.ruhr.de>
348 - Added ifdefs to auth-passwd.c to exclude it when PAM is enabled
349 - Tidied default config file some more
350 - Revised Redhat initscript to fix bug: sshd (re)start would fail
351 if executed from inside a ssh login.
354 - Merged changes from OpenBSD CVS
355 - [sshd.c] session_key_int may be zero
356 - [auth-rh-rsa.c servconf.c servconf.h ssh.h sshd.8 sshd.c sshd_config]
357 IgnoreUserKnownHosts(default=no), used for RhostRSAAuth, ok
359 - Brought default sshd_config more in line with OpenBSD's
360 - Grab server in gnome-ssh-askpass (Debian bug #49872)
363 - Added INSTALL documentation
364 - Merged yet more changes from OpenBSD CVS
365 - [auth-rh-rsa.c auth-rhosts.c auth-rsa.c channels.c clientloop.c]
366 [ssh.c ssh.h sshconnect.c sshd.c]
367 make all access to options via 'extern Options options'
368 and 'extern ServerOptions options' respectively;
369 options are no longer passed as arguments:
370 * make options handling more consistent
371 * remove #include "readconf.h" from ssh.h
372 * readconf.h is only included if necessary
373 - [mpaux.c] clear temp buffer
374 - [servconf.c] print _all_ bad options found in configfile
375 - Make ssh-askpass support optional through autoconf
376 - Fix nasty division-by-zero error in scp.c
380 - Added (untested) Entropy Gathering Daemon (EGD) support
381 - Fixed /dev/urandom fd leak (Debian bug #49722)
382 - Merged OpenBSD CVS changes:
383 - [auth-rh-rsa.c] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too
384 - [ssh.1] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too
385 - [sshd.8] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too
386 - Fix integer overflow which was messing up scp's progress bar for large
387 file transfers. Fix submitted to OpenBSD developers.
388 - Merged more OpenBSD CVS changes:
389 - [auth-krb4.c auth-passwd.c] remove x11- and krb-cleanup from fatal()
390 + krb-cleanup cleanup
391 - [clientloop.c log-client.c log-server.c ]
392 [readconf.c readconf.h servconf.c servconf.h ]
393 [ssh.1 ssh.c ssh.h sshd.8]
394 add LogLevel {QUIET, FATAL, ERROR, INFO, CHAT, DEBUG} to ssh/sshd,
395 obsoletes QuietMode and FascistLogging in sshd.
396 - [sshd.c] fix fatal/assert() bug reported by damien@ibs.com.au:
397 allow session_key_int != sizeof(session_key)
398 [this should fix the pre-assert-removal-core-files]
399 - Updated default config file to use new LogLevel option and to improve
403 - Merged several minor fixes:
404 - ssh-agent commandline parsing
405 - RPM spec file now installs ssh setuid root
406 - Makefile creates libdir
407 - Merged beginnings of Solaris compability from Marc G. Fournier
408 <marc.fournier@acadiau.ca>
411 - Autodetection of SSL/Crypto library location via autoconf
412 - Fixed location of ssh-askpass to follow autoconf
413 - Integrated Makefile patch from Niels Kristian Bech Jensen <nkbj@image.dk>
414 - Autodetection of RSAref library for US users
416 - Merged OpenBSD CVS changes:
417 - [rsa.c] bugfix: use correct size for memset()
418 - [sshconnect.c] warn if announced size of modulus 'n' != real size
419 - Added GNOME passphrase requestor (use --with-gnome-askpass)
420 - RPM build now creates subpackages
424 - Removed debian/ directory. This is now being maintained separately.
425 - Added symlinks for slogin in RPM spec file
426 - Fixed permissions on manpages in RPM spec file
427 - Added references to required libraries in README file
428 - Removed config.h.in from CVS
429 - Removed pwdb support (better pluggable auth is provided by glibc)
430 - Made PAM and requisite libdl optional
431 - Removed lots of unnecessary checks from autoconf
432 - Added support and autoconf test for openpty() function (Unix98 pty support)
433 - Fix for scp not finding ssh if not installed as /usr/bin/ssh
435 - Merged parts of Debian patch From Phil Hands <phil@hands.com>:
436 - Added ssh-askpass program
437 - Added ssh-askpass support to ssh-add.c
438 - Create symlinks for slogin on install
439 - Fix "distclean" target in makefile
440 - Added example for ssh-agent to manpage
441 - Added support for PAM_TEXT_INFO messages
442 - Disable internal /etc/nologin support if PAM enabled
443 - Merged latest OpenBSD CVS changes:
444 - [all] replace assert() with error, fatal or packet_disconnect
445 - [sshd.c] don't send fail-msg but disconnect if too many authentication
447 - [sshd.c] remove unused argument. ok dugsong
449 - [rsa.c] clear buffers used for encryption. ok: niels
450 - [rsa.c] replace assert() with error, fatal or packet_disconnect
451 - [auth-krb4.c] remove unused argument. ok dugsong
452 - Fixed coredump after merge of OpenBSD rsa.c patch
456 - Merged change from OpenBSD CVS
457 - One-line cleanup in sshd.c
460 - Integrated debian package support from Dan Brosemer <odin@linuxfreak.com>
461 - Merged latest updates for OpenBSD CVS:
462 - channels.[ch] - remove broken x11 fix and document istate/ostate
463 - ssh-agent.c - call setsid() regardless of argv[]
464 - ssh.c - save a few lines when disabling rhosts-{rsa-}auth
465 - Documentation cleanups
466 - Renamed README -> README.Ylonen
467 - Renamed README.openssh ->README
470 - Renamed openssh* back to ssh* at request of Theo de Raadt
471 - Incorporated latest changes from OpenBSD's CVS
472 - Integrated Makefile patch from Niels Kristian Bech Jensen <nkbj@image.dk>
473 - Integrated PAM env patch from Nalin Dahyabhai <nalin.dahyabhai@pobox.com>
474 - Make distclean now removed configure script
475 - Improved PAM logging
476 - Added some debug() calls for PAM
477 - Removed redundant subdirectories
478 - Integrated part of a patch from Dan Brosemer <odin@linuxfreak.com> for
480 - Fixed off-by-one error in PAM env patch
484 - Further PAM enhancements.
486 - Now uses account and session modules for all logins.
487 - Integrated patch from Dan Brosemer <odin@linuxfreak.com>
490 - Change binary names to open*
491 - Fixed autoconf script to detect PAM on RH6.1
492 - Added tests for libpwdb, and OpenBSD functions to autoconf
495 - Imported latest OpenBSD CVS code
496 - Updated README.openssh
503 - Excised my buggy replacements for strlcpy and mkdtemp
504 - Imported correct OpenBSD strlcpy and mkdtemp routines.
505 - Reduced arc4random_stir entropy read to 32 bytes (256 bits)
506 - Picked up correct version number from OpenBSD
507 - Added sshd.pam PAM configuration file
508 - Added sshd.init Redhat init script
509 - Added openssh.spec RPM spec file
513 - Fixed include paths of OpenSSL functions
514 - Use OpenSSL MD5 routines
515 - Imported RC4 code from nanocrypt
516 - Wrote replacements for OpenBSD arc4random* functions
517 - Wrote replacements for strlcpy and mkdtemp