wiki:doc/NewGuardAlgorithmTesting

Version 3 (modified by asn, 22 months ago) (diff)

--

A few prop271 scenarios that must be tested:

Make iptables rule that emulates fascist firewall, then try algorithm with FascistFirewall turned on and off. Note performance difference

prop271 seems to work pretty well if you turn on FascistFirewall and join a fascist network: iptables -A OUTPUT -p tcp --match multiport ! --dport 80,443 -j DROP

Make iptables rule that disables outgoing connections. Make sure that the sampled guards set size limit works.

Test hardcoded entry guards (EntryNodes)

prop271 will not work at all with EntryNodes. It will fill up the sampled guards list, and then fail to find the right node.

Test bridges support

Test transition between modes using SIGHUP

Switch between guard selections on the fly. Test flappiness

Test circuit state machine (?)

Test guard retry schedule

Test guard priority logic

Test guard lifetime

Test state loading / state saving

Test internet-is-down heuristic