On 7/28/10 7:48 AM, Andrea Perdicchia wrote: > On 28/07/2010 15:45, [email protected] wrote: >> 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). >> > In the shorewall man page says "The -m option causes the MAC address of > each packet source to be displayed *if that information is available* " > But in my messages.log and kern.log (i use ubuntu server) the mac > address information is not available. How i can enable it?
Switch to ULOG (http://www.shorewall.net/shorewall_logging.html#ULOG). -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 \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
