Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2006 11:11:19 -0700 (PDT)
From:      Bill Fenner <fenner@research.att.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/103988: net/ntraceroute doesn't work on 64-bit systems
Message-ID:  <200610041811.k94IBJC7089366@possum.research.att.com>
Resent-Message-ID: <200610041850.k94IoJ80018980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103988
>Category:       ports
>Synopsis:       net/ntraceroute doesn't work on 64-bit systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 04 18:50:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fenner
>Release:        FreeBSD 6.1-RELEASE sparc64
>Organization:
AT&T Labs -- Research
>Environment:
System: FreeBSD possum.research.att.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 15:56:53 UTC 2006 root@s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64


	
>Description:
	

"make install" in /usr/ports/net/ntraceroute.
Find that the program that gets installed sends malformed
packets, so when it's checking for properly formed replies
it decides that it didn't get one.

>How-To-Repeat:
	

sparc64% cd /usr/ports/net/ntraceroute
sparc64% sudo make install
sparc64% ntraceroute www.freebsd.org

>Fix:

	

Change the ntraceroute port to copy the source to WRKSRC, so
it can apply this patch.


--- /usr/ports/distfiles/ntraceroute/traceroute_640.c	Sun Nov  6 15:43:00 2005
+++ ./traceroute_640.c	Wed Oct  4 11:07:20 2006
@@ -790,7 +790,7 @@
               struct icmp icmp_probe;
         } ip_payload;
 #endif /* V6.3.0 */
-};
+} __attribute__((packed));
 
 #ifdef SPRAY
 /*
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610041811.k94IBJC7089366>