README: remove paragraph about now fixed fork problems.

This commit is contained in:
rofl0r 2012-11-07 21:36:42 +01:00
parent 03ee84060e
commit 8b19829de4

33
README
View File

@ -9,29 +9,13 @@ ProxyChains ver 4.1 README
this program works only on dynamically linked programs. this program works only on dynamically linked programs.
also both proxychains and the program to call must use also both proxychains and the program to call must use
the same dynamic linker (i.e. same libc) the same dynamic linker (i.e. same libc).
why ? because in order to hook to libc functions like
connect(), dynamic loader facilities are used, namely
dl_sym() and LD_PRELOAD.
********************************* *********************************
*** Known limitations of the current version: ***
when a process forks, does a DNS lookup in the child, and then uses
the ip in the parent, the corresponding ip mapping will not be found.
this is because the fork can't write back into the parents mapping table.
IRSSI shows this behaviour, so you have to pass the resolved ip address
to it. (you can use the proxyresolv script (requires "dig") to do so)
this means that you can't currently use tor onion urls for irssi.
to solve this issue, an external data store (file, pipe, ...) has to
manage the dns <-> ip mapping. of course there has to be proper locking.
shm_open, mkstemp, are possible candidates for a file based approach,
the other option is to spawn some kind of server process that manages the
map lookups. since connect() etc are hooked, this must not be a TCP server.
I am reluctant on doing this change, because the described behaviour
seems pretty idiotic (doing a fork only for a DNS lookup), and irssi
is currently the only known affected program.
*** Installation *** *** Installation ***
# needs a working C compiler, preferably gcc # needs a working C compiler, preferably gcc
@ -41,6 +25,15 @@ ProxyChains ver 4.1 README
Changelog: Changelog:
---------- ----------
Version 4.3 (not yet released):
fixes programs that do dns-lookups in child processes (fork()ed),
like irssi. to achieve this, support for compilation without pthreads
was sacrified.
Version 4.2:
some bugfixes
Version 4.1 adds support for mac os x (i386, x86_64, ppc) Version 4.1 adds support for mac os x (i386, x86_64, ppc)
all internal functions are threadsafe when compiled with -DTHREAD_SAFE all internal functions are threadsafe when compiled with -DTHREAD_SAFE
(default). (default).