use swatch and direct it to beep on the events you want monitored .
- Original Message -
From: Richard Tobin [EMAIL PROTECTED]
To: BSD Freak [EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 8:15 PM
Subject: Re: A cool IPF firewall trick
I run several FreeBSD/IPF based firewalls. I would really like to get
some sort of basic visual representation as to what the firewall is
doing without actually logging in and tailing logs. My idea is to have
the HDD LED (red) light up when IPF blocks packets with an ipf block
rule and the power LED (green) light up when traffic is passed with an
ipf pass rule.
You could have rules to send the packets to divert sockets (as is done
for NAT), and write a program to respond to them. See divert(4) and
natd(8).
It would be easier to use the keyboard leds (KDSETLED ioctl) than the
disk and power leds, I think.
-- Richard
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message