forked from v2ray/v2ray-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e90177
commit ce5bc72
Showing
5 changed files
with
112 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
syntax = "proto3"; | ||
|
||
import "v2ray.com/core/common/protocol/user.proto"; | ||
|
||
package com.v2ray.core.proxy.shadowsocks; | ||
option go_package = "shadowsocks"; | ||
|
||
import "v2ray.com/core/common/protocol/user.proto"; | ||
import "v2ray.com/core/common/protocol/server_spec.proto"; | ||
|
||
message Account { | ||
string password = 1; | ||
CipherType cipher_type = 2; | ||
} | ||
|
||
enum CipherType { | ||
UNKNOWN = 0; | ||
AES_128_CFB = 1; | ||
AES_256_CFB = 2; | ||
CHACHA20 = 3; | ||
CHACHA20_IEFT = 4; | ||
} | ||
|
||
message ServerConfig { | ||
bool udp_enabled = 1; | ||
com.v2ray.core.common.protocol.User user = 2; | ||
} | ||
|
||
message Config { | ||
enum Cipher { | ||
UNKNOWN = 0; | ||
AES_128_CFB = 1; | ||
AES_256_CFB = 2; | ||
CHACHA20 = 3; | ||
CHACHA20_IEFT = 4; | ||
} | ||
Cipher cipher = 1; | ||
bool udp_enabled = 2; | ||
com.v2ray.core.common.protocol.User user = 3; | ||
message ClientConfig { | ||
repeated com.v2ray.core.common.protocol.ServerSpecPB server = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters