Linux Netfilter development
 help / color / mirror / Atom feed
From: "Dâniel Fraga" <fragabr@gmail.com>
To: Patrick McHardy <kaber@trash.net>
Cc: netfilter-devel@vger.kernel.org, Pablo Neira Ayuso <pablo@netfilter.org>
Subject: Re: Every other char with LOG netfilter output (bug?)
Date: Thu, 30 Oct 2008 21:23:43 -0200	[thread overview]
Message-ID: <490a4204.2786460a.5242.ffffbe1f@mx.google.com> (raw)
In-Reply-To: <49095F02.7040104@trash.net>

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

On Thu, 30 Oct 2008 08:15:14 +0100
Patrick McHardy <kaber@trash.net> wrote:

> One thing you need is to specify the amount of bytes you want transfered
> to userspace:
> 
> iptables ... -j NFLOG --nflog-range 65535

	Ok, I forgot to use --nflog-range, but I have an issue. I'm
sending anyway... maybe there's some hint of what is happening:

	1) for comparison, on old LOG target I get:

Oct 30 20:55:16 tux vmunix: 6 P=7LN38

	2) on NFLOG, using syslog emul, I get:

Oct 30 20:55:16 tux DROP INPUT:  IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:21:00:31:6c:f0:08:00 SRC=192.168.1.100 DST=255.255.255.255 LEN=328 TOS=00 PREC=0x00 TTL=128 ID=21248 PROTO=UDP SPT=68 DPT=67 LEN=308 MARK=0 

Oct 30 20:55:19 tux DROP INPUT:  IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:21:00:31:6c:f0:08:00 SRC=192.168.1.100 DST=255.255.255.255 LEN=328 TOS=00 PREC=0x00 TTL=128 ID=21250 PROTO=UDP SPT=68 DPT=67 LEN=308 MARK=0

	You can compare both and see what's missing on the first one (LOG).

	And I attached the pcap log binary file (bzipped). If it's
uselles, wait that I'll send a new one with -nflog-range 65535, which I
forgot to use.

	Thank you very much!

-- 

[-- Attachment #2: ulogd.pcap.bz2 --]
[-- Type: application/octet-stream, Size: 636 bytes --]

  parent reply	other threads:[~2008-10-30 23:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 17:09 Every other char with LOG netfilter output (bug?) Dâniel Fraga
2008-10-28 17:40 ` Patrick McHardy
2008-10-28 17:57   ` Dâniel Fraga
2008-10-28 18:13     ` Patrick McHardy
2008-10-28 18:50       ` Jan Engelhardt
2008-10-28 18:53         ` Patrick McHardy
2008-10-28 19:16       ` Dâniel Fraga
2008-10-30  5:50       ` Dâniel Fraga
2008-10-30  7:15         ` Patrick McHardy
2008-10-30 15:02           ` Pablo Neira Ayuso
2008-10-30 23:23           ` Dâniel Fraga [this message]
2008-10-31  2:01           ` Dâniel Fraga
2008-11-03 12:42             ` Patrick McHardy
2008-11-03 15:41               ` Dâniel Fraga

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=490a4204.2786460a.5242.ffffbe1f@mx.google.com \
    --to=fragabr@gmail.com \
    --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