All of lore.kernel.org
 help / color / mirror / Atom feed
* [nft PATCH 0/3] inet reject statement fix
@ 2021-12-11 18:55 Jeremy Sowden
  2021-12-11 18:55 ` [nft PATCH 1/3] proto: short-circuit loops over upper protocols Jeremy Sowden
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jeremy Sowden @ 2021-12-11 18:55 UTC (permalink / raw)
  To: Netfilter Devel

The first two patches contain small improvements that I noticed while
looking into a Debian bug-report.  The third contains a fix for the
reported bug, that `inet` `reject` rules of the form:

  table inet filter {
    chain input {
      type filter hook input priority filter;
      ether saddr aa:bb:cc:dd:ee:ff ip daddr 192.168.0.1 reject
    }
  }

fail with:

  BUG: unsupported familynft: evaluate.c:2766:stmt_evaluate_reject_inet_family: Assertion `0' failed.
  Aborted

Here's the bug-report:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001360

Jeremy Sowden (3):
  proto: short-circuit loops over upper protocols
  evaluate: correct typo's
  evaluate: reject: support ethernet as L2 protcol for inet table

 src/evaluate.c                      | 11 +++++++---
 src/proto.c                         | 10 ++++++---
 tests/py/inet/reject.t              |  2 ++
 tests/py/inet/reject.t.json         | 34 +++++++++++++++++++++++++++++
 tests/py/inet/reject.t.payload.inet | 10 +++++++++
 5 files changed, 61 insertions(+), 6 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-15 21:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-11 18:55 [nft PATCH 0/3] inet reject statement fix Jeremy Sowden
2021-12-11 18:55 ` [nft PATCH 1/3] proto: short-circuit loops over upper protocols Jeremy Sowden
2021-12-11 18:55 ` [nft PATCH 2/3] evaluate: correct typo's Jeremy Sowden
2021-12-11 18:55 ` [nft PATCH 3/3] evaluate: reject: support ethernet as L2 protcol for inet table Jeremy Sowden
2021-12-15 21:50 ` [nft PATCH 0/3] inet reject statement fix Pablo Neira Ayuso

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.