[PATCH] ipt_LOG split MAC
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=188.8.131.52 DST=184.108.40.206 ...
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...
Size: 740 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20060912/5f2e1dc3/ipt_LOG-split-MAC.bin
More information about the netfilter-devel