From mjl at luckie.org.nz Mon Jun 5 20:57:49 2023 From: mjl at luckie.org.nz (Matthew Luckie) Date: Tue, 6 Jun 2023 15:57:49 +1200 Subject: [scamper-announce] scamper-cvs-20230605 Message-ID: https://www.caida.org/catalog/software/scamper/code/scamper-cvs-20230605.tar.gz SHA256 (scamper-cvs-20230605.tar.gz) = 63bb36e33cc22649c88cdfab1041b461ee8b3f29ab48714943ee4a17c1d0766b SIZE (scamper-cvs-20230605.tar.gz) = 2208130 HEADSUP: if you previously used -e pidfile to record the pid of a running scamper process, there is a good chance that the pidfile is owned by root. scamper now attempts to write this file using the uid that started scamper, and will not be able to write it if scamper is not started by root (it should not be, rather the scamper binary should be setuid root). Please delete the existing pidfile, or change its ownership, prior to restarting scamper, or scamper will not start. scamper: * write a process ID that the user that started scamper can kill in the pidfile when using privsep. * when using privsep, exit the unprivileged process if the privileged process exits (is killed) * run as real uid from the start of scamper, for both privsep and not-privsep. * fix bug where attempting to open an unsupported datalink would leave a freed scamper_fd_t in the fd_tree and fd_list, leading to a crash. * fix double free triggered when a user provides an invalid dealias command. * fix memory leak if the payload was specified twice to ping or trace * rework pollfunc selection logic, use kqueue/epoll by default. * remove _malloc_options = "AJ" as this only works on unsupported versions of FreeBSD. * add additional paramaters to attach command to allow the user to override list and cycle parameters, documented in manual page. * catch EAGAIN/EINTR from select/kqueue/epoll to allow gdb to attach and detach without flagging errors. * for DNS replies for host command, record reply flags and rcode. * add support for SOA and NS queries in host. * add a JSON output for host measurements. * do not let scamper emit warts to a tty. check for isatty in configure. * only allow -O and -z to be specified multiple times in a trace command * only allow -O to be specified multiple times in a ping command * split command parsing logic out from task probing logic. add fuzzing cradle for parsing logic for all measurement types, and basic unit tests for dealias, ping, and trace parsing logic. * autodetect output type by file extension if output type is not explicitly specified on the command line. libscamperfile: * remove all struct definitions from libscamperfile (e.g. scamper_trace, scamper_ping, scamper_addr, etc). provide typedefs for each (scamper_trace_t) and _get() functions that return the field requested. This change will allow hopefully allow libscamperfile's version to stabilize. all scamper utilities now use these get functions. * shift some functions that were previously implemented in libscamperfile into the one place they were used, if they were only used in (for example scamper / sc_analysis_dump / other scamper utility). delete other functions that were not used anywhere in the public scamper release. libscamperctrl: * fix bug by ensuring line_off is always valid after the read. * catch EAGAIN from select. * add kqueue support. * add scamper_attp_* routines to allow applications to specify list and cycle parameters. * for scamper_inst_do, take a parameter to keep with each task. * add scamper_task_getparam function to get the parameter. * add scamper_task_getcmd function to get the command associated with a task. * use TYPE_FATAL instead of TYPE_ERR in application callback when scamper_inst_read encounters a fatal error, only use TYPE_ERR when scamper does not accept a command. sc_prefixprober: * new driver to conduct measurements (ping, trace, tracelb) to an address in each prefix. sc_ally: * use scamper_file_t outfiles, add ability to write gz/bz2/xz files. * ask for cycle-start and cycle-stop records, write them out. * improve use of libscamperctrl. sc_hoiho: * add support for VP geohints, document. * silence -Wshadow. * silence warnings related to assignments that are not used. sc_ipiddump: * fix memory leak when user specifies invalid command line options. sc_filterpolicy: * ask for cycle-start and cycle-stop records, write them out. * improve use of libscamperctrl. sc_pinger: * signal done to get cycle stop record. * improve use of libscamperctrl. * document remote socket option. sc_prefixscan: * use scamper_file_t outfiles, add ability to write gz/bz2/xz files. * ask for cycle-start and cycle-stop records, write them out. * improve use of libscamperctrl. sc_remoted: * catch EAGAIN from select. sc_speedtrap: * ask for cycle-start and cycle-stop records, write them out. * improve use of libscamperctrl. sc_uptime: * silence -Wshadow. * silence warnings related to assignments that are not used. * fix memory leak in up_reboots_doone. sc_warts2json: * fix memory leak with cycle start/stop records. * emit json for host records. sc_wartscat: * fix ability to write compressed warts files. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From mjl at luckie.org.nz Wed Jun 14 17:02:39 2023 From: mjl at luckie.org.nz (Matthew Luckie) Date: Thu, 15 Jun 2023 12:02:39 +1200 Subject: [scamper-announce] scamper-cvs-20230614 Message-ID: https://www.caida.org/catalog/software/scamper/code/scamper-cvs-20230614.tar.gz SHA256 (scamper-cvs-20230614.tar.gz) = 26f11ea025a4fdb0d07ef76c5c3b850f9a0a93c1e1aa88d352d600a907259276 SIZE (scamper-cvs-20230614.tar.gz) = 2186949 scamper: * fix regression in multicall binary introduced in 20230605, so that scamper-ping, scamper-trace, etc, work again. * for scamper -v (have scamper report its version), return 0 on exit from scamper process, rather than -1 (255). misc: * in sc_prefixprober, shuffle IPv6 addresses within a prefix, unless told not to. * have sc_wartsdump print firsthop for trace records. * build libcmdtest.a in tests to reduce duplication in Makefile. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: