@@ -55,14 +55,15 @@ func (v *ShadowsocksServerConfig) Build() (proto.Message, error) {
5555}
5656
5757type ShadowsocksServerTarget struct {
58- Address * cfgcommon.Address `json:"address"`
59- Port uint16 `json:"port"`
60- Cipher string `json:"method"`
61- Password string `json:"password"`
62- Email string `json:"email"`
63- Ota bool `json:"ota"`
64- Level byte `json:"level"`
65- IVCheck bool `json:"ivCheck"`
58+ Address * cfgcommon.Address `json:"address"`
59+ Port uint16 `json:"port"`
60+ Cipher string `json:"method"`
61+ Password string `json:"password"`
62+ Email string `json:"email"`
63+ Ota bool `json:"ota"`
64+ Level byte `json:"level"`
65+ IVCheck bool `json:"ivCheck"`
66+ ExperimentReducedIvHeadEntropy bool `json:"experimentReducedIvHeadEntropy"`
6667}
6768
6869type ShadowsocksClientConfig struct {
@@ -91,7 +92,8 @@ func (v *ShadowsocksClientConfig) Build() (proto.Message, error) {
9192 return nil , newError ("Shadowsocks password is not specified." )
9293 }
9394 account := & shadowsocks.Account {
94- Password : server .Password ,
95+ Password : server .Password ,
96+ ExperimentReducedIvHeadEntropy : server .ExperimentReducedIvHeadEntropy ,
9597 }
9698 account .CipherType = shadowsocks .CipherFromString (server .Cipher )
9799 if account .CipherType == shadowsocks .CipherType_UNKNOWN {
0 commit comments