View previous topic :: View next topic |
Author |
Message |
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Fri Jan 06, 2006 2:36 pm Post subject: not logging dnsmasq to daemon |
|
|
I stopped dnsmasq logging to messages by adding
Code: |
filter f_messages { level(info..warn)
and not facility(auth, authpriv, mail, news)
and not program(snort)
and not program(dnsmasq); };
|
but its still logging to daemon.log.
Ive tried changing the filter to
Code: |
filter f_daemon { facility(daemon) and not program(dnsmasq);};
|
and the log line is
Code: |
log { source(src); filter(f_daemon); destination(daemon); };
|
_________________ join the optout - http://nhsconfidentiality.org |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Fri Jan 06, 2006 3:20 pm Post subject: |
|
|
mhh wouldn't it be easier to tell dnsmasq directly *not* to log?
Code: | box # grep log /etc/dnsmasq.conf
#log-queries |
with that only dhcp-related messages get logged to syslog. (plus restarts of dnsmasq) _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Fri Jan 06, 2006 3:37 pm Post subject: |
|
|
got that
Code: |
grenada ~ # cat /etc/dnsmasq.conf |grep log
# For debugging purposes, log each DNS query as it passes through
#log-queries
grenada ~ # |
_________________ join the optout - http://nhsconfidentiality.org |
|
Back to top |
|
|
|