mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-23 01:14:46 +07:00
docs: README
This commit is contained in:
parent
8f6b0a6e2a
commit
e15cae9377
6
Makefile
6
Makefile
@ -28,11 +28,11 @@ dae: ebpf
|
||||
go build -o $(OUTPUT) -trimpath -ldflags "-s -w -X github.com/v2rayA/dae/cmd.Version=$(VERSION)" .
|
||||
|
||||
clean-ebpf:
|
||||
rm -f control/bpf_bpf*.go && \
|
||||
@rm -f control/bpf_bpf*.go && \
|
||||
rm -f control/bpf_bpf*.o
|
||||
|
||||
bpf_objects:
|
||||
unset GOOS && \
|
||||
@unset GOOS && \
|
||||
unset GOARCH && \
|
||||
unset GOARM && \
|
||||
if [ ! -f control/bpf_objects_wan_lan.go ]; then \
|
||||
@ -45,7 +45,7 @@ ebpf: export BPF_STRIP := $(STRIP)
|
||||
ebpf: export BPF_CFLAGS := $(CFLAGS)
|
||||
ebpf: export BPF_TARGET := $(TARGET)
|
||||
ebpf: clean-ebpf bpf_objects
|
||||
unset GOOS && \
|
||||
@unset GOOS && \
|
||||
unset GOARCH && \
|
||||
unset GOARM && \
|
||||
go generate ./control/control.go
|
||||
|
@ -129,12 +129,11 @@ See [example.dae](https://github.com/v2rayA/dae/blob/main/example.dae).
|
||||
## TODO
|
||||
|
||||
1. Check dns upstream and source loop (whether upstream is also a client of us) and remind the user to add sip rule.
|
||||
1. Domain routing performance optimization.
|
||||
1. WAN L4Checksum problem.
|
||||
If the NIC checksumming offload is enabled, the Linux network stack will make a simple checksum a packet when it is sent out from local. When NIC discovers that the source IP of the packet is the local IP of the NIC, it will checksum it complete this checksum.
|
||||
But the problem is, after the Linux network stack, before entering the network card, we modify the source IP of this packet, causing the Linux network stack to only make a simple checksum, and the NIC also assumes that this packet is not sent from local, so no further checksum completing.
|
||||
1. MACv2 extension extraction.
|
||||
1. Log to userspace.
|
||||
1. Protocol-oriented node features detecting, such as full-cone (especially VMess and VLESS).
|
||||
1. Protocol-oriented node features detecting (or filter), such as full-cone (especially VMess and VLESS).
|
||||
1. DNS traffic split.
|
||||
1. ...
|
||||
|
Loading…
Reference in New Issue
Block a user