github.com/google/cloudprober@v0.11.3/probes/ping/proto/config.proto (about) 1 syntax = "proto2"; 2 3 package cloudprober.probes.ping; 4 5 option go_package = "github.com/google/cloudprober/probes/ping/proto"; 6 7 // Next tag: 1 8 message ProbeConf { 9 // Packets per probe 10 optional int32 packets_per_probe = 6 [default = 2]; 11 // How long to wait between two packets to the same target 12 optional int32 packets_interval_msec = 7 [default = 25]; 13 // Resolve targets after these many probes 14 optional int32 resolve_targets_interval = 9 [default = 5]; // =10s 15 // Ping payload size in bytes. It cannot be smaller than 8, number of bytes 16 // required for the nanoseconds timestamp. 17 optional int32 payload_size = 10 [default = 56]; 18 // Use datagram socket for ICMP. 19 // This option enables unprivileged pings (that is, you don't require root 20 // privilege to send ICMP packets). Note that most of the Linux distributions 21 // don't allow unprivileged pings by default. To enable unprivileged pings on 22 // some Linux distributions, you may need to run the following command: 23 // sudo sysctl -w net.ipv4.ping_group_range="0 <large valid group id>" 24 // net.ipv4.ping_group_range system setting takes two integers that specify 25 // the group id range that is allowed to execute the unprivileged pings. Note 26 // that the same setting (with ipv4 in the path) applies to IPv6 as well. 27 optional bool use_datagram_socket = 12 [default = true]; 28 // Disable integrity checks. To detect data courruption in the network, we 29 // craft the outgoing ICMP packet payload in a certain format and verify that 30 // the reply payload matches the same format. 31 optional bool disable_integrity_check = 13 [default = false]; 32 }