Bug 65501 - [MAINTAINER] net-mgmt/arpwatch-devel: dns resolution bug
Summary: [MAINTAINER] net-mgmt/arpwatch-devel: dns resolution bug
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 20:20 UTC by Matthew George
Modified: 2004-04-14 09:33 UTC (History)
0 users

See Also:


Attachments
file.diff (3.02 KB, patch)
2004-04-13 20:20 UTC, Matthew George
no flags Details | Diff
file.diff (1.54 KB, patch)
2004-04-13 20:20 UTC, Matthew George
no flags Details | Diff
file.shar (1.11 KB, text/plain)
2004-04-13 20:20 UTC, Matthew George
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew George 2004-04-13 20:20:19 UTC
	The function used to resolve hostnames was using an isdigit()
check. This fails to resolve valid domains that begin with a number.

Fix: Thanks to Scott Allendorf for the heads up (and patches)

PORTNAME=	arpwatch
 PORTVERSION=	2.1.a11
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.Awfulhak.org/arpwatch/ \
 		ftp://ftp.ee.lbl.gov/



-- 
Matthew George
SecureWorks Technical Operations--90SpbX1sbNGuPlaKzNlWaQRn8ypggIQ3IbPDxTZ2fwhneX7f
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig	Tue Apr 13 15:00:04 2004
+++ Makefile	Tue Apr 13 15:00:44 2004
@@ -7,7 +7,7 @@
How-To-Repeat: 
	Trigger an arpwatch event pertaining to a host that resolves to a
problem domain.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-04-13 21:01:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->krion

I'll take it.
Comment 2 Kirill Ponomarev freebsd_committer freebsd_triage 2004-04-14 09:33:20 UTC
State Changed
From-To: open->closed

Committed, thanks!