-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopenssh.spec
640 lines (534 loc) · 25.6 KB
/
openssh.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
# $Owl: Owl/packages/openssh/openssh.spec,v 1.106 2016/08/23 20:34:54 solar Exp $
Summary: The OpenSSH implementation of SSH protocol versions 1 and 2.
Name: openssh
Version: 3.6.1p2
Release: owl29
License: BSD
Group: Applications/Internet
URL: http://www.openssh.com/portable.html
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%version.tar.gz
Source1: sshd.pam
Source2: sshd.init
Source3: ssh_config
Source4: sshd_config
Source5: sftp.control
# Made from ftp://ftp.debian.org/debian/pool/main/o/openssh-blacklist/openssh-blacklist_0.3.tar.gz
# with "cat [DR]SA-{1024,2048}.[bl]e{32,64} | ./blacklist-encode 6"
Source10: openssh-blacklist-0.3-1.bin.bz2
Patch0: openssh-3.6.1p1-owl-warnings.diff
Patch1: openssh-3.6.1p1-owl-hide-unknown.diff
Patch2: openssh-3.6.1p2-owl-always-auth.diff
Patch3: openssh-3.6.1p1-owl-pam_userpass.diff
Patch4: openssh-3.6.1p1-owl-fatal_cleanups.diff
Patch5: openssh-3.6.1p1-owl-drop-groups.diff
Patch6: openssh-3.6.1p2-owl-logging.diff
Patch7: openssh-3.6.1p1-owl-mm.diff
Patch8: openssh-3.6.1p1-owl-password-changing.diff
Patch9: openssh-3.6.1p1-owl-openssl-version-check.diff
Patch10: openssh-3.6.1p1-owl-scp-sftp-stalltime.diff
Patch11: openssh-3.6.1p1-owl-ssh-agent-dumpable.diff
Patch12: openssh-3.6.1p2-cvs-20030603-UseDNS.diff
Patch13: openssh-3.6.1p2-cvs-20030916-buffer-channels-realloc.diff
Patch14: openssh-3.6.1p2-owl-realloc.diff
Patch15: openssh-3.6.1p2-cvs-20050727-scp-fixes.diff
Patch16: openssh-3.6.1p2-owl-sanitize-packet-types.diff
Patch17: openssh-3.6.1p2-cvs-20050725-ssh2-delayed-compression.diff
Patch18: openssh-3.6.1p2-owl-ssh2-delayed-compression-fix.diff
Patch19: openssh-3.6.1p2-cvs-20050921-ssh2-delayed-compression-root.diff
Patch20: openssh-3.6.1p2-cvs-20040205-grace_alarm_handler.diff
Patch21: openssh-3.6.1p2-cvs-20060131-scp-CVE-2006-0225.diff
Patch22: openssh-3.6.1p2-cvs-20060818-sigdie.diff
Patch23: openssh-3.6.1p2-cvs-20060916-deattack.diff
Patch24: openssh-3.6.1p2-cvs-20060919-packet_enable_delayed_compress.diff
Patch25: openssh-3.6.1p2-rh-sftp-memleaks.diff
Patch26: openssh-3.6.1p2-cvs-20061108-monitor.diff
Patch27: openssh-3.6.1p2-owl-blacklist.diff
Patch28: openssh-3.6.1p2-up-20160722-monitor-uaf.diff
Requires: openssl >= 1.0.0, openssl < 1.0.1
Requires: pam >= 0:0.80-owl2
Obsoletes: ssh
BuildRequires: openssl-devel >= 0.9.7g-owl1
BuildRequires: pam-devel, pam_userpass-devel
BuildRequires: perl
BuildRequires: zlib-devel
BuildRequires: tcp_wrappers >= 7.6-owl3.2
BuildRoot: /override/%name-%version
%description
SSH (Secure Shell) is a program for logging into a remote machine and for
executing commands on a remote machine. It is intended to replace
rlogin and rsh, and provide secure encrypted communications between
two untrusted hosts over an insecure network. X11 connections and
arbitrary TCP/IP ports can also be forwarded over the secure channel.
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
up to date in terms of security and features, as well as removing all
patented algorithms to separate libraries (OpenSSL).
This package includes the core files necessary for both the OpenSSH
client and server. To make this package useful, you should also
install openssh-clients, openssh-server, or both.
%package clients
Summary: OpenSSH clients.
Group: Applications/Internet
Requires: %name = %version-%release
Obsoletes: ssh-clients
%description clients
SSH (Secure Shell) is a program for logging into a remote machine and for
executing commands on a remote machine. It is intended to replace
rlogin and rsh, and provide secure encrypted communications between
two untrusted hosts over an insecure network. X11 connections and
arbitrary TCP/IP ports can also be forwarded over the secure channel.
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
up to date in terms of security and features, as well as removing all
patented algorithms to separate libraries (OpenSSL).
This package includes the clients necessary to make encrypted connections
to SSH servers.
%package server
Summary: The OpenSSH server daemon.
Group: System Environment/Daemons
Requires: %name = %version-%release
Requires(post,preun): /sbin/chkconfig, grep, shadow-utils, /dev/urandom
Requires: tcp_wrappers >= 7.6-owl3.2
Requires: owl-control >= 0.4, owl-control < 2.0
Requires: owl-startup
Requires: /var/empty, tcb, pam_userpass, pam_mktemp
Obsoletes: ssh-server
%description server
SSH (Secure Shell) is a program for logging into a remote machine and for
executing commands on a remote machine. It is intended to replace
rlogin and rsh, and provide secure encrypted communications between
two untrusted hosts over an insecure network. X11 connections and
arbitrary TCP/IP ports can also be forwarded over the secure channel.
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
up to date in terms of security and features, as well as removing all
patented algorithms to separate libraries (OpenSSL).
This package contains the secure shell daemon, sshd, which allows SSH
clients to connect to your host.
%package blacklist
Summary: The blacklist file for OpenSSH server.
Group: System Environment/Daemons
Requires: %name-server = %version-%release
%description blacklist
SSH (Secure Shell) is a program for logging into a remote machine and for
executing commands on a remote machine. It is intended to replace
rlogin and rsh, and provide secure encrypted communications between
two untrusted hosts over an insecure network. X11 connections and
arbitrary TCP/IP ports can also be forwarded over the secure channel.
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
up to date in terms of security and features, as well as removing all
patented algorithms to separate libraries (OpenSSL).
This package contains the blacklist file for secure shell daemon, sshd,
which is used by sshd to verify public keys.
%prep
%setup -q
rm -r autom4te.cache
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p0
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p0
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
bzip2 -9k ChangeLog
%{expand:%%define _sysconfdir %_sysconfdir/ssh}
%{expand:%%define _datadir %_datadir/ssh}
%{expand:%%define _libexecdir %_libexecdir/ssh}
%{expand:%%define optflags %optflags -fno-strict-aliasing}
%build
export LIBS="-lcrypt -lpam -lpam_misc -lpam_userpass"
%configure \
--with-pam \
--with-tcp-wrappers \
--with-ipv4-default \
--with-default-path=/bin:%_bindir:/usr/local/bin \
--with-privsep-path=/var/empty \
--with-privsep-user=sshd
%__make
%install
rm -rf %buildroot
%__make install DESTDIR=%buildroot
install -d %buildroot/etc/pam.d
install -d %buildroot/etc/rc.d/init.d
install -m 600 %_sourcedir/sshd.pam %buildroot/etc/pam.d/sshd
install -m 700 %_sourcedir/sshd.init %buildroot/etc/rc.d/init.d/sshd
install -m 644 %_sourcedir/ssh_config %buildroot/etc/ssh/
install -m 600 %_sourcedir/sshd_config %buildroot/etc/ssh/
mkdir -p %buildroot/etc/control.d/facilities
install -m 700 %_sourcedir/sftp.control \
%buildroot/etc/control.d/facilities/sftp
{
bzcat %SOURCE10 || touch failed
} > %buildroot/etc/ssh/blacklist
test ! -e failed
test -s %buildroot/etc/ssh/blacklist
touch -r %SOURCE10 %buildroot/etc/ssh/blacklist
chmod 644 %buildroot/etc/ssh/blacklist
rm %buildroot%_datadir/Ssh.bin
# create ghosts
touch %buildroot/etc/ssh/ssh_host_{,rsa_,dsa_}key{,.pub}
%pre server
grep -q ^sshd: /etc/group || groupadd -g 74 sshd
grep -q ^sshd: /etc/passwd || useradd -g sshd -u 74 -d / -s /bin/false -M sshd
rm -f /var/run/sshd.restart
if [ $1 -ge 2 ]; then
# XXX: "sshd -t" invoked at this point only validates the old configuration.
if %_sbindir/sshd -t; then
/etc/rc.d/init.d/sshd status && touch /var/run/sshd.restart || :
/etc/rc.d/init.d/sshd stop || :
fi
%_sbindir/control-dump sftp
fi
%post server
if [ "$MAKE_CDROM" != yes ]; then
/etc/rc.d/init.d/sshd keygen
fi
if [ $1 -ge 2 ]; then
%_sbindir/control-restore sftp
fi
/sbin/chkconfig --add sshd
if [ -f /var/run/sshd.restart ]; then
/etc/rc.d/init.d/sshd start
elif [ -f /var/run/sshd.pid ]; then
/etc/rc.d/init.d/sshd restart
fi
rm -f /var/run/sshd.restart
if [ "`%_sbindir/control sftp`" = off ]; then
echo -n "SFTP server is not currently enabled, use "
echo "\"control sftp on\" to enable"
fi
%preun server
if [ $1 -eq 0 ]; then
/etc/rc.d/init.d/sshd stop || :
/sbin/chkconfig --del sshd
fi
%files
%defattr(-,root,root)
%doc CREDITS ChangeLog.bz2 LICENCE README
%attr(0755,root,root) %_bindir/scp
%attr(0755,root,root) %_bindir/ssh-keygen
%attr(0644,root,root) %_mandir/man1/scp.1*
%attr(0644,root,root) %_mandir/man1/ssh-keygen.1*
%attr(0755,root,root) %dir /etc/ssh
%attr(0600,root,root) %config(noreplace) /etc/ssh/moduli
%attr(0755,root,root) %dir %_libexecdir
%files clients
%defattr(-,root,root)
%attr(0755,root,root) %_bindir/ssh
%attr(0755,root,root) %_bindir/ssh-add
%attr(0755,root,root) %_bindir/ssh-agent
%attr(0755,root,root) %_bindir/ssh-keyscan
%attr(0755,root,root) %_bindir/sftp
%attr(0700,root,root) %_libexecdir/ssh-keysign
%attr(0644,root,root) %_mandir/man1/ssh.1*
%attr(0644,root,root) %_mandir/man1/ssh-add.1*
%attr(0644,root,root) %_mandir/man1/ssh-agent.1*
%attr(0644,root,root) %_mandir/man1/ssh-keyscan.1*
%attr(0644,root,root) %_mandir/man1/sftp.1*
%attr(0644,root,root) %_mandir/man5/ssh_config.5*
%attr(0644,root,root) %_mandir/man8/ssh-keysign.8*
%attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config
%attr(-,root,root) %_bindir/slogin
%attr(-,root,root) %_mandir/man1/slogin.1*
%files server
%defattr(-,root,root)
%attr(0700,root,root) %_sbindir/sshd
%attr(0755,root,root) %_libexecdir/sftp-server
%attr(0644,root,root) %_mandir/man5/sshd_config.5*
%attr(0644,root,root) %_mandir/man8/sshd.8*
%attr(0644,root,root) %_mandir/man8/sftp-server.8*
%attr(0600,root,root) %config(noreplace) %verify(not size md5 mtime) /etc/ssh/sshd_config
%attr(0600,root,root) %config(noreplace) %ghost /etc/ssh/ssh_host*key
%attr(0644,root,root) %config(noreplace) %ghost /etc/ssh/ssh_host*key.pub
%attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
%attr(0700,root,root) %config /etc/rc.d/init.d/sshd
%attr(0700,root,root) /etc/control.d/facilities/sftp
%files blacklist
%attr(0644,root,root) /etc/ssh/blacklist
%changelog
* Tue Aug 23 2016 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl29
- Backported upstream fix for a use-after-free in debugging output in the
privsep monitor.
- Build with -fno-strict-aliasing because of aliasing rules violations at least
in monitor_fdpass.c, as detected by gcc.
- Dropped the obsolete June 2002 workaround for building deattack.c on Alpha.
* Sun Jun 29 2014 (GalaxyMaster) <galaxy-at-owl.openwall.com> 3.6.1p2-owl28
- Replaced the deprecated PreReq tag with the corresponding Requires() tags.
- Regenerated the logging, scp-fixes, and scp-CVE-2006-0225 patches since
they were fuzzy.
* Thu Feb 24 2011 Vasiliy Kulikov <segoon-at-owl.openwall.com> 3.6.1p2-owl27
- Changed "PreReq" tag to build with openssl-1.0.0d.
* Wed Sep 01 2010 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl26
- Have SFTP enabled by default.
* Wed Jul 28 2010 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl25
- Have the SSH client use protocol 2 by default (finally).
* Tue Jul 07 2009 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl24
- Backported upstream fix for syslog inside signal handler (CVE-2008-4109).
* Mon May 26 2008 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl23
- Moved blacklist file to separate subpackage.
* Sun May 25 2008 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl22
- Implemented support for RSA/DSA key blacklisting in sshd based on partial
fingerprints.
* Fri Nov 23 2007 (GalaxyMaster) <galaxy-at-owl.openwall.com> 3.6.1p2-owl21
- Added a dependency on owl-startup to openssh-server so it would be
properly handled by RPM's dependency resolution routines.
* Wed Nov 08 2006 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl20
- Backported upstream fix for a bug in the sshd privilege separation
monitor that weakened its verification of successful authentication
(CVE-2006-5794).
* Tue Oct 03 2006 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl19
- Backported upstream fixes for:
sshd connection consumption vulnerability
(CVE-2004-2069: low, remote, active),
scp local arbitrary command execution vulnerability
(CVE-2006-0225: none to high, local, active),
sshd signal handler race condition
(CVE-2006-5051: none, remote, active),
CRC compensation attack detector DoS
(CVE-2006-4924: low, remote, active),
client NULL dereference on protocol error
(CVE-2006-4925: low, remote, passive).
- Applied RH patch to plug several sftp memory leaks.
* Thu Mar 30 2006 (GalaxyMaster) <galaxy-at-owl.openwall.com> 3.6.1p2-owl18
- Added /etc/ssh/ssh_host_* to the server filelist as ghosts.
* Fri Feb 03 2006 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl17
- Compressed ChangeLog file.
* Sat Oct 29 2005 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl16
- Changed PAM config file to include system-auth for PAM account,
password and session management.
- Stripped /lib/security/ prefix from PAM module names.
* Sat Sep 24 2005 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl15
- Another bugfix for delayed compression: set the authenticated flag for
root logins as well. Thanks to Damien Miller.
* Thu Jul 28 2005 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl14
- Added delayed compression support for protocol 2 (a back-port of the
changes committed into the OpenBSD CVS recently, with a bugfix added),
enabled by default. Thanks to Markus Friedl for working on this and for
bringing it to our attention.
* Sat Jun 25 2005 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p2-owl13
- Rebuilt with libcrypto.so.5.
* Wed Jan 05 2005 (GalaxyMaster) <galaxy-at-owl.openwall.com> 3.6.1p2-owl12
- Removed verify checks for sshd_config which is under owl-control.
- Cleaned up the spec a little.
* Wed Nov 03 2004 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl11
- Sanitize packet types early on.
* Thu Sep 09 2004 (GalaxyMaster) <galaxy-at-owl.openwall.com> 3.6.1p2-owl10
- Rebuild with OpenSSL 0.9.7.
* Fri Jun 04 2004 Michail Litvak <mci-at-owl.openwall.com> 3.6.1p2-owl9
- Fixed directory traversal vulnerability in scp which allows remote malicious
servers to overwrite arbitrary files (CAN-2004-0175).
* Mon May 03 2004 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl8
- Bumped release to correctly reflect the rebuild against shared libwrap.
* Mon Nov 03 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl7
- Always pass empty passwords into PAM to not produce failed authentication
warnings as empty passwords are tried automatically; this fixes the bug
introduced in the patch in 3.6.1p2-owl1.
* Fri Oct 24 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl6
- Explain how to enable the SFTP server with control(8).
- Generate SSH host keys at startup if needed (for use with bootable CDs).
* Wed Oct 22 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl5
- Set comments in SSH host keys to key type instead of to hostname as the
latter would leak the hostname when doing chrooted installs for other
systems.
* Mon Oct 20 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl4
- Check the validity of sshd_config and host keys with "sshd -t" before
proceeding with a restart or reload.
* Wed Sep 17 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl3
- Included the buffer and channels memory reallocation fixes from:
http://www.openssh.com/txt/buffer.adv (2nd revision).
- Reviewed all uses of *realloc(), resulting in four more fixes of this
nature.
* Mon Jul 21 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl2
- Included a change from the CVS to deprecate VerifyReverseMapping and
replace it with a new option, UseDNS. This should solve the client
address restriction circumvention attack discovered by Mike Harding.
* Mon Jun 02 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p2-owl1
- Updated to 3.6.1p2.
- When we know we're going to fail authentication for reasons external
to PAM, pass there a hopefully incorrect password to have it behave the
same for correct and incorrect passwords.
* Thu May 29 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p1-owl4
- write_to=tcb
* Fri Apr 18 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p1-owl3
- Added back the now more complete patch to always run PAM with password
authentication, even for non-existent or not allowed usernames.
- Tell pam_tcb to not log failed authentication attempts when a blank
password is tried (blank_nolog) as this is attempted automatically.
- Pass prefix= and count= to pam_tcb also for authentication such that it
can use this information to reduce timing leaks.
* Tue Apr 08 2003 Dmitry V. Levin <ldv-at-owl.openwall.com> 3.6.1p1-owl2
- Updated pam_userpass support: build with libpam_userpass.
* Tue Apr 08 2003 Solar Designer <solar-at-owl.openwall.com> 3.6.1p1-owl1
- Updated to 3.6.1p1.
- Make ssh-agent protect itself by setting prctl(PR_SET_DUMPABLE, 0) on
Linux 2.4+.
* Thu Dec 19 2002 Solar Designer <solar-at-owl.openwall.com>
- New release number for linking against tcp_wrappers with Steve Grubb's
error handling fix.
* Sun Nov 03 2002 Solar Designer <solar-at-owl.openwall.com>
- Dump/restore the owl-control setting for sftp on package upgrades.
* Thu Aug 29 2002 Solar Designer <solar-at-owl.openwall.com>
- Corrected the dependencies (many are specific to the server package).
* Sun Jul 28 2002 Solar Designer <solar-at-owl.openwall.com>
- Install the packet_close() cleanup for the client as well.
* Sun Jul 07 2002 Solar Designer <solar-at-owl.openwall.com>
- Install the packet_close() cleanup for root logins as well (which are
not privilege separated because that wouldn't make sense and thus were
handled by a different code path which I initially have missed).
* Sat Jul 06 2002 Solar Designer <solar-at-owl.openwall.com>
- Re-initialize logging after calls into PAM module stacks, make use of
log_reinit() where the original code needed that kind of functionality.
- Stack pam_limits for account management, not session setup, such that
its configuration file doesn't need to be world-readable with privsep.
* Fri Jul 05 2002 Solar Designer <solar-at-owl.openwall.com>
- Re-enable the password changing code (disabled in 3.3p1 and 3.4p1) for
non-privsep case, disallowing any forwardings (such that the session may
not be actually used while still not changing the expired password).
- Limit three of the cleanup functions to apply to just the proper sshd
processes, make sure session_pty_cleanup() happens before packet_close().
* Tue Jul 02 2002 Solar Designer <solar-at-owl.openwall.com>
- In the PAM conversation, queue any text messages appearing in initial
login mode for printing later, similarly to what the original code did.
This is needed to pass password expiration warnings on to the user.
* Sat Jun 29 2002 Solar Designer <solar-at-owl.openwall.com>
- Keep the /dev/log fd open and only close it before executing other
programs, to enable direct logging from chrooted child processes.
* Thu Jun 27 2002 Solar Designer <solar-at-owl.openwall.com>
- Updated to 3.4p1.
- Zero out the written-to pages in memory mapped areas when they're
destroyed to reduce the chances of sensitive data remaining on disk media
in a remotely-recoverable way while not wasting any extra physical pages
or filesystem blocks.
* Tue Jun 25 2002 Solar Designer <solar-at-owl.openwall.com>
- Fixed the dropping of supplementary groups now included in 3.3p1 rather
than adding our own version of the fix, to allow for running sshd as
non-root and to be fail-close whenever possible.
* Sun Jun 23 2002 Solar Designer <solar-at-owl.openwall.com>
- Updated to 3.3p1 with privilege separation.
- If MAP_ANON|MAP_SHARED fails (is unsupported on Linux 2.2), fallback
to using SysV shm, and, if that fails too (SysV shm is a compile-time
kernel option), to MAP_SHARED with sparse and unlinked swap files.
- pam_mktemp is now run during account management, not session setup,
as the latter is no longer done as root (possibly something to be
reverted in future versions).
* Sat Jun 08 2002 Solar Designer <solar-at-owl.openwall.com>
- Build deattack.c with -mcpu=ev5 when building for alphaev56+ to not
trigger a not fully debugged problem with the EV56+ code.
* Sun Mar 17 2002 Solar Designer <solar-at-owl.openwall.com>
- Updated to 3.1p1.
* Tue Mar 05 2002 Solar Designer <solar-at-owl.openwall.com>
- Patched a channel id check off by one bug discovered by Joost Pol.
* Tue Feb 05 2002 Solar Designer <solar-at-owl.openwall.com>
- Enforce our new spec file conventions.
* Wed Dec 12 2001 Solar Designer <solar-at-owl.openwall.com>
- Updated to 3.0.2p1.
* Fri Nov 16 2001 Solar Designer <solar-at-owl.openwall.com>
- Use pam_tcb.
* Sun Oct 07 2001 Solar Designer <solar-at-owl.openwall.com>
- Updates to appl_userpass.c to support building against Linux-PAM 0.74+.
* Sat Sep 29 2001 Solar Designer <solar-at-owl.openwall.com>
- Include post-2.9.9 fixes from the CVS, most importantly to restore the
order of reading for ~/.ssh/config and /etc/ssh_config.
* Thu Sep 27 2001 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.9.9p2.
- Patched the OpenSSL version check to ignore the patch and status bits.
- Drop supplementary groups at sshd startup such that they aren't inherited
by the PAM modules.
* Wed Jul 11 2001 Solar Designer <solar-at-owl.openwall.com>
- New release number for upgrades after building against OpenSSL 0.9.6b.
* Fri Jun 15 2001 Solar Designer <solar-at-owl.openwall.com>
- Prevent additional timing leaks with null passwords (when allowed),
updated patch from Rafal Wojtczuk <nergal at owl.openwall.com>.
* Mon Jun 11 2001 Solar Designer <solar-at-owl.openwall.com>
- Switch credentials when cleaning up temporary files and sockets to fix
the vulnerability reported by <zen-parse at gmx.net> on Bugtraq; the patch is
by Markus Friedl with a later OpenSSH CVS change added and two bugs fixed.
* Sun May 06 2001 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.9p1.
- Added sftp.control.
* Sun Apr 22 2001 Solar Designer <solar-at-owl.openwall.com>
- New release number for upgrades after building against OpenSSL 0.9.6a.
* Sun Apr 01 2001 Solar Designer <solar-at-owl.openwall.com>
- Patch from the CVS to not use AES/Rijndael against OpenSSH versions
with bigendian bug.
* Fri Mar 23 2001 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.5.2p2.
- Dropped two PAM patches (included in 2.5.2p2).
* Wed Mar 21 2001 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.5.2p1.
- Patched a potential uninitialized reference in do_pam_cleanup_proc().
* Mon Mar 19 2001 Solar Designer <solar-at-owl.openwall.com>
- Package files introduced with 2.5.0 (primes, sftp, ssh-keyscan).
* Sun Mar 18 2001 Solar Designer <solar-at-owl.openwall.com>
- Increased the STALLTIME for scp from 5 to 60 seconds (needed for large
windows and slow links).
- scp will now calculate ETA without account for possible stall time.
* Wed Feb 28 2001 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.5.1p1.
- Updated the don't-log-unknown-users and pam_userpass patches.
- Added a patch to always run PAM authentication, even for unknown users
(makes it less trivial to check for valid usernames; still easy, though).
- Dropped the traffic analysis patch (OpenSSH now includes an improved
version).
- Dropped the client version string NUL termination patch (fixed).
* Fri Jan 26 2001 Solar Designer <solar-at-owl.openwall.com>
- Added a patch to reduce the impact of traffic analysis by padding initial
login passwords for SSH-1 and simulating echo during interactive sessions.
(Thanks to Dug Song for updating the patch to current OpenSSH.)
* Wed Dec 20 2000 Solar Designer <solar-at-owl.openwall.com>
- Use pam_mktemp.
* Thu Dec 07 2000 Solar Designer <solar-at-owl.openwall.com>
- Updated sshd.init to use --pidfile and --expect-user.
* Fri Dec 01 2000 Solar Designer <solar-at-owl.openwall.com>
- Adjusted sshd.init for owl-startup.
- Restart sshd after package upgrades in an owl-startup compatible way.
- Corrected package descriptions.
* Mon Nov 20 2000 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.3.0p1.
* Fri Aug 04 2000 Solar Designer <solar-at-owl.openwall.com>
- Updated to 2.1.1p4.
* Sun Jul 23 2000 Solar Designer <solar-at-owl.openwall.com>
- Added dependencies on pam_userpass and /dev/urandom into openssh-server.
* Mon Jul 17 2000 Solar Designer <solar-at-owl.openwall.com>
- Added a patch to not log unknown usernames (someone could have typed
their password at the username prompt by mistake, even though there's no
such prompt with the "native" client).
* Wed Jul 12 2000 Solar Designer <solar-at-owl.openwall.com>
- Cleaned up the default ssh*_config.
- The config files are now declared as separate Source's in this spec.
- Moved this changelog to end of spec file.
* Sun Jul 09 2000 Solar Designer <solar-at-owl.openwall.com>
- Imported current Damien Miller's spec file, removed the X11-specific
stuff, fixed buildroot issues.
- sshd.pam and sshd.init are now taken from separate files, not the
original package.
- Added -lcrypt so that PAM modules may access crypt(3); the OpenSSL
package should also have a patch applied so that it doesn't export its
crypt() function as a symbol, but only #define it in the appropriate
header file. Other things might break (look for "DES corruption" in
ChangeLog), but this is better than getting failed authentication with
modern hashes and I believe current glibc is careful not to export
internal functions and use weak aliases when exporting things.
- Patched PAM authentication to use pam_userpass rather than assume
that modules can only ask for a password.
- Changed default ssh*_config.
- non-SUID installation by default.