All of lore.kernel.org
 help / color / mirror / Atom feed
* Customizing LOG output
@ 2005-01-25  1:32 Josh Larocque
  2005-01-25  2:03 ` Samuel Jean
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Larocque @ 2005-01-25  1:32 UTC (permalink / raw)
  To: netfilter

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.

Thanks,

Josh


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Customizing LOG output
@ 2005-01-26  1:53 Josh Larocque
  2005-01-26 13:29 ` Jose Maria Lopez
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Larocque @ 2005-01-26  1:53 UTC (permalink / raw)
  To: Samuel Jean; +Cc: netfilter

Thanks Samuel, I'll give it a shot!

----- Original Message -----

> 
> 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-26 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25  1:32 Customizing LOG output Josh Larocque
2005-01-25  2:03 ` Samuel Jean
  -- strict thread matches above, loose matches on Subject: below --
2005-01-26  1:53 Josh Larocque
2005-01-26 13:29 ` Jose Maria Lopez

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.