csujedihy / proximac Goto Github PK
View Code? Open in Web Editor NEWAn open-source alternative to proxifier
License: GNU Lesser General Public License v3.0
An open-source alternative to proxifier
License: GNU Lesser General Public License v3.0
Now we can sign the pre-build kext file and distribute it. Maybe we can use Travis CI for it.
$ proximac start -c proximac.conf
/usr/local/proximac/proximac.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).
Kernel extension cannot be loaded! Maybe it is already loaded so you have to unload it first. Or installing third-party kext is now allowed on your OS.
It works with linux?
Works in windows or only MAC?
今天更新代码之后重新 kextload proximac.kext,结果出现以下提示:
/usr/local/share/proximac/proximac.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).
一开始以为是 dev mode 的原因
sudo nvram boot-args
发现 kext-dev-mode
已经设置好了。
查了一圈,原来必须要给 kext 设置以下权限:
drwxr-xr-x 3 root wheel
chown & chmod 之后就可以 kextload 了。建议更新下使用说明。
Hi all,
Thanks for the great work here! I've been able to use ssh-based command line utils again by proximac
in China.
By the way, I found that the install.py
in curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |python
only supports python 2 (I swapped to py 2 to install it), and proximac is also only work in py 2, will py 3 be added in future?
I'd like to contribute (not recently, maybe after May 2016) python 3 support. However, I may not be able to work fast 😄
Best,
Frank
使用
sudo proximac start -c ~/config.json &
后不会挂起,关掉 Terminal 后 Proximac 也随之关闭了
Log start:
Executing: /usr/bin/kmutil load -p /usr/local/proximac/proximac.kext
2021-08-16 18:01:58 INFO: Process List:
2021-08-16 18:01:58 INFO: 1. Google Chrome hash 1308122363
2021-08-16 18:01:58 INFO: Hook Succeed!
2021-08-16 18:01:58 INFO: The total number of process that will be hooked = 1
2021-08-16 18:01:58 INFO: Listening on 8558
Config file:
{
"process_name":
["Google Chrome"],
"local_port":3128,
"local_address":"127.0.0.1",
"proximac_port":8558
}
I'm getting error message: env: python2: No such file or directory, when I tried to fire up proximac
I've tried to fix this by ln -sf /usr/local/bin/python2.7 /usr/local/bin/python2 but this didn't work.
Any other solution?
shadowsocks-libev支持udp,但Proximac不支持,希望加入,在Mac上玩游戏
I think proxyapp_name is like 'bypass',sometimes i want to bypass processes for some reason
{
"local_port":51081,
"local_address":"127.0.0.1",
"proximac_port":8558,
"VPN_mode":1,
"proxyapp_name":["ssh","ss-server","ss-local"]
}
how to uninstall this app?
配置文件如下, local_address
是可用的代理(域名)
{
"process_name":
["Application Loader", "curl"],
"local_port":14601,
"local_address":"test.com",
"proximac_port":8558,
}
代理curl
后使用curl ip.cn -v
返回如下
* Rebuilt URL to: ip.cn/
* Trying 118.184.180.46...
* TCP_NODELAY set
* Connected to ip.cn (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: ip.cn
> User-Agent: curl/7.51.0
> Accept: */*
>
* Curl_http_done: called premature == 0
* Empty reply from server
* Connection #0 to host ip.cn left intact
curl: (52) Empty reply from server
因此我疑惑为什么把数据扔到127.0.0.1去了
Hello,
I have done tests with Chrome and Mail and I do not get out on the Internet with the SOCKS proxy IPVanish.
Here is my configuration file :
{
"process_name":
["Google Chrome","Mail"],
"local_port":1080,
"local_address":"81.171.98.16",
"proximac_port":8558,
"username":"xxxxxx",
"password":"xxxxxx"
}
My OSX version 10.11.6.
Here is an excerpt of proximac.log file:
2016-10-16 15:23:29 Warning: server_accept_cb 35005c0 12
2016-10-16 15:23:29 Warning: server_accept_cb 3600000 12
2016-10-16 15:23:29 Warning: final_after_close_cb
2016-10-16 15:23:29 Warning: final_after_close_cb
2016-10-16 15:23:29 Warning: server_accept_cb 35005c0 12
2016-10-16 15:23:29 Warning: server_accept_cb 3403dd0 12
2016-10-16 15:23:29 Warning: server_accept_cb 37000e0 12
2016-10-16 15:23:29 Warning: server_accept_cb 3700420 12
2016-10-16 15:23:29 Warning: final_after_close_cb
2016-10-16 15:23:34 Warning: server_accept_cb 3600000 12
when I run proximac :
imac-de-guillaume-reynaud:Temp guillaumereynaud$ proximac start -c config-proxymac-socks.txt -d
Password:
2016-10-16 15:29:50 INFO: Process List:
2016-10-16 15:29:50 INFO: 1. Google Chrome hash 1308122363
2016-10-16 15:29:50 INFO: 2. Mail hash 2876355
2016-10-16 15:29:50 INFO: Hook Succeed!
2016-10-16 15:29:50 INFO: The total number of process that will be hooked = 2
2016-10-16 15:29:50 INFO: Listening on 8558
Here are the system messages when I try to connect with proximac with Yummy FTP :
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: pid hash value = 1187517675 proc_name = Yummy FTP
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: after RB_FIND pid = 1187517675 pid_num 3
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: A process is now hooked
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: pid hash value = 457067283 proc_name = kernel_task
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: notify_cb -- do hook operations to pid
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: getsockopt addrString 5.39.126.39
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: pid hash value = -1080695544 proc_name = proximac-cli
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
16/10/2016 15:37:40,000 kernel[0]: [Proximac]: Traffic from this process is not allowed to be forwarded. PID = 4016
16/10/2016 15:37:41,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
16/10/2016 15:37:42,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
16/10/2016 15:37:44,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
16/10/2016 15:38:03,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
16/10/2016 15:38:12,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
16/10/2016 15:38:12,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
16/10/2016 15:38:14,000 kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
Thanks for your great work. :)
Actually I am ok with terminal, but most people are not.
Just curious, if a GUI interface will be added in future?
You get this error when you run the program:
/usr/local/proximac/proximac.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).
Kernel extension cannot be loaded! Maybe it is already loaded so you have to unload it first. Or installing third-party kext is not allowed on your OS.
macOS 10.12.6 (16G1114)
没解决dns污染问题。
{
"local_port":9150,
"local_address":"127.0.0.1",
"proximac_port":8558,
"VPN_mode":1,
"proxyapp_name":"tor.real"
}
Checking my public IP:
$ curl ipecho.net/plain ; echo
OK.FOREIGN.IP.ADDRESS
$ dig +short myip.opendns.com @resolver1.opendns.com
MY.REAL.IP.ADDRESS!!!!!!!!
Maybe UDP traffic is not redirecting?
curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |python
Cannot create fodler!
OS : 10.11.6 Mac Mini 2014 Late
csrutil disabled
shell : bash
If you still want to use proximac, stay away from OSX 10.11 until I figure out how to solve this problem.
The kext must be signed but I do not have Apple Dev Membership to do it. It's too expensive for a non-iOS developer....
can this work with mac os 11+, or m1 mac?
如题。
readme中的打开kext开发者模式的方式是否仍然有效?
谢谢!
已执行sudo nvram boot-args="debug=0x146 kext-dev-mode=1"
proximac start -c /Users/ss.conf [10:02:43]
/usr/local/proximac/proximac.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).
Kernel extension cannot be loaded! Maybe it is already loaded so you have to unload it first. Or installing third-party kext is not allowed on your OS.
qq:~/ $ proximac stop [10:02:45]
No matching processes belonging to you were found
Proximac may not be started or may be killed accidentally.
请问可以支持HTTP吗?
Hi, first of all, nice work! Thank you for the great app.
After i followed your instruction and start up by VPN mode, the following screenshot is the message
Is that mean it is running ok? I found my chrome still need to browser facebook or youtube by switching on the ShadowsocksX "Global Mode" or "Auto Proxy Mode".
And can it run as background?
Looking forward to your reply, cheers~
INFO: Hook Succeed!
INFO: All traffic will be redirected to this SOCKS5 proxy
INFO: Listening on 8558
Installed, configured and started, no error messages.. but idk where the traffic is redirected to.. apps cannot connect anymore..
My proxy is working, I tested it with FoxyProxy extension in Firefox.. but all the other application using proximac cannot connect to it..
macOS 10.12.0
Enabled SIP without kext and without debug
hi。
我的mac是10.10.4版。我运行了sudo nvram boot-args="debug=0x146 kext-dev-mode=1",也运行了
brew install libuv ,也运行了
curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |python,
yudeMacBook-Air:~ yuming$ ls /usr/local/bin/
VBoxAutostart autoupdate glibtoolize ras2tiff tiffcp
VBoxBalloonCtrl bmp2tiff ifnames raw2tiff tiffcrop
VBoxDTrace brew isql rdjpgcom tiffdither
VBoxHeadless ccmake iusql remake tiffdump
VBoxManage cjpeg jpegtran rgb2ycbcr tiffinfo
VBoxVRDP cmake libpng-config rscreen tiffmedian
VirtualBox cmakexbuild libpng16-config shadowvpn tiffset
aclocal cpack node slencheck tiffsplit
aclocal-1.15 ctest npm sshuttle tsocks
autoconf djpeg odbc_config stunnel vbox-img
autoheader dltest odbcinst tcptunnel vboxwebsrv
autom4te duck pal2rgb thumbnail wget
automake event_rpcgen.py png-fix-itxt tiff2bw wrjpgcom
automake-1.15 fax2ps pngfix tiff2pdf wx-config
autoreconf fax2tiff ppm2tiff tiff2ps wxrc
autoscan gif2tiff proximac tiff2rgba wxrc-3.0
autossh glibtool proxychains4 tiffcmp
yudeMacBook-Air:~ yuming$ proximac
env: python2: No such file or directory
yudeMacBook-Air:~ yuming$
如何解决?谢谢(我重启了系统,问题依旧)
https://github.com/d1sm/finalspeed
Someone writes this repo to speed up speed up transmission.
Keywords:
1.pcap
2.client<->server
3.udp
While, I think we can write a better version about speeding up transmission between proxies.
Hello, thanks for this project. Can be compiled and used in Windows Operating System?
Env:
username
auth method.Problem: unable to authenticate at proxy server. Based on logs, client offer only none
method:
debug: recv_methods(): client 109.***.***.***.11561 offered 1 authentication method: 0x0 (none)
Config for proximac include all required keys for auth (username
, password
) and this credentials works properly in browser proxy plugin.
Without authentication all works as expected: all traffic from app sent to proxy described in proximac config.
Could you give instructions to compile this without needing to download XCode?
I run curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |python
but get 'Cannot create fodler!' error.
My mac is 10.11.5. in recovery mode, i run successful with csrutil enable --without kext --without debug
, and the libuv is already installed through homebrew.
How can i solve this error? Thanks in advance.
btw, I think changing is sip is dangerous
The first step in 10.11 should like this:
Restart -> Press COMMAND + R -> Recovery Mode -> Terminal -> csrutil enable --without kext --without debug.
("debug" is a personal choice for my other console program, I don't know whether it's essential or not.)
The fifth step should add a "-c" between "start" and the configure file path.
Your program works fine in my mac, thanks.
After running proximac, the console logs persistent socket attaching/detaching messages, like the following, several times a second
kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
is this normal? OS is yosemite.
curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py | sudo python3
File "", line 5
print 'Please install libuv fisrt!\n
run "brew install libuv"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Please install libuv fisrt!\n
run "brew install libuv"')?
Is it expired?
my config file is like this:
20:00 ~ >>cat .proximacrc
{
"process_name":
["Spotify", "Steam", "Hacker Menu", "Twitter", "twitter", "factorio", "App store", "Alternote", "Electron"],
"local_port":1080,
"local_address":"127.0.0.1",
"proximac_port":8558,
}
For Spotify and "Hacker Menu", proximac seems to be working fine (since they don't work without socks5 where I am). But for Twitter & Steam it's not working. When I switch back to proxifier they work fine but not with proximac.
Thanks for any help in advance. I hope I can dump proxifier for good.
OSX Mojave 10.14.1
After hours running, Chrome plugins crashes one by one and later chrome hang. (other app similar).
After times restart chrome, some plugins shows damaged .
Why I am sure? Everything works fine after I disabled proximac.
你好,
看了下内核驱动,使用的是套接字的那一层的filter。
这个类似于NAT的功能是不是在ip filter那一层做更好些?或者有什么我没考虑到的,谢谢
I'm on El Capitan and has turned off SIP, but Proximac can't work, from system.log it seemed traffic is not allowed to be forwarded. PID=530 (btw, pid530 is the PID of shadowsocks local client)
Please see an excerpt of log msg below:
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: pid hash value = -1391280205 proc_name = com.apple.WebKit
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: A process is now hooked
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: forward flag has been set to 1
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: pid hash value = 457067283 proc_name = kernel_task
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: notify_cb -- do hook operations to pid
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: getsockopt addrString 192.30.252.86
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: pid hash value = -1080695544 proc_name = proximal-cli
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: pid hash value = 457067283 proc_name = kernel_task
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: pid hash value = 651490974 proc_name = ss-local
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:39 bemike-MBP kernel[0]: [Proximac]: Traffic from this process is not allowed to be forwarded. PID = 530
Apr 6 12:44:44 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
Apr 6 12:44:46 --- last message repeated 2 times ---
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: pid hash value = -172716775 proc_name = syncdefaultsd
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: A process is now hooked
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: forward flag has been set to 1
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: pid hash value = 457067283 proc_name = kernel_task
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: notify_cb -- do hook operations to pid
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: getsockopt addrString 17.250.120.105
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: pid hash value = -1080695544 proc_name = proximal-cli
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: pid hash value = 457067283 proc_name = kernel_task
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: pid hash value = 651490974 proc_name = ss-local
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been attached to a socket
Apr 6 12:44:46 bemike-MBP kernel[0]: [Proximac]: Traffic from this process is not allowed to be forwarded. PID = 530
Apr 6 12:44:52 bemike-MBP kernel[0]: [Proximac]: Proximac TCP filter has been detached from a socket
My conf file looks like this:
{
"local_port":8989,
"local_address":"127.0.0.1",
"proximac_port":8558,
"VPN_mode":1,
"proxyapp_name":"ss-local"
}
Any suggestion where went wrong?
Thanks!
Michael
proximac start /etc/proximac.json
Kernel extension cannot be loaded! Maybe it is already loaded so you have to unload it first. Or installing third-party kext is now allowed on your OS.
为什么使用的时候 返回的数据是空的
$ curl ip.cn
curl: (52) Empty reply from server
Hi!
Thank you for making this app.
Can I probably get to know whether it supports UDP?
Thank you in advance.
Nathaniel
正确关闭一个UDP套接字的时候,为什么udp detach callback没有被调用,你遇到过类似问题么
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.