Comments (5)
do you have strace on mac ? if so, running strace -f ./proxychains4 -f ./proxychains.conf microsocks
could shed some light on what is going wrong. in particular the line containing EINVAL
.
from microsocks.
There's no strace but there is dtrace/dtruss. The invalid argument appears to be in a call to bind:
Here's where it fails:
$ tail -20 dtruss.output-withproxychains
open_nocancel("/etc/.mdns_debug\0", 0x0, 0x0) = -1 Err#2
issetugid(0x0, 0x0, 0x0) = 0 0
issetugid(0x0, 0x0, 0x0) = 0 0
proc_info(0x2, 0x1774B, 0x11) = 56 0
proc_info(0x2, 0x1774B, 0x11) = 56 0
issetugid(0x0, 0x0, 0x0) = 0 0
openat(0xFFFFFFFFFFFFFFFE, "/Library/Preferences/Logging/com.apple.diagnosticd.filter.plist\0", 0x1000104, 0xFFFFFFFFEE0F79E0) = -1 Err#2
open("/private/tmp/./microsocks\0", 0x8004, 0x5788BDFA) = 7 0
fcntl(0x7, 0x32, 0x7FFEEE0F7430) = 0 0
close(0x7) = 0 0
open_nocancel("/etc/services\0", 0x0, 0x1B6) = 7 0
fstat64(0x7, 0x7FFEEE0F6DF8, 0x0) = 0 0
close_nocancel(0x7) = 0 0
socket(0x2, 0x1, 0x0) = 7 0
setsockopt(0x7, 0xFFFF, 0x4) = 0 0
bind(0x7, 0x7FE97BE00060, 0x80) = -1 Err#22
close(0x7) = 0 0
writev_nocancel(0x2, 0x7FFEEE0F9F90, 0x4) = 31 0
select(0x4, 0x70000D7BECD8, 0x0, 0x0, 0x0) = -1 Err#4
For comparison, here's microsocks without proxychains:
$ tail -20 dtruss.output-normal
mprotect(0x104B3F000, 0x1000, 0x1) = 0 0
mprotect(0x104B2D000, 0x90, 0x3) = 0 0
mprotect(0x104B2D000, 0x90, 0x1) = 0 0
getentropy(0x7FFEEB0D7B20, 0x20, 0x0) = 0 0
getpid(0x0, 0x0, 0x0) = 96061 0
stat64("/AppleInternal\0", 0x7FFEEB0D8630, 0x0) = -1 Err#2
csops(0x1773D, 0x7, 0x7FFEEB0D8160) = -1 Err#22
proc_info(0x2, 0x1773D, 0xD) = 64 0
csops(0x1773D, 0x7, 0x7FFEEB0D79B0) = -1 Err#22
sigaction(0xD, 0x7FFEEB0D9848, 0x7FFEEB0D9870) = 0 0
shm_open(0x7FFF57842CD8, 0x0, 0x0) = 3 0
mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0) = 0x104B40000 0
close_nocancel(0x3) = 0 0
open_nocancel("/etc/.mdns_debug\0", 0x0, 0x0) = -1 Err#2
socket(0x2, 0x1, 0x6) = 3 0
setsockopt(0x3, 0xFFFF, 0x4) = 0 0
bind(0x3, 0x7F9CBBD00520, 0x10) = 0 0
listen(0x3, 0x80, 0x0) = 0 0
accept(0x3, 0x7FFEEB0D9900, 0x7FFEEB0D987C) = -1 Err#4
(The second one was exited with ^C, hence the interrupted system call there.)
from microsocks.
thanks, i pushed a fix to proxychains-ng repo. could you try whether it fixes the issue?
from microsocks.
It works. Thanks!
from microsocks.
great, thanks for reporting&testing!
from microsocks.
Related Issues (20)
- Use custom DNS HOT 20
- Can't connect to `0.0.0.0` on client HOT 4
- Connect to server running on the same machine HOT 17
- microsocks-1.0.2-x86_64-static may contain security issues HOT 1
- EC_TTL_EXPIRED error is sent down idle connection, and treated as application-layer traffic by client
- microsocks: not found HOT 1
- Configuration of the Proxy HOT 1
- Blocking some IPs HOT 1
- Any plans to support UDP? HOT 2
- Allow passthrough of TCP/ip headers HOT 1
- a little Suggest. Change release url to https HOT 1
- Any chance of a new release with -q flag added? HOT 2
- Disconnect logging
- Using 443 Port HOT 1
- buffer overflow detected HOT 6
- Bandwidth testing tools HOT 5
- add systemd service file HOT 3
- Trying IPv6 sockets w/ IPv6 being available but down, leads to connection failures HOT 2
- segmentation fault on alpine & docker HOT 6
- Why I keep seeing the help instructions? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsocks.