netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "William N." <netfilter@riseup.net>
To: netfilter@vger.kernel.org
Subject: Re: Combining/compacting 2 rules into 1
Date: Wed, 17 Apr 2024 14:12:30 -0000	[thread overview]
Message-ID: <20240417141230.0bc7b1bf@localhost> (raw)
In-Reply-To: <2e3ee5dc-0628-47c0-937b-21daac1c76c0@app.fastmail.com>

Just tested on Debian 12:

# hping3 <host> -c 1 --syn --tcp-mss 100

This triggers the discussed rule (output from 'nft monitor trace'):

...
trace id 98d76ca4 netdev filter ingress rule meta protocol . tcp option maxseg size { ip . 0-535, ip6 . 0-1219 } tcp flags syn log prefix "TCP MSS: " counter packets 0 bytes 0 drop (verdict drop)

hping3 also doesn't work with IPv6 though.

  reply	other threads:[~2024-04-17 14:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16 17:47 Combining/compacting 2 rules into 1 William N.
2024-04-16 18:54 ` Kerin Millar
2024-04-16 19:12   ` William N.
2024-04-16 20:08     ` Kerin Millar
2024-04-17  8:29       ` William N.
2024-04-17  8:54         ` Slavko
2024-04-17  9:16           ` Kerin Millar
2024-04-17  9:23             ` Slavko
2024-04-17  9:50               ` Kerin Millar
2024-04-17 14:12                 ` William N. [this message]
2024-04-17 15:30                   ` Slavko
2024-04-19 10:55   ` William N.
2024-04-19 11:01     ` Serhii
2024-04-19 11:18       ` William N.
2024-04-19 12:54       ` William N.
2024-04-19 14:31         ` Serhii
2024-04-20  2:36     ` Kerin Millar
2024-04-20  8:51       ` William N.
2024-04-20 19:19         ` Kerin Millar

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=20240417141230.0bc7b1bf@localhost \
    --to=netfilter@riseup.net \
    --cc=netfilter@vger.kernel.org \
    /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 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 NNTP newsgroup(s).