All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Philip Craig <philipc@snapgear.com>, Thomas Graf <tgraf@suug.ch>,
	Netfilter Development Mailinglist
	<netfilter-devel@vger.kernel.org>
Subject: Re: libnl netfilter log
Date: Sun, 09 Dec 2007 17:09:23 +0100	[thread overview]
Message-ID: <475C1333.7010507@trash.net> (raw)
In-Reply-To: <475ADF79.1030204@netfilter.org>

Pablo Neira Ayuso wrote:
> Patrick McHardy wrote:

>> Somewhat related, there currently is a problem with message
>> reception since libnl uses a page-sized buffer for recvmsg(),
>> but netfilter can send messages up to 64k. I recall there
>> was some recvmsg buffer size probing some time ago, but it
>> seems to be gone. Should I reintroduce it, increase the size
>> to 64k or make it configurable?
> 
> If you reintroduce the probing I think that something similar to the
> libnfnetlink behaviour would be fine. But, indeed, I prefer to make it
> configurable.


Me too, and maybe have it switch to 64k automatically once a
nfnetlink queue or log socket is opened.

  parent reply	other threads:[~2007-12-09 16:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-08  5:20 libnl netfilter log Patrick McHardy
2007-12-08 18:16 ` Pablo Neira Ayuso
2007-12-08 18:24   ` Pablo Neira Ayuso
2007-12-09 16:08     ` Patrick McHardy
2007-12-09 16:09   ` Patrick McHardy [this message]
2007-12-10  0:53 ` Philip Craig

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=475C1333.7010507@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=philipc@snapgear.com \
    --cc=tgraf@suug.ch \
    /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.