diff --git a/README.md b/README.md
index 5af8872..9056ae6 100644
--- a/README.md
+++ b/README.md
@@ -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).
diff --git a/synology/INFO.sh b/synology/INFO.sh
index 40adbb4..961b4ec 100755
--- a/synology/INFO.sh
+++ b/synology/INFO.sh
@@ -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"
diff --git a/synology/ui/authenticate.php b/synology/ui/authenticate.php
index 35de44e..3a38cdb 100755
--- a/synology/ui/authenticate.php
+++ b/synology/ui/authenticate.php
@@ -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 '
Login RequiredPlease login first as admin';
exit;
}
+*/
diff --git a/synology/ui/authwithouttoken.php b/synology/ui/authwithouttoken.php
index 4b5d00c..b3c8d78 100755
--- a/synology/ui/authwithouttoken.php
+++ b/synology/ui/authwithouttoken.php
@@ -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 'Login RequiredPlease login first as admin';
exit;
}
+*/
diff --git a/synology/v2ray-plugin/v2ray-plugin_linux_386 b/synology/v2ray-plugin/v2ray-plugin_linux_386
index 03b163c..1c1974e 100755
Binary files a/synology/v2ray-plugin/v2ray-plugin_linux_386 and b/synology/v2ray-plugin/v2ray-plugin_linux_386 differ
diff --git a/synology/v2ray-plugin/v2ray-plugin_linux_amd64 b/synology/v2ray-plugin/v2ray-plugin_linux_amd64
index acc94b2..587e4d9 100755
Binary files a/synology/v2ray-plugin/v2ray-plugin_linux_amd64 and b/synology/v2ray-plugin/v2ray-plugin_linux_amd64 differ
diff --git a/synology/v2ray-plugin/v2ray-plugin_linux_arm5 b/synology/v2ray-plugin/v2ray-plugin_linux_arm5
index 3e1cf18..34eeab4 100755
Binary files a/synology/v2ray-plugin/v2ray-plugin_linux_arm5 and b/synology/v2ray-plugin/v2ray-plugin_linux_arm5 differ
diff --git a/synology/v2ray-plugin/v2ray-plugin_linux_arm6 b/synology/v2ray-plugin/v2ray-plugin_linux_arm6
index 8a60263..00c32c6 100755
Binary files a/synology/v2ray-plugin/v2ray-plugin_linux_arm6 and b/synology/v2ray-plugin/v2ray-plugin_linux_arm6 differ
diff --git a/synology/v2ray-plugin/v2ray-plugin_linux_arm7 b/synology/v2ray-plugin/v2ray-plugin_linux_arm7
index dd58ea6..caebbf2 100755
Binary files a/synology/v2ray-plugin/v2ray-plugin_linux_arm7 and b/synology/v2ray-plugin/v2ray-plugin_linux_arm7 differ