All of lore.kernel.org
 help / color / mirror / Atom feed
* Documentation question (verdicts)
@ 2019-12-02 10:26 Duncan Roe
  2019-12-07  1:28 ` Duncan Roe
  0 siblings, 1 reply; 5+ messages in thread
From: Duncan Roe @ 2019-12-02 10:26 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Netfilter Development

Hi Pablo,

Queue handling [DEPRECATED] in libnetfilter_queue.c documents these 3:

> 278  *   - NF_ACCEPT the packet passes, continue iterations
> 281  *   - NF_REPEAT iterate the same cycle once more
> 282  *   - NF_STOP accept, but don't continue iterations

In my tests, NF_REPEAT works as documented - the input hook presents the packet
a second time. But, contrary to the above, the packet does not show again
after NF_ACCEPT.

Is that expected behaviour nowadays?

And if so, does that make NF_STOP redundant?

BTW if you'd like to try it, my test program nfq6 is a subdirectory at
https://github.com/duncan-roe/nfq (nfq itself is an ad blocker).

Cheers ... Duncan.

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

end of thread, other threads:[~2019-12-07 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 10:26 Documentation question (verdicts) Duncan Roe
2019-12-07  1:28 ` Duncan Roe
2019-12-07 11:16   ` Florian Westphal
2019-12-07 11:49     ` Duncan Roe
2019-12-07 11:52       ` Florian Westphal

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.