Re: Customizing LOG output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux