Comments (17)
Hello
I'm a bit confused. UIDs and rules are two different things. UIDs are for user management (that you add or remove them using options 1 or 2). Rules on the over hand are used to tell the cloak to forward what to where.
Please note that if you have created a limited user, they are saved into the cloak's database not the json file. Also note that while removing or adding them, script tries to start cloak client on the server and fetch the results from database. As you mentioned in one of the previous issues, because of your ram it might fail to start cloak client. But I'll check it later anyway.
Also for shadowsocks profiles, as the main cloak repository says, I have chosen the plain encryption as default because it does not give fingerprints. (Source) If you want, you have to just change it in the new config file that the script generates for you.
Also if the script gives you an error before starting it over please tell me.
from shadowsocks-cloak-installer.
I tested the script and I could not reproduce the things you said. (empty server config and starting from beginning)
I tried these steps:
- Added an non-restricted UID and connected to it. Added 3 more and tested one more of them.
- Added a restricted UID and connected to it. I haven't tested the speed limit and quota limit. (Also note that you should enter all numbers correctly and do not use a big value.)
- Added another non-restricted and tested it.
- Used
Show UIDs
option to check if they have been added correctly. - While connected to a non-restricted UID, removed it and the shadowsocks got disconnected immediately.
- While connected to a restricted UID, removed it and the shadowsocks got disconnected immediately.
- Removed the shadowsocks rule and added it again. It worked fine.
from shadowsocks-cloak-installer.
Looks like you have installed Cloak. Choose an option below:
- Add User
- Remove User
- Show UIDs
- Show Connections for Shadowsocks Users
- Change Forwarding Rules
- Regenerate Firewall Rules
- Uninstall Cloak
Please enter a number: 5
What do you want to do? - Add a rule
- Delete a rule
Choose by number: 2 - {
- "ProxyBook": {
-
"clvpn": [
-
"tcp",
-
"127.0.0.1:48443"
-
],
-
"panel": [
-
"tcp",
-
"127.0.0.1:0"
-
],
-
"nclocal": [
-
"tcp",
-
"127.0.0.1:12345"
-
],
-
"": ""
- },
- "BypassUID": [
-
"lCOl+YH0ot/BJQA+TBOX5A==",
-
"jefUqHV6pIbSp0GcMm8GSg=="
- ],
- "BindAddr": [
-
":8443"
- ],
- "RedirAddr": "204.79.197.200",
- "PrivateKey": "wLvbhd7UZBFgrmOJJUN/T7WGoyYLpSqKd18EPAQhYEQ=",
- "AdminUID": "8FVIC9ODzuLPLkkCVjSjBg==",
- "DatabasePath": "userinfo.db",
- "StreamTimeout": 300
- }
Which UID you want to see it's link?(Choose by number) 3
Done
[root@localvpn ~]#
nothing happen
from shadowsocks-cloak-installer.
@A2116 Can you reinstall the cloak and Update the script? or is this a fresh install with the newest script?
from shadowsocks-cloak-installer.
it's new script
i install it 2 day ago
from shadowsocks-cloak-installer.
Looks like you have installed Cloak. Choose an option below:
- Add User
- Remove User
- Show UIDs
- Show Connections for Shadowsocks Users
- Change Forwarding Rules
- Regenerate Firewall Rules
- Uninstall Cloak
Please enter a number: 5
What do you want to do? - Add a rule
- Delete a rule
Choose by number: 1
Where the traffic should be forwarded?(For example 127.0.0.1:6252) 127.0.0.1:54321
What should this be called? Clients must use this name as "ProxyMethod" on their computers: testprme
jq: error: $k is not defined at , line 1:
.ProxyBook += {$k}
jq: 1 compile error
Done
[root@localvpn ~]#
nothing happen
/etc/cloak/ckserver.conf completely cleared
from shadowsocks-cloak-installer.
@A2116 So it's not new.
Uninstall the cloak. Remove the script and install using the newest one.
Edit: Using this command you can update the script: curl -o Cloak-Installer.sh -L https://git.io/fj5mh && bash Cloak-Installer.sh
from shadowsocks-cloak-installer.
I'm closing this issue because you have reported this bug in #25 and it's fixed in this commit.
from shadowsocks-cloak-installer.
If this issue still exists in the newest script tell me to re-open this issue.
from shadowsocks-cloak-installer.
it's solved by updating script
if i edit shadowsocks.json file and change
"EncryptionMethod":"plain",
to
"EncryptionMethod":"aes-gcm",
is it change by restarting service? or not?
from shadowsocks-cloak-installer.
Great news that it's now fixed!
You can edit that file and use it without restarting the service. Also, if you are using a ss://
link to connect to your server, you have to change plain in the link to whatever encryption you like.
from shadowsocks-cloak-installer.
I edit shadowsocks.json but nothing happens
also, I remove shadowsocks method and re-add it with the same name
also, nothing happens
in both situation when I select Show Connections for Shadowsocks Users it shows me plain as encryption
also if I add new user
from shadowsocks-cloak-installer.
You have to edit the link manually. The script always gives you a link with the plain method.
Let me give you an example. Here is my ss://
link (Removed IP and password):
ss://[email protected]:53?plugin=ck-client%3BUID%3De38tNcVDdSW%2FZ8w30T1ORQ%5C%3D%5C%3D%3BPublicKey%3DzJx%2BO4O7RTnuabqkOOocojpBj0G3MqknvMrc2OjYMBU%5C%3D%3BServerName%3Dbing.com%3BBrowserSig%3Dchrome%3BNumConn%3D4%3BProxyMethod%3Dshadowsocks%3BEncryptionMethod%3Dplain%3BStreamTimeout%3D300
Note that the method is plain. The only thing you have to is to change it to aes-gcm. So here is the new link:
ss://[email protected]:53?plugin=ck-client%3BUID%3De38tNcVDdSW%2FZ8w30T1ORQ%5C%3D%5C%3D%3BPublicKey%3DzJx%2BO4O7RTnuabqkOOocojpBj0G3MqknvMrc2OjYMBU%5C%3D%3BServerName%3Dbing.com%3BBrowserSig%3Dchrome%3BNumConn%3D4%3BProxyMethod%3Dshadowsocks%3BEncryptionMethod%3Daes-gcm%3BStreamTimeout%3D300
from shadowsocks-cloak-installer.
before I change the link I should change shadowsocks.json or it's not needed?
from shadowsocks-cloak-installer.
if you can improve the script to generate QRcode and link correctly with the selected encryption method
from shadowsocks-cloak-installer.
No there is no need to change the shadowsocks.json
file.
Also as I said before, the cloak repository says that you can use plain because shadowsocks does not give fingerprints. So I'll stick to the hardcoded plain method until that is changed.
from shadowsocks-cloak-installer.
If you want you change this line yourself in your own sever in order to change the encryption method of the QR code and ss:\\
links.
from shadowsocks-cloak-installer.
Related Issues (20)
- Extreme conditions HOT 4
- Encryption HOT 2
- Just a question. HOT 2
- iOS Update HOT 1
- Question HOT 2
- Clock On OpenWRT HOT 1
- Cloak client error with openvpn HOT 3
- Does this work in the current situation in Iran? HOT 1
- Ck-Client Error
- WhatsApp does not work over Shadowsocks-Cloak-Installer HOT 4
- 9
- question about cloak HOT 1
- shadowsocks-rust status log after running for hours. HOT 1
- Loading websites issues after ipv6 update. HOT 3
- Config issue
- How to update shadowsocks-rust?
- MacOS support
- Browser Signature update. HOT 2
- ارور در اتصال
- Error in connection
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 shadowsocks-cloak-installer.