netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Default netfilter kernel buffer size?
@ 2014-06-12 21:29 Cade Robinson
  2014-06-16  9:35 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Cade Robinson @ 2014-06-12 21:29 UTC (permalink / raw)
  To: netfilter

I have been searching around and can't find it so maybe someone can tell me.

I am looking for the default size of the kernel queue netfilter uses and if
there is a /proc file to see what the current setting is?

 

The story is I have a program that marks packets coming into netfilter.

On slower devices while a blacklist loads I have run into ENOBUFS error from
recv.

I am thinking that if I use nfq_set_queue_maxlen to set this to a higher
number I won't get the ENOBUFS error but I can't find the default to know
what may be a larger number.

Also I can't find any /proc file to show me the current number.  Does one
exist and is it the same for 2.6.20+ kernels?

 

This is on a 3.14.6 kernel with netfiler 1.0.2 and nfnetlink 1.0.1


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

end of thread, other threads:[~2014-06-25 14:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 21:29 Default netfilter kernel buffer size? Cade Robinson
2014-06-16  9:35 ` Pablo Neira Ayuso
2014-06-16 13:28   ` Cade Robinson
2014-06-25  7:12     ` SplitIce
2014-06-25 14:12       ` Cade Robinson

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 NNTP newsgroup(s).