[PATCH] ipt_LOG split MAC
Danny Rathjens
gmane at rathjens.org
Fri Sep 8 20:09:44 CEST 2006
Is a patch like this sensible?
with the log messages currently looking like:
IN=eth0 OUT= MAC=00:c0:49:5f:9a:0d:00:00:c5:66:00:28:08:00 SRC=72.234.128.92 DST=72.1.142.189 ...
it's hard to tell what the source or destination MAC address is.
I just split the MAC header in half, but now that I am reading more about
variable length MAC addresses I don't think that is the right way to do it.
Just spitting out the raw header seems pretty efficient, too. Perhaps that
is by design for efficienecy as opposed to laziness? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipt_LOG-split-MAC.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20060912/5f2e1dc3/ipt_LOG-split-MAC.bin
More information about the netfilter-devel
mailing list