diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml index d4fd138..57f4469 100644 --- a/.github/workflows/buildci.yml +++ b/.github/workflows/buildci.yml @@ -17,6 +17,10 @@ jobs: - name: configure run: ./configure - - name: Install dependencies + - name: Build Proxychains run: make + - name: Run Proxychains + run: ./proxychains4 + + diff --git a/README.adoc b/README.adoc index b237687..9f463aa 100644 --- a/README.adoc +++ b/README.adoc @@ -15,7 +15,7 @@ the same dynamic linker (i.e. same libc) 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 +IRSSI shows this behavior, 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. @@ -25,7 +25,7 @@ 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 +I am reluctant on doing this change, because the described behavior seems pretty idiotic (doing a fork only for a DNS lookup), and irssi is currently the only known affected program. diff --git a/TODO b/TODO index e4b11a0..a3e44fe 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,11 @@ ProxyChains ver 4.0 TODO =================== - - hooks for reentrant dns functions, i.e. gethostbyaddr_r +- hooks for reentrant dns functions, i.e. gethostbyaddr_r +- shadowsocks support #133 +- proxy change according to attempts #156 + + + diff --git a/configure b/configure index 0e21131..4040c94 100755 --- a/configure +++ b/configure @@ -96,9 +96,11 @@ echo includedir=$includedir>>config.mak echo sysconfdir=$sysconfdir>>config.mak if ismac ; then + arch=`uname -m` + echo LDSO_SUFFIX=dylib>>config.mak - echo OS_CFLAGS+=-DIS_MAC=1 -arch x86_64 >>config.mak - echo OS_LDFLAGS+=-arch x86_64 -lpthread -ldl -Wl,>>config.mak + echo OS_CFLAGS+=-DIS_MAC=1 -arch $arch >>config.mak + echo OS_LDFLAGS+=-arch $arch -lpthread -ldl -Wl,>>config.mak echo LD_SET_SONAME=-Wl,-install_name,>>config.mak echo LDSO_SUFFIX=dylib>>config.mak echo INSTALL_FLAGS=-m>>config.mak diff --git a/proxychains.lsm b/proxychains.lsm index 2c4468e..379f913 100644 --- a/proxychains.lsm +++ b/proxychains.lsm @@ -1,13 +1,13 @@ Begin3 Title: ProxyChains -Version: 4.0 +Version: 4.3 Entered-date: Description: Keywords: Author: Maintained-by: Primary-site: -Home-page: http://proxychains.sourceforge.net +Home-page: https://github.com/haad/proxychains Original-site: Platforms: Linux and other Unices Copying-policy: GNU Public License