netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Cade Robinson" <cade.robinson@gmail.com>
To: netfilter@vger.kernel.org
Subject: Default netfilter kernel buffer size?
Date: Thu, 12 Jun 2014 16:29:36 -0500	[thread overview]
Message-ID: <007501cf8685$69b9a460$3d2ced20$@gmail.com> (raw)

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


             reply	other threads:[~2014-06-12 21:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 21:29 Cade Robinson [this message]
2014-06-16  9:35 ` Default netfilter kernel buffer size? Pablo Neira Ayuso
2014-06-16 13:28   ` Cade Robinson
2014-06-25  7:12     ` SplitIce
2014-06-25 14:12       ` Cade Robinson

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='007501cf8685$69b9a460$3d2ced20$@gmail.com' \
    --to=cade.robinson@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;
as well as URLs for NNTP newsgroup(s).