On Fri, Jun 20, 2003 at 06:00:49AM -0700, Ronnie Clark wrote:
Hello all,
I have what is hopefully an easy question. Is there a
way to stop IPFW from adding lines in logs like:
last message repeated 'x' times?
It's not IPFW that does that, it's syslogd(8) trying to avoid
cluttering up the
On Fri, Jun 20, 2003 at 08:21:52AM -0600, Warren Block wrote:
On Fri, 20 Jun 2003, Matthew Seaman wrote:
Or if anyone has a perl script that tosses out the odd
lines and just keeps the full lines and is willing to
share it, that would work too. Otherwise, I am going
to have to get
On Fri, 20 Jun 2003, Matthew Seaman wrote:
That's not quite the same thing. You're just taking out the lines
that match /last message repeated \d+ times/ (and constructing a
backreference to \d+ that you never use):
Jun 20 16:26:02 example /kernel: ipfw: 800 Deny TCP 12.34.56.78:1234
On Fri, Jun 20, 2003 at 09:49:28AM -0600, Warren Block wrote:
On Fri, 20 Jun 2003, Matthew Seaman wrote:
Ah, I didn't see that you were expanding those lines. You're right
about the useless backreference. And then right after posting, I
realized that it could be even smaller