On Thursday, November 20, 2003, at 11:14 AM, Ian Bruseker wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Greetings all. So I set up SuSE 8.2, and enabled the firewall. I set it to
log both drops and accepts, just so I could get a feel for how things were
working. But it logs the messages to both /var/log/warn and
/var/log/messages. I really don't need them in two places. I would really
like them in warn, not messages (since other more important messages end up
in /var/log/messages and I'd like to be able to see them without digging
through pages and pages of accept/drop messages). But if I turn off logging,
it turns off logging to both files - it's an all or nothing deal. I've
looked through /etc/sysconfig/SuSEfirewall2 to see if there is anything in
there about where to log to, but there isn't. So I'm guessing it must be a
syslog.conf thing then, but I've never been able to figure that one out. :-)
Does anyone know how I would set it so it only writes these firewall messages
to /var/log/warn (or even /var/log/firewall or something completely
independant)? I fought with this once before with a RedHat 7.2 box that
insists on logging firewall messages not only to log files but also to the
console (it's very, very irritating when you're trying to actually use the
console), but I lost that battle.
Logging is controlled via the syslog program usually. Look at /etc/syslog.conf. I'm not sure how you can get it to do what you want but have a look at that as well as man syslog.conf should help a bit...
-- Nathanael Noblet Gnat Solutions 4604 Monterey Ave NW Calgary, AB T3B 5K4
T/F 403.288.5360 C 403.809.5368
http://www.gnat.ca/
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

