On Thu, 2002-12-12 at 02:20, Bill Rugolsky Jr. wrote:
> On Mon, Dec 02, 2002 at 11:34:54AM +0930, Iain Buchanan wrote:
> > I've got iptables to log what it drops with various options, but its
> > filling up my log files (theres a lot of traffic at work). Can I
> > somehow get it to log to a file o
On Mon, Dec 02, 2002 at 11:34:54AM +0930, Iain Buchanan wrote:
> I've got iptables to log what it drops with various options, but its
> filling up my log files (theres a lot of traffic at work). Can I
> somehow get it to log to a file other than /var/log/messages?
Look into the ULOG target; you r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 02 Dec 2002 10:01:13 +0700 (WIT), David Sudjiman wrote:
[iptables logging]
> btw... I still can't get it off from my console.. I did remark the
> *.kern /dev/console.. how can I avid this?
man klogd
man dmesg
- --
---
On Mon, 2002-12-02 at 12:31, David Sudjiman wrote:
> On 2 Dec 2002, Iain Buchanan wrote:
> > I've got iptables to log what it drops with various options, but its
> > filling up my log files (theres a lot of traffic at work). Can I
> > somehow get it to log to a file other than /var/log/messages?
>
=en&lr=&ie=ISO-8859-1&q=iptables+logging+messages
Add a new line to /etc/syslog.conf
kern.warning /var/log/iptables.log
There's lots of information to be found with Google on this subject, but
that's that basics I got from reading the first hit.
-Ryan
--
Powered by
On 2 Dec 2002, Iain Buchanan wrote:
there is a /etc/syslog.conf file that manage on how the log works.
just put a
*.kern /var/log/newfile
on it to make a different log file for your iptables.
make sure you check the /etc/logrotate.conf to avoid your log being
clogged up
btw... I still can't
I've got iptables to log what it drops with various options, but its
filling up my log files (theres a lot of traffic at work). Can I
somehow get it to log to a file other than /var/log/messages?
--
Iain Buchanan <[EMAIL PROTECTED]>
Necessity hath no law.
-- Oliver Cromwell
sig