Re: arpwatch patch [was: Re: Firewall Public IP's?]
On Sat, Apr 13, 2002 at 12:46:00PM -0700, Blars Blarson wrote:
> In article <20020413111036.GA22585@wohnheim.fh-wedel.de>
> firstname.lastname@example.org writes:
> >Nice. I have been thinking about fiddling with arpwatch for quite a
> >while now, too. I'd like to extend it so that it runs an external
> >script with MAC and IP address as parameter, and include the output
> >with the mail, in my case to track down the port of the
> >(snmp-manageable) switch.
> The -s option works for me. (I put in a wishlist bug then closed it
> after looking closer at -s) Currently, all I'm doing is filtering out
> the arpwatch messages about the proxy arps, but I do plan on interfacing
> it with my existing application which pings my subnets and queries my
> switches to find out what addresses are being used on which ports.
After my mail I checked on the bugreports and started chewing on the
code, and I can already call an external script. I think having an
explicit way to call a script is a saner way than replacing sendmail
with something smarter.
But maybe one can include an option to suppress the whole message if
the external script returns something != 0 - how would you like
GPG 1024D/913C2F81 2000-10-11 Arne P. Boettger <email@example.com> /\\
Fingerprint = 6ED9 9A64 CD8A EB6F D841 0391 2F08 8F86 913C 2F81 _\_V
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com