Allow configuring MapAddress entries of torrc persistently
I wish to be able to configure MapAddress somehow that when I access specific domains, Tor sends my traffic elsewhere. For example I have these two lines in my torrc outside of Tails:
MapAddress roubaix-fr.pirateirc.net tll4bxf546kzf6iv4n2m4pbbjnifrfewe3kcritva2tuuuiowygx2cqd.onion MapAddress zettel.freenode.net ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
So when I connect to zettel.freenode.net using HexChat, Tor connects to ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion and HexChat detects the certificate as valid, so I don’t have to accept all invalid certificates within it.
I am aware that it would be enough to trust the .onion address, but I think this would still be nice additional security even if minor.