From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Jean Subject: Re: Customizing LOG output Date: Mon, 24 Jan 2005 21:03:01 -0500 Message-ID: <41F5A8D5.7010608@cookinglinux.org> References: <20050125013235.210362000C@ws1-1a.us4.outblaze.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050125013235.210362000C@ws1-1a.us4.outblaze.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Josh Larocque Cc: netfilter@lists.netfilter.org 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