All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Cade Robinson <cade.robinson@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Default netfilter kernel buffer size?
Date: Mon, 16 Jun 2014 11:35:02 +0200	[thread overview]
Message-ID: <20140616093502.GA8007@localhost> (raw)
In-Reply-To: <007501cf8685$69b9a460$3d2ced20$@gmail.com>

Hi,

I guess you're refering to libnetfilter_queue.

On Thu, Jun 12, 2014 at 04:29:36PM -0500, Cade Robinson wrote:
> 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.

Please, have a look at the documentation:

http://www.netfilter.org/projects/libnetfilter_queue/doxygen/

It refers to this problem.

  reply	other threads:[~2014-06-16  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 21:29 Default netfilter kernel buffer size? Cade Robinson
2014-06-16  9:35 ` Pablo Neira Ayuso [this message]
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=20140616093502.GA8007@localhost \
    --to=pablo@netfilter.org \
    --cc=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 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.