diff options
author | Colin Watson <cjwatson@debian.org> | 2014-10-07 13:33:15 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-10-07 14:27:30 +0100 |
commit | f0b009aea83e9ff3a50be30f51012099a5143c16 (patch) | |
tree | 3825e6f7e3b7ea4481d06ed89aba9a7a95150df5 /Makefile.in | |
parent | 47f0bad4330b16ec3bad870fcf9839c196e42c12 (diff) | |
parent | 762c062828f5a8f6ed189ed6e44ad38fd92f8b36 (diff) |
Merge 6.7p1.
* New upstream release (http://www.openssh.com/txt/release-6.7):
- sshd(8): The default set of ciphers and MACs has been altered to
remove unsafe algorithms. In particular, CBC ciphers and arcfour* are
disabled by default. The full set of algorithms remains available if
configured explicitly via the Ciphers and MACs sshd_config options.
- ssh(1), sshd(8): Add support for Unix domain socket forwarding. A
remote TCP port may be forwarded to a local Unix domain socket and
vice versa or both ends may be a Unix domain socket (closes: #236718).
- ssh(1), ssh-keygen(1): Add support for SSHFP DNS records for ED25519
key types.
- sftp(1): Allow resumption of interrupted uploads.
- ssh(1): When rekeying, skip file/DNS lookups of the hostkey if it is
the same as the one sent during initial key exchange.
- sshd(8): Allow explicit ::1 and 127.0.0.1 forwarding bind addresses
when GatewayPorts=no; allows client to choose address family.
- sshd(8): Add a sshd_config PermitUserRC option to control whether
~/.ssh/rc is executed, mirroring the no-user-rc authorized_keys
option.
- ssh(1): Add a %C escape sequence for LocalCommand and ControlPath that
expands to a unique identifer based on a hash of the tuple of (local
host, remote user, hostname, port). Helps avoid exceeding miserly
pathname limits for Unix domain sockets in multiplexing control paths.
- sshd(8): Make the "Too many authentication failures" message include
the user, source address, port and protocol in a format similar to the
authentication success / failure messages.
- Use CLOCK_BOOTTIME in preference to CLOCK_MONOTONIC when it is
available. It considers time spent suspended, thereby ensuring
timeouts (e.g. for expiring agent keys) fire correctly (closes:
#734553).
- Use prctl() to prevent sftp-server from accessing
/proc/self/{mem,maps}.
* Restore TCP wrappers support, removed upstream in 6.7. It is true that
dropping this reduces preauth attack surface in sshd. On the other
hand, this support seems to be quite widely used, and abruptly dropping
it (from the perspective of users who don't read openssh-unix-dev) could
easily cause more serious problems in practice. It's not entirely clear
what the right long-term answer for Debian is, but it at least probably
doesn't involve dropping this feature shortly before a freeze.
* Replace patch to disable OpenSSL version check with an updated version
of Kurt Roeckx's patch from #732940 to just avoid checking the status
field.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 90 |
1 files changed, 80 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in index 7d192bb7c..4eab574a7 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile.in,v 1.356 2014/02/04 00:12:56 djm Exp $ | 1 | # $Id: Makefile.in,v 1.365 2014/08/30 06:23:07 djm Exp $ |
2 | 2 | ||
3 | # uncomment if you run a non bourne compatable shell. Ie. csh | 3 | # uncomment if you run a non bourne compatable shell. Ie. csh |
4 | #SHELL = @SH@ | 4 | #SHELL = @SH@ |
@@ -29,6 +29,7 @@ SSH_PKCS11_HELPER=$(libexecdir)/ssh-pkcs11-helper | |||
29 | PRIVSEP_PATH=@PRIVSEP_PATH@ | 29 | PRIVSEP_PATH=@PRIVSEP_PATH@ |
30 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ | 30 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ |
31 | STRIP_OPT=@STRIP_OPT@ | 31 | STRIP_OPT=@STRIP_OPT@ |
32 | TEST_SHELL=@TEST_SHELL@ | ||
32 | 33 | ||
33 | PATHS= -DSSHDIR=\"$(sysconfdir)\" \ | 34 | PATHS= -DSSHDIR=\"$(sysconfdir)\" \ |
34 | -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ | 35 | -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ |
@@ -63,7 +64,16 @@ MANFMT=@MANFMT@ | |||
63 | 64 | ||
64 | TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-pkcs11-helper$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT) sftp$(EXEEXT) | 65 | TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-pkcs11-helper$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT) sftp$(EXEEXT) |
65 | 66 | ||
66 | LIBSSH_OBJS=authfd.o authfile.o bufaux.o bufbn.o buffer.o \ | 67 | LIBOPENSSH_OBJS=\ |
68 | ssherr.o \ | ||
69 | sshbuf.o \ | ||
70 | sshkey.o \ | ||
71 | sshbuf-getput-basic.o \ | ||
72 | sshbuf-misc.o \ | ||
73 | sshbuf-getput-crypto.o | ||
74 | |||
75 | LIBSSH_OBJS=${LIBOPENSSH_OBJS} \ | ||
76 | authfd.o authfile.o bufaux.o bufbn.o buffer.o \ | ||
67 | canohost.o channels.o cipher.o cipher-aes.o \ | 77 | canohost.o channels.o cipher.o cipher-aes.o \ |
68 | cipher-bf1.o cipher-ctr.o cipher-3des1.o cleanup.o \ | 78 | cipher-bf1.o cipher-ctr.o cipher-3des1.o cleanup.o \ |
69 | compat.o compress.o crc32.o deattack.o fatal.o hostfile.o \ | 79 | compat.o compress.o crc32.o deattack.o fatal.o hostfile.o \ |
@@ -137,7 +147,7 @@ $(SSHOBJS): Makefile.in config.h | |||
137 | $(SSHDOBJS): Makefile.in config.h | 147 | $(SSHDOBJS): Makefile.in config.h |
138 | 148 | ||
139 | .c.o: | 149 | .c.o: |
140 | $(CC) $(CFLAGS) $(CPPFLAGS) -c $< | 150 | $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ |
141 | 151 | ||
142 | LIBCOMPAT=openbsd-compat/libopenbsd-compat.a | 152 | LIBCOMPAT=openbsd-compat/libopenbsd-compat.a |
143 | $(LIBCOMPAT): always | 153 | $(LIBCOMPAT): always |
@@ -216,6 +226,12 @@ umac128.o: umac.c | |||
216 | clean: regressclean | 226 | clean: regressclean |
217 | rm -f *.o *.a $(TARGETS) logintest config.cache config.log | 227 | rm -f *.o *.a $(TARGETS) logintest config.cache config.log |
218 | rm -f *.out core survey | 228 | rm -f *.out core survey |
229 | rm -f regress/unittests/test_helper/*.a | ||
230 | rm -f regress/unittests/test_helper/*.o | ||
231 | rm -f regress/unittests/sshbuf/*.o | ||
232 | rm -f regress/unittests/sshbuf/test_sshbuf | ||
233 | rm -f regress/unittests/sshkey/*.o | ||
234 | rm -f regress/unittests/sshkey/test_sshkey | ||
219 | (cd openbsd-compat && $(MAKE) clean) | 235 | (cd openbsd-compat && $(MAKE) clean) |
220 | 236 | ||
221 | distclean: regressclean | 237 | distclean: regressclean |
@@ -224,6 +240,12 @@ distclean: regressclean | |||
224 | rm -f Makefile buildpkg.sh config.h config.status | 240 | rm -f Makefile buildpkg.sh config.h config.status |
225 | rm -f survey.sh openbsd-compat/regress/Makefile *~ | 241 | rm -f survey.sh openbsd-compat/regress/Makefile *~ |
226 | rm -rf autom4te.cache | 242 | rm -rf autom4te.cache |
243 | rm -f regress/unittests/test_helper/*.a | ||
244 | rm -f regress/unittests/test_helper/*.o | ||
245 | rm -f regress/unittests/sshbuf/*.o | ||
246 | rm -f regress/unittests/sshbuf/test_sshbuf | ||
247 | rm -f regress/unittests/sshkey/*.o | ||
248 | rm -f regress/unittests/sshkey/test_sshkey | ||
227 | (cd openbsd-compat && $(MAKE) distclean) | 249 | (cd openbsd-compat && $(MAKE) distclean) |
228 | if test -d pkg ; then \ | 250 | if test -d pkg ; then \ |
229 | rm -fr pkg ; \ | 251 | rm -fr pkg ; \ |
@@ -397,23 +419,71 @@ uninstall: | |||
397 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 | 419 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 |
398 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 420 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
399 | 421 | ||
400 | regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c | 422 | regress-prep: |
401 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress | 423 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress |
424 | [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests | ||
425 | [ -d `pwd`/regress/unittests/test_helper ] || \ | ||
426 | mkdir -p `pwd`/regress/unittests/test_helper | ||
427 | [ -d `pwd`/regress/unittests/sshbuf ] || \ | ||
428 | mkdir -p `pwd`/regress/unittests/sshbuf | ||
429 | [ -d `pwd`/regress/unittests/sshkey ] || \ | ||
430 | mkdir -p `pwd`/regress/unittests/sshkey | ||
402 | [ -f `pwd`/regress/Makefile ] || \ | 431 | [ -f `pwd`/regress/Makefile ] || \ |
403 | ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile | 432 | ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile |
433 | |||
434 | regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c | ||
404 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 435 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ |
405 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 436 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
406 | 437 | ||
407 | regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c | 438 | regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c |
408 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress | ||
409 | [ -f `pwd`/regress/Makefile ] || \ | ||
410 | ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile | ||
411 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 439 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ |
412 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 440 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
413 | 441 | ||
414 | tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) regress/setuid-allowed$(EXEEXT) | 442 | UNITTESTS_TEST_HELPER_OBJS=\ |
443 | regress/unittests/test_helper/test_helper.o \ | ||
444 | regress/unittests/test_helper/fuzz.o | ||
445 | |||
446 | regress/unittests/test_helper/libtest_helper.a: ${UNITTESTS_TEST_HELPER_OBJS} | ||
447 | $(AR) rv $@ $(UNITTESTS_TEST_HELPER_OBJS) | ||
448 | $(RANLIB) $@ | ||
449 | |||
450 | UNITTESTS_TEST_SSHBUF_OBJS=\ | ||
451 | regress/unittests/sshbuf/tests.o \ | ||
452 | regress/unittests/sshbuf/test_sshbuf.o \ | ||
453 | regress/unittests/sshbuf/test_sshbuf_getput_basic.o \ | ||
454 | regress/unittests/sshbuf/test_sshbuf_getput_crypto.o \ | ||
455 | regress/unittests/sshbuf/test_sshbuf_misc.o \ | ||
456 | regress/unittests/sshbuf/test_sshbuf_fuzz.o \ | ||
457 | regress/unittests/sshbuf/test_sshbuf_getput_fuzz.o \ | ||
458 | regress/unittests/sshbuf/test_sshbuf_fixed.o | ||
459 | |||
460 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT): ${UNITTESTS_TEST_SSHBUF_OBJS} \ | ||
461 | regress/unittests/test_helper/libtest_helper.a libssh.a | ||
462 | $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_SSHBUF_OBJS) \ | ||
463 | regress/unittests/test_helper/libtest_helper.a \ | ||
464 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
465 | |||
466 | UNITTESTS_TEST_SSHKEY_OBJS=\ | ||
467 | regress/unittests/sshkey/test_fuzz.o \ | ||
468 | regress/unittests/sshkey/tests.o \ | ||
469 | regress/unittests/sshkey/common.o \ | ||
470 | regress/unittests/sshkey/test_file.o \ | ||
471 | regress/unittests/sshkey/test_sshkey.o | ||
472 | |||
473 | regress/unittests/sshkey/test_sshkey$(EXEEXT): ${UNITTESTS_TEST_SSHKEY_OBJS} \ | ||
474 | regress/unittests/test_helper/libtest_helper.a libssh.a | ||
475 | $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_SSHKEY_OBJS) \ | ||
476 | regress/unittests/test_helper/libtest_helper.a \ | ||
477 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
478 | |||
479 | REGRESS_BINARIES=\ | ||
480 | regress/modpipe$(EXEEXT) \ | ||
481 | regress/setuid-allowed$(EXEEXT) \ | ||
482 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ | ||
483 | regress/unittests/sshkey/test_sshkey$(EXEEXT) | ||
484 | |||
485 | tests interop-tests t-exec: regress-prep $(TARGETS) $(REGRESS_BINARIES) | ||
415 | BUILDDIR=`pwd`; \ | 486 | BUILDDIR=`pwd`; \ |
416 | TEST_SHELL="@TEST_SHELL@"; \ | ||
417 | TEST_SSH_SCP="$${BUILDDIR}/scp"; \ | 487 | TEST_SSH_SCP="$${BUILDDIR}/scp"; \ |
418 | TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ | 488 | TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ |
419 | TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ | 489 | TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ |
@@ -437,7 +507,6 @@ tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) regress/setuid-allowed$ | |||
437 | OBJ="$${BUILDDIR}/regress/" \ | 507 | OBJ="$${BUILDDIR}/regress/" \ |
438 | PATH="$${BUILDDIR}:$${PATH}" \ | 508 | PATH="$${BUILDDIR}:$${PATH}" \ |
439 | TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ | 509 | TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ |
440 | TEST_SHELL="$${TEST_SHELL}" \ | ||
441 | TEST_SSH_SCP="$${TEST_SSH_SCP}" \ | 510 | TEST_SSH_SCP="$${TEST_SSH_SCP}" \ |
442 | TEST_SSH_SSH="$${TEST_SSH_SSH}" \ | 511 | TEST_SSH_SSH="$${TEST_SSH_SSH}" \ |
443 | TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ | 512 | TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ |
@@ -453,6 +522,7 @@ tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) regress/setuid-allowed$ | |||
453 | TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \ | 522 | TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \ |
454 | TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \ | 523 | TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \ |
455 | TEST_SSH_ECC="$${TEST_SSH_ECC}" \ | 524 | TEST_SSH_ECC="$${TEST_SSH_ECC}" \ |
525 | TEST_SHELL="${TEST_SHELL}" \ | ||
456 | EXEEXT="$(EXEEXT)" \ | 526 | EXEEXT="$(EXEEXT)" \ |
457 | $@ && echo all tests passed | 527 | $@ && echo all tests passed |
458 | 528 | ||