From: David Gibson <david@gibson.dropbear.id.au>
To: Volker Diels-Grabsch <v@njh.eu>
Cc: passt-dev@passt.top
Subject: Re: [PATCH v5 4/5] Fix --no-icmp description and make it imply --no-ndp
Date: Fri, 12 Sep 2025 11:18:17 +1000 [thread overview]
Message-ID: <aMN02cK-Cfnp5Fm3@zatzit> (raw)
In-Reply-To: <20250911201900.237677-8-v@njh.eu>
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
On Thu, Sep 11, 2025 at 10:19:03PM +0200, Volker Diels-Grabsch wrote:
> Signed-off-by: Volker Diels-Grabsch <v@njh.eu>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
> ---
> conf.c | 3 +++
> passt.1 | 4 ++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/conf.c b/conf.c
> index f47f48e..02e903b 100644
> --- a/conf.c
> +++ b/conf.c
> @@ -2067,6 +2067,9 @@ void conf(struct ctx *c, int argc, char **argv)
>
> isolate_user(uid, gid, !netns_only, userns, c->mode);
>
> + if (c->no_icmp)
> + c->no_ndp = 1;
> +
> if (c->pasta_conf_ns)
> c->no_ra = 1;
>
> diff --git a/passt.1 b/passt.1
> index cef98b2..dd00b08 100644
> --- a/passt.1
> +++ b/passt.1
> @@ -319,8 +319,8 @@ silently dropped.
>
> .TP
> .BR \-\-no-icmp
> -Disable the ICMP/ICMPv6 echo handler. ICMP and ICMPv6 echo requests coming from
> -guest or target namespace will be silently dropped.
> +Disable the ICMP/ICMPv6 protocol handler. ICMP and ICMPv6 requests coming from
> +guest or target namespace will be silently dropped. Implies \fB--no-ndp\fR.
>
> .TP
> .BR \-\-no-dhcp
> --
> 2.47.3
>
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-09-12 2:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 20:18 [PATCH v5 1/5] Show debug message whenever we learn a new guest MAC address Volker Diels-Grabsch
2025-09-11 20:18 ` [PATCH v5 2/5] Improve clarity of comment Volker Diels-Grabsch
2025-09-12 1:17 ` David Gibson
2025-09-11 20:19 ` [PATCH v5 3/5] Introduce constant MAC_BROADCAST Volker Diels-Grabsch
2025-09-12 1:17 ` David Gibson
2025-09-11 20:19 ` [PATCH v5 4/5] Fix --no-icmp description and make it imply --no-ndp Volker Diels-Grabsch
2025-09-12 1:18 ` David Gibson [this message]
2025-09-11 20:19 ` [PATCH v5 5/5] Send an initial ARP and NDP request to resolve the guest IP address Volker Diels-Grabsch
2025-09-12 3:29 ` David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aMN02cK-Cfnp5Fm3@zatzit \
--to=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
--cc=v@njh.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).