netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anton VG <anton.vazir@gmail.com>
To: netfilter-devel <netfilter-devel@vger.kernel.org>
Subject: Ulogd2 beta3 +NFCT - unable to get working
Date: Wed, 24 Jun 2009 04:56:06 +0500	[thread overview]
Message-ID: <c4b050a10906231656u53e20855ud5cf5833ca5db7cc@mail.gmail.com> (raw)

Hello!

Just spent all night trying to get the %SUBJ% working, but been
unable. There is no any other example in whole internet other than
included into a package and
http://software.inl.fr/trac/wiki/ulogd2/user

Ulogd starts, and tells that everything initialized - but
/var/log/ulogd_syslogemu.log - is always 0 bytes - no logging there.

Maybe I do have to insert any special IPTABLES rule? - But I have not
found any clue what I have to get to feed connection tracking to
ULOGD.

Would anyone please direct me what am I doing wrong?

Examples does not show any nflog gropups and anything else if NFCT is
used. No iptables noticed either.

---------------------------------
ulogd.conf

# Example configuration for ulogd
# $Id$
# Adapted to Debian by Achilleas Kotsis <achille at debian.gr>

[global]
######################################################################
# GLOBAL OPTIONS
######################################################################


# logfile for status messages
logfile="/var/log/ulogd.log"

# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8)
loglevel=1

######################################################################
# PLUGIN OPTIONS
######################################################################

# We have to configure and load all the plugins we want to use

# general rules:
# 1. load the plugins _first_ from the global section
# 2. options for each plugin in seperate section below


plugin="/usr/local/lib/ulogd/ulogd_inppkt_NFLOG.so"
#plugin="/usr/local/lib/ulogd/ulogd_inppkt_ULOG.so"
plugin="/usr/local/lib/ulogd/ulogd_inpflow_NFCT.so"
plugin="/usr/local/lib/ulogd/ulogd_filter_IFINDEX.so"
plugin="/usr/local/lib/ulogd/ulogd_filter_IP2STR.so"
plugin="/usr/local/lib/ulogd/ulogd_filter_IP2BIN.so"
plugin="/usr/local/lib/ulogd/ulogd_filter_PRINTPKT.so"
plugin="/usr/local/lib/ulogd/ulogd_filter_HWHDR.so"
plugin="/usr/local/lib/ulogd/ulogd_filter_PRINTFLOW.so"
#plugin="/usr/local/lib/ulogd/ulogd_filter_MARK.so"
plugin="/usr/local/lib/ulogd/ulogd_output_LOGEMU.so"
plugin="/usr/local/lib/ulogd/ulogd_output_SYSLOG.so"
plugin="/usr/local/lib/ulogd/ulogd_output_OPRINT.so"
#plugin="/usr/local/lib/ulogd/ulogd_output_NACCT.so"
#plugin="/usr/local/lib/ulogd/ulogd_output_PCAP.so"
#plugin="/usr/local/lib/ulogd/ulogd_output_PGSQL.so"
#plugin="/usr/local/lib/ulogd/ulogd_output_MYSQL.so"
#plugin="/usr/local/lib/ulogd/ulogd_output_DBI.so"
plugin="/usr/local/lib/ulogd/ulogd_raw2packet_BASE.so"

stack=ct1:NFCT,ip2str1:IP2STR,print1:PRINTFLOW,emu1:LOGEMU

[ct1]
netlink_socket_buffer_size=2170880
netlink_socket_buffer_maxsize=10854400
hash_enable=0

[emu1]
file="/var/log/ulogd_syslogemu.log"
sync=1

             reply	other threads:[~2009-06-23 23:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-23 23:56 Anton VG [this message]
2009-06-24  9:40 ` Ulogd2 beta3 +NFCT - unable to get working Anton VG
2009-06-24 18:02 ` Pablo Neira Ayuso
2009-06-24 18:06   ` Pablo Neira Ayuso
2009-06-24 20:54     ` Anton VG
2009-06-27 21:13       ` 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=c4b050a10906231656u53e20855ud5cf5833ca5db7cc@mail.gmail.com \
    --to=anton.vazir@gmail.com \
    --cc=netfilter-devel@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).