From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 64DB65A026F for ; Mon, 18 Mar 2024 11:59:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710759546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v0PLe0gmC/cYwpi0bJJ6433mfOv9/duU15KpBCNA1Vk=; b=HKVnWfkg3acCzHjrVdIbQsyGSRC5D3gFBxTr3iX53fjA71XmOdq4SW3Zo6zxxIYV+xg3A3 lUnS4RZUI4pseBZoJto1bnaGzPLYQ4GLhudsBh9chnhQjK7UTvF+5IdoUN0r5qfcAU15ia A27U2O4Hg1NJaLpvYC2cWwc4+Si/JhI= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-193-OiX9StoAPdOxMCFZ7c--2A-1; Mon, 18 Mar 2024 06:59:05 -0400 X-MC-Unique: OiX9StoAPdOxMCFZ7c--2A-1 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-568b46494aaso996958a12.3 for ; Mon, 18 Mar 2024 03:59:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710759543; x=1711364343; h=content-transfer-encoding:mime-version:organization:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v0PLe0gmC/cYwpi0bJJ6433mfOv9/duU15KpBCNA1Vk=; b=bMWqKQiReteNkuJtRW1jgdF5+QIWN/QxIU8WlTjFCLu2GyaAl7/G9NJcTJSVJeF569 QwJQfuWAFkjgAHrOImSInPO+apZwLxwgLp1JYHHv3iR+KPSI8UVG5/3jLIm5YKG+bDbo tnBceyKgdZrWrWKI/z7vK0u0ng1g9TOrNA2cEmO0DcpOUeuAkfxnioay2dFaS9cmrqvO wJkZ4f0dMioqceWHGMGQC3XqoRwFGmXfdWk3xTSY9BIuhaZ2e3SJUBnXnzYc8csmz4EY Bq2A6iy3mUCSAu3JJ4z60dci9F1u3idXhm/PoioFW5fhK3VngN7iNf9G0R+17FWPQovM DJYg== X-Gm-Message-State: AOJu0YwqNvkEN4hodrpUB3xFufehnvauKDbm/TsFpbr/tjH3LyoLPHJx NRg3/8f4XvG6QqRy9JMzjZDZnmsm1YtECedStoWTYHZxUbxCVFvn/fSUbghWB+iBatUVVwzM0MO OVQZx5qx+zRRrT00Wxc36iQUkOBuoaBmiQMlid51FnXF0GHomzq8= X-Received: by 2002:a05:6402:2423:b0:568:941c:2f0a with SMTP id t35-20020a056402242300b00568941c2f0amr8907160eda.15.1710759543585; Mon, 18 Mar 2024 03:59:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGlSFUylGnTthb0ChFaKHHF2VuFZIUoj35U9W1eFV4BqDTaiEmfeOiktXJqrDvHt0Z2xHy6zw== X-Received: by 2002:a05:6402:2423:b0:568:941c:2f0a with SMTP id t35-20020a056402242300b00568941c2f0amr8907133eda.15.1710759542854; Mon, 18 Mar 2024 03:59:02 -0700 (PDT) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id v6-20020aa7d9c6000000b0056b8261517fsm291703eds.3.2024.03.18.03.59.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2024 03:59:02 -0700 (PDT) Date: Mon, 18 Mar 2024 11:58:28 +0100 From: Stefano Brivio To: passt-user@passt.top Subject: passt: new version 2024_03_18.615d370 available Message-ID: <20240318115655.0863abbb@elisabeth> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: PW4VKE622HNXUUMFPS3RIJY7BOUJDUIY X-Message-ID-Hash: PW4VKE622HNXUUMFPS3RIJY7BOUJDUIY X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: "For passt users: support, questions and answers" Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The new version with tag 2024_03_18.615d370 includes the following changes: 615d370 fedora: Switch license identifier to SPDX d989eae udp: Translate source address of resolver only for DNS remapped queries f919dc7 conf, netlink: Don't require a default route to start f00b153 netlink: Don't try to get further datagrams in nl_route_dup() on NLMSG_DONE d3eb0d7 tap: Rename tap_iov_{base,len} 4db947d tap: Implement tap_send() "slow path" in terms of fast path 1ebe787 tap: Simplify some casts in the tap "slow path" functions 2d0e008 tap: Extend tap_send_frames() to allow multi-buffer frames f67238a passt, log: Call __openlog() earlier, log to stderr until we detach 3fe9878 pcap: Use clock_gettime() instead of gettimeofday() 0761f29 passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses 4d05ba2 conf: Warn if we can't advertise any nameserver via DHCP, NDP, or DHCPv6 4388163 conf: Handle addresses passed via --dns just like the ones from resolv.conf b299942 tap: Capture only packets that are actually sent 413c159 udp: Use existing helper for UDP checksum on inbound IPv6 packets ae69838 udp: Avoid unnecessary pointer in udp_update_hdr4() b0419d1 udp: Re-order udp_update_hdr[46] for clarity and brevity 8a842e0 udp: Pass data length explicitly to to udp_update_hdr[46] 76571ae udp: Consistent port variable names in udp_update_hdr[46] 205b140 udp: Refactor udp_sock[46]_iov_init() 860d276 conf: Don't warn if nameservers were found, but won't be advertised 4779dfe icmp: Use 'flowside' epoll references for ping sockets 02cbdb0 icmp: Flow based error reporting 3af5e9f icmp: Store ping socket information in flow table 383a6f6 ip: Use regular htons() for non-constant protocol number in L2_BUF_IP4_PSUM 137ce01 iov: Improve documentation of iov_skip_bytes() bb11d15 tcp: Introduce tcp_fill_headers4()/tcp_fill_headers6() 6b22e10 tap: make tap_update_mac() generic 7df624e checksum: introduce functions to compute the header part checksum for TCP/UDP feb4900 checksum: use csum_ip4_header() in udp.c and tcp.c e82b4fe udp: little cleanup in udp_update_hdrX() to prepare future changes 324bd46 util: move IP stuff from util.[ch] to ip.[ch] e289d28 checksum: add csum_iov() 907621e checksum: align buffers 94502fa pcap: add pcap_iov() 3b9098a fwd: Rename port_fwd.[ch] and their contents 10376e7 port_fwd: Fix copypasta error in port_fwd_scan_udp() comments f15be71 tap: Disallow loopback addresses on tap interface 3b59b97 tcp: Validate TCP endpoint addresses dc9a5d7 tcp, tcp_splice: Parse listening socket epoll ref in tcp_listen_handler() ee677e0 tcp_splice: Improve logic deciding when to splice 4c2d923 tcp_splice: Improve error reporting on connect path f0e2a6b tcp_splice: Make tcp_splice_connect() create its own sockets f4e5d73 tcp_splice: Merge tcp_splice_new() into its caller 04d3d02 tcp_splice: More specific variable names in new splice path 0f938c3 flow: Clarify flow entry life cycle, introduce uniform logging d0550f9 tcp_splice: Don't use flow_trace() before setting flow type 80f9b61 tcp_splice: Simplify clean up logic 76c7e1d flow: Add helper to determine a flow's protocol bb9bf0b tcp, udp: Don't precompute port remappings in epoll references e196ead util: Allow IN4_IS_* macros to operate on untyped addresses f6e6e8a inany: Introduce union sockaddr_inany 0cf6b2d inany: Provide more conveniently typed constants for special addresses 330b5db inany: Add inany_ntop() helper d31277e inany: Helper to test for various address types 9a3fb5e tap: Use write_remainder() in tap_send_frames_passt() dda7945 pcap: Handle short writes in pcap_frame() 8bdb088 util: Add write_remainder() helper 24410b3 pcap: Update pcap_frame() to take an iovec and offset 64b63d9 iov: Add helper to find skip over first n bytes of an io vector 2a6f8bc iov: add some functions to manage iovec 90f1d3b udp: Remove unnecessary test for unspecified addr_out 745fa38 udp: Fix incorrect usage of IPv6 state in IPv4 path deea5a8 udp: Small streamline to udp_update_hdr4() bc2d0d3 udp: Set pif in epoll reference for ephemeral host sockets 720d777 udp: Don't attempt to translate a 0.0.0.0 source address bee61dd conf: If no interface with a default route was found, say it 925af4e Makefile: check for cppcheck's --check-level option in cppcheck target 15001b3 conf: set the log level much earlier b087165 passt: make --quiet set the log level to warning e5e6f29 tcp: Don't store errnos in socket pool fe27ebc tcp, tcp_splice: Helpers for getting sockets from the pools fbe81de tcp, tcp_splice: Issue warnings if unable to refill socket pool 554b3ae tcp: Stop on first error when refilling socket pools af303fd tcp: Don't stop refilling socket pool if we find a filled entry 4e08d9b treewide: Use sa_family_t for address family variables https://passt.top/passt/log/?qt=range&q=2024_02_20.1e6f92b..2024_03_18.615d370 Packages: - Alpine Linux: https://pkgs.alpinelinux.org/packages?name=passt - Arch Linux: https://www.archlinux.org/packages/extra/x86_64/passt/ https://archlinuxarm.org/packages/aarch64/passt https://archlinuxarm.org/packages/armv7h/passt - Debian tracker: https://tracker.debian.org/pkg/passt - Copr (CentOS Stream, EPEL, Fedora, Mageia): https://copr.fedorainfracloud.org/coprs/sbrivio/passt/build/7176272/ permanent mirror: https://passt.top/builds/copr/0^20240318.g615d370/ - Fedora updates: https://bodhi.fedoraproject.org/updates/?packages=passt - Gentoo versions: https://packages.gentoo.org/packages/net-misc/passt - GNU Guix: https://packages.guix.gnu.org/packages/passt/ - Ubuntu tracker: https://launchpad.net/ubuntu/+source/passt - Void Linux: https://voidlinux.org/packages/?q=passt - Static builds: - Package for other RPM-based distributions, x86_64 only: https://passt.top/builds/latest/x86_64/passt-g615d370-1.x86_64.rpm - x86_64 static binaries: https://passt.top/builds/latest/x86_64/ - Debian package, from x86_64 static build: https://passt.top/builds/latest/x86_64/passt_615d370-1_all.deb -- Stefano