I was reading a comment discussion on the answer to this question
Where it's basically revealed that large numbers of middle nodes do not provide any additional security if the Guard Node and Exit Node are compromised. Because analysis traffic (in particular correlating volume of data requested at the exit node vs transmitted at the guard node) can be used to deanonymize the user)
Are there any known onion-like protocols which allow you to maintain anonymity even if the Guard and Exit nodes are both compromised and cooperating, but the middle node(s) is(are) not.
What would be examples of some protocols?
This type of protocol would probably need to randomly junk data and sometimes remove this junk at a later time from node to node, so that packet analysis, and volume of data analysis could not be used to correlate data returning from the exit node vs the guard node. (I.E. the size of the data the Exit Node passes along should be made to very weakly correlate with the amount of data the Guard Node passes along to the user).