Skip to content

Commit

Permalink
Update github build-ci workflow, add support for multiple macos archs…
Browse files Browse the repository at this point in the history
…[done by @thehappydinoa]
  • Loading branch information
haad committed Dec 28, 2023
1 parent 59326e6 commit 1103af2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/buildci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: configure
run: ./configure

- name: Install dependencies
- name: Build Proxychains
run: make

- name: Run Proxychains
run: ./proxychains4


4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

Expand Down
8 changes: 6 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
@@ -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





6 changes: 4 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions proxychains.lsm
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Begin3
Title: ProxyChains
Version: 4.0
Version: 4.3
Entered-date:
Description:
Keywords:
Author: <N37CR347UR3>
Maintained-by: <[email protected]>
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
Expand Down

0 comments on commit 1103af2

Please sign in to comment.