From: Phil Sutter <phil@nwl.cc>
To: Rohit Geetha Bal <rohitgbal@gmail.com>
Cc: netfilter-devel@vger.kernel.org,
Rohit Geetha Bal <rohit.geetha-bal@telenor.se>
Subject: Re: [PATCH] trace: Fix incorrect ICMP code representation
Date: Thu, 26 Nov 2026 21:49:35 +0100 [thread overview]
Message-ID: <awibX916hTQGJi81@orbyte.nwl.cc> (raw)
In-Reply-To: <20261125195405.2279-1-rohit.geetha-bal@telenor.se>
Hi Rohit,
On Wed, Nov 25, 2026 at 07:54:05PM +0000, Rohit Geetha Bal wrote:
> Fix incorrect ICMP code representation in packet trace output.
The description is a bit meager given the elaborate bug report you're
linking to.
> Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=222272
This is the wrong bugzilla. Correct link is:
https://bugzilla.kernel.org/show_bug.cgi?id=222272
Please keep in mind that links to external web sites should not replace
commit descriptions since they are prone to go 404 sooner or later.
> Signed-off-by: Rohit Geetha Bal <rohit.geetha-bal@telenor.se>
> Tested-by: Rohit Geetha Bal <rohit.geetha-bal@telenor.se>
A bit redundant, one may expect that an author did test their code. :)
BTW: How did you test it? I'm failing to do so, using a simple rule 'oif
"test0" meta nftrace set 1'. Pinging from both sides gives me:
| # nft monitor trace
| trace id 058e9d40 ip t c packet: oif "test0" ip saddr 10.0.0.1 ip daddr 10.0.0.2 ip dscp cs0 ip ecn not-ect ip ttl 64 ip id 14699 ip length 84 icmp type echo-request icmp code 0 icmp id 52743 icmp sequence 1
| trace id 058e9d40 ip t c rule oif "test0" meta nftrace set 1 (verdict continue)
| trace id 058e9d40 ip t c policy accept
| trace id 81be10a5 ip t c packet: oif "test0" ip saddr 10.0.0.1 ip daddr 10.0.0.2 ip dscp cs0 ip ecn not-ect ip ttl 64 ip id 23411 ip length 84 icmp type echo-reply icmp code 0 icmp id 17703 icmp sequence 1
| trace id 81be10a5 ip t c rule oif "test0" meta nftrace set 1 (verdict continue)
| trace id 81be10a5 ip t c policy accept
Having 'icmp code 0' in there is fine, I guess.
Cheers, Phil
next prev parent reply other threads:[~2026-11-26 20:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 19:54 [PATCH] trace: Fix incorrect ICMP code representation Rohit Geetha Bal
2026-11-26 20:49 ` Phil Sutter [this message]
2026-12-04 11:28 ` Geetha Bal Rohit (Telenor Sverige AB)
2026-12-04 13:41 ` Phil Sutter
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=awibX916hTQGJi81@orbyte.nwl.cc \
--to=phil@nwl.cc \
--cc=netfilter-devel@vger.kernel.org \
--cc=rohit.geetha-bal@telenor.se \
--cc=rohitgbal@gmail.com \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.