The NetBSD Project

CVS log for pkgsrc/net/scamper/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / net / scamper

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Apr 5 20:55:32 2026 UTC (7 months, 1 week ago) by maya
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
scamper: Update net/scamper to 20260331

* add initial implementation of RFC 4656 OWAMP.  the implementation is
  functional but incomplete, and all owamp interfaces (e.g., warts,
  json, command line interface, python interface, and the
  implementation itself) are subject to change.
* document current owamp command line interface in scamper man page.
* remove unused scamper_privsep_open_udp and scamper_privsep_open_tcp.
* print out monitor field -- the name of the system that did the
  measurement -- in all json objects.  previously, only "trace" and
  "tracelb" measurements printed that field.
* do not leak IP4 raw sockets, triggered with use of -O raw in ping
  and trace.
* trace: add -O back to conduct traceroutes with decreasing TTL values.
  this requires use of -m ttl option.
* trace: when -N > 1 is used on a path with a loop, update json to
  show path until loop condition was met, rather than on the first
  occurrence of an address involved in a loop.
* trace: emit traceroute flags in json output.
* host: add ability to query for HTTPS records
* http: add initial TLS Encrypted ClientHello (ECH) support.  this
  requires OpenSSL version 4.
* http: keep stop reason when cert validation fails, rather than
  overwrite with generic error stop reason.
* update man page for trace (-O back), host (-t https), http (ECH
  options)

sc_remoted:
* use unveil(2) and pledge(2) where present (OpenBSD) to restrict
  the files sc_remoted has access to after initialization, and restrict
  system calls available to sc_remoted.
* add optional-at-runtime chroot support to sc_remoted, to restrict
  the files sc_remoted has access to after initalization on operating
  systems without unveil(2), and add "security considerations" section
  to sc_remoted man page on chroot support.
* refactor debug messages: most were errors that should have been
  emitted to stderr even without using -O debug.
* add -O notimes option to remove timestamps, useful when the system
  independently prefaces debug output with a timestamp.
* emit names and magic values associated with remote scamper instances in
  debug messages.
* if the metadata file can't be loaded on startup, say so.
* do not start if provided a positional argument, as sc_remoted does
  not accept positional arguments and use of positional arguments
  suggests user error.
* set unix domain sockets non-blocking to prevent slow readers from
  stopping event loop

libscamperctrl:
* fix possible crash in scamper_mux_add().
* add scamper_mux_add_inet().
* ensure scamper_ctrl_strerror() will report something if
  scamper_mux_add() or scamper_mux_add_inet() fails.
* bump version.
* handle data after GO when reading from mux
* document currently available libscamperctrl functions in man page.

libscamperfile:
* add owamp interfaces, scamper/scamper_owamp.h
* bump version to account for owamp interfaces.
* do not loop infinitely when reading some truncated compressed files.

Python module:
* bindings for ScamperOwamp.
* drop GIL when calling clibscamperctrl.scamper_mux_add which can be
  IO bound.
* add hash / cmp to ScamperVp, allowing ScamperVp objects to be stored
  in sets.
* allow do_ inst variables to be a set as well as a list, use set
  internally.
* EncryptedClientHello support for HTTP test
* support https record type in DNS test
* change internal uses of list/dict to sets/deque

sc_bdrmap:
* convert sc_bdrmap to libscamperctrl
* add mux support to sc_bdrmap, so that bdrmap can be run on a single
  VP attached to a mux socket.  update manual page with details.
* gracefully handle measurements rejected by scamper policy -- skip
  over them.

sc_pinger:
* catch SIGINT and SIGTERM to exit gracefully, rework error handling

sc_minrtt:
* if a file can't be opened, skip over it, rather than stopping
  processing entirely.

sc_wartsdump:
* consistently preface any hex output with 0x.
* dump owamp structures.

configure.ac
* use quoted form for all test statements.

throughout:
* establish convention to #ifdef for O_NONBLOCK throughout, rather
  than HAVE_FCNTL.

tests:
* add additional tests for radargun data structures.
* add unit_cmd_owamp tests to check owamp command parsing.
* add glue to check warts and json code paths for owamp.
* add base64 tests
* expand http warts tests

From mjl in PR pkg/60151

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 31 13:59:11 2025 UTC (19 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +35 -1 lines
scamper: update to 20250227.

Provided by maintainer mjl in PR 59239.

Changes:
More than 10 years of development, no summary found.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 16 16:13:15 2016 UTC (10 years, 10 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -1 lines
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Dec 28 12:15:19 2015 UTC (10 years, 10 months ago) by bsiegert
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
Update net/scamper to 20141211a. From maintainer in PR pkg/50138.

From https://rommie.caida.org/pipermail/scamper-announce/2015-August/000003.html

* provide the ability for scamper's control socket to bind to a
  specific address.  this allows external systems to contact and drive
  scamper processes.  a more secure solution will follow in a month or
  two.

* when converting the source port of a control socket client to a
  string, print it in host byte order rather than network byte order

* add a TBT (too-big-trick) option to ping, use it in sc_speedtrap.  a
  simple optimisation to send up to M packets to get N fragmented
  responses.

* if an input list to sc_speedtrap contains the same IP address twice,
  ignore the duplicate address, rather than crash later.

* use a quicksort with a 3-way partition.  will make scamper more
  efficient in many places.

* add sc_warts2csv for samknows

* fix sc_tracediff so that it doesn't crash if the two warts files
  being compared traceroute to different sets of addresses.  reported
  by Job Snijders.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 26 20:46:02 2013 UTC (13 years, 2 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -1 lines
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.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 16 06:09:47 2012 UTC (14 years, 7 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
Update to 20111202b  (PR pkg/46330)

* provide documentation for libscamperfile
* fix ping -O spoof
* fix tracelb and sniff bugs that cause scamper to crash
* fix sc_analysis_dump, sc_warts2pcap, and sc_wartscat man pages
* fix sc_warts2text to read from stdin if no files specified
* add -a (all) -m (pair method) and -n (use dns) options to sc_tracediff

* initial draft of a man page for the warts file format.
   man 5 warts.
* provide -O copyout option to scamper itself, which allows all
   data written over the control socket in "attach" mode to also
   be sent to a named file.  useful for debugging.  documented
   in the scamper man page.
* provide ability to specify the source address of a PTB in tbit.
* in attach mode, each command now returns a command ID as part
   of the OK response.  a command may be halted before it completes
   by issuing a halt command over the same control socket.
* when sanity checking the probe size requested in ping, take
   account of the timestamp IP option correctly.  noticed by
   Alistair.

* fix scamper man page to say -d can be used to set the ICMP checksum
   value in Paris traceroute.  noticed by Alistair.
* add scamper_addr_netaddr, a routine to mask the network portion of
   an IP address in a scamper_addr_t.
* fix scamper's ping to actually set the tos byte that is passed in.
   noticed by Alistair.
* fix scamper's ping to record ICMPv6 PTB messages.
* fix the result code set on sniff tasks when a sniff task is halted.
* fix compiler warnings

* correct copyright notices to reflect that, until 2006,
   I have copyright.  No change to GPLv2 license.
* Switch from select(2) to poll(2) by default, which is useful
   when more than a thousand fds are monitored for events.
   Force the use of select instead of poll by invoking scamper
   with -O select.
* Add support for kqueue (BSD) and epoll (Linux).  To use,
   specify -O kqueue or -O epoll when scamper is invoked.
* Fix a bug that could allow scamper to enter an infinite
   loop if a packet with malformed IP options is received.
* Add support for raw IP sockets, and use these to send
   TCP probes in traceroute if the datalink socket can't be
   used to transmit.
* Set SO_REUSEADDR on TCP sockets.
* Add a new traceroute method: IPv6 fragment traceroute.
   specify the offset to encode in the fragment offset with -o
* Fix file support so that if '-' is specified as the source of
   addresses to probe stdin is read, rather than stdout.  ensure
   the file is closed if an error is encountered when opening a
   file.
* Fix bug in MDA traceroute where some TCP responses from the
   target were ignored.
* Fix a potential memory leak in the neighbour discovery code
* Implement code to calculate statistics (min/mean/max/stddev)
   on ping results.
* Detach the writebuf before closing an attached control socket
* Silence all clang static analysis warnings.

* do not output scamper_debug to stderr if NDEBUG has been specified
* fix logic when -O rawtcp is used with tcptraceroute
* fix scamper event loop to drain sockets that are currently
   unreferenced
* fix scamper event loop to handle POLLHUP
* fix double-frees in scamper_sources.c
* fix small memory leak in scamper_sources.c, noticed by Stephen
* fix uname_wrap on 64bit systems, noticed by Stephen

* do not print "cat" when the -e option is used with sc_analysis_dump.
* fix mixing of sources according to their priority.
* when building the scamper binary, do not use the libscamperfile
   library.  instead, build all code into scamper to ensure scamper
   itself will always work.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 30 11:35:26 2011 UTC (15 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +31 -0 lines
Update scamper to 20110421.
patch provided by Matthew Luckie via PR#44919.

A lot of changed in scamper since 2008.
For some idea about what is in scamper today, please check the website,
in particular the scamper man page.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Sep 29 18:02:20 2005 UTC (21 years, 1 month ago) by rpaulo
Branches: TNF
CVS tags: pkgsrc-base, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
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 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.

Reviewed by Johnny Lam.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Sep 29 18:02:20 2005 UTC (21 years, 1 month ago) by rpaulo
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>