From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Martin Gignac <martin.gignac@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Error when using 'time' statement in nftables 1.0.2 rule
Date: Fri, 8 Apr 2022 10:17:15 +0200 [thread overview]
Message-ID: <Yk/vi+/HGMjfhjpr@salvia> (raw)
In-Reply-To: <CANf9dFMQO4mHXFd88BHL5u9BWyp-v-Tu2L6x_oS1OdMp8UrhhA@mail.gmail.com>
On Thu, Apr 07, 2022 at 10:19:30PM -0400, Martin Gignac wrote:
> Hello,
>
> On nftables 1.0.1, I can run this command just fine:
>
> nft> add rule inet filter input iif lo time < "2022-07-01 11:00" accept
> nft>
>
> On 1.0.2, however, it gives me this error:
>
> nft> add rule inet filter input iif lo time < "2022-07-01 11:00" accept
> Error: No symbol type information
> add rule inet filter input iif lo time < "2022-07-01 11:00" accept
> ^^^^
> Have I encountered a bug, or has the usage of the 'time' statement
> simply changed?
I can reproduce it, this is a bug.
I cannot reproduce it though with current nftables git snapshot (it's
basically 1.0.2 with a few patches on top).
next prev parent reply other threads:[~2022-04-08 8:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 2:19 Error when using 'time' statement in nftables 1.0.2 rule Martin Gignac
2022-04-08 8:08 ` Jeremy Sowden
2022-04-08 8:14 ` Jeremy Sowden
2022-04-08 8:17 ` Pablo Neira Ayuso [this message]
2022-04-08 12:24 ` Martin Gignac
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=Yk/vi+/HGMjfhjpr@salvia \
--to=pablo@netfilter.org \
--cc=martin.gignac@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