[ nagiosplug-Bugs-3273915 ] Check_dhcp sends broadcast with IP instead of 0.0.0.0
SourceForge.net <[email protected]>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3273915, was opened at 2011-04-04 04:54 Message generated for change (Comment added) made by jensthebrain You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3273915&group_id=29880 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General plugin execution Group: None Status: Open Resolution: None >Priority: 7 Private: No Submitted By: Jens Weibler (jensthebrain) Assigned to: Nobody/Anonymous (nobody) Summary: Check_dhcp sends broadcast with IP instead of 0.0.0.0 Initial Comment: check-dhcp uses an ip address from the host as source address for dhcp requests instead of 0.0.0.0 These dhcp packets get filtered by reverse path checks -> tests fails :( check_dhcp v1991 (nagios-plugins 1.4.12) eth0: IP XY eth1: no IP check_dhcp -i eth1 uses IP XY... ---------------------------------------------------------------------- >Comment By: Jens Weibler (jensthebrain) Date: 2012-10-16 06:48 Message: The bug is still there.. >From RFC 2131: "DHCP messages broadcast by a client prior to that client obtaining its IP address must have the source address field in the IP header set to 0." The problem: check_dhcp.c is opening a UDP-socket. The os is setting the source address. One solution would be to take the logic from a real dhcpclient: using a IP-socket and set all ip-fields by hand. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3273915&group_id=29880 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null