arti_testing

Module dirfilter

Source
Expand description

Support for modifying directories in various ways in order to cause different kinds of network failure.

Structs§

BadMicrodescDigestsFilter πŸ”’
A filter that replaces all the microdesc digests with ones that don’t exist.
BadSignaturesFilter πŸ”’
A filter to replace the signatures on a consensus with invalid ones.
NilFilter πŸ”’
A filter that doesn’t do anything.
NoExitPortsFilter πŸ”’
A filter to remove all exit policies.
NonexistentSigningKeysFilter πŸ”’
A filter that (nastily) claims all the authorities have changed their signing keys.
OneBigFamilyFilter πŸ”’
A filter to put all relays into a family with one another.
ReplaceOnionKeysFilter πŸ”’
A filter to replace onion keys with junk.

Functions§

new_filter πŸ”’
Return a new directory filter as configured by a specified string.
nil_filter πŸ”’
Return a filter that doesn’t do anything.