Hello, I changed the log path in shorewall.conf, LOGFILE=/var/log/messages to LOGFILE=/var/log/shorewall, and then I touched the shorewall file in /var/log, permission root:root 600, after shorewall restart, no logging messages appear in /var/log/shorewall. so how can I fix this problem ? Thanks !! _______________________________________ YM - 離線訊息 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。 http://messenger.yahoo.com.hk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Wilson Kwok wrote:> I changed the log path in shorewall.conf, > LOGFILE=/var/log/messages to LOGFILE=/var/log/shorewall, and then I > touched the shorewall file in /var/log, permission root:root 600, after > shorewall restart, no logging messages appear in /var/log/shorewall. so > how can I fix this problem ?Wilson, Please read the documentation regarding LOGFILE -- it *does not* determine where the log file is maintained; it tells /sbin/shorewall where to look for the log file. Also see http://www.shorewall.net/shorewall_logging.html -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
what you can do here is to employ ulogd and shorewall together, instead of using syslog. Ulogd is available at http://www.netfilter.org/projects/ulogd/index.html. cheers! On 10/3/06, Wilson Kwok <leiw324@yahoo.com.hk> wrote:> Hello, > > I changed the log path in shorewall.conf, LOGFILE=/var/log/messages to > LOGFILE=/var/log/shorewall, and then I touched the shorewall file in > /var/log, permission root:root 600, after shorewall restart, no logging > messages appear in /var/log/shorewall. so how can I fix this problem ? > > > Thanks !! > > _______________________________________ > YM - 離線訊息 > 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。 > http://messenger.yahoo.com.hk > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > >-- Wong Chee Chun SSA Network Sdn Bhd 509, 5th Flr, Lift Lobby 3, Blk A Damansara Intan 1 Jalan SS 20/27 Petaling Jaya, Selangor West Malaysia ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV