mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-25 07:20:44 +00:00
get rid of annoying firewall warnings
This commit is contained in:
1 parent
c3aa839227
commit
b47c1ca609
34 files changed
+110
-51
No files matched your search
@@ -37,7 +37,8 @@ func TestSocksTcpConnect(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
config := &point.Config{
|
||||
Port: port,
|
||||
Port: port,
|
||||
ListenOn: v2net.LocalHostIP,
|
||||
InboundConfig: &point.ConnectionConfig{
|
||||
Protocol: "socks",
|
||||
Settings: []byte(`
|
||||
@@ -101,7 +102,8 @@ func TestSocksTcpConnectWithUserPass(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
config := &point.Config{
|
||||
Port: port,
|
||||
Port: port,
|
||||
ListenOn: v2net.LocalHostIP,
|
||||
InboundConfig: &point.ConnectionConfig{
|
||||
Protocol: "socks",
|
||||
Settings: []byte(`
|
||||
@@ -168,7 +170,8 @@ func TestSocksTcpConnectWithWrongUserPass(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
config := &point.Config{
|
||||
Port: port,
|
||||
Port: port,
|
||||
ListenOn: v2net.LocalHostIP,
|
||||
InboundConfig: &point.ConnectionConfig{
|
||||
Protocol: "socks",
|
||||
Settings: []byte(`
|
||||
@@ -221,7 +224,8 @@ func TestSocksTcpConnectWithWrongAuthMethod(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
config := &point.Config{
|
||||
Port: port,
|
||||
Port: port,
|
||||
ListenOn: v2net.LocalHostIP,
|
||||
InboundConfig: &point.ConnectionConfig{
|
||||
Protocol: "socks",
|
||||
Settings: []byte(`
|
||||
|
||||
Reference in new issue
Block a user