Skip to main content

Module config

Module config 

Source

Structsยง

IpVersions
IP versions present in a set of addresses (hitlist targets or origin sources).

Functionsยง

finalize_hitlist ๐Ÿ”’
Validate that a parsed hitlist is non-empty, collect the IP versions it uses, and optionally shuffle it. Shared by get_hitlist (file) and get_targets (inline --target list).
get_hitlist
Get the hitlist from a file.
get_targets
Build a hitlist from a comma-separated list of target addresses (e.g. from the --target CLI flag), as an alternative to a hitlist file. The targets are treated exactly like a hitlist containing those addresses.
glob_match ๐Ÿ”’
Match text against a *-wildcard pattern
parse_configurations
Parse the worker configurations from a file.
parse_isi_row ๐Ÿ”’
Parse one USC/ISI ANT hitlist row into ranked candidate addresses. The block length selects the IP version: 8 hex digits is an IPv4 /24, 12 hex digits is an IPv6 /48.
resolve_workers
Resolve a worker selector token to the matching worker IDs.
validate_ip_versions
Validate the IP-version rules of a measurement and return the measured version(s).