rebase xdp-tools from upstream xdp-tools 1.5.4. there is Makefile conflict when rebase because 1.5.4 added xdp-forward. manually resolve the rebase conflict by put loongfire xdp program at the end: for example instruction from deepseek: Open the Makefile in a text editor and locate the conflict: makefile ifneq ($(BPFTOOL),) <<<<<<< HEAD UTILS += xdp-bench xdp-forward xdp-monitor xdp-trafficgen ======= UTILS += xdp-bench xdp-monitor xdp-trafficgen xdp-synproxy >>>>>>> d8ebb16 (Add xdp-synproxy) endif Understand the conflict: The HEAD (upstream/main) version includes xdp-forward. Your commit (d8ebb16) adds xdp-synproxy but removes xdp-forward. Resolve the conflict by including both changes: Keep xdp-forward from HEAD. Add xdp-synproxy from your commit. The merged line should look like this: makefile UTILS += xdp-bench xdp-forward xdp-monitor xdp-trafficgen xdp-synproxy Remove the conflict markers (<<<<<<<, =======, >>>>>>>). edit result: ifneq ($(BPFTOOL),) UTILS += xdp-bench xdp-forward xdp-monitor xdp-trafficgen xdp-synproxy endif Save the file after making these changes. Stage the resolved Makefile and continue the rebase: git add Makefile git rebase --continue repeat editing Makefile and git rebase --continue for below program xdp-dnsrrl xdp-udp xdp-dns xdp-sni xdp-geoip xdp-udpddos xdp-tailcall xdp-synproxy-tailcall xdp-ddos Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
LoongFire - The Open Source Firewall on Loongson CPU (龙芯开源防火墙)
What is LoongFire?
LoongFire is port of IPFire for Loongson CPU which is designed and made in China.
LoongFire is a hardened, versatile, state-of-the-art Open Source firewall based on Linux. Its ease of use, high performance in any scenario and extensibility make it usable for everyone. For a full list of features have a look here.
LoongFire also enables revolutionary kernel eBPF XDP/TC features for dynamic, high speed network processing.
LoongFire 是IPFire 2.x 移植到龙芯的, 一个基于Linux的安全坚固、多功能、先进的开源防火墙. LoongFire 为普罗大众带来革命创新性的eBPF技术,为家庭>用户或任何大小组织企业的网络安全保驾护航. 当前支持的eBPF应用包括:
- XDP DNS monitor, blocking
- XDP SSL/TLS server name indicator (SNI) monitor, blocking
Loongson mini PC Home Internet Firewall Demo here
This repository contains the source code of LoongFire which is used to build the whole distribution from scratch, since LoongFire is not based on any other distribution.
Where can I get LoongFire?
中国大陆用户下载地址: https://www.vcn.bc.ca/~vli/bpfire/
What computer hardwares LoongFire requires?
LoongFire support Loongson 3A6000 mini PC (NUC), Loongson server should be supported, but not tested due to lack of hardware for testing.
for example mini PC I use at home.
How to build LoongFire?
- git clone https://github.com/vincentmli/BPFire.git
- cd BPFire; wget http://www.bpfire.net/download/cache.tar.xz; tar xJvf cache.tar.xz
- git checkout loongfire; ./make.sh build