1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

don't use ICMP echo for tsping

switching tsping to icmp echo mode also changes the output columns, as
well as the output data.

echo mode:
1710699541.701846,8.8.8.8,0,16
timestamp,server,seq,rtt

timestamp mode:
1710699697.590335,8.8.8.8,0,66097563,66097546,66097546,66097590,27,44,-17

This gets parsed by cake-autorate as follows:
read -r timestamp reflector seq _ _ _ _ _ dl_owd_ms ul_owd_ms checksum <<< "${command[@]:1}"

While tsping runs in echo mode, cake-autorate won't detect any ping
responses and fall back to doing nothing.
This commit is contained in:
Henning Surmeier 2024-03-17 19:20:12 +01:00
parent 2d3eac400f
commit 135e9ff3dd

View file

@ -134,7 +134,7 @@ log_file_export_compress=1 # compress log file exports using gzip and append .gz
# the firewall mark.
# WARNING: no error checking so use at own risk!
#ping_extra_args="-B -I ${INTERFACE}"
ping_extra_args="-i ${ul_if} -e"
ping_extra_args="-i ${ul_if}"
# a wrapper for ping binary - used as a prefix for the real command
# e.g., when using mwan3, it is recommended to set it like this: