alireza0 / s-ui

An advanced Web Panel • Built for SagerNet/Sing-Box
https://t.me/XrayUI
GNU General Public License v3.0
2.52k stars 378 forks source link

I can't use shadowsocks on mihomo kernel。 #208

Open leslieqwq opened 1 month ago

leslieqwq commented 1 month ago

what should I do? This is my mihomo config:

{
  - name: test
  type: ss
  server: ?.?.?.?
  port: 8888
  udp: true
  password: VV2dwm/24JfDL2V7ZQ+0kA==:cHSh4aBfqodPl5AI1KgRdg==
  cipher: 2022-blake3-aes-128-gcm
  smux:
      enabled: true
      protocol: h2mux
      max-connections: 1
      min-streams: 4
      statistic: false
      only-tcp: false
      padding: false
      brutal-opts:
        enabled: true
        up: 40
        down: 1000
}

Here are some screenshots of my settings: 8e5528a8cf475080830d3aa5eb10c2af.png 47a26a913874b35d1b7bb7a474d5f362.png

Finally, I think this problem should be related to the password。

alireza0 commented 1 month ago

Password for 128bit method should be 32byte and it is not implemented yet. Please use 256bit methods for now. As soon as finding a solution for this method, update will be in place.

leslieqwq commented 1 month ago

Password for 128bit method should be 32byte and it is not implemented yet. Please use 256bit methods for now. As soon as finding a solution for this method, update will be in place.

But the mihomo log shows that the 128bit method requires a 16byte password,and the 256bit method requires a 32byte password.I don't know why

leslieqwq commented 1 month ago

Password for 128bit method should be 32byte and it is not implemented yet. Please use 256bit methods for now. As soon as finding a solution for this method, update will be in place.

I have changed the method to 256bit and the password was generated with "openssl rand -base64 32" command. But that inbound still didn't work

leslieqwq commented 1 month ago

I tried to use shadowsocks on the clash or xray client but it didn't work. Is there something I missed when creating it? The user on the clients page has selected inbound.

leslieqwq commented 1 month ago

The created ss cannot be used on Shadowrocket

alireza0 commented 1 month ago

Just change parameters. Some clients using incompatible version of shadosocks or core.