On Tue, 23 Apr 2002, BG wrote: > I ran the tail command, but all I get is a blank screen, even when accessing > the machine remotely. Is there something wrong? > Well, you could try just "tail -f /var/log/messages" to see _all_ of what gets added by syslog for a while. If there aren't any ipchains log lines near the end of the file to start with, and if none is added while the "tail|grep" command combination is running, you would only have a blank screen. The first ipchains log entry should show up fairly quickly on the blank screen though.
Jim > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Cunning > > Sent: Tuesday, April 23, 2002 9:08 AM > > To: [EMAIL PROTECTED] > > Subject: Re: IPchains logging? > > > > > > On Tue, 23 Apr 2002, BG wrote: > > > > > My firewall currently uses ipchains. I would like to log > > or possibly > > > monitor in real time what is being accepted and rejected. > > How can I do > > > that? > > > > Assuming you already have the rules you want logged defined in your > > ipchains, the command "tail -f /var/log/messages | grep 'Packet log:'" > > will continuously run and display only lines logged by ipchains filter > > rules. Enter ^C when you've seen enough. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list