The NetBSD Project

CVS log for pkgsrc/net/scamper/Makefile

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 11 11:55:11 2026 UTC (5 days, 1 hour ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
*: recursive bump for icu 79

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Sep 29 06:07:08 2026 UTC (6 weeks, 6 days ago) by wiz
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
*: recursive bump for pcre2 10.49

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Sep 27 11:38:10 2026 UTC (7 weeks, 1 day ago) by tnn
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
*: revbump for pcre2 symbol versioning change

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Sep 2 19:04:03 2026 UTC (2 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
*: recursive bump for pcre2 10.48

Revision 1.28: 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-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 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.27: download - view: text, markup, annotated - select for diffs
Wed Jan 7 08:48:27 2026 UTC (10 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1 lines
*: recursive bump for icu 78.1

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Nov 16 21:01:54 2025 UTC (11 months, 4 weeks ago) by hauke
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
net/scamper - update to scamper-20251113

Maintainer update from PR pkg/59755

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Oct 23 20:38:54 2025 UTC (12 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Oct 20 18:37:13 2025 UTC (12 months, 3 weeks ago) by bsiegert
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
scamper: update to 20251020

From mjl in PR pkg/59717.

scamper:
* support tx/rx on ARPHRD_NONE linux packet sockets
* make route socket code work on solaris
* disable epoll on solaris, which doesn't seem to work
* let host -s take an IPv6 address
* add sniff.enable and neighbourdisc.enable config options
* add neighbourdisc json output
* abandon a remote source and its current tasks when sc_remoted sends
  an application-level fin
* trace, tracelb: do not do ptr lookups if host command has been
  disabled by configuration
* remove unused msec parameter from scamper_task_queue_done, remove
  scamper_task_queue and scamper_task_queue_wait, removing unnecessary
  gettimeofday calls.
* rename time-based variables in event loop after their use to
  make it more obvious what is going on
* fix json rendering of pmtud traceroutes with a host-connected MTU
  mismatch
* fix regression from 20250106 where scamper might not write the final
  measurement result and hang indefinitely, if you are unlucky.
* add do-not-probe file support, with -O dnp=file option, documented
  in man page.  do-not-probe file support can be disabled with
  --disable-scamper-dnp configure option.
* let traceroute with PMTUD use ICMP-echo probes, document in man page.
* document existence of ping -O mss=val option in man page.
* add tls_errstr, use it in printerror_ssl.
* minify ping and trace json output by removing spaces in output.
* host: if qname contains a trailing dot, remove the trailing dot, so that
  example.com. and example.com are equivalent.
* host: if do-not-probe file contains a prefix covering a nameserver
  in /etc/resolv.conf, still allow the host command to use it.
* rework most internal use of printerror/scamper_debug, tagging
  measurement results with errmsg strings if an error occurs affecting
  a measurement.
* emit errmsg strings in json and warts output.  errmsg strings will
  also be emitted to debugfile / stderr as before.  these strings
  are not emitted in text output of measurements.
* add error result code (stop reason) to dealias measurements.
* silently ignore unlikely PTR lookup error conditions for trace and
  tracelb -- PTR lookups are not essential components of these
  measurements.
* fix memory leaks when encountering unlikely error conditions in
  sting, tbit, tracelb, udpprobe.

libscamperfile:
* add scamper_neighbourdisc_tojson, bump version
* clean up mtu / stop_hop checks in trace text output
* provide API access to udpprobe stop_reason and its string rendering.
* add scamper_dealias_reply_is_icmp_echo_reply().
* silence spurious uninitialized use warning in scamper_http_lib.c.
* add scamper_tbit_totext().
* fix regression from 20241112 when reading tbit warts, which rejected
  valid tbit measurements.
* add scamper_*_errmsg_get functions.
* let neighbourdisc src_mac and dst_ip be null when reading warts
  files, rather than reject the object.
* bump version.

libscamperctrl:
* add iata attribute to scamper_vp_t.
* bump version.

throughout:
* switch to mostly timeval-based math to avoid division operations,
  remove some timeval functions, add others (mul, div)
* implement branchless comparison functions for address and time
  comparison
* speed up ipv4_prefix, ipv4_prefixhosts scamper_addr implementations
* simplify string_nullterm and string_nullterm_char according to how
  they are used in practice
* add slist_node_iter and dlist_node_iter functions to optimise a
  common code pattern
* add slist_to_dlist, dlist_to_slist, splaytree_to_slist, and
  splaytree_to_dlist to reduce repeated code
* silence warnings and errors when compiling with gcc 2.95
* remove string_concaf from more places.

Python module:
* add ScamperNeighbourdisc.to_json(), to convert a neighbourdisc object
  to JSON.
* add ScamperInst.resultc attribute, to find out the number of result
  objects queued in the parent ScamperCtrl for the instance.
* signal eof when the instance has no objects queued in parent ctrl
* make ScamperIcmpExts.ext_count be an attribute, consistent with
  documentation
* make ScamperTracelbNode near, far, length be attributes rather than
  methods, consistent with documentation
* fix sync=True do_* code paths
* install scamper.pyi file alongside the compiled python module to
  allow for static type checking analysis with mypy, and for code
  completion in vscode
* use #defines from scamper C header files in more places.
* support pickling of ScamperAddr.
* add .iata attribute to ScamperVP, ScamperInst.
* add .stop_reason and .stop_reason_str attributes to ScamperHost,
  ScamperHttp, ScamperPing and ScamperUdpprobe.
* add ScamperDealias.is_icmp_echo_reply().
* add to_text() method to ScamperDealias, ScamperPing, ScamperTbit,
  ScamperTrace, ScamperTracelb.
* release GIL when waiting for measurement results so that module is
  asyncio friendly.
* add errmsg attribute to measurement objects, interface file, and
  document.

sc_remoted:
* disconnect mux clients if associated scamper process disconnects
* catch TERM signal (in addition to INT and HUP)
* write pidfile after becoming daemon, when -D is used
* add iata to list of supported metadata items per VP, document in
  man page.

sc_hoiho:
* learn ASN regexes where the operator controlling the PTR record uses
  a prefix on the hostname (e.g., ^ipv4.de-cix.)

sc_minrtt:
* add -a anycast-file option, to specify a file containing apparent
  anycast prefixes.  sc_minrtt will not consider samples for a covered
  IP address if any of the samples collected by sc_pinger for the
  address imply the address could not be in a single location.
  document in man page.

sc_pinger:
* add -Z zombie-time option, which will cause sc_pinger to exit if a
  remote scamper instance goes silent for a user-defined length of
  time
* add -B bad-spec option to detect bad probe methods at run time,
  which look for unlikely sequences of reply TTL values
* update documentation

sc_wartsdump:
* print error code for udpprobe.
* use scamper_*_[stop|result]_tostr functions rather than duplicate code.
* emit errmsg.

tests:
* further config unit tests
* add neighbourdisc test case
* add unit tests for string_nullterm and string_nullterm_char
* expand timeval math tests by adding add, diff, inrange, mul, div
  tests, and more sub tests
* expand scamper_addr tests to include cmp, human_cmp,
  prefix, first-bit-diff, and prefixhosts
* expand trace tests to include a pmtud traceroute with a
  host-connected MTU mismatch
* add more qname tests in unit_cmd_host.c.
* check that errmsg is read-from and written-to warts files correctly.

documentation:
* complete trace and ping warts(5) format descriptions

misc:
* benign changes to allow compilation on solaris

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jun 5 06:31:37 2025 UTC (17 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
scamper: update to 20250603.

From mjl in PR 59457.

scamper:
* add initial streaming implementation of trace and ping, document
  existence in man page
* reload scamper config file with SIGHUP, document signal handling
  in man page
* fix scamper_trace_reply_dup
* restructure recording of probes in do_trace_probe
* tbit: dl_* -> tbit_* so that we don't have a function named dl_data,
  which causes a compiler error on solaris
* HEADS UP: it is my intention to remove the following command line
  options from scamper in a future release, probably making them
  available some other way:
  -l listname (name to assign to default list)
  -L listid (list id for default list)
  -C cycleid (cycle id)

libscamperfile:
* add scamper_[trace|ping|tracelb|dealias]_totext, which provide an
  interface to get the same text rendering supplied by scamper
* add scamper_trace_pmtud_noteiter functions
* ensure pointers are not null before dereferencing them when rendering
  path MTU text output
* fix json rendering of traceroute probes with no response after
  stop_hop
* remove potential memory leak rendering MTU information in trace text
* bump libscamperfile version

Python module:
* implement str() for ScamperPing, ScamperTrace, and ScamperTracelb,
  which provides the same text rendering that would have been supplied
  by scamper
* add ScamperTracePmtudNote and ScamperTracePmtud.notes()
* update docs: https://www.caida.org/catalog/software/scamper/python/

tests:
* add unit_text to check text rendering
* add unit_json to check json rendering
* add fuzz_warts2text to find bugs in text rendering with malformed
  warts
* add trace unit test case: traceroute probes with no response
* replace fuzz-tmux.sh with fuzz-tmux.pl, which better aligns with
  my workflow

misc:
* silence clang dead initialization warnings

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 6 07:28:05 2025 UTC (18 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -3 lines
scamper: update to 20250505.

Provided by mjl in PR 59399.

20250505:

scamper:
* trace: separate probes from replies
* trace: support -P tcp-ack Path MTU probing
* trace: support -N squeries with Path MTU probing
* trace: embed path MTU probing data in JSON output
* ping: add -O dltx option to force datalink tx, capture nhmtu in
  ICMP PTB messages
* add basic sysctl-like configuration file support, which currently
  only allows for disabling measurement primitives, e.g.:
  # disable udpprobe measurement primitive
  udpprobe.enable=0
* hopefully fix build on solaris

libscamperfile:
* chase separation of traceroute probes from replies, add
  scamper_trace_hopiter_* to simplify required user code
  modifications.
* fix 20250227 regression that did not read ipid32 in ping replies
  correctly, which lead to speedtrap not working.
* fix udpprobe warts storage when no packets are sent.
* be defensive allocating memory in warts read path.
* be defensive with possible null pointers when generating json from
  malformed warts.
* bump libscamperfile version.

Python module:
* include setup.py in source code distribution.
* transparently handle separation of traceroute probes from replies.
* extend do_ping to support MTU probing, and capture embedded nhmtu.

tests:
* replace unit_host_warts, unit_http_warts, unit_ping_warts,
  unit_trace_warts, unit_udpprobe_warts, with unit_warts.
* expand ping warts unit tests to check ipid values.
* expand trace warts unit tests to include last ditch probing, and
  path mtu discovery.
* add udpprobe and dealias warts unit tests.
* add fuzz_warts2json.
* add simple unit tests for parsing scamper configuration file.

throughout:
* chase libscamperfile modifications throughout bundled utilities.
* use string_concatc in all obvious places, reduce use of
  string_concaf further, speeding up string rendering.

20250401:

scamper:
* move items that require privilege (opening files, unlinking files,
  opening raw sockets, datalink interfaces) into scamper_priv.c and
  have each follow a consistent pattern.  previously these were
  distributed throughout many source code files.
* add build option that allows scamper to decide if it will do
  privilege separation at run time.
  the --enable-scamper-privsep=rootonly configure option enables this
  behavior.  if run with root privileges, scamper will do privilege
  separation.  if not run with root privileges, scamper will not.
  --enable-scamper-privsep=yes (the default) does privilege separation
  regardless of root privilege status.
  note: the previous --disable-privsep configure option has become
  --disable-scamper-privsep
* restructure the way that blocked tasks (tasks that share a probe
  signature) are handled
* add -O mss=foo option to ping, which will include mss option to
  TCP syn probe methods.
* ignore packets on the datalink interface associated with a probe
  that has a timestamp after the datalink packet's timestamp.
* increase scamper -H holdtime limit from 10s to 60s.

python module:
* add ScamperCtrl.outfile setter
* fix ScamperFile filter_types

libscamperfile:
* handle termination HTTP chunk correctly (noticed running unit tests
  on MacOS, which has a stricter strtol)
* be more accepting when processing HTTP headers

libscamperctrl:
* fix bug when reading partial control messages from mux

tests:
* add unit test for prefixtree implementation
* add tests for parsing HTTP headers

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Apr 17 21:52:03 2025 UTC (18 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
*: recursive bump for icu 77 and libxml2 2.14

Revision 1.20: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +35 -7 lines
scamper: update to 20250227.

Provided by maintainer mjl in PR 59239.

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

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jan 26 17:31:55 2020 UTC (6 years, 9 months ago) by rillig
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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.18: 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-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.17: preferred, colored
Changes since revision 1.17: +2 -2 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.17: 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.16: preferred, colored
Changes since revision 1.16: +2 -2 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.16: download - view: text, markup, annotated - select for diffs
Sun Nov 16 05:17:24 2014 UTC (12 years 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Update scamper to 20141101  (PR pkg/49353)

20141101:
* fix passing file descriptors through sockets on NetBSD, so that
   scamper can actually work with privsep on NetBSD.
 * use arc4random on all platforms where available.  silences build on
   OpenBSD.
 * increase size of flags array for warts_dealias_data_t so that all
   of the prefixscan flags can fit.  pointed out by OpenBSD gcc.
 * silence build on NetBSD by casting parameter to isspace from char
   to int.
 * silence a couple spurious clang scan-build warnings with assert
   statements.

20141031:
In this Halloween release of scamper:

* work to make scamper compile and work on windows again.  use
  O_BINARY so that output warts files are not corrupted, set the timer
  granularity to 1ms, and handle polling/reading files outside of
  select().  Thanks to Philip Ramsey of Renesys for reporting these
  bugs and supplying the O_BINARY and timer fixes.  as part of trying
  to track down the output corruption I added malloc_zero everywhere,
  in vain, but kept it in scamper out of an abundance of caution.
* detangle scamper_fd_t from scamper_writebuf_t.
* in ping,
  - set a timeout after sending a PTB
  - print reply_ipid in json output for ipv6 echo replies, bump
    json version.
* update scamper -O options in the usage statement, and in the
  manual page

20140530:
* FreeBSD 10 onwards no longer byte swaps some fields in the quotation of
  a received ICMP error message.  chase this in scamper.
* Minor modifications to make scamper compile on Windows 7 using
  Visual Studio Express 2013 for Windows Desktop.
* print ping flags in sc_wartsdump and scamper's json output.
 email alias tied to this mailing list, please let me know.

20140404:
* allow scamper to be built in debug mode on FreeBSD after version 10.
* in scamper-ping, support a probe frequency smaller than once every
  second.  minimum is now once a millisecond.
* handle fragmented responses in linux and sunos correctly.
  this is important for IPv6 IP-ID based alias resolution techniques
  (e.g. speedtrap, ally, radargun) on those platforms.
* numerous bugfixes and improvements to sc_ally pair-wise alias
  resolution utility, the most important being that it will reliably
  complete now.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jan 26 10:28:49 2014 UTC (12 years, 9 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Update scamper to 20140122

from PR pkg/48546

scamper-dealias:
* many slight improvements to the implementation of the 'ally' alias
  resolution algorithm.
* add flag to prefixscan that says the alias was inferred using a common
  source address
* for json output, print flags, bump version.

scamper-ping:
* record ICMP parameter problem responses to ping.
* for json output, print tx time on probes.

sc_attach:
* add support for starting as a daemon.
* add support for specifying a command which will be used with each address
* document these options in manual page

sc_analysis_dump:
* update manual page to document unintuitive behaviour of -e option.

misc:
* getopt returns an int, not a char.  important on arm.  fixed in
  sc_wartscat, sc_speedtrap, and sc_analysis_dump,
* silence benign warnings from clang on MacOS and cppcheck.

Revision 1.14: 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-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 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.13: download - view: text, markup, annotated - select for diffs
Tue Oct 23 17:19:07 2012 UTC (14 years ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -3 lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.12: 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-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 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.11: download - view: text, markup, annotated - select for diffs
Tue May 3 11:51:12 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.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Update scamper to 20110503.
PR#44929.

The main changes are to sc_tracediff, a program that displays traceroutes side
by side that have changed.  There are bug fixes to sc_tracediff, as well as
enhancements.

Revision 1.10: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -11 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.9: download - view: text, markup, annotated - select for diffs
Fri Apr 15 08:34:00 2011 UTC (15 years, 7 months ago) by obache
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -6 lines
Use USE_FEATURES=inet6 for requirement of IPv6 support, instead of unusual usage
of PKG_OPTIONS.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 22 21:10:16 2010 UTC (16 years, 2 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Update scamper to 20100517 snapshot.

Several years of development.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 11 22:41:44 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2 lines
DESTDIR support

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 8 12:35:11 2007 UTC (19 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: 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, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Reset maintainer, rpaulo resigned.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 20 22:57:06 2006 UTC (20 years, 7 months ago) by rpaulo
Branches: MAIN
CVS tags: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Update to cvs version 20060331, from Matthew Luckie <mjl@luckie.org.nz>.
The significant change is the incorporation of pkgsrc DragonFly patches.
Thanks to Joerg for this.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 3 04:47:42 2006 UTC (20 years, 9 months ago) by rpaulo
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Update to version 20051128.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Dec 5 20:50:49 2005 UTC (20 years, 11 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 2 15:32:38 2005 UTC (21 years ago) by tv
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -1 lines
Require IPv6 support via the options framework.

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
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>