Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
ssh: Update to OpenSSH 9.3p1This release fixes a number of security bugs and has minor newfeatures and bug fixes. Security fixes, from the release notes(https://www.openssh.com/txt/release-9.3):
ssh: Update to OpenSSH 9.3p1This release fixes a number of security bugs and has minor newfeatures and bug fixes. Security fixes, from the release notes(https://www.openssh.com/txt/release-9.3):This release contains fixes for a security problem and a memorysafety problem. The memory safety problem is not believed to beexploitable, but we report most network-reachable memory faults assecurity bugs. * ssh-add(1): when adding smartcard keys to ssh-agent(1) with the per-hop destination constraints (ssh-add -h ...) added in OpenSSH 8.9, a logic error prevented the constraints from being communicated to the agent. This resulted in the keys being added without constraints. The common cases of non-smartcard keys and keys without destination constraints are unaffected. This problem was reported by Luci Stanescu. * ssh(1): Portable OpenSSH provides an implementation of the getrrsetbyname(3) function if the standard library does not provide it, for use by the VerifyHostKeyDNS feature. A specifically crafted DNS response could cause this function to perform an out-of-bounds read of adjacent stack data, but this condition does not appear to be exploitable beyond denial-of- service to the ssh(1) client. The getrrsetbyname(3) replacement is only included if the system's standard library lacks this function and portable OpenSSH was not compiled with the ldns library (--with-ldns). getrrsetbyname(3) is only invoked if using VerifyHostKeyDNS to fetch SSHFP records. This problem was found by the Coverity static analyzer.Sponsored by: The FreeBSD Foundation
show more ...
ssh: update to OpenSSH 9.2p1Release notes are available at https://www.openssh.com/txt/release-9.2OpenSSH 9.2 contains fixes for two security problems and a memory safetyproblem. The memory saf
ssh: update to OpenSSH 9.2p1Release notes are available at https://www.openssh.com/txt/release-9.2OpenSSH 9.2 contains fixes for two security problems and a memory safetyproblem. The memory safety problem is not believed to be exploitable.These fixes have already been committed to OpenSSH 9.1 in FreeBSD.Some other notable items from the release notes: * ssh(1): add a new EnableEscapeCommandline ssh_config(5) option that controls whether the client-side ~C escape sequence that provides a command-line is available. Among other things, the ~C command-line could be used to add additional port-forwards at runtime. * sshd(8): add support for channel inactivity timeouts via a new sshd_config(5) ChannelTimeout directive. This allows channels that have not seen traffic in a configurable interval to be automatically closed. Different timeouts may be applied to session, X11, agent and TCP forwarding channels. * sshd(8): add a sshd_config UnusedConnectionTimeout option to terminate client connections that have no open channels for a length of time. This complements the ChannelTimeout option above. * sshd(8): add a -V (version) option to sshd like the ssh client has. * scp(1), sftp(1): add a -X option to both scp(1) and sftp(1) to allow control over some SFTP protocol parameters: the copy buffer length and the number of in-flight requests, both of which are used during upload/download. Previously these could be controlled in sftp(1) only. This makes them available in both SFTP protocol clients using the same option character sequence. * ssh-keyscan(1): allow scanning of complete CIDR address ranges, e.g. "ssh-keyscan 192.168.0.0/24". If a CIDR range is passed, then it will be expanded to all possible addresses in the range including the all-0s and all-1s addresses. bz#976 * ssh(1): support dynamic remote port forwarding in escape command-line's -R processing. bz#3499MFC after: 1 weekSponsored by: The FreeBSD Foundation
ssh: update to OpenSSH 9.1p1Release notes are available at https://www.openssh.com/txt/release-9.19.1 contains fixes for three minor memory safety problems; these havelready been merged to the c
ssh: update to OpenSSH 9.1p1Release notes are available at https://www.openssh.com/txt/release-9.19.1 contains fixes for three minor memory safety problems; these havelready been merged to the copy of OpenSSH 9.0 that is in the FreeBSD basesystem.Some highlights copied from the release notes:Potentially-incompatible changes-------------------------------- * ssh(1), sshd(8): SetEnv directives in ssh_config and sshd_config are now first-match-wins to match other directives. Previously if an environment variable was multiply specified the last set value would have been used. bz3438 * ssh-keygen(8): ssh-keygen -A (generate all default host key types) will no longer generate DSA keys, as these are insecure and have not been used by default for some years.New features------------ * ssh(1), sshd(8): add a RequiredRSASize directive to set a minimum RSA key length. Keys below this length will be ignored for user authentication and for host authentication in sshd(8). * sftp-server(8): add a "[email protected]" extension request that allows the client to obtain user/group names that correspond to a set of uids/gids. * sftp(1): use "[email protected]" sftp-server extension (when available) to fill in user/group names for directory listings. * sftp-server(8): support the "home-directory" extension request defined in draft-ietf-secsh-filexfer-extensions-00. This overlaps a bit with the existing "[email protected]", but some other clients support it. * ssh-keygen(1), sshd(8): allow certificate validity intervals, sshsig verification times and authorized_keys expiry-time options to accept dates in the UTC time zone in addition to the default of interpreting them in the system time zone. YYYYMMDD and YYMMDDHHMM[SS] dates/times will be interpreted as UTC if suffixed with a 'Z' character. Also allow certificate validity intervals to be specified in raw seconds-since-epoch as hex value, e.g. -V 0x1234:0x4567890. This is intended for use by regress tests and other tools that call ssh-keygen as part of a CA workflow. bz3468 * sftp(1): allow arguments to the sftp -D option, e.g. sftp -D "/usr/libexec/sftp-server -el debug3" * ssh-keygen(1): allow the existing -U (use agent) flag to work with "-Y sign" operations, where it will be interpreted to require that the private keys is hosted in an agent; bz3429MFC after: 2 weeksRelnotes: YesSponsored by: The FreeBSD Foundation
ssh: move common Makefile boilerplate to a new ssh.mkThis moves SSHDIR and ssh_namespace.h handling to a common location,and will simplify future work such as adding U2F support (D32509).Reviewe
ssh: move common Makefile boilerplate to a new ssh.mkThis moves SSHDIR and ssh_namespace.h handling to a common location,and will simplify future work such as adding U2F support (D32509).Reviewed by: kevansMFC after: 1 weekSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D32808
libssh: Rearrange Makefile SRCS to match upstream Makefile.inSRCS entries are kept in the same order and with the same line breaksas upstream, to make comparison easier.Reported by: des
libssh: correct libssh src file listLink against the ssh-sk-helper client rather than the sk internalimplementation.PR: 258384Tested by: madpilotFixes: f448c3ed4ae1 ("openssh: Add new source
libssh: correct libssh src file listLink against the ssh-sk-helper client rather than the sk internalimplementation.PR: 258384Tested by: madpilotFixes: f448c3ed4ae1 ("openssh: Add new source files to libssl")Fixes: 19261079b743 ("openssh: update to OpenSSH v8.7p1")Sponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D32529
openssh: Add new source files to libsslAdd some new OpenSSH v8.7p1 source files to the ones being used tobuild libssl to avoid missing symbols.PR: 258384Fixes: 19261079b743
openssh: Add new source files to libsslAdd some new OpenSSH v8.7p1 source files to the ones being used tobuild libssl to avoid missing symbols.PR: 258384Fixes: 19261079b743 ("openssh: update to OpenSSH v8.7p1")Approved by: kevans (src)
openssh: update to OpenSSH v8.7p1Some notable changes, from upstream's release notes:- sshd(8): Remove support for obsolete "host/port" syntax.- ssh(1): When prompting whether to record a new ho
openssh: update to OpenSSH v8.7p1Some notable changes, from upstream's release notes:- sshd(8): Remove support for obsolete "host/port" syntax.- ssh(1): When prompting whether to record a new host key, accept the key fingerprint as a synonym for "yes".- ssh-keygen(1): when acting as a CA and signing certificates with an RSA key, default to using the rsa-sha2-512 signature algorithm.- ssh(1), sshd(8), ssh-keygen(1): this release removes the "ssh-rsa" (RSA/SHA1) algorithm from those accepted for certificate signatures.- ssh-sk-helper(8): this is a new binary. It is used by the FIDO/U2F support to provide address-space isolation for token middleware libraries (including the internal one).- ssh(1): this release enables UpdateHostkeys by default subject to some conservative preconditions.- scp(1): this release changes the behaviour of remote to remote copies (e.g. "scp host-a:/path host-b:") to transfer through the local host by default.- scp(1): experimental support for transfers using the SFTP protocol as a replacement for the venerable SCP/RCP protocol that it has traditionally used.Additional integration work is needed to support FIDO/U2F in the basesystem.Deprecation Notice------------------OpenSSH will disable the ssh-rsa signature scheme by default in thenext release.Reviewed by: impMFC after: 1 monthRelnotes: YesSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D29985
Replace literal uses of /usr/local in C sources with _PATH_LOCALBASELiteral references to /usr/local exist in a large number of files inthe FreeBSD base system. Many are in contributed software, i
Replace literal uses of /usr/local in C sources with _PATH_LOCALBASELiteral references to /usr/local exist in a large number of files inthe FreeBSD base system. Many are in contributed software, in configurationfiles, or in the documentation, but 19 uses have been identified in Csource files or headers outside the contrib and sys/contrib directories.This commit makes it possible to set _PATH_LOCALBASE in paths.h to usea different prefix for locally installed software.In order to avoid changes to openssh source files, LOCALBASE is passed tothe build via Makefiles under src/secure. While _PATH_LOCALBASE could havebeen used here, there is precedent in the construction of the path used toa xauth program which depends on the LOCALBASE value passed on the compilercommand line to select a non-default directory.This could be changed in a later commit to make the openssh buildconsistently use _PATH_LOCALBASE. It is considered out-of-scope for thiscommit.Reviewed by: impMFC after: 1 monthDifferential Revision: https://reviews.freebsd.org/D26942
Update Makefile.depend filesUpdate a bunch of Makefile.depend files asa result of adding Makefile.depend.options filesReviewed by: bdreweryMFC after: 1 weekSponsored by: Juniper NetworksDi
Update Makefile.depend filesUpdate a bunch of Makefile.depend files asa result of adding Makefile.depend.options filesReviewed by: bdreweryMFC after: 1 weekSponsored by: Juniper NetworksDifferential Revision: https://reviews.freebsd.org/D22494
openssh: cherry-pick OpenSSL 1.1.1 compatibilityCompatibility with existing OpenSSL versions is maintained.Upstream commits:482d23bcac upstream: hold our collective noses and use the openssl-1.1
openssh: cherry-pick OpenSSL 1.1.1 compatibilityCompatibility with existing OpenSSL versions is maintained.Upstream commits:482d23bcac upstream: hold our collective noses and use the openssl-1.1.x48f54b9d12 adapt -portable to OpenSSL 1.1x API86e0a9f3d2 upstream: use only openssl-1.1.x API here tooa3fd8074e2 upstream: missed a bit of openssl-1.0.x API in this unittestcce8cbe0ed Fix openssl-1.1 fallout for --without-openssl.Trivial conflicts in sshkey.c and test_sshkey.c were resolved.Connect libressl-api-compat.c to the build, and regenerate config.hReviewed by: desApproved by: re (rgrimes)MFC after: 2 seeksSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D17444
Upgrade to OpenSSH 7.8p1.Approved by: re (kib@)
Upgrade to OpenSSH 7.7p1.
Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1.This completely removes client-side support for the SSH 1 protocol,which was already disabled in 12 but is still enabled in 11. F
Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1.This completely removes client-side support for the SSH 1 protocol,which was already disabled in 12 but is still enabled in 11. For thatreason, we will not be able to merge 7.6p1 or newer back to 11.
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Fix invalid .o SRCS from r314527.MFC after: 1 weekSponsored by: Dell EMC Isilon
Upgrade to OpenSSH 7.4p1.
crypto: normalize paths using SRCTOP-relative paths or :H when possibleThis simplifies make logic/outputMFC after: 1 monthSponsored by: Dell EMC Isilon
Upgrade to OpenSSH 7.3p1.
Only bake krb5_config.h support in to ssh(3), etc if both MK_GSSAPI andMK_KERBEROS_SUPPORT != noThis fixes the odd case where someone specified MK_GSSAPI=no andMK_KERBEROS_SUPPORT=yes (which admi
Only bake krb5_config.h support in to ssh(3), etc if both MK_GSSAPI andMK_KERBEROS_SUPPORT != noThis fixes the odd case where someone specified MK_GSSAPI=no andMK_KERBEROS_SUPPORT=yes (which admittedly, probably doesn't make sense,but the build system doesn't prevent this case today, and it didn't whenI filed the bug back in 2011 either).MFC after: 2 weeksPR: 159745
Upgrade to OpenSSH 7.2p2.
DIRDEPS_BUILD: Update dependencies.Sponsored by: EMC / Isilon Storage Division
Upgrade to OpenSSH 7.0p1.
List source files (foo.c) instead of object files in SRCS.Reviewed by: bdrewery
1234