[GH-ISSUE #163] AlternativeNames shuffle connection #134

Closed
opened 2026-02-26 12:34:04 +03:00 by kerem · 4 comments
Owner

Originally created by @malikshi on GitHub (Apr 19, 2021).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/163

hi, I want to ask regarding this new feature about AlternativeNames, is it need to set NumConn 0 to fully use AlternativeNames? when I am set NumConn 4 or 8 it's will be like this forever, except for restarting shadowsocks-windows client that mean new connection right

time="2021-04-19T20:56:50+07:00" level=info msg="Listening on TCP 127.0.0.1:33498 for shadowsocks client"
time="2021-04-19T20:56:56+07:00" level=info msg="Attempting to start a new session"
time="2021-04-19T20:56:56+07:00" level=info msg="Session 2797897470 established"

Originally created by @malikshi on GitHub (Apr 19, 2021). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/163 hi, I want to ask regarding this new feature about AlternativeNames, is it need to set `NumConn 0` to fully use AlternativeNames? when I am set `NumConn 4` or `8` it's will be like this forever, except for restarting shadowsocks-windows client that mean new connection right >time="2021-04-19T20:56:50+07:00" level=info msg="Listening on TCP 127.0.0.1:33498 for shadowsocks client" time="2021-04-19T20:56:56+07:00" level=info msg="Attempting to start a new session" time="2021-04-19T20:56:56+07:00" level=info msg="Session 2797897470 established"
kerem closed this issue 2026-02-26 12:34:04 +03:00
Author
Owner

@notsure2 commented on GitHub (Apr 19, 2021):

Yes, it's best to use NumConn=0 with it. Otherwise only when the connections are ended and new ones are spawned the sni used will change.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, April 19th, 2021 at 4:08 PM, Malik Al @.***> wrote:

hi, I want to ask regarding this new feature about AlternativeNames, is it need to set NumConn 0 to fully use AlternativeNames? when I am set NumConn 4 or 8 it's will be like this forever, except for restarting shadowsocks-windows client that mean new connection right

time="2021-04-19T20:56:50+07:00" level=info msg="Listening on TCP 127.0.0.1:33498 for shadowsocks client"
time="2021-04-19T20:56:56+07:00" level=info msg="Attempting to start a new session"
time="2021-04-19T20:56:56+07:00" level=info msg="Session 2797897470 established"


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:822499385 --> @notsure2 commented on GitHub (Apr 19, 2021): Yes, it's best to use NumConn=0 with it. Otherwise only when the connections are ended and new ones are spawned the sni used will change. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, April 19th, 2021 at 4:08 PM, Malik Al ***@***.***> wrote: > hi, I want to ask regarding this new feature about AlternativeNames, is it need to set NumConn 0 to fully use AlternativeNames? when I am set NumConn 4 or 8 it's will be like this forever, except for restarting shadowsocks-windows client that mean new connection right > >> time="2021-04-19T20:56:50+07:00" level=info msg="Listening on TCP 127.0.0.1:33498 for shadowsocks client" >> time="2021-04-19T20:56:56+07:00" level=info msg="Attempting to start a new session" >> time="2021-04-19T20:56:56+07:00" level=info msg="Session 2797897470 established" > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, [view it on GitHub](https://github.com/cbeuw/Cloak/issues/163), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AIOIVHY7G7KSTNXCBO6ONVLTJQ2N7ANCNFSM43F5BZ4A).
Author
Owner

@malikshi commented on GitHub (Apr 19, 2021):

UID=uuuuu;PublicKey=kkkkkkk;ServerName=bing.com;AlternativeNames=cloudflare.com,google.com;BrowserSig=chrome;NumConn=0;StreamTimeout=300;ProxyMethod=shadowsocks;EncryptionMethod=plain;Transport=direct

ServerName=bing.com;AlternativeNames=cloudflare.com,google.com;

Is it the right setting? but Shadowsocks windows not allowing it because of too much text in plugin options.

<!-- gh-comment-id:822507199 --> @malikshi commented on GitHub (Apr 19, 2021): UID=uuuuu;PublicKey=kkkkkkk;ServerName=bing.com;AlternativeNames=cloudflare.com,google.com;BrowserSig=chrome;NumConn=0;StreamTimeout=300;ProxyMethod=shadowsocks;EncryptionMethod=plain;Transport=direct >ServerName=bing.com;AlternativeNames=cloudflare.com,google.com; Is it the right setting? but Shadowsocks windows not allowing it because of too much text in plugin options.
Author
Owner

@notsure2 commented on GitHub (Apr 19, 2021):

Then shadowsocks-windows needs a pull request. You can use cloak with a config file or launch cloak by using a cmd and put the cmd file in the plugin section in shadowsocks-windows.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, April 19th, 2021 at 4:23 PM, Malik Al @.***> wrote:

UID=uuuuu;PublicKey=kkkkkkk;ServerName=bing.com;AlternativeNames=cloudflare.com,google.com;BrowserSig=chrome;NumConn=0;StreamTimeout=300;ProxyMethod=shadowsocks;EncryptionMethod=plain;Transport=direct

ServerName=bing.com;AlternativeNames=cloudflare.com,google.com;

Is it the right setting? but Shadowsocks windows not allowing its because of too much text in plugin options.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:822513822 --> @notsure2 commented on GitHub (Apr 19, 2021): Then shadowsocks-windows needs a pull request. You can use cloak with a config file or launch cloak by using a cmd and put the cmd file in the plugin section in shadowsocks-windows. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, April 19th, 2021 at 4:23 PM, Malik Al ***@***.***> wrote: > UID=uuuuu;PublicKey=kkkkkkk;ServerName=bing.com;AlternativeNames=cloudflare.com,google.com;BrowserSig=chrome;NumConn=0;StreamTimeout=300;ProxyMethod=shadowsocks;EncryptionMethod=plain;Transport=direct > >> ServerName=bing.com;AlternativeNames=cloudflare.com,google.com; > > Is it the right setting? but Shadowsocks windows not allowing its because of too much text in plugin options. > > — > You are receiving this because you commented. > Reply to this email directly, [view it on GitHub](https://github.com/cbeuw/Cloak/issues/163#issuecomment-822507199), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AIOIVH4JE4TBPPIUOZH2RO3TJQ4HDANCNFSM43F5BZ4A).
Author
Owner

@malikshi commented on GitHub (Apr 19, 2021):

image
thanks @notsure2 it's work and good to go

<!-- gh-comment-id:822519328 --> @malikshi commented on GitHub (Apr 19, 2021): ![image](https://user-images.githubusercontent.com/9080737/115254466-93dea200-a157-11eb-9175-8bb9d9c26871.png) thanks @notsure2 it's work and good to go
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#134
No description provided.