torsocks doesn't work on Mac OS Monterey and higher
I installed Torsocks 2.3.0 via homebrew, while it could not work properly.
I also compiled torsocks myself with gnu gcc (with 0001-Fix-macros-for-accept4-2.patch). The binary looked good but still didn't working.
By contrast, I can confirm the latest proxychains-ng
works, looks like new DYLD hooking method for OSX Monterey is required for recent Mac OS (https://github.com/rofl0r/proxychains-ng/commit/4a013fe6a59ed30e045301dc636d07a6ed999081)
There's some relative discuss: https://tor.stackexchange.com/questions/23135/torsocks-doesn-t-torify-on-macos
Can someone take a look?