NetBSD Problem Report #50654
From www@NetBSD.org Wed Jan 13 08:24:39 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0823C7A20E
for <gnats-bugs@gnats.NetBSD.org>; Wed, 13 Jan 2016 08:24:39 +0000 (UTC)
Message-Id: <20160113082437.9444D7ACCB@mollari.NetBSD.org>
Date: Wed, 13 Jan 2016 08:24:37 +0000 (UTC)
From: mjl@luckie.org.nz
Reply-To: mjl@luckie.org.nz
To: gnats-bugs@NetBSD.org
Subject: [patch] update net/scamper to 20141211d
X-Send-Pr-Version: www-1.0
>Number: 50654
>Category: pkg
>Synopsis: [patch] update net/scamper to 20141211d
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: leot
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 13 08:25:00 +0000 2016
>Closed-Date: Sat Jan 16 16:14:38 +0000 2016
>Last-Modified: Sat Jan 16 16:15:00 +0000 2016
>Originator: Matthew Luckie
>Release: 6.1.5
>Organization:
>Environment:
NetBSD 6.1.5 NetBSD 6.1.5 (GENERIC) i386
>Description:
Update scamper from 20141211a to 20141211d:
ChangeLogs:
https://mailman.caida.org/pipermail/scamper-announce/2015-October/000004.html
https://mailman.caida.org/pipermail/scamper-announce/2015-December/000005.html
https://mailman.caida.org/pipermail/scamper-announce/2016-January/000006.html
tbit
* add support for initial congestion window (ICW) inferences
* add new tests to check response to packets that could have been
sent by a blind attacker
* add a TCP fast-open implementation, with both experimental
and official option values
* add support for testing HTTPS and BGP. drop FTP, DNS, and SMTP
* add sc_tbitblind driver that was used for IMC 2015 paper
trace
* add tx timestamp to hop records
* add dl option, to replace dlts option removed from scamper.
* process UDP responses, if a UDP probe method is used.
ping:
* add tcp-syn ping method.
* fix memory leak when payloads are specified in ping.
sc_ipiddump
* report IPID values from traceroute measurements, where available
* report the source IP address used to probe the destination
sc_filterpolicy:
* add a new scamper driver to test systems for congruent filtering policy
http://www.caida.org/tools/measurement/scamper/man/sc_filterpolicy.1.pdf
scamper:
* update scamper maximum PPS to 10,000 (from 1000). Its not 2002 anymore.
* bind to requested source port with UDP sockets.
* set SO_SNDBUF once, when a probe socket is created.
* remove dlts option which was only used by traceroute.
* drop divert socket from privsep, which was not used in scamper anywhere.
* shift socket creation glue from scamper_privsep.c to
scamper_udp4.c, scamper_icmp6.c, etc.
* fix memory leak when receiving TCP responses in tracelb.
* do not use the global address cache in tracelb: use a local one.
* in qsort with 3-way partition, do not compare items against
themselves.
* improve performance of warts_addr_t code
* use calloc instead of malloc() -> memset(0) on systems where calloc
is available.
* do not use the global address cache in ping: most responses are
either from the destination, or from the same IP address, so
optimize for that.
>How-To-Repeat:
N/A
>Fix:
diff -uNr scamper/Makefile scamper-new/Makefile
--- scamper/Makefile 2016-01-13 21:09:03.000000000 +0000
+++ scamper-new/Makefile 2016-01-13 21:12:29.000000000 +0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.17 2015/12/28 12:15:19 bsiegert Exp $
#
-DISTNAME= scamper-cvs-20141211a
+DISTNAME= scamper-cvs-20141211d
PKGNAME= ${DISTNAME:S/-cvs//}
CATEGORIES= net
MASTER_SITES= http://www.caida.org/tools/measurement/scamper/code/
diff -uNr scamper/PLIST scamper-new/PLIST
--- scamper/PLIST 2016-01-13 21:09:03.000000000 +0000
+++ scamper-new/PLIST 2016-01-13 21:13:54.000000000 +0000
@@ -2,8 +2,10 @@
bin/sc_ally
bin/sc_analysis_dump
bin/sc_attach
+bin/sc_filterpolicy
bin/sc_ipiddump
bin/sc_speedtrap
+bin/sc_tbitblind
bin/sc_tracediff
bin/sc_warts2csv
bin/sc_warts2json
@@ -29,8 +31,10 @@
man/man1/sc_ally.1
man/man1/sc_analysis_dump.1
man/man1/sc_attach.1
+man/man1/sc_filterpolicy.1
man/man1/sc_ipiddump.1
man/man1/sc_speedtrap.1
+man/man1/sc_tbitblind.1
man/man1/sc_tracediff.1
man/man1/sc_warts2json.1
man/man1/sc_warts2pcap.1
diff -uNr scamper/distinfo scamper-new/distinfo
--- scamper/distinfo 2016-01-13 21:09:03.000000000 +0000
+++ scamper-new/distinfo 2016-01-13 21:12:34.000000000 +0000
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.13 2015/12/28 12:15:19 bsiegert Exp $
-SHA1 (scamper-cvs-20141211a.tar.gz) = 914329deaf20903556d665b49b650953c9138a69
-RMD160 (scamper-cvs-20141211a.tar.gz) = f41ef0a17ef41041910467179b34c849dc9cb77d
-SHA512 (scamper-cvs-20141211a.tar.gz) = 0b0918a50e993bc2047cbfcd84527293d221d480fe9dc2fb4e1e9b9d588e3007d6333074f2f57e31279d68807ae837b45bcf2596b76ee17207392740cd0c768a
-Size (scamper-cvs-20141211a.tar.gz) = 1280694 bytes
+SHA1 (scamper-cvs-20141211d.tar.gz) = be652cd601215de129e20c339d914ac17836dd5c
+RMD160 (scamper-cvs-20141211d.tar.gz) = d509a103371b85775e4c7b4ee4a23dcabf4643ca
+SHA512 (scamper-cvs-20141211d.tar.gz) = b032868470039691c45d90dd99025fd569c1cb63b8d337d4be04fe2ddac3b9c334cd7075a0b2533d093d65d8bb18414db1e74f4fc9719072679021aa7df99b7c
+Size (scamper-cvs-20141211d.tar.gz) = 1465618 bytes
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->leot
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Sat, 16 Jan 2016 16:12:38 +0000
Responsible-Changed-Why:
Take!
State-Changed-From-To: open->analyzed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Sat, 16 Jan 2016 16:12:38 +0000
State-Changed-Why:
Analyzed, patches provided by the originator will be committed soon.
State-Changed-From-To: analyzed->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Sat, 16 Jan 2016 16:14:38 +0000
State-Changed-Why:
Patch applied, thank you very much Matthew!
From: "Leonardo Taccari" <leot@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50654 CVS commit: pkgsrc/net/scamper
Date: Sat, 16 Jan 2016 16:13:15 +0000
Module Name: pkgsrc
Committed By: leot
Date: Sat Jan 16 16:13:15 UTC 2016
Modified Files:
pkgsrc/net/scamper: Makefile PLIST distinfo
Log Message:
Update net/scamper to 20141211d.
Patches provided by Matthew Luckie in PR pkg/50654.
ChangeLogs:
https://mailman.caida.org/pipermail/scamper-announce/2015-October/000004.html
https://mailman.caida.org/pipermail/scamper-announce/2015-December/000005.html
https://mailman.caida.org/pipermail/scamper-announce/2016-January/000006.html
tbit
* add support for initial congestion window (ICW) inferences
* add new tests to check response to packets that could have been
sent by a blind attacker
* add a TCP fast-open implementation, with both experimental
and official option values
* add support for testing HTTPS and BGP. drop FTP, DNS, and SMTP
* add sc_tbitblind driver that was used for IMC 2015 paper
trace
* add tx timestamp to hop records
* add dl option, to replace dlts option removed from scamper.
* process UDP responses, if a UDP probe method is used.
ping:
* add tcp-syn ping method.
* fix memory leak when payloads are specified in ping.
sc_ipiddump
* report IPID values from traceroute measurements, where available
* report the source IP address used to probe the destination
sc_filterpolicy:
* add a new scamper driver to test systems for congruent filtering policy
http://www.caida.org/tools/measurement/scamper/man/sc_filterpolicy.1.pdf
scamper:
* update scamper maximum PPS to 10,000 (from 1000). Its not 2002 anymore.
* bind to requested source port with UDP sockets.
* set SO_SNDBUF once, when a probe socket is created.
* remove dlts option which was only used by traceroute.
* drop divert socket from privsep, which was not used in scamper anywhere.
* shift socket creation glue from scamper_privsep.c to
scamper_udp4.c, scamper_icmp6.c, etc.
* fix memory leak when receiving TCP responses in tracelb.
* do not use the global address cache in tracelb: use a local one.
* in qsort with 3-way partition, do not compare items against
themselves.
* improve performance of warts_addr_t code
* use calloc instead of malloc() -> memset(0) on systems where calloc
is available.
* do not use the global address cache in ping: most responses are
either from the destination, or from the same IP address, so
optimize for that.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/scamper/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/scamper/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/scamper/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.