proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

quiet_mode in proxychains.conf does not work

Open zeertzjq opened this issue 1 year ago • 3 comments

With proxychains 4.17, specifying quiet_mode in /etc/proxychains.conf does not silence the [proxychains] DLL init: proxychains-ng 4.17 message. It can only be silenced by the -q command line argument.

zeertzjq avatar Jan 21 '24 22:01 zeertzjq

same issue too.

fyangami avatar Jan 24 '24 10:01 fyangami

same issue too.

TimeRainStarSky avatar Feb 09 '24 17:02 TimeRainStarSky

it's a difficult problem. at the point the config is parsed, these messages were already printed. i'd have to implement some sort of caching (involves memory allocation) and postpone printing of the output until config parsing is done. memory allocation in a hook library can lead to all sorts of issues in multithreaded/multiprocess (fork()ing) apps, that's why most (or all, in case the threaded resolver is disabled) memory is statically allocated. therefore my leaning is to obsolete the config option and recommend instead the use of -q or setting the environment variable PROXYCHAINS_QUIET_MODE=1 instead. even though the output of proxychains may appear annyoing to you, it's the only way to make sure the program is properly hooked.

rofl0r avatar Feb 09 '24 21:02 rofl0r