Re: Issues with ARP notification on latest CVS of wackamole

Theo Schlossnagle <[email protected]> Wed, 14 Apr 2004 11:22:32 -0400
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
Jay West wrote:

>However, there may be a second solution. Is there some way that whenever
>wackamole brings up any VIP's, it can call an external program? I'm thinking
>along the lines of perhaps sending an SNMP request to the PIX to clear it's
>arp cache when this happens. Any thoughts?
>  
>
Should work like a charm.  The latest CVS version supports both embedded 
C and Perl modules for external functions.  You should be able to hack a 
"announce" perl handler using Net::SNMP without much trouble at all.

There is an example or three in the distribution, though no docs currently.

We use this in production to add routes on some of our nameservers 
running wackamole.  An SNMP ping is much less cumbersome that calling 
out to /sbin/route :-)

Can you post your results here?  I'd love to use this example in my 
OSCON talk in July.

-- 
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth