News for hackers. Stuff that matters.
Re:Why does APT not use HTTPS? by toast0 on Monday January 21, 2019 @12:20PM (#18961800)
A) you can buffer and send acks to the server and then trickle the data to the client

B) in the interest of memory usage, you could not buffer, and send selective acks to the server -- once you decide to allow it, stop blocking the first data packet, and let the client ack that without the sack and let the server retransmit.

c) b, but for network efficiency, actually let the client receive all packets but the first, and sack them itself --- then when you do allow the first packet, the rest of the packets won't need to be retransmitted.

Re:Why does APT not use HTTPS? by rocqua on Monday January 21, 2019 @04:13PM (#18963674)
Ah, I confused the hierarchy between TLS and TCP. I thought the acks were protected by TLS, but they are not.

There are still timeout issues with the buffering, but it is a lot weaker defense.