同样有这个问题,找了一段日志
2020-12-06 17:17:44.174796 <VERBOSE> [SGMHelperBridge] Send command: {
command = "stop-dhcpd";
}
2020-12-06 17:17:44.255897 <VERBOSE> [SGMHelperBridge] Received response: {
result = success;
}
2020-12-06 17:17:44.255994 <NOTIFY> [SGDHCPServer] Stop to prevent system sleeping
2020-12-06 17:17:55.345918 <VERBOSE> [SGMHelperBridge] Send command: {
command = "dhcp-discover";
interface = en0;
}
2020-12-06 17:17:57.427490 <VERBOSE> [SGMHelperBridge] Received response: {
serverAddresses = (
);
}
2020-12-06 17:17:57.427555 <NOTIFY> [SGDHCPServer] reply {
serverAddresses = (
);
}
2020-12-06 17:18:03.911453 <VERBOSE> [SGFileDescriptor-2644] Close file descriptor: 29
2020-12-06 17:18:03.911582 <VERBOSE> [SGTunnelConnection-106] Incoming socket disconnect with error: Error Domain=SGSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by remote peer}
2020-12-06 17:18:03.911636 <VERBOSE> [SGTunnelConnection-106] disconnectWithReason: Closed by client
2020-12-06 17:18:03.911740 <VERBOSE> [SGLogRequestRecord-595] markRecordInactive
2020-12-06 17:18:03.911918 <VERBOSE> [SGTrojanConnector-85] disconnectWithError: Error Domain=SGErrorDomain Code=0 "Closed by client" UserInfo={NSLocalizedDescription=Closed by client}
2020-12-06 17:18:03.911956 <VERBOSE> [SGTrojanConnector-85] disconnectAfterWritingHoldRef
2020-12-06 17:18:03.911992 <VERBOSE> [SGTLSWrapperOpenSSL-82] disconnectAfterWritingHoldRef
2020-12-06 17:18:03.912027 <VERBOSE> [SGTLSWrapperOpenSSL-82] disconnectWithError: (null)
2020-12-06 17:18:03.912066 <VERBOSE> [SGTLSWrapperOpenSSL-82] cleanup
2020-12-06 17:18:03.912251 <VERBOSE> [SGTrojanConnector-85] Dealloc
2020-12-06 17:18:03.912330 <VERBOSE> [SGFileDescriptor-2645] Close file descriptor: 30
2020-12-06 17:18:03.912378 <VERBOSE> [SGTLSWrapperOpenSSL-82] cleanup
2020-12-06 17:18:03.912493 <VERBOSE> [SGTLSWrapperOpenSSL-82] Dealloc
2020-12-06 17:18:03.912564 <VERBOSE> [SGConnectionManager] Release tunnel connection: SGTunnelConnection-106 p43-caldav-china.icloud.com:443 (Last activity seconds: 0)
2020-12-06 17:18:03.912642 <VERBOSE> [SGTunnelConnection-106] Dealloc
2020-12-06 17:18:03.912711 <VERBOSE> [SGSocket-1937] Dealloc
2020-12-06 17:18:03.912780 <VERBOSE> [SGSocket-1938] Dealloc
2020-12-06 17:18:17.205934 <NOTIFY> [SGMDeviceViewController] Subnet range: 192.168.2.0 - 192.168.2.255
2020-12-06 17:18:17.207987 <VERBOSE> [SGMHelperBridge] Send command: {
address = "192.168.2.247";
command = "set-static-ip";
mask = "255.255.255.0";
router = "192.168.2.1";
serviceID = "67E0D834-94D9-4ACE-9D60-61EA83CD9AF9";
}
2020-12-06 17:18:17.214155 <VERBOSE> [SGMHelperBridge] Received response: {
result = success;
}
2020-12-06 17:18:22.290553 <NOTIFY> [SGDHCPServer] Prevent system sleeping
2020-12-06 17:18:22.291814 <VERBOSE> [SGMHelperBridge] Send command: {
command = "stop-dhcpd";
}
2020-12-06 17:18:22.345107 <VERBOSE> [SGMHelperBridge] Received response: {
result = success;
}
2020-12-06 17:18:22.346249 <VERBOSE> [SGMHelperBridge] Send command: {
command = "start-dhcpd";
config = "/Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/dhcpd.conf";
dhcpd = "/Applications/Surge.app/Contents/Applications/surge-dhcpd";
interface = en0;
lease = "/Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/lease";
output = "/Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/log";
pid = "/Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/pid";
}
2020-12-06 17:18:22.572529 <VERBOSE> [SGMHelperBridge] Received response: {
pid = 743;
result = success;
}
2020-12-06 17:18:22.572651 <NOTIFY> [SGDHCPServer] {
pid = 743;
result = success;
}
2020-12-06 17:18:22.585235 <INFO> [SGDHCPServer] Internet Systems Consortium DHCP Server 4.4.2
2020-12-06 17:18:22.585271 <INFO> [SGDHCPServer] Copyright 2004-2020 Internet Systems Consortium.
2020-12-06 17:18:22.585297 <INFO> [SGDHCPServer] All rights reserved.
2020-12-06 17:18:22.585335 <INFO> [SGDHCPServer] For info, please visit https://www.isc.org/software/dhcp/
2020-12-06 17:18:22.601189 <INFO> [SGDHCPServer] Config file: /Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/dhcpd.conf
2020-12-06 17:18:22.601243 <INFO> [SGDHCPServer] Database file: /Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/lease
2020-12-06 17:18:22.601305 <INFO> [SGDHCPServer] PID file: /Users/wangyi/Library/Application Support/com.nssurge.surge-mac/dhcpd/pid
2020-12-06 17:18:22.602085 <INFO> [SGDHCPServer] Wrote 0 deleted host decls to leases file.
2020-12-06 17:18:22.602137 <INFO> [SGDHCPServer] Wrote 0 new dynamic host decls to leases file.
2020-12-06 17:18:22.602177 <INFO> [SGDHCPServer] Wrote 0 leases to leases file.
2020-12-06 17:18:22.603068 <INFO> [SGDHCPServer] Listening on BPF/en0/98:5a:eb:d8:24:65/192.168.2.0/24
2020-12-06 17:18:22.603107 <INFO> [SGDHCPServer] Sending on BPF/en0/98:5a:eb:d8:24:65/192.168.2.0/24
2020-12-06 17:18:22.603183 <INFO> [SGDHCPServer] Sending on Socket/fallback/fallback-net
2020-12-06 17:18:22.603457 <INFO> [SGDHCPServer] Server starting service.
2020-12-06 17:19:26.547322 <INFO> [SGDHCPServer] dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
2020-12-06 17:19:26.547385 <INFO> [SGDHCPServer] Referenced from: /Applications/Surge.app/Contents/Applications/surge-dhcpd (which was built for Mac OS X 10.15)
2020-12-06 17:19:26.547475 <INFO> [SGDHCPServer] Expected in: /usr/lib/libSystem.B.dylib
2020-12-06 17:19:26.547514 <INFO> [SGDHCPServer]
2020-12-06 17:19:26.547548 <INFO> [SGDHCPServer] dyld: Symbol not found: ____chkstk_darwin
2020-12-06 17:19:26.547614 <INFO> [SGDHCPServer] Referenced from: /Applications/Surge.app/Contents/Applications/surge-dhcpd (which was built for Mac OS X 10.15)
2020-12-06 17:19:26.547658 <INFO> [SGDHCPServer] Expected in: /usr/lib/libSystem.B.dylib
2020-12-06 17:19:26.547731 <INFO> [SGDHCPServer]
2020-12-06 17:19:26.547798 <NOTIFY> [SGDHCPServer] dhcpd terminated