VrayoSystems / vtrunkd

Open source SD WAN daemon for linux (network link bonding/trunking/aggregation and multichannel VPN daemon).
GNU General Public License v3.0
222 stars 77 forks source link

Packet loss detection by timeout impossible #101

Open grandrew opened 8 years ago

grandrew commented 8 years ago

Packet loss by timeout is currently detected at client side. But at client side it is impossible due to detect a timeout directly as there is no reference information about packet time (which can be inferred by comparing to other channels' data) and no information about how many packets are lost.

Only the sender may precisely calculate amount of lost packets and request retransmission. Need to implement timeout detection at sender side with retransmit packet buffer.

Full solution of this problem will require fixing #51

grandrew commented 8 years ago

Workaround is to drop all packets from buffer: by implementing #34 and #72

grandrew commented 8 years ago

To fully fix this issue a full procedure is required, consisting of:

grandrew commented 8 years ago

actually, the timeout by latency detection IS possible - although not a loss detection. And we have the data of what packet was last received. The only thing we can not detect is the actual packets that are lost.

this method may be used to induce the flush.

grandrew commented 8 years ago

solution working

gdrop3 gdrop2 gdrop1

grandrew commented 8 years ago

now it is not a show stopper