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: Fri, 19 Apr 2024 10:55:42 -0000	[thread overview]
Message-ID: <20240419105542.74aaac89@localhost> (raw)
In-Reply-To: <20240416195445.41b40f624e2dbec1c593c789@plushkava.net>

Is it possible to combine, e.g.:

tcp flags fin,syn / fin,syn drop
tcp flags syn,rst / syn,rst drop
tcp flags fin,rst / fin,rst drop
tcp flags fin / fin,ack drop

into something like:

tcp flags {
	fin,syn / fin,syn,
	syn,rst / syn,rst,
	fin,rst / fin,rst,
	fin / fin,ack
	} drop

just using some correct syntax?

  parent reply	other threads:[~2024-04-19 10:56 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.
2024-04-17 15:30                   ` Slavko
2024-04-19 10:55   ` William N. [this message]
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=20240419105542.74aaac89@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).