traviscross / mtr

Official repository for mtr, a network diagnostic tool
http://www.bitwizard.nl/mtr/
GNU General Public License v2.0
2.66k stars 339 forks source link

Incorrect behaviour when network connection is changed while mtr is run #460

Open Bogdan107 opened 1 year ago

Bogdan107 commented 1 year ago

mtr 0.95 Incorrect behaviour when network is changed.

Environment: 1) network-manager program is used inside the Linux; 2) typical notebook with 1xEthernet and 1xWiFi interfaces; 3) Ethernet interface is off; 4) network-manager is configured to use 2 networks with autoconnect mode activated for each connection; 5) WiFi-net-1 and WiFi-net-2 are for different ISP (each ISP have different hosts chain); 6) 'mtr -t 1.1.1.1' command used for test.

Misbehaviour is occurs when WiFi network (connection) changed while 'mtr -t 1.1.1.1' is run. Command 'Restart statistics' has no effect. May be this command has no effect, because new hosts chain is different (different ISP have different hosts chains)

Desirable behaviour: mtr must restart after network connection is changed or forcibly refresh hosts chain.