[Nagiosplug-devel] Feature request: extend check_ping to specify source address

matthias eble matthias.eble at mailing.kaufland-informationssysteme.com
Fri Jul 18 09:47:52 CEST 2008


On Fri, 2008-07-18 at 09:23 +0200, Andreas Ericsson wrote:
> Dave Horsfall wrote:
> > On Thu, 17 Jul 2008, Matthias Eble wrote:
> > 
> >> this feature is already provided by check_icmp.
> > 
> > Err, how?
> 
> It isn't, and I fail to see how that could work at all.

------------------------------------------------------------------------
r1882 | hweiss | 2007-12-21 14:25:28 +0100 (Fri, 21 Dec 2007) | 3 lines

New "-s" option to specify the source IP address (thanks to Harald Jenny
for providing the patch and to Patrick Cervicek for looking into it!)


> check_icmp and ping alike mark their packets with pid, sequence-number,
> host-id (decided internally) etc, etc. Modifying the ip->src_addr field
> would cause the targeted host to send its ICMP_ECHO_REPLY packets to a
> different host, so check_icmp (or ping) wouldn't be able to pick them
> up at a later time.

Don't know if this is handled properly in the applied patch.. 

Matthias






More information about the Devel mailing list