Next Generation of ShadowsocksX

Overview

ShadowsocksX-NG

Download

Actions Status

Next Generation of ShadowsocksX

Why a new implementation?

It's hard to maintain the original implementation as there is too much unused code in it. It also embeds the ss-local source code. It's crazy to maintain dependencies of ss-local. So it's hard to update the ss-local version.

Now I just copied the ss-local from Homebrew. Run ss-local executable as a Launch Agent in the background. So there is only some source code related to GUI left. Then I have rewrited the GUI code in Swift.

Requirements

Running

macOS 10.12+

Building

  • Xcode 11.1+
  • CocoaPods 1.5.3+

Download

From here

Features

  • ss-local from shadowsocks-libev 3.2.5.
  • Support SIP003 plugins. Embed kcptun, simple-obfs and v2ray-plugin.
  • Could update PAC by download GFW List from GitHub.
  • Share your server profiles by qrcode or url.
  • Import server profile urls from pasteboard.
  • Import server profile by scan QRCode on screen.
  • Custom rules for PAC.
  • Support for AEAD Ciphers
  • HTTP Proxy by privoxy

Difference from original ShadowsocksX

ss-local is run as a background service through launchd, not as an in-app process. So after you quit the app, the ss-local might be still running.

Added a manual mode which won't configure the system proxy settings, so that you could configure your apps to use the SOCKS5 proxy manually.

Contributing

Contributions must be available on a separately named branch based on the latest version of the main branch develop.

ref: GitFlow

License

The project is released under the terms of the GPLv3.

Issues
  • Mac版 使用pac模式无法连接telegram客户端 全局模式可以。

    Mac版 使用pac模式无法连接telegram客户端 全局模式可以。

    System and Shadowsocksx-NG version:

    • macOS 10.??.?? (16E????)
    • Shadowsocksx-NG 1.?

    Expected behavior:

    Actual behavior:

    (N/A for feature requests)

    Steps to reproduce:

    (N/A for feature requests)

    How often does this happen?

    (N/A for feature requests)

    ss-local.log

    Please upload the ss-local.log file here the file is in ~/Library/Logs

    1. Open 'Advanced Settings -> enable Verbose Mode'
    2. Continue run Shadowsocksx-NG for 5 minutes
    3. Upload the ~/Library/Logs/ss-local.log here (with or without compress)

    Application log

    Open the Console.app and search Shadowsocksx-NG Copy paste the log here

    Crash Log

    If the app crashes and pop up a crash log, please copy and paste here

    opened by zxfccmm4 65
  • ShadowsocksX-NG doesn't work on desktop macOS 10.12.2 with Digital Ocean

    ShadowsocksX-NG doesn't work on desktop macOS 10.12.2 with Digital Ocean

    Opened an issue here: https://github.com/shadowsocks/ShadowsocksX-NG/issues/149 but @qiuyuzhou closed it. Not sure why

    @qiuyuzhou said:

    Can't use pac url like 'file:///' on 10.12.2

    1. I'm NOT using PAC url file://. PAC file URL is: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt

    Use new version or global mode.

    1. I'm using global
    2. I'm using version 1.3.2 which is the latest

    The app doesn't work, but it does on my iOS with Potatso. There is something not working with this app. What steps do I have for debug.

    opened by ortonomy 44
  • Integrate support for plugin ``simple-obfs``

    Integrate support for plugin ``simple-obfs``

    One of the leading distributors of a package for using Shadowsocks servers Streisand has just merged a PR that enables the simple-obfs plugin by default. (https://github.com/shadowsocks/simple-obfs AND https://github.com/jlund/streisand/pull/743)

    It's said this plugin helps defeat local QOS by ISPs, and could be very useful in China.

    On iOS, Shadowrocket supports simple-obfs settings, can you integrate this into Shadowsocks-NG for Mac OS?

    opened by ortonomy 37
  • 编辑完用户自定义PAC规则后不马上生效

    编辑完用户自定义PAC规则后不马上生效

    每次更新完一个自定义的PAC规则还得关闭再打开shadowsocks,不然不会生效,希望可以每次改完都会自动重启一下~

    bug 
    opened by hellorocky 35
  • 在 macOS 10.14 Mojave 中失效

    在 macOS 10.14 Mojave 中失效

    Describe the bug A clear and concise description of what the bug is. 如题目,在 Mojave 中启用 ShadowsocksX-NG 后所有网络无法访问,Safari 显示无法连接到服务器 To Reproduce Steps to reproduce the behavior 打开 ShadowsocksX-NG 后问题直接可见 Expected behavior A clear and concise description of what you expected to happen. 是否会更新软件? Screenshots If applicable, add screenshots to help explain your problem.

    System and Shadowsocksx-NG version: (please complete the following information):

    • OS Version: [e.g. 10.13.1] macOS 10.14 Mojave Developer Beta 6
    • Version [e.g. 22] ShadowsocksX-NG 1.7.1(1)

    ss-local.log dyld: Library not loaded: @@[email protected]@/opt/mbedtls/lib/libmbedcrypto.0.dylib Referenced from: /Users/USERNAME/Library/Application Support/ShadowsocksX-NG/ss-local-latest/ss-local Reason: image not found

    Please upload the ss-local.log file here the file is in ~/Library/Logs

    1. Open 'Advanced Settings -> enable Verbose Mode'
    2. Continue run Shadowsocksx-NG for 5 minutes
    3. Upload the ~/Library/Logs/ss-local.log here (with or without compress)

    Application log

    Open the Console.app and search Shadowsocksx-NG Copy paste the log here

    Crash Log

    If the app crashes and pop up a crash log, please copy and paste here

    Additional context Add any other context about the problem here.

    opened by N0rthzae 31
  • macos sierra的safari使用pac模式无法翻墙

    macos sierra的safari使用pac模式无法翻墙

    只能全局模式

    opened by ynhzzu 30
  • 1.8.2 kcptun 自带的和1.7.1不同,如何打开kcptun

    1.8.2 kcptun 自带的和1.7.1不同,如何打开kcptun

    新版本好像没有打开kcptun插件,不知道新版本要怎么设置kcptun,下图中新版中插件和插件选项不知道怎么来打开kcptun

    2018-10-10 8 03 18
    opened by ysmintor 29
  • Mac升级10.12.5后不能翻墙了

    Mac升级10.12.5后不能翻墙了

    今天升级Mac 到 10.12.5后发现所有的模式(pac,手动,全局)都不能翻墙了

    opened by heartinfei 28
  • shadowsocks服务节点无法翻墙了

    shadowsocks服务节点无法翻墙了

    请问大佬们这几天是敏感时期吗? 今天我购买的服务节点无论是在手机上还是mac都失效了? 向官网反馈也没有得到回答

    opened by ossaw 27
  • bigSur11.4版本点击扫描二维码没有反应

    bigSur11.4版本点击扫描二维码没有反应

    用最新版本的ShadowsocksX-NG第一次点击扫描二维码会弹出让我赋予屏幕录制权限,我赋予之后后面点击扫描二维码就没反应了,是不支持bigsur嘛?

    opened by dzLin1820372845 3
  • 解决ERROR: getsockopt error code 0 61

    解决ERROR: getsockopt error code 0 61

    连不上服务器,查看log,发现一堆ERROR: getsockopt error code 0 61。

    System and Shadowsocksx-NG version: (please complete the following information):

    • OS Version: 11.3.1 Big Sur
    • ShadowsocksX-NG 1.4.4-R8

    ss-local log

     2021-05-06 11:34:27 INFO: initializing ciphers... rc4-md5
     2021-05-06 11:34:27 INFO: tcp port reuse enabled
     2021-05-06 11:34:27 INFO: listening at 127.0.0.1:1080
     2021-05-06 11:34:32 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:32 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:34 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:34 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:35 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:35 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:36 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:36 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:37 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:37 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:38 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:38 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:39 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:39 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:40 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:40 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:41 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:41 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:42 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:42 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:43 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:43 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:44 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:44 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:45 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:45 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:46 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:46 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:47 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:47 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:48 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:48 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:49 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:49 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:50 ERROR: getsockopt error code 0 61
     2021-05-06 11:34:50 ERROR: getsockopt: Operation now in progress
     2021-05-06 11:34:51 ERROR: getsockopt error code 0 61
    

    解决方法

    打开Advanced Preferences,发现PAC端口多了一个逗号,删去即可解决。

    Screen Shot 2021-05-06 at 12 20 54 pm

    希望开发者能修复。

    opened by ControlNet 0
  • Mac M1版本无法显示日志面板

    Mac M1版本无法显示日志面板

    上方图标处无法显示日志面板。

    opened by OpsChu 3
  • 菜单栏网速显示位置异常

    菜单栏网速显示位置异常

    Describe the bug 菜单栏网速显示文字偏上,部分被遮挡

    Expected behavior 显示文字位置调整

    Screenshots image

    System and Shadowsocksx-NG version: (please complete the following information):

    • OS Version: [11.2.3]
    • Version [1.9.4]
    opened by fishsup 3
  • M1的pro,无法关闭直接无响应

    M1的pro,无法关闭直接无响应

    M1的pro能打开,更新订阅,测速度,可以点链接,但是没有网络,之后就无法关闭,直接无响应。而且,会导致我的其他应用无法关闭,无响应。这是啥问题?

    opened by yx-mike 1
  • Mac不能用......

    Mac不能用......

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    System and Shadowsocksx-NG version: (please complete the following information):

    • OS Version: [e.g. 10.13.1]
    • Version [e.g. 22]

    Diagnoisis file:

    Please first upgrade to the latest version. Then export the diagnosis file and upload it to here.

    ss-local.log

    Please upload the ss-local.log file here the file is in ~/Library/Logs

    1. Open 'Advanced Settings -> enable Verbose Mode'
    2. Continue run Shadowsocksx-NG for 5 minutes
    3. Upload the ~/Library/Logs/ss-local.log here (with or without compress)

    Application log

    Open the Console.app and search Shadowsocksx-NG Copy paste the log here

    Crash Log

    If the app crashes and pop up a crash log, please copy and paste here

    Additional context Add any other context about the problem here.

    opened by vivihappy 0
  • Update sslocal via an OTA service

    Update sslocal via an OTA service

    Fix #1332.

    opened by xiaoyu2006 3
  • 500 Internal Privoxy Error

    500 Internal Privoxy Error

    500 Internal Privoxy Error Privoxy encountered an error while processing your request:

    Could not load template file no-server-data or one of its included components.

    Please contact your proxy administrator.

    If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It's typically the Privoxy install directory, or /etc/privoxy/).

    macos big sur 11.1

    opened by youfeed 0
  • Question about server preferences 关于代理地址配置

    Question about server preferences 关于代理地址配置

    image image

    mac系统下,一定是通过上述方式手动配置吗? mac系统下,是否可以把可用的代理的地址,写到一个文件下, 我在mac系统下,只找到了这个文件Library/Application\ Support/ShadowsocksX-NG/ss-local-config.json 但是这个文件貌似是当前使用的代理地址。 我没有找到哪个文件,存储我配置的所有代理地址。

    这个mac下没有这个文件吗?

    opened by lyjamare 0
  • 局域网设备无法通过PAC方式上网

    局域网设备无法通过PAC方式上网

    Describe the bug 有两个bug:

    1. 只当选中Auto Mode by PAC时,才会开放PAC服务器
    2. 生成的PAC文件配置的地址不正确,如var proxy = "SOCKS5 0.0.0.0:8092; SOCKS 0.0.0.0:8092; DIRECT;";,而不是局域网地址。这里的0.0.0.0是我填入的监听地址。

    Expected behavior

    1. 给定一个选项:始终开启PAC服务器。电脑切换模式不影响其他设备
    2. 自动检测局域网地址(?),填入pac文件中。在网络变动的情况下我不希望每次都手动设置ip地址

    System and Shadowsocksx-NG version: ss-local v3.2.5 kcptun v20190905 simple-obfs v0.0.5 privoxy v3.0.26 v2ray-plugin v1.2.0 macos 11

    opened by qiujiangkun 1
Releases(v1.9.4)
Owner
shadowsocks
shadowsocks is a fast tunnel proxy that helps you bypass firewalls
shadowsocks