* [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation.
2013-01-13 22:46 libnetfilter_queue issues Eric Leblond
@ 2013-01-13 22:49 ` Eric Leblond
0 siblings, 0 replies; 5+ messages in thread
From: Eric Leblond @ 2013-01-13 22:49 UTC (permalink / raw)
To: netfilter; +Cc: netfilter-devel, pablo, Eric Leblond
---
src/libnetfilter_queue.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index 9fe9dfa..f93ac66 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -87,6 +87,8 @@
* (requires Linux kernel >= 2.6.30).
* - see --queue-balance option in NFQUEUE target for multi-threaded apps
* (it requires Linux kernel >= 2.6.31).
+ * - consider using fail-open option see nfq_set_queue_flags() (it requires
+ * Linux kernel >= 3.6)
*/
struct nfq_handle
@@ -620,6 +622,12 @@ int nfq_set_mode(struct nfq_q_handle *qh,
flags &= ~NFQA_CFG_F_FAIL_OPEN;
err = nfq_set_queue_flags(qh, mask, flags);
\endverbatim
+ *
+ * If NFQA_CFG_F_FAIL_OPEN is used, the kernel will accept instead of
+ * drop packets that should have been enqueued to a full queue. This
+ * results in the system being able to handle high network load but at
+ * the depend of the control on the packets.
+ *
* \return -1 on error with errno set appropriately; =0 otherwise.
*/
int nfq_set_queue_flags(struct nfq_q_handle *qh,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation.
@ 2013-01-13 23:40 Neal Murphy
2013-01-18 0:51 ` Pablo Neira Ayuso
2013-01-21 10:02 ` Eric Leblond
0 siblings, 2 replies; 5+ messages in thread
From: Neal Murphy @ 2013-01-13 23:40 UTC (permalink / raw)
To: netfilter
On Sunday, January 13, 2013 05:49:35 PM you wrote:
> + * results in the system being able to handle high network load but at
> + * the depend of the control on the packets.
Might you have meant to say, "... but at the expense of control of the
packets." ?
N
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation.
2013-01-13 23:40 [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation Neal Murphy
@ 2013-01-18 0:51 ` Pablo Neira Ayuso
2013-01-18 1:20 ` Neal Murphy
2013-01-21 10:02 ` Eric Leblond
1 sibling, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2013-01-18 0:51 UTC (permalink / raw)
To: Neal Murphy; +Cc: netfilter
Hi Neal,
On Sun, Jan 13, 2013 at 06:40:30PM -0500, Neal Murphy wrote:
> On Sunday, January 13, 2013 05:49:35 PM you wrote:
>
> > + * results in the system being able to handle high network load but at
> > + * the depend of the control on the packets.
>
> Might you have meant to say, "... but at the expense of control of the
> packets." ?
It would be great if you can do more documentation review assuming
you're native English speaker.
The coreteam is a handful of people from France, Germany, Hungary and
Spain doing our best in this lingua franca.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation.
2013-01-18 0:51 ` Pablo Neira Ayuso
@ 2013-01-18 1:20 ` Neal Murphy
0 siblings, 0 replies; 5+ messages in thread
From: Neal Murphy @ 2013-01-18 1:20 UTC (permalink / raw)
To: netfilter
On Thursday, January 17, 2013 07:51:19 PM Pablo Neira Ayuso wrote:
> It would be great if you can do more documentation review assuming
> you're native English speaker.
>
> The coreteam is a handful of people from France, Germany, Hungary and
> Spain doing our best in this lingua franca.
That's what I figured, and why I phrased it as a question. The translation
sometimes doesn't quite match what appears to be the thought. But your English
is a darn sight better than my ham-handed attempts in your language(s) would
be.
When I see documentation grammar and structure that doesn't, mmm, work well in
English, I'll gladly suggest improvements, suggest a rewrite if I can make
sense of it, or request clarification if I can't make sense of it.
Yes, I'm a native speaker. And a stickler for correct grammar, punctuation and
spelling in my own writings.
N
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation.
2013-01-13 23:40 [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation Neal Murphy
2013-01-18 0:51 ` Pablo Neira Ayuso
@ 2013-01-21 10:02 ` Eric Leblond
1 sibling, 0 replies; 5+ messages in thread
From: Eric Leblond @ 2013-01-21 10:02 UTC (permalink / raw)
To: neal.p.murphy; +Cc: netfilter
Hello,
On Sun, 2013-01-13 at 18:40 -0500, Neal Murphy wrote:
> On Sunday, January 13, 2013 05:49:35 PM you wrote:
>
> > + * results in the system being able to handle high network load but at
> > + * the depend of the control on the packets.
>
> Might you have meant to say, "... but at the expense of control of the
> packets." ?
Thanks for the correction. I've fixed it in my private repository.
Is there other mistakes in the proposed patches ? If not, I will push
them to the git tree.
BR,
--
Eric Leblond <eric@regit.org>
Blog: https://home.regit.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-21 10:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13 23:40 [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation Neal Murphy
2013-01-18 0:51 ` Pablo Neira Ayuso
2013-01-18 1:20 ` Neal Murphy
2013-01-21 10:02 ` Eric Leblond
-- strict thread matches above, loose matches on Subject: below --
2013-01-13 22:46 libnetfilter_queue issues Eric Leblond
2013-01-13 22:49 ` [libnetfilter_queue PATCH 1/2] doxygen: improve fail-open documentation Eric Leblond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox