I have set up a system-wide socks proxy in Preferences -> Network. How can I tell if some app follows or bypasses the system proxy setting. I need this because I have a program ported from Windows that seems bypassing the system proxy and I wish to check that.
You can try to run a proxy server locally, and change your Network preferences to point to that proxy, and check in the proxy logs to see if the app sends its request through it.
I would suggest using Charles.
It's quite easy to use: just change our proxy settings in Network preferences to either HTTP proxy
localhost:8888 or SOCKS proxy
localhost:8889, and you should start seeing outgoing requests if you use your browser.
Once you do, try using your custom app to see if it sends its request through the proxy or not.
Best of luck.