From: Samuel Jean <sj-netfilter@cookinglinux.org>
To: Josh Larocque <joshlarocque@technologist.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Customizing LOG output
Date: Mon, 24 Jan 2005 21:03:01 -0500 [thread overview]
Message-ID: <41F5A8D5.7010608@cookinglinux.org> (raw)
In-Reply-To: <20050125013235.210362000C@ws1-1a.us4.outblaze.com>
Josh Larocque wrote:
> Is there a way to change the data the the LOG module outputs? As it stands right now it's printing IN, OUT, MAC, SRC, DST, LEN, TOS, PREC, TTL, ID, PROTO, SPT, DPT WINDOW, RES and UGRP... all taking up about 2 and a half lines on the screen for each entry. I'd like to get it down to a one-liner if possible.
>
Yes, hack at net/ipv4/netfilter/ipt_LOG.c by editing those printk's.
Don't forget to recompile this module and also rmmod ipt_LOG.
> Thanks,
>
> Josh
>
HTH,
Samuel
next prev parent reply other threads:[~2005-01-25 2:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-25 1:32 Customizing LOG output Josh Larocque
2005-01-25 2:03 ` Samuel Jean [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-01-26 1:53 Josh Larocque
2005-01-26 13:29 ` Jose Maria Lopez
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=41F5A8D5.7010608@cookinglinux.org \
--to=sj-netfilter@cookinglinux.org \
--cc=joshlarocque@technologist.com \
--cc=netfilter@lists.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 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.