From: Anton <anton.vazir@gmail.com>
To: Patrick McHardy <kaber@trash.net>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>,
Eric Leblond <eric@inl.fr>,
netfilter-devel@vger.kernel.org
Subject: Re: NFLOG - missing packets?
Date: Thu, 15 May 2008 10:42:10 +0500 [thread overview]
Message-ID: <200805151042.11110.anton.vazir@gmail.com> (raw)
In-Reply-To: <482B272B.3040906@trash.net>
On Wednesday 14 May 2008 22:53, Patrick McHardy wrote:
> > plain text logging facility and then convert it to a
> > database *offline* if you really need advanced queries.
>
> Yeah, but what we can do is check whether the message
> was successfully transmitted in the kernel and drop
> the packet in case it wasn't. That should catch 99.9%
> of all error cases since a slow databse effectively
> only causes the process to read less often from the
> netlink socket.
What we did, is trying to transport a message over network
to another host, for further analysis - OPRINT and LOGEMU
targets were used. Even with no further DB interaction
(just plain dumping to a file) - causes loosing of 50% of
packets with hacked OPRINT - regardles if it's done while
connecting to localhost (same pc) or another host.
PC's are P4-3Ghz.
host 1(NFLOG -> ULOG -> OPRINT_OVER_NETWORK) -> host 2
(LOG_RECEIVER)
and just plain native LOGEMU looses arround 1% of packets on
100mbit transfers.
If there a way for checking is the message were transmitted,
how to do that?
>
> I still have a very old and unfinished patch for this
> somewhere ...
next prev parent reply other threads:[~2008-05-15 5:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-10 11:57 NFLOG - missing packets? Anton
2008-05-10 12:50 ` Anton
2008-05-11 16:18 ` Eric Leblond
2008-05-12 7:24 ` Anton
2008-05-14 17:49 ` Pablo Neira Ayuso
2008-05-14 17:53 ` Patrick McHardy
2008-05-15 5:42 ` Anton [this message]
2008-05-14 23:01 ` Eric Leblond
2008-05-12 9:19 ` Anton
2008-05-12 11:53 ` Pablo Neira Ayuso
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=200805151042.11110.anton.vazir@gmail.com \
--to=anton.vazir@gmail.com \
--cc=eric@inl.fr \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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