mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-23 16:13:46 +00:00
Refine the log of obfuscating
This commit is contained in:
+2
-2
@@ -1256,7 +1256,6 @@ main(int argc, char **argv)
|
||||
obfs_para = obfs_http;
|
||||
else if (strcmp(optarg, obfs_tls->name) == 0)
|
||||
obfs_para = obfs_tls;
|
||||
LOGI("obfuscating enabled");
|
||||
} else if (option_index == 5) {
|
||||
obfs_host = optarg;
|
||||
} else if (option_index == 6) {
|
||||
@@ -1470,7 +1469,8 @@ main(int argc, char **argv)
|
||||
else
|
||||
obfs_para->host = "cloudfront.net";
|
||||
obfs_para->port = atoi(remote_port);
|
||||
LOGI("obfuscating arg: %s", obfs_host);
|
||||
LOGI("obfuscating enabled");
|
||||
LOGI("obfuscating hostname: %s", obfs_host);
|
||||
}
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
||||
+2
-2
@@ -838,7 +838,6 @@ main(int argc, char **argv)
|
||||
obfs_para = obfs_http;
|
||||
else if (strcmp(optarg, obfs_tls->name) == 0)
|
||||
obfs_para = obfs_tls;
|
||||
LOGI("obfuscating enabled");
|
||||
} else if (option_index == 3) {
|
||||
obfs_host = optarg;
|
||||
} else if (option_index == 4) {
|
||||
@@ -1025,7 +1024,8 @@ main(int argc, char **argv)
|
||||
else
|
||||
obfs_para->host = "cloudfront.net";
|
||||
obfs_para->port = atoi(remote_port);
|
||||
LOGI("obfuscating arg: %s", obfs_host);
|
||||
LOGI("obfuscating enabled");
|
||||
LOGI("obfuscating hostname: %s", obfs_host);
|
||||
}
|
||||
|
||||
// ignore SIGPIPE
|
||||
|
||||
@@ -1842,6 +1842,10 @@ main(int argc, char **argv)
|
||||
LOGI("onetime authentication enabled");
|
||||
}
|
||||
|
||||
if (obfs_para) {
|
||||
LOGI("obfuscating enabled");
|
||||
}
|
||||
|
||||
if (mode != TCP_ONLY) {
|
||||
LOGI("UDP relay enabled");
|
||||
}
|
||||
|
||||
+2
-1
@@ -1017,7 +1017,8 @@ main(int argc, char **argv)
|
||||
else
|
||||
obfs_para->host = "cloudfront.net";
|
||||
obfs_para->port = atoi(remote_port);
|
||||
LOGI("obfuscating arg: %s", obfs_host);
|
||||
LOGI("obfuscating enabled");
|
||||
LOGI("obfuscating hostname: %s", obfs_host);
|
||||
}
|
||||
|
||||
// parse tunnel addr
|
||||
|
||||
Reference in New Issue
Block a user