RSS

OpenBSD 6.3

16 Aprile 2018

OpenBSD

OpenBSD

Il progetto OpenBSD è sistema operativo UNIX basato su 4.4 BSD ed è gratuito e multipiattaforma. OpenBSD supporta l’emulazione binaria di molti programmi da Solaris, FreeBSD, Linux, BSD/OS, SunOS e HP-UX.

Versione 6.3

Questa versione contiene (in Inglese):

 

  • Improved hardware support, including:
    • SMP support on OpenBSD/arm64 platforms.
    • VFP and NEON support on OpenBSD/armv7 platforms.
    • New acrtc(4) driver for X-Powers AC100 audio codec and Real Time Clock.
    • New axppmic(4) driver for X-Powers AXP Power Management ICs.
    • New bcmrng(4) driver for Broadcom BCM2835/BCM2836/BCM2837 random number generator.
    • New bcmtemp(4) driver for Broadcom BCM2835/BCM2836/BCM2837 temperature monitor.
    • New bgw(4) driver for Bosch motion sensor.
    • New bwfm(4) driver for Broadcom and Cypress FullMAC 802.11 devices (still experimental and not compiled into the kernel by default)
    • New efi(4) driver for EFI runtime services.
    • New imxanatop(4) driver for i.MX6 integrated regulator.
    • New rkpcie(4) driver for Rockchip RK3399 Host/PCIe bridge.
    • New sxirsb(4) driver for Allwinner Reduced Serial Bus controller.
    • New sxitemp(4) driver for Allwinner temperature monitor.
    • New sxits(4) driver for temperature sensor on Allwinner A10/A20 touchpad controller.
    • New sxitwi(4) driver for two-wire bus found on several Allwinner SoCs.
    • New sypwr(4) driver for the Silergy SY8106A regulator.
    • Support for Rockchip RK3328 SoCs has been added to the dwge(4), rkgrf(4), rkclock(4) and rkpinctrl(4) drivers.
    • Support for Rockchip RK3288/RK3328 SoCs has been added to the rktemp(4) driver.
    • Support for Allwinner A10/A20, A23/A33, A80 and R40/V40 SoCs has been added to the sxiccmu(4) driver.
    • Support for Allwinner A33, GR8 and R40/V40 SoCs has been added to the sxipio(4) driver.
    • Support for SAS3.5 MegaRAIDs has been added to the mfii(4) driver.
    • Support for Intel Cannon Lake and Ice Lake integrated Ethernet has been added to the em(4) driver.
    • cnmac(4) ports are now assigned to different CPU cores for distributed interrupt processing.
    • The pms(4) driver now detects and handles reset announcements.
    • On amd64 Intel CPU microcode is loaded on boot and installed/updated by fw_update(1).
    • Support the sun4v hypervisor interrupt cookie API, adding support for SPARC T7-1/2/4 machines.
    • Hibernate support has been added for SD/MMC storage attached to sdhc(4) controllers.
    • clang(1) is now used as the system compiler on armv7, and it is also provided on sparc64.
  • vmm(4)/ vmd(8) improvements:
    • Add CD-ROM/DVD ISO support to vmd(8) via vioscsi(4).
    • vmd(8) no longer creates an underlying bridge interface for virtual switches defined in vm.conf(5).
    • vmd(8) receives switch information (rdomain, etc) from underlying switch interface in conjunction of settings in vm.conf(5).
    • Time Stamp Counter (TSC) support in guest VMs.
    • Support ukvm/Solo5 unikernels in vmm(4).
    • Handle valid (but uncommon) instruction encodings better.
    • Better PAE paging support for 32-bit Linux guest VMs.
    • vmd(8) now allows up to four network interfaces in each VM.
    • Add paused migration and snapshotting support to vmm(4) for AMD SVM/RVI hosts.
    • BREAK commands sent over a pty(4) are now understood by vmd(8).
    • Many fixes to vmctl(8) and vmd(8) error handling.
  • IEEE 802.11 wireless stack improvements:
    • The iwm(4) and iwn(4) drivers will automatically roam between access points which share an ESSID. Forcing a particular AP’s MAC address with ifconfig’s bssid command disables roaming.
    • Automatically clear configured WEP/WPA keys when a new network ESSID is configured.
    • Removed the ability for userland to read configured WEP/WPA keys back from the kernel.
    • The iwm(4) driver can now connect to networks with a hidden SSID.
    • USB devices supported by the athn(4) driver now use an open source firmware, and hostap mode now works with these devices.
  • Generic network stack improvements:
    • The network stack no longer runs with the KERNEL_LOCK() when IPsec is enabled.
    • Processing of incoming TCP/UDP packets is now done without KERNEL_LOCK().
    • The socket splicing task runs without KERNEL_LOCK().
    • Cleanup and removal of code in sys/netinet6 since autoconfiguration runs in userland now.
    • bridge(4) members can now be prevented to talk to each others with the new protected option.
    • The pf divert-packet feature has been simplified. The IP_DIVERTFL socket option has been removed from divert(4).
    • Various corner cases of pf divert-to and divert-reply are more consistent now.
    • Enforce in pf(4) that all neighbor discovery packets have 255 in their IPv6 header hop limit field.
    • New set syncookies option in pf.conf(5).
    • Support for GRE over IPv6.
    • New egre(4) driver for Ethernet over GRE tunnels.
    • Support for the optional GRE key header and GRE key entropy in gre(4) and egre(4).
    • New nvgre(4) driver for Network Virtualization using Generic Routing Encapsulation.
    • Support for configuring the Don’t Fragment flag on packets encapsulated by tunnel interfaces.
  • Installer improvements:
    • if install.site or upgrade.site fails, notify the user and error out after storing rand.seed.
    • allow CIDR notation when entering IPv4 and IPv6 addresses.
    • repair selection of a HTTP mirror from the list of mirrors.
    • allow ‘-‘ in usernames.
    • ask a question at the end of the install/upgrade process so carriage return causes the appropriate action, e.g. reboot.
    • display the mode (install or upgrade) shell prompts as long as no hostname is known.
    • correctly detect which interface has the default route and if it was configured via DHCP.
    • ensure sets can be read from the prefetch area.
    • ensure URL redirection is effective for entire install/upgrade.
    • add the HTTP proxy used when fetching sets to rc.firsttime, where fw_update and syspatch can find and use it.
    • add logic to support RFC 7217 with SLAAC.
    • ensure that IPv6 is configured for dynamically created network interfaces like vlan(4).
    • create correct hostname when both domain-name and domain-search options are provided in the DHCP lease.
  • Routing daemons and other userland network improvements:
    • bgpctl(8) has a new ssv option which outputs rib entries as a single semicolon-separated like for selection before output.
    • slaacd(8) generates random but stable IPv6 stateless autoconfiguration addresses according to RFC 7217. These are enabled per default in accordance with RFC 8064.
    • slaacd(8) follows RFC 4862 by removing an artificial limitation on /64 sized prefixes using RFC 7217 (random but stable) and RFC 4941 (privacy) style stateless autoconfiguration addresses.
    • ospfd(8) can now set the metric for a route depending on the status of an interface.
    • ifconfig(8) has a new staticarp option to make interfaces reply to ARP requests only.
    • ipsecctl(8) can now collapse flow outputs having the same source or destination.
    • The -n option in netstart(8) no longer messes with the default route. It is now documented as well.
  • Security improvements:
    • Use even more trap-sleds on various architectures.
    • More use of .rodata for constant variables in assembly source.
    • Stop using x86 “repz ret” in dusty corners of the tree.
    • Introduce “execpromises” in pledge(2).
    • The elfrdsetroot utility used to build ramdisks and the rebound(8) monitoring process now use pledge(2).
    • Prepare for the introduction of MAP_STACK to mmap(2) after 6.3.
    • Push a small piece of KARL-linked kernel text into the random number generator as entropy at startup.
    • Put a small random gap at the top of thread stacks, so that attackers have yet another calculation to perform for their ROP work.
    • Mitigation for Meltdown vulnerability for Intel brand amd64 CPUs.
    • OpenBSD/arm64 now uses kernel page table isolation to mitigate Spectre variant 3 (Meltdown) attacks.
    • OpenBSD/armv7 and OpenBSD/arm64 now flush the Branch Target Buffer (BTB) on processors that do speculative execution to mitigate Spectre variant 2 attacks.
    • pool_get(9) perturbs the order of items on newly allocated pages, making the kernel heap layout harder to predict.
    • The fktrace(2) system call was deleted.
  • dhclient(8) improvements:
    • Parsing dhclient.conf(5) no longer leaks SSID strings, strings that are too long for the parsing buffer or repeated string options and commands.
    • Storing leases in dhclient.conf(5) is no longer supported.
    • ‘DENY’ is no longer valid in dhclient.conf(5).
    • dhclient.conf(5) and dhclient.leases(5) parsing error messages have been simplified and clarified, with improved behaviour in the presence of unexpected semicolons.
    • More care is taken to only use configuration information that was successfully parsed.
    • ‘-n’ has been added, which causes dhclient(8) to exit after parsing dhclient.conf(5).
    • Default routes in options classless-static-routes (121) and classless-ms-static-routes (249) are now correctly represented in dhclient.leases(5) files.
    • Overwrite the file specified with ‘-L’ rather than appending to it.
    • Leases in dhclient.leases(5) now contain an ‘epoch’ attribute recording the time the lease was accepted, which is used to calculate correct renewal, rebinding and expiry times.
    • No longer nag about underscores in names violating RFC 952.
    • Unconditionally send host-name information when requesting a lease, eliminating the need for dhclient.conf(5) in the default installation.
    • Be quiet by default. ‘-q’ has been removed and ‘-v’ added to enable verbose logging.
    • Decline duplicate offers for the requested address.
    • Unconditionally go into the background after link-timeout seconds.
    • Significantly reduce logging when being quiet, but make ‘-v’ log all debug information without needing to compile a custom executable.
    • Ignore ‘interface’ statements in dhclient.leases(5) and assume all leases in the file are for the interface being configured.
    • Display the source of the lease bound to the interface.
    • ‘ignore’, ‘request’ and ‘require’ declarations in dhclient.conf(5) now add the specified options to the relevant list rather than replacing the list.
    • Eliminate a startup race that could result in dhclient(8) exiting without configuring the interface.
  • Assorted improvements:
    • Code reorganization and other improvements to malloc(3) and friends to make them more efficient.
    • When performing suspend or hibernate operations, ensure all filesystems are properly synchronized and marked clean, or if they cannot be put into perfectly clean state on disk (due to open+unlinked files) then mark them dirty, so that a failed resume/unhibernate is guaranteed to perform fsck(8).
    • acme-client(1) autodetects the agreement URL and follows 30x HTTP redirects.
    • Added __cxa_thread_atexit() to support modern C++ tool chains.
    • Added EVFILT_DEVICE support to kqueue(2) for monitoring changes to drm(4) devices.
    • ldexp(3) now handles the sign of denormal numbers correctly on mips64.
    • New sincos(3) functions in libm.
    • fdisk(8) now ensures the validity of MBR partition offsets entered while editing.
    • fdisk(8) now ensures that default values lie within the valid range.
    • less(1) now splits only the environment variable LESS on ‘$’.
    • less(1) no longer creates a spurious file when encountering ‘$’ in the initial command.
    • softraid(4) now validates the number of chunks when assembling a volume, ensuring the on-disk and in-memory metadata are in sync.
    • disklabel(8) now always offers to edit an FFS partition’s fragment size before offering to edit the blocksize.
    • disklabel(8) now allows editing the cylinders/group (cpg) attribute whenever the partition blocksize can be edited.
    • disklabel(8) now detects ^D and invalid input during (R)esize commands.
    • disklabel(8) now detects underflows and overflows when -/+ operators are used.
    • disklabel(8) now avoids an off-by-one when calculating the number of cylinders in a free chunk.
    • disklabel(8) now validates the requested partition size against the size of the largest free chunk instead of the total free space.
    • Support for dumping USB transfers via bpf(4).
    • tcpdump(8) can now understand dumps of USB transfers in the USBPcap format.
    • The default prompts of csh(1), ksh(1) and sh(1) now include the hostname.
    • Memory allocation in ksh(1) was switched from calloc(3) back to malloc(3), making it easier to recognize uninitialized memory. As a result, a history-related bug in emacs editing mode was discovered and fixed.
    • New script(1) -c option to run a command instead of a shell.
    • New grep(1) -m option to limit the number of matches.
    • New uniq(1) -i option for case-insensitive comparison.
    • The printf(3) format string is no longer validated when looking for % formats. Based on a commit by android and following most other operating systems.
    • Improved error checking in vfwprintf(3).
    • Many base programs have been audited and fixed for stale file descriptors, including cron(8), ftp(1), mandoc(1), openssl(1), ssh(1) and sshd(8).
    • Various bug fixes and improvements in jot(1):
      • Arbitrary length limits for the arguments for the -b, -s, -w options were removed.
      • The %F format specifier is now supported and a bug in the %D format was fixed.
      • Better code coverage in regression tests.
      • Several buffer overruns were fixed.
    • The patch(1) utility now copes better with git diffs that create or delete files.
    • pkg_add(1) now has improved support for HTTP(S) redirectors such as cdn.openbsd.org.
    • ftp(1) and pkg_add(1) now support HTTPS session resumption for improved speed.
    • mandoc(1) -T ps output file size reduced by more than 50%.
    • syslogd(8) logs if there were warnings during startup.
    • syslogd(8) stopped logging to files in a full filesystem. Now it writes a warning and continues after space has been made available.
    • vmt(4) now allows cloning and taking disk-only snapshots of running guests.
  • OpenSMTPD 6.0.4
    • Add spf walk option to smtpctl(8).
    • Assorted cleanups and improvements.
    • Numerous manual page fixes and improvements.
  • OpenSSH 7.7
    • New/changed features:
      • All: Add experimental support for PQC XMSS keys (Extended Hash- Based Signatures) based on the algorithm described in https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12 The XMSS signature code is experimental and not compiled in by default.
      • sshd(8): Add a “rdomain” criteria for the sshd_config Match keyword to allow conditional configuration that depends on which routing domain a connection was received on (currently supported on OpenBSD and Linux).
      • sshd_config(5): Add an optional rdomain qualifier to the ListenAddress directive to allow listening on different routing domains. This is supported only on OpenBSD and Linux at present.
      • sshd_config(5): Add RDomain directive to allow the authenticated session to be placed in an explicit routing domain. This is only supported on OpenBSD at present.
      • sshd(8): Add “expiry-time” option for authorized_keys files to allow for expiring keys.
      • ssh(1): Add a BindInterface option to allow binding the outgoing connection to an interface’s address (basically a more usable BindAddress).
      • ssh(1): Expose device allocated for tun/tap forwarding via a new %T expansion for LocalCommand. This allows LocalCommand to be used to prepare the interface.
      • sshd(8): Expose the device allocated for tun/tap forwarding via a new SSH_TUNNEL environment variable. This allows automatic setup of the interface and surrounding network configuration automatically on the server.
      • ssh(1)/scp(1)/sftp(1): Add URI support to ssh, sftp and scp, e.g. ssh://user@host or sftp://user@host/path. Additional connection parameters described in draft-ietf-secsh-scp-sftp-ssh-uri-04 are not implemented since the ssh fingerprint format in the draft uses the deprecated MD5 hash with no way to specify the any other algorithm.
      • ssh-keygen(1): Allow certificate validity intervals that specify only a start or stop time (instead of both or neither).
      • sftp(1): Allow “cd” and “lcd” commands with no explicit path argument. lcd will change to the local user’s home directory as usual. cd will change to the starting directory for session (because the protocol offers no way to obtain the remote user’s home directory). bz#2760
      • sshd(8): When doing a config test with sshd -T, only require the attributes that are actually used in Match criteria rather than (an incomplete list of) all criteria.
    • The following significant bugs have been fixed in this release:
      • ssh(1)/sshd(8): More strictly check signature types during key exchange against what was negotiated. Prevents downgrade of RSA signatures made with SHA-256/512 to SHA-1.
      • sshd(8): Fix support for client that advertise a protocol version of “1.99” (indicating that they are prepared to accept both SSHv1 and SSHv2). This was broken in OpenSSH 7.6 during the removal of SSHv1 support. bz#2810
      • ssh(1): Warn when the agent returns a ssh-rsa (SHA1) signature when a rsa-sha2-256/512 signature was requested. This condition is possible when an old or non-OpenSSH agent is in use. bz#2799
      • ssh-agent(1): Fix regression introduce in 7.6 that caused ssh-agent to fatally exit if presented an invalid signature request message.
      • sshd_config(5): Accept yes/no flag options case-insensitively, as has been the case in ssh_config(5) for a long time. bz#2664
      • ssh(1): Improve error reporting for failures during connection. Under some circumstances misleading errors were being shows. bz#2814
      • ssh-keyscan(1): Add -D option to allow printing of results directly in SSHFP format. bz#2821
      • regress tests: fix PuTTY interop test broken in last release’s SSHv1 removal. bz#2823
      • ssh(1): Compatibility fix for some servers that erroneously drop the connection when the IUTF8 (RFC8160) option is sent.
      • scp(1): Disable RemoteCommand and RequestTTY in the ssh session started by scp (sftp was already doing this.)
      • ssh-keygen(1): Refuse to create a certificate with an unusable number of principals.
      • ssh-keygen(1): Fatally exit if ssh-keygen is unable to write all the public key during key generation. Previously it would silently ignore errors writing the comment and terminating newline.
      • ssh(1): Do not modify hostname arguments that are addresses by automatically forcing them to lower-case. Instead canonicalise them to resolve ambiguities (e.g. ::0001 => ::1) before they are matched against known_hosts. bz#2763
      • ssh(1): Don’t accept junk after “yes” or “no” responses to hostkey prompts. bz#2803
      • sftp(1): Have sftp print a warning about shell cleanliness when decoding the first packet fails, which is usually caused by shells polluting stdout of non-interactive startups. bz#2800
      • ssh(1)/sshd(8): Switch timers in packet code from using wall-clock time to monotonic time, allowing the packet layer to better function over a clock step and avoiding possible integer overflows during steps.
      • Numerous manual page fixes and improvements.
  • LibreSSL 2.7.2
    • Added support for many OpenSSL 1.0.2 and 1.1 APIs, based on observations of real-world usage in applications. These are implemented in parallel with existing OpenSSL 1.0.1 APIs – visibility changes have not been made to existing structs, allowing code written for older OpenSSL APIs to continue working.
    • Extensive corrections, improvements, and additions to the API documentation, including new public APIs from OpenSSL that had no pre-existing documentation.
    • Added support for automatic library initialization in libcrypto, libssl, and libtls. Support for pthread_once or a compatible equivalent is now required of the target operating system. As a side-effect, minimum Windows support is Vista or higher.
    • Converted more packet handling methods to CBB, which improves resiliency when generating TLS messages.
    • Completed TLS extension handling rewrite, improving consistency of checks for malformed and duplicate extensions.
    • Rewrote ASN1_TYPE_{get,set}_octetstring() using templated ASN.1. This removes the last remaining use of the old M_ASN1_* macros (asn1_mac.h) from API that needs to continue to exist.
    • Added support for client-side session resumption in libtls. A libtls client can specify a session file descriptor (a regular file with appropriate ownership and permissions) and libtls will manage reading and writing of session data across TLS handshakes.
    • Improved support for strict alignment on ARMv7 architectures, conditionally enabling assembly in those cases.
    • Fixed a memory leak in libtls when reusing a tls_config.
    • Merged more DTLS support into the regular TLS code path, removing duplicated code.

 

Risorse

La distribuzione può essere scaricata da:

Il sito web della dstribuzione è: http://www.openbsd.org/

Screenshot

OpenBSD 5.3

OpenBSD 5.3

Conclusioni

Si può aggiornare dalla versione precedente.

Subscribe

Subscribe to our e-mail newsletter to receive updates.

No comments yet.

Leave a Reply