From: Brian Davidson <davidson.brian@gmail.com>
To: netfilter@vger.kernel.org
Subject: meta time/hour questions
Date: Wed, 15 Nov 2023 13:33:05 -0500 [thread overview]
Message-ID: <CAOoaxdH25O+QYWkzGQ7uOU5NLqROHu-WfpY4AZtVwb4V80=F=g@mail.gmail.com> (raw)
The man page states that meta time and meta hour optionally accept
seconds, but I get errors on v1.0.6 or v1.0.8. meta time doesn't even
like the dash date separator.
# nft -c add rule inet t c meta hour "17:00:01" drop
Error: syntax error, unexpected colon, expecting end of file or
newline or semicolon
add rule inet t c meta hour 17:00:01 drop
^
# nft -c add rule inet t c meta time "2023-12-24 17:00:01" drop
Error: syntax error, unexpected -, expecting end of file or newline or semicolon
add rule inet t c meta time 2023-12-24 17:00:01 drop
^
Documentation problems or legitimate defects?
next reply other threads:[~2023-11-15 18:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 18:33 Brian Davidson [this message]
2023-11-16 21:14 ` meta time/hour questions Kerin Millar
2023-11-16 22:58 ` Brian Davidson
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='CAOoaxdH25O+QYWkzGQ7uOU5NLqROHu-WfpY4AZtVwb4V80=F=g@mail.gmail.com' \
--to=davidson.brian@gmail.com \
--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 read-only IMAP folder(s) and NNTP newsgroup(s).