Recommended update for libslirp, slirp4netns

Announcement ID: SUSE-RU-2023:1913-1
Rating: moderate
References:
Affected Products:
  • Containers Module 15-SP4
  • openSUSE Leap 15.3
  • openSUSE Leap 15.4
  • openSUSE Leap Micro 5.3
  • Server Applications Module 15-SP4
  • SUSE Enterprise Storage 7.1
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise Micro 5.1
  • SUSE Linux Enterprise Micro 5.2
  • SUSE Linux Enterprise Micro 5.3
  • SUSE Linux Enterprise Micro 5.4
  • SUSE Linux Enterprise Micro for Rancher 5.2
  • SUSE Linux Enterprise Micro for Rancher 5.3
  • SUSE Linux Enterprise Micro for Rancher 5.4
  • SUSE Linux Enterprise Real Time 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3

An update that contains one feature and has one fix can now be installed.

Description:

This update for libslirp and slirp4netns fixes the following issues:

libslirp was updated to version 4.7.0+44 (current git master):

  • Fix vmstate regression
  • Align outgoing packets
  • Bump incoming packet alignment to 8 bytes
  • vmstate: only enable when building under GNU C
  • ncsitest: Fix build with msvc
  • Separate out SLIRP_PACKED to SLIRP_PACKED_BEGIN/END
  • ncsi: Add Mellanox Get Mac Address handler
  • slirp: Add out-of-band ethernet address
  • ncsi: Add OEM command handler
  • ncsi: Add basic test for Get Version ID response
  • ncsi: Use response header for payload length
  • ncsi: Pass command header to response handlers
  • ncsi: Add Get Version ID command
  • ncsi: Pass Slirp structure to response handlers
  • slirp: Add manufacturer's ID

Release v4.7.0

  • slirp: invoke client callback before creating timers
  • pingtest: port to timer_new_opaque
  • introduce timer_new_opaque callback
  • introduce slirp_timer_new wrapper
  • icmp6: make ndp_send_ra static
  • socket: Handle ECONNABORTED from recv
  • bootp: fix g_str_has_prefix warning/critical
  • slirp: Don't duplicate packet in tcp_reass
  • Rename insque/remque -> slirp_[ins|rem]que
  • mbuf: Use SLIRP_DEBUG to enable mbuf debugging instead of DEBUG
  • Replace inet_ntoa() with safer inet_ntop()
  • Add VMS_END marker
  • bootp: add support for UEFI HTTP boot
  • IPv6 DNS proxying support
  • Add missing scope_id in caching
  • socket: Move closesocket(so->s_aux) to sofree
  • socket: Check so_type instead of so_tcpcb for Unix-to-inet translation
  • socket: Add s_aux field to struct socket for storing auxilliary socket
  • socket: Initialize so_type in socreate
  • socket: Allocate Unix-to-TCP hostfwd port from OS by binding to port 0
  • Allow to disable internal DHCP server
  • slirp_pollfds_fill: Explain why dividing so_snd.sb_datalen by two
  • CI: run integration tests with slirp4netns
  • socket: Check address family for Unix-to-inet accept translation
  • socket: Add debug args for tcpx_listen (inet and Unix sockets)
  • socket: Restore original definition of fhost
  • socket: Move <sys/un.h> include to socket.h
  • Support Unix sockets in hostfwd
  • resolv: fix IPv6 resolution on Darwin
  • Use the exact sockaddr size in getnameinfo call
  • Initialize sin6_scope_id to zero
  • slirp_socketpair_with_oob: Connect pair through 127.0.0.1
  • resolv: fix memory leak when using libresolv
  • pingtest: Add a trivial ping test
  • icmp: Support falling back on trying a SOCK_RAW socket

Update to version 4.6.1+7:

  • Haiku: proper path to resolv.conf for DNS server
  • Fix for Haiku
  • dhcp: Always send DHCP_OPT_LEN bytes in options

Update to version 4.6.1:

  • Fix "DHCP broken in libslirp v4.6.0"

Update to version 4.6.0:

  • udp: check upd_input buffer size
  • tftp: introduce a header structure
  • tftp: check tftp_input buffer size
  • upd6: check udp6_input buffer size
  • bootp: check bootp_input buffer size
  • bootp: limit vendor-specific area to input packet memory buffer

Update to version 4.4.0:

  • socket: consume empty packets
  • slirp: check pkt_len before reading protocol header
  • Add DNS resolving for iOS
  • sosendoob: better document what urgc is used for
  • TCPIPHDR_DELTA: Fix potential negative value
  • udp, udp6, icmp, icmp6: Enable forwarding errors on Linux
  • icmp, icmp6: Add icmp_forward_error and icmp6_forward_error
  • udp, udp6, icmp: handle TTL value
  • ip_stripoptions use memmove

slirp4netns was updated to 1.2.0:

  • Add slirp4netns --target-type=bess /path/to/bess.sock for supporting UML (#281)
  • Explicitly support DHCP (#270)
  • Update parson to v1.1.3 (#273) kgabis/parson@70dc239...2d7b3dd

Update to version 1.1.11:

  • Add --macaddress option to specify the MAC address of the tap interface.
  • Updated the man page.

Update to version 1.1.8:

Update to 1.0.0:

  • --enable-sandbox is now out of experimental

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.3
    zypper in -t patch SUSE-2023-1913=1
  • openSUSE Leap Micro 5.3
    zypper in -t patch openSUSE-Leap-Micro-5.3-2023-1913=1
  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2023-1913=1
  • SUSE Linux Enterprise Micro for Rancher 5.3
    zypper in -t patch SUSE-SLE-Micro-5.3-2023-1913=1
  • SUSE Linux Enterprise Micro 5.3
    zypper in -t patch SUSE-SLE-Micro-5.3-2023-1913=1
  • SUSE Linux Enterprise Micro for Rancher 5.4
    zypper in -t patch SUSE-SLE-Micro-5.4-2023-1913=1
  • SUSE Linux Enterprise Micro 5.4
    zypper in -t patch SUSE-SLE-Micro-5.4-2023-1913=1
  • Containers Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Containers-15-SP4-2023-1913=1
  • Server Applications Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP4-2023-1913=1
  • SUSE Linux Enterprise Real Time 15 SP3
    zypper in -t patch SUSE-SLE-Product-RT-15-SP3-2023-1913=1
  • SUSE Enterprise Storage 7.1
    zypper in -t patch SUSE-Storage-7.1-2023-1913=1
  • SUSE Linux Enterprise Micro 5.1
    zypper in -t patch SUSE-SUSE-MicroOS-5.1-2023-1913=1
  • SUSE Linux Enterprise Micro 5.2
    zypper in -t patch SUSE-SUSE-MicroOS-5.2-2023-1913=1
  • SUSE Linux Enterprise Micro for Rancher 5.2
    zypper in -t patch SUSE-SUSE-MicroOS-5.2-2023-1913=1

Package List:

  • openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64 i586)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • libslirp-devel-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
  • openSUSE Leap Micro 5.3 (aarch64 x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • libslirp-devel-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
  • SUSE Linux Enterprise Micro for Rancher 5.3 (aarch64 s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • SUSE Linux Enterprise Micro 5.3 (aarch64 s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • SUSE Linux Enterprise Micro for Rancher 5.4 (aarch64 s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • SUSE Linux Enterprise Micro 5.4 (aarch64 s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • Containers Module 15-SP4 (aarch64 ppc64le s390x x86_64)
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • slirp4netns-1.2.0-150300.8.5.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • Server Applications Module 15-SP4 (aarch64 ppc64le s390x x86_64)
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • libslirp-devel-4.7.0+44-150300.15.2
  • SUSE Linux Enterprise Real Time 15 SP3 (x86_64)
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • libslirp-devel-4.7.0+44-150300.15.2
  • SUSE Enterprise Storage 7.1 (aarch64 x86_64)
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • slirp4netns-1.2.0-150300.8.5.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • SUSE Linux Enterprise Micro 5.1 (aarch64 s390x x86_64)
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
  • SUSE Linux Enterprise Micro 5.2 (aarch64 s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2
  • SUSE Linux Enterprise Micro for Rancher 5.2 (aarch64 s390x x86_64)
    • slirp4netns-1.2.0-150300.8.5.2
    • libslirp0-debuginfo-4.7.0+44-150300.15.2
    • slirp4netns-debugsource-1.2.0-150300.8.5.2
    • libslirp0-4.7.0+44-150300.15.2
    • libslirp-debugsource-4.7.0+44-150300.15.2
    • slirp4netns-debuginfo-1.2.0-150300.8.5.2

References: