|
|
@ -1436,8 +1436,8 @@ func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) { |
|
|
|
Inbound: []*core.InboundHandlerConfig{ |
|
|
|
Inbound: []*core.InboundHandlerConfig{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
ReceiverSettings: serial.ToTypedMessage(&proxyman.ReceiverConfig{ |
|
|
|
ReceiverSettings: serial.ToTypedMessage(&proxyman.ReceiverConfig{ |
|
|
|
PortRange: net.SinglePortRange(serverPort), |
|
|
|
PortList: &net.PortList{Range: []*net.PortRange{net.SinglePortRange(serverPort)}}, |
|
|
|
Listen: net.NewIPOrDomain(net.LocalHostIP), |
|
|
|
Listen: net.NewIPOrDomain(net.LocalHostIP), |
|
|
|
}), |
|
|
|
}), |
|
|
|
ProxySettings: serial.ToTypedMessage(&inbound.Config{ |
|
|
|
ProxySettings: serial.ToTypedMessage(&inbound.Config{ |
|
|
|
User: []*protocol.User{ |
|
|
|
User: []*protocol.User{ |
|
|
@ -1470,8 +1470,8 @@ func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) { |
|
|
|
Inbound: []*core.InboundHandlerConfig{ |
|
|
|
Inbound: []*core.InboundHandlerConfig{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
ReceiverSettings: serial.ToTypedMessage(&proxyman.ReceiverConfig{ |
|
|
|
ReceiverSettings: serial.ToTypedMessage(&proxyman.ReceiverConfig{ |
|
|
|
PortRange: net.SinglePortRange(clientPort), |
|
|
|
PortList: &net.PortList{Range: []*net.PortRange{net.SinglePortRange(clientPort)}}, |
|
|
|
Listen: net.NewIPOrDomain(net.LocalHostIP), |
|
|
|
Listen: net.NewIPOrDomain(net.LocalHostIP), |
|
|
|
}), |
|
|
|
}), |
|
|
|
ProxySettings: serial.ToTypedMessage(&dokodemo.Config{ |
|
|
|
ProxySettings: serial.ToTypedMessage(&dokodemo.Config{ |
|
|
|
Address: net.NewIPOrDomain(dest.Address), |
|
|
|
Address: net.NewIPOrDomain(dest.Address), |
|
|
|