Ask Bj?rn Hansen wrote:

<> On May 17, 2011, at 20:37, Hal Murray wrote:
<> 
<> > Is there a way for a client to verify that an address is still in the pool?
<> 
<> Right now just via HTTP and parsing HTML.

It perhaps won't help check the entire pool, but anyone running a pool
server that is also running nagios can use the "check_rbl" perl script
to test whether they're IP is in any of the major lists.

  
http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/check_rbl/details

Actually ... one doesn't need to be running nagios to use the plugins;
one can run the check out of cron once a day or so by wrapping it with
a shell script:

  IP="198.51.100.1"
  RECIPIENT="root@localhost"

  RETSTR=`/usr/local/nagios/plugins/check_rbl ${IP}`

  if [ $? -gt 0 ]
  then
    echo "${RETSTR}" | mail -s "IP ${IP} detected in RBL" ${RECIPIENT}
  fi

or something like that <grin>

Reto
-- 
R A Lichtensteiger      [email protected]

The Internet has conclusively proven that a million monkeys can't type
the collected works of Shakespeare ...
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to