rofl0r / proxychains-ng

proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updated, use releases from github release page instead.
http://sourceforge.net/projects/proxychains-ng/files
GNU General Public License v2.0
9.82k stars 1.08k forks source link

ZNC cannot connect under proxychains when forked into the background #330

Open jbmorris289 opened 4 years ago

jbmorris289 commented 4 years ago

Hello!

I recently installed proxychains4 via apt after finding out that it was available. I use proxychains with ZNC to connect to IRC through Tor. Today, I tried to use proxychains4 with ZNC and ran into problems, but found an interesting temporary fix for them. When I first ran ZNC under proxychains4, ZNC could not connect to any network at all (stuck on "connecting" with no error). I was suggested by another user to run ZNC (under proxychains4) in foreground, which fixed the problem. Another user had the same exact problem it was able to fix it using the same way.

A contributor of ZNC said that this problem could be due to the method proxychains uses for preloading.

Could that be the problem, or is it something else? Thanks!

rofl0r commented 4 years ago

yes, it is a known problem that backgrounded/detached processes won't work with the preload method of proxychains. i still don't know what's causing that, so if someone can share some light on this that would be appreciated.