an idea to LOG target

Maciej Soltysiak solt@dns.toxicfilms.tv
Fri, 17 Aug 2001 15:24:48 +0200 (CEST)


hi,

how about adding an option to configure your logs more comprehensively.
Say, i now that mac: 00:50:so:me:th:ing is my 3com 905
or
i now that ip. 150.234.56.78 is a linux box called woody
and 150.123.45.67 is a win box called andy.

so let's do something like:
iptables [...some rules...] -j LOG --conf log_1.conf
iptables [...sth  else ...] -j LOG --conf log_else.conf

and log_1.conf contains something like:
"00:50:so:me:th:in" == 3c905
"150.234.56.78" == woody
"150.123.45.67" == andy
"PROTO = 2" == IGMP
------------------
If the LOG target used this conf file it would change strings into their
human readable forms, fully configurable.
This wood (oops), ekhm :)
This would give us logs easier to read.

do you agree ?