On 7/28/10 1:50 AM, Andrea Perdicchia wrote:> Hi all,
> Is possible log mac address in shorewall?
> I try all configuration "debug,info..." in
/etc/shorewall/shorewall.conf
> but in /var/log/messages the log show only few information and not mac
> ADdress.
Shorewall has no control over logging of the MAC address. Whatever
option you are setting in shorewall.conf only control the facility and
priority of a particular class of log message. That, in turn, determines
how they get handled by your logging daemon (syslogd, syslog-ng,
rsyslogd, etc.).
When displayed by /sbin/shorewall, log messages generally have the MAC
address stripped. You can cause MAC addresses (actually the entire
Ethernet headers) to be displayed by using the -m option (e.g.,
shorewall show -m log).
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm