From nobody Thu Aug 24 15:24:42 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RWn231NlNz4rHFg; Thu, 24 Aug 2023 15:24:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RWn221dTHz4MXZ; Thu, 24 Aug 2023 15:24:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692890682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QUZlvbcr8G05t+LzHrl+aRNKrkTwodOJ91eOhYblHk0=; b=tkpsLue4cA19zcPdeI0atKsLOvUDciSJHwi0V2ZKJHua5tcbMtvUjk6OlMQScLxo6OSo5H 3IWC+HfpR67edUGYPLXctW3qjCcwVNin1pJLAUD1EX3Ebq3A46d3pMZcWnkiuytPcNW0co lIeCKTn7yU2KvrW3ZZBU9mllEIcUGcWP1a8sVfvcv97XTsO+pIVjzT9ChugAD9bw7fWbTl j4p2/G1bE58vPlhyimxcViEyYqjuzn7ejtkGdw8MPivZ+7m65L/imcCSn08RbyM5vqUv2C k8/zQn0nvq/x0Jn00YQeMJu1cjXJozvjhtHIaF7A3BleeQnnFEH0s3wSUsRsqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692890682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QUZlvbcr8G05t+LzHrl+aRNKrkTwodOJ91eOhYblHk0=; b=FDA9KUeP1FgMvgboCL/NwVfqpateLQSMFwi/ncjZhOzZiBH6Y4RfcGuXCbiV3TCrboNZTJ Tbf5fhWR616UKGmH07D6C6M12dLXS0lkc8ZPG6R0Mrlk1ZYWk9cJbeJ8Wfrw33YUN3Rsd9 X8wfWqBLay9n1QmkljtGWAC0ojvvGGCG+SdKPz5Bjb/ff5imReRBd9ScEpBXjkAEf3fyzN UJrUo1h7b0UFblhaWC6DSsMy4QRCdkcxczw35uPiHGiKKLygaM5In0dOtTE4WaZvenxWHc sc+sdO58DWQZbOkiqtEgaJ1JGOSBf705pFKYc+HkQh71+ZI9fYZwhRAGZqy78A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692890682; a=rsa-sha256; cv=none; b=umH9sC1C8KNA71eXUOsWFuBdTe1oohbed4waX41kFcUPQhP7i75dHEk3tKXRnUPb3zOjdW hNcc/ckS/uhOqmKhwnUGz0WF8aQnGwRc75YCeBDmy9+HozKjfla7aofvI0N4Fn7v+CTE+5 FojdTcGgJQBpHd8H7rFwrBuMxbOjC1NtjT/bvpeL4PZuHf3qcKYY7n4IAA20Uu/hIfwh2C r1E16r+yPSBJJx3PEPMscJLFDwTnfEj8JS2JG+ZVtelsg6T5N1Asdx6VfiRZQQ3IJReoyG 6nXqhEJBN0rffZSwiTE0kCJzNTw4M5mxzF6y8621jWrJq/ZZ5rfx9I9d4cvqzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RWn220kDgzX9n; Thu, 24 Aug 2023 15:24:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37OFOgLf094935; Thu, 24 Aug 2023 15:24:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37OFOgv4094932; Thu, 24 Aug 2023 15:24:42 GMT (envelope-from git) Date: Thu, 24 Aug 2023 15:24:42 GMT Message-Id: <202308241524.37OFOgv4094932@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Doug Rabson Subject: git: 1e8393f74b6c - main - sysutils/podman-suite: update to 20230817 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dfr X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e8393f74b6cc6f1f75e5be1bfbd4aca1d8db0f9 Auto-Submitted: auto-generated The branch main has been updated by dfr: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e8393f74b6cc6f1f75e5be1bfbd4aca1d8db0f9 commit 1e8393f74b6cc6f1f75e5be1bfbd4aca1d8db0f9 Author: Doug Rabson AuthorDate: 2023-08-17 10:59:10 +0000 Commit: Doug Rabson CommitDate: 2023-08-24 15:23:30 +0000 sysutils/podman-suite: update to 20230817 Approved by: imp Differential Revision: https://reviews.freebsd.org/D41490 --- net/containernetworking-plugins/pkg-message | 20 ++++++++++++++++++++ sysutils/podman-suite/Makefile | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/net/containernetworking-plugins/pkg-message b/net/containernetworking-plugins/pkg-message index 32b0f5b9dde1..47db23aecfd1 100644 --- a/net/containernetworking-plugins/pkg-message +++ b/net/containernetworking-plugins/pkg-message @@ -8,3 +8,23 @@ Edit /etc/pf.conf and set v4egress_if, v6egress_if to your network interface(s)s ... # sysrc pf_enable=YES # service pf start + +The sample PF configuration includes support for port redirections. These are +implemented as redirect rules in anchors nested under cni-rdr. + +Support for redirecting connections from the container host to services running +inside a container is included for FreeBSD 13.3 and later. To enable this, first +load the pf kernel module, by adding pf_load="YES" to /boot/loader.conf and +enable PF support for these redirections using sysctl: + +# kldload pf +# sysctl net.pf.filter_local=1 +# service pf restart + +These redirect rules do not currently work if the destination address is +localhost (e.g. 127.0.0.1 or ::1) - always use the hosts IP address when +connecting to a service inside a container using a port redirection. For example +if host port 1234 is redirected to an http service running in a container, you +could connect to it using: + +# fetch -o- http://$(hostname):1234 diff --git a/sysutils/podman-suite/Makefile b/sysutils/podman-suite/Makefile index 2b9c01cd67ea..173c4b64cfd8 100644 --- a/sysutils/podman-suite/Makefile +++ b/sysutils/podman-suite/Makefile @@ -1,5 +1,5 @@ PORTNAME= podman-suite -PORTVERSION= 20230721 +PORTVERSION= 20230817 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org