利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.rt47MM/nixos-rebuild /etc/nixos#nixosConfigurations."hostname".config.system.build.nixos-rebuild --verbose | |
evaluating derivation 'git+file:///etc/nixos#nixosConfigurations."hostname".config.system.build.nixos-rebuild'... | |
warning: Git tree '/etc/nixos' is dirty | |
evaluating file '/nix/store/6x2m3398id31f9krhc4z515bm43lsy66-source/flake.nix' | |
$ exec /nix/store/vjkdarn9k860v8qrfp46083qckjf2pm9-nixos-rebuild/bin/nixos-rebuild switch --flake /etc/nixos --verbose | |
building the system configuration... | |
Building in flake mode. | |
$ nix --extra-experimental-features nix-command flakes build /etc/nixos#nixosConfigurations."hostname".config.system.build.toplevel --verbose --out-link /tmp/nixos-rebuild.tAV8Ft/result | |
evaluating derivation 'git+file:///etc/nixos#nixosConfigurations."hostname".config.system.build.toplevel'... | |
warning: Git tree '/etc/nixos' is dirty |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$CPATH is `' | |
$LIBRARY_PATH is `' | |
/nix/store/qr60k7sz61hvv2baadlfv5qjr8q7vlg6-builder.sh: line 40: /nix/store/0kh9lkqqjpwflxfvb4a1ngxnkcfnlspd-binutils-wrapper-2.40/nix-support/libc-ldflags-before: No such file or directory | |
/nix/store/qr60k7sz61hvv2baadlfv5qjr8q7vlg6-builder.sh: line 40: /nix/store/0kh9lkqqjpwflxfvb4a1ngxnkcfnlspd-binutils-wrapper-2.40/nix-support/libc-ldflags-before: No such file or directory | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/s6kbsz7n9cksj7j5f7f49f66yfibnjxa-gcc-12.2.0.tar.xz | |
source root is gcc-12.2.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1660898032 of file gcc-12.2.0/MD5SUMS | |
@nix { "action": "setPhase", "phase": "patchPhase" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls ../aa/fentry-link/fentry-link.h && ../../compiler/workspace/bin/ecc ../aa/fentry-link/fentry-link.bpf.c ../aa/fentry-link/fentry-link.h \ | |
|| ../../compiler/workspace/bin/ecc ../aa/fentry-link/fentry-link.bpf.c | |
ls: cannot access '../aa/fentry-link/fentry-link.h': No such file or directory | |
Compiling bpf object... | |
Packing ebpf object and config into ../aa/fentry-link/package.json... | |
sudo timeout --preserve-status -s 2 2 ./ecli run ../aa/fentry-link/package.json | |
arg: ../aa/fentry-link/package.json | |
libbpf: prog 'do_unlinkat': failed to attach: ERROR: strerror_r(-524)=22 | |
libbpf: prog 'do_unlinkat': failed to auto-attach: -524 | |
failed to attach skeleton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls ../testfail/fentry-link/fentry-link.h && ../../compiler/workspace/bin/ecc ../testfail/fentry-link/fentry-link.bpf.c ../testfail/fentry-link/fentry-link.h \ | |
|| ../../compiler/workspace/bin/ecc ../testfail/fentry-link/fentry-link.bpf.c | |
ls: cannot access '../testfail/fentry-link/fentry-link.h': No such file or directory | |
Compiling bpf object... | |
Packing ebpf object and config into ../testfail/fentry-link/package.json... | |
sudo timeout --preserve-status -s 2 2 ./ecli run ../testfail/fentry-link/package.json | |
arg: ../testfail/fentry-link/package.json | |
libbpf: prog 'do_unlinkat': failed to attach: ERROR: strerror_r(-524)=22 | |
libbpf: prog 'do_unlinkat': failed to auto-attach: -524 | |
failed to attach skeleton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: linking with `cc` failed: exit status: 1 | |
|note"cc" | |
"/tmp/rustc0K2n8b/symbols.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.0.rcgu.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.1.rcgu.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.10.rcgu.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.11.rcgu.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.12.rcgu.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.13.rcgu.o" | |
"/home/riro/t/eunomia-bpf/ecli/target/release/deps/ecli-141824b492e230ea.ecli.45a5a42c-cgu.14.rcgu.o" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls ../bpftools/runqlat/runqlat.h && ../../compiler/workspace/bin/ecc ../bpftools/runqlat/runqlat.bpf.c ../bpftools/runqlat/runqlat.h \ | |
|| ../../compiler/workspace/bin/ecc ../bpftools/runqlat/runqlat.bpf.c | |
../bpftools/runqlat/runqlat.h | |
Compiling bpf object... | |
$ clang -g -O2 -target bpf -Wno-unknown-attributes -D__TARGET_ARCH_mips -idirafter /usr/local/include -idirafter /usr/lib/llvm-11/lib/clang/11.0.1/include -idirafter /usr/include/mipsel-linux-gnu -idirafter /usr/include -I/tmp/eunomia.ydDjcs/include -I/tmp/eunomia.ydDjcs/include/vmlinux/mips -I/root/eunomia-bpf/examples/bpftools/runqlat -c ../bpftools/runqlat/runqlat.bpf.temp.c -o ../bpftools/runqlat/runqlat.bpf.o | |
In file included from ../bpftools/runqlat/runqlat.bpf.temp.c:10: | |
/root/eunomia-bpf/examples/bpftools/runqlat/core_fixes.bpf.h:79:6: error: use of unknown builtin '__builtin_preserve_type_info' [-Wimplicit-function-declaration] | |
if (bpf_core_type_exists(struct trace_event_raw_block_rq_completion___x)) | |
^ | |
/tmp/eunomia.ydDjcs/i |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls ../bpftools/bashreadline/bashreadline.h && ../../eunomia-cc//workspace/bin/ecc ../bpftools/bashreadline/bashreadline.bpf.c ../bpftools/bashreadline/bashreadline.h \ | |
|| ../../eunomia-cc//workspace/bin/ecc ../bpftools/bashreadline/bashreadline.bpf.c | |
../bpftools/bashreadline/bashreadline.h | |
Compiling bpf object... | |
Generating export types... | |
Packing ebpf object and config into ../bpftools/bashreadline/package.json... | |
sudo timeout --preserve-status -s 2 2 ./ecli run ../bpftools/bashreadline/package.json | |
TIME PID STR | |
Ctrl C exit... | |
ls ../bpftools/bootstrap/bootstrap.h && ../../eunomia-cc//workspace/bin/ecc ../bpftools/bootstrap/bootstrap.bpf.c ../bpftools/bootstrap/bootstrap.h \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nix 0 secs █████████████████████ 100.0% |
NewerOlder