pub struct Config {Show 17 fields
pub allowed_prefixes_file: Option<PathBuf>,
pub blocked_prefixes_file: Option<PathBuf>,
pub batch_size: u64,
pub caracat_id: u16,
pub dry_run: bool,
pub extra_string: Option<String>,
pub min_ttl: Option<u8>,
pub max_ttl: Option<u8>,
pub integrity_check: bool,
pub interface: String,
pub max_probes: Option<u64>,
pub output_file_csv: Option<PathBuf>,
pub output_file_pcap: Option<PathBuf>,
pub packets: u64,
pub probing_rate: u64,
pub rate_limiting_method: RateLimitingMethod,
pub receiver_wait_time: Duration,
}
Expand description
Probing configuration.
Fields§
§allowed_prefixes_file: Option<PathBuf>
Send probes only to the prefixes specified in the file (allow list).
blocked_prefixes_file: Option<PathBuf>
Do not send probes to prefixes specified in file (block list).
batch_size: u64
Number of probes to send before calling the rate limiter.
caracat_id: u16
Identifier encoded in the probes (random by default).
dry_run: bool
Whether to actually send the probes on the network or not.
extra_string: Option<String>
Extra column in the CSV output.
min_ttl: Option<u8>
Do not send probes with ttl < min_ttl.
max_ttl: Option<u8>
Do not send probes with ttl > max_ttl.
integrity_check: bool
Check that replies match valid probes.
interface: String
Interface from which to send the packets.
max_probes: Option<u64>
Maximum number of probes to send (unlimited by default).
output_file_csv: Option<PathBuf>
File to which the captured replies will be written.
output_file_pcap: Option<PathBuf>
File to which the captured replies will be written.
packets: u64
Number of packets to send per probe.
probing_rate: u64
Probing rate in packets per second.
rate_limiting_method: RateLimitingMethod
Method to use to limit the packets rate.
receiver_wait_time: Duration
Time in seconds to wait after sending the probes to stop the receiver.