NetBSD Problem Report #48156

From www@NetBSD.org  Mon Aug 26 17:12:10 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 42484710B9
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Aug 2013 17:12:10 +0000 (UTC)
Message-Id: <20130826171208.C5C6B719BD@mollari.NetBSD.org>
Date: Mon, 26 Aug 2013 17:12:08 +0000 (UTC)
From: mjl@luckie.org.nz
Reply-To: mjl@luckie.org.nz
To: gnats-bugs@NetBSD.org
Subject: [patch] update net/scamper to 20130824
X-Send-Pr-Version: www-1.0

>Number:         48156
>Category:       pkg
>Synopsis:       [patch] update net/scamper to 20130824
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 26 17:15:00 +0000 2013
>Closed-Date:    Mon Aug 26 20:51:07 +0000 2013
>Last-Modified:  Mon Aug 26 20:51:07 +0000 2013
>Originator:     Matthew Luckie
>Release:        5.1.2
>Organization:
>Environment:
>Description:
Update scamper to 20130824.  Scamper's homepage (and code) has shifted from

http://www.wand.net.nz/scamper

to

http://www.caida.org/tools/measurement/scamper

A list of changes is available at:

http://www.wand.net.nz/pipermail/scamper-announce/2013-August/000016.html
>How-To-Repeat:
NA
>Fix:
diff -ur scamper.orig/DESCR scamper/DESCR
--- scamper.orig/DESCR	2005-09-29 11:02:20.000000000 -0700
+++ scamper/DESCR	2013-08-26 02:53:35.000000000 -0700
@@ -1,9 +1,4 @@
-scamper is a program that conducts traceroute to large numbers of IPv4
-and IPv6 addresses in parallel to fill a specified packets-per-second rate.
+Scamper is a program that conducts Internet measurement techniques such
+as ping and traceroute to large numbers of IPv4 and IPv6 addresses in
+parallel to fill a specified packets-per-second rate.

-scamper can do ICMP based Path MTU discovery. scamper starts with the
-outgoing interface's MTU and discovers the location of PMTU bottlenecks.
-Recent revision of scamper do a PMTU search when an ICMP fragmentation
-required message is not returned to establish the PMTU to the next point
-in the network, followed by a TTL limited search to infer the hop
-where failure appears to occur.
diff -ur scamper.orig/Makefile scamper/Makefile
--- scamper.orig/Makefile	2013-08-26 02:35:30.000000000 -0700
+++ scamper/Makefile	2013-08-26 02:40:37.000000000 -0700
@@ -1,13 +1,13 @@
 # $NetBSD: Makefile,v 1.13 2012/10/23 17:19:07 asau Exp $
 #

-DISTNAME=	scamper-cvs-20111202b
+DISTNAME=	scamper-cvs-20130824
 PKGNAME=	${DISTNAME:S/-cvs//}
 CATEGORIES=	net
-MASTER_SITES=	http://www.wand.net.nz/scamper/
+MASTER_SITES=	http://www.caida.org/tools/measurement/scamper/code/

 MAINTAINER=	mjl@luckie.org.nz
-HOMEPAGE=	http://www.wand.net.nz/scamper/
+HOMEPAGE=	http://www.caida.org/tools/measurement/scamper/
 COMMENT=	Tool for parallelised IPv4 and IPv6 measurement
 LICENSE=	gnu-gpl-v2

diff -ur scamper.orig/PLIST scamper/PLIST
--- scamper.orig/PLIST	2013-08-26 02:35:30.000000000 -0700
+++ scamper/PLIST	2013-08-26 02:50:50.000000000 -0700
@@ -2,7 +2,10 @@
 bin/sc_ally
 bin/sc_analysis_dump
 bin/sc_attach
+bin/sc_ipiddump
+bin/sc_speedtrap
 bin/sc_tracediff
+bin/sc_warts2json
 bin/sc_warts2pcap
 bin/sc_warts2text
 bin/sc_wartscat
@@ -25,7 +28,10 @@
 man/man1/sc_ally.1
 man/man1/sc_analysis_dump.1
 man/man1/sc_attach.1
+man/man1/sc_ipiddump.1
+man/man1/sc_speedtrap.1
 man/man1/sc_tracediff.1
+man/man1/sc_warts2json.1
 man/man1/sc_warts2pcap.1
 man/man1/sc_warts2text.1
 man/man1/sc_wartscat.1
diff -ur scamper.orig/distinfo scamper/distinfo
--- scamper.orig/distinfo	2013-08-26 02:35:30.000000000 -0700
+++ scamper/distinfo	2013-08-26 02:40:42.000000000 -0700
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.8 2012/04/16 06:09:47 markd Exp $

-SHA1 (scamper-cvs-20111202b.tar.gz) = cb4a2aff46afd05618e7134b7edf3bc2e0f84300
-RMD160 (scamper-cvs-20111202b.tar.gz) = cf1e43c4f50d03a44df2b32b3127ffe90f4b1723
-Size (scamper-cvs-20111202b.tar.gz) = 1118438 bytes
+SHA1 (scamper-cvs-20130824.tar.gz) = c3d5c5bb28fd39020a13d9d7be25e4e5ac0cb05e
+RMD160 (scamper-cvs-20130824.tar.gz) = f4caeae59f93d3b33e1773c00579f6ee5cce69a9
+Size (scamper-cvs-20130824.tar.gz) = 1209926 bytes

>Release-Note:

>Audit-Trail:
From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48156 CVS commit: pkgsrc/net/scamper
Date: Mon, 26 Aug 2013 20:46:02 +0000

 Module Name:	pkgsrc
 Committed By:	markd
 Date:		Mon Aug 26 20:46:02 UTC 2013

 Modified Files:
 	pkgsrc/net/scamper: DESCR Makefile PLIST distinfo

 Log Message:
 Update scamper to 20130824.  Scamper's homepage (and code) has shifted.
 PR pkg/48156

 * add a sc_warts2json utility program that prints out JSON renderings
   of trace, ping, and dealias objects in scamper warts files.  this is
   useful when developing simple analysis programs in perl.  the
   initial implementation of JSON output for ping and trace was
   supplied by Internap.  Thanks a lot Internap!

 * add a sc_speedtrap utility program that resolves a set of IPv6
   interfaces for aliases (which interfaces belong to the same router).
   documented in sc_speedtrap(1) man page.
   http://www.caida.org/~mjl/pubs/speedtrap.pdf

 * add a sc_ipiddump utility program that prints out all IPIDs received
   in ping and dealias objects.  documented in sc_ipiddump(1) man page.
   in ping and dealias objects.  documented in sc_ipiddump(1) man page.

 in scamper:
 * output json objects with -O json
 * add -O debugfileappend, causing the debugfile to be appended to
   rather than truncated
 * do not output debugging information to stderr if NDEBUG was
   specified
 * drain fds that are not used by any measurement but have not been
   closed yet
 * improve the use of poll()
 * allow a control socket client to specify its mixing priority
 * correctly interpret the neighbour discovery cache sysctl on MacOS.
 * fix build on MacOS systems without IPFW.
 * fixes prompted by clang static analysis.
 * fixes prompted by clang static analysis.

 in sc_analysis_dump:
 * improvements to the comment header printed automatically at the start
 * add -M option to print out MPLS headers in ICMP extensions.
 * add -Q option to print out Quoted IP TTL
 * add -T option to print out the IP TTL of the response packet

 in scamper-ping
 * implement stats function so that the stats printed are not junk
 * add an -M <mtu> option which causes scamper to send a PTB in
   response to a packet larger than the given size.
 * add a -P icmp-time option which causes ping to send ICMP timestamp
   requests.
   requests.

 in scamper-sting:
 * various improvements in the hole filling phase.
 * add -U <userid>

 in scamper-dealias:
 * implement IPv6 support for Ally and RadarGun which is induced by
   sending ICMP echo packets larger than a given pseudo MTU size
   (causing a responses to be fragmented and thus an ID field revealed.
 * implement IPv6 support for Mercator
 * be more strict in declaring two interfaces to be aliases: infer
   the byte ordering by determining if the shortest distance in a
   sequence of ID values is in byte-swapped or not, and then using
   that byte ordering mode.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/net/scamper/DESCR
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/scamper/Makefile
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/scamper/PLIST
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/scamper/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Mon, 26 Aug 2013 20:51:07 +0000
State-Changed-Why:
update applied.  thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.