利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。
When following this guide on a host not capable of native arm64 KVM, replace -M virt -cpu host -accel kvm
with -M virt,virtualization=on -cpu max
.
The reason for virtualization=on
is that the Windows bootloader does an smc #0
PSCI call, but without EL2, QEMU's TCG does not handle those because PSCI is in HVC mode and such that instruction is treated as undefined. With KVM enabled, smc #0
is handled properly.
Workaround in QEMU for using TCG without virtualization=on
:
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index b871350856..de11ff51d1 100644
--- a/hw/arm/virt.c
This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.
On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that