Skip to content

Commit

Permalink
Bump to version 3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcava committed Jan 8, 2021
1 parent fec4342 commit 3b72baf
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ When removing the package, the config files are kept in folder `/usr/syno/etc/pa
If ss-redir is used, then routing will be activated. The incoming non-local traffic will be routed to ss-redir through iptables. udp will/might not work (see limitation below).

# Limitation
- The user installing the package must have admin rights. Since 3.3.5, being the default admin user is not needed anymore.
- Service is considered "started" in DSM even though no shadowsocks service could be started. This is needed for DSM to show the shadowsocks config app in the app list.
- Only works on DSM 6.1 and 6.2
- I don't know how to compile v2ray-plugin using Synology's dev environment so I just copy the binaries provided in the project. Not really sure which one goes into which architecture so probably not working for all. If not working, just drop the v2ray-plugin executable into /var/packages/shadowsocks-libev/target/bin (and tell me what works for you).
Expand Down
2 changes: 1 addition & 1 deletion synology/INFO.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
. /pkgscripts-ng/include/pkg_util.sh

package="shadowsocks-libev"
version="3.3.4-1"
version="3.3.5-1"
displayname="Shadowsocks-libev"
arch="$(pkg_get_platform) "
maintainer="David Cavallini"
Expand Down
2 changes: 2 additions & 0 deletions synology/ui/authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
}

// Not admin
/* removed because a user might have admin rights without being admin. TODO: find a way...
if ($username !== 'admin') {
echo $_SERVER['SERVER_PROTOCOL'] . " 400 Bad Request\n";
echo "Content-type: text/html; charset=utf-8\n\n";
echo '<HTML><HEAD><TITLE>Login Required</TITLE></HEAD><BODY>Please login first as admin</BODY></HTML>';
exit;
}
*/

2 changes: 2 additions & 0 deletions synology/ui/authwithouttoken.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@
}

// Not admin
/* removed because a user might have admin rights without being admin. TODO: find a way...
if ($username !== 'admin') {
echo $_SERVER['SERVER_PROTOCOL'] . " 400 Bad Request\n";
echo "Content-type: text/html; charset=utf-8\n\n";
echo '<HTML><HEAD><TITLE>Login Required</TITLE></HEAD><BODY>Please login first as admin</BODY></HTML>';
exit;
}
*/

Binary file modified synology/v2ray-plugin/v2ray-plugin_linux_386
Binary file not shown.
Binary file modified synology/v2ray-plugin/v2ray-plugin_linux_amd64
Binary file not shown.
Binary file modified synology/v2ray-plugin/v2ray-plugin_linux_arm5
Binary file not shown.
Binary file modified synology/v2ray-plugin/v2ray-plugin_linux_arm6
Binary file not shown.
Binary file modified synology/v2ray-plugin/v2ray-plugin_linux_arm7
Binary file not shown.

0 comments on commit 3b72baf

Please sign in to comment.