torsocks: option to disable all network traffic
I've already talked to dgoulet about this:
I would love an option to make torsocks disable all network traffic. There are many good use cases to run applications without Internet communication. For example, commands in mailcap(4) to display non-text.
This is a classic job for (application) firewalls, but torsocks has all the functionality already, f.e. if used with an invalid --port where no Tor or proxy is actually listening. But this is an ugly hack.
A --disable-network option would be very easy for torsocks, and very useful. Of course, it's low priority.