XDP dns rate limit program has static tail call which requires revert xdp-tool commit: (039bdea "xdp-loader: Only load the BPF program we need from object files") XDP dns rate limit program also uses bpf_printk helper which is not supported on FireBeeOS since kernel CONFIG_BPF_EVENTS which allows user to do kprobe, uprobe, tracepoint is not enabled, so bpf_printk helper is not available, so removed bpf_printk see discussion in [0] xdp-loader load xdp program with bpf tail call result in Bad file descriptor(-9) [0] https://github.com/xdp-project/xdp-tools/issues/377 Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
FireBeeOS - The Open Source Firewall
What is FireBeeOS?
FireBeeOS is fork of IPFire 2.x, a hardened, versatile, state-of-the-art Open Source firewall based on Linux, FireBeeOS extended IPFire 2.x with kernel eBPF support, allow packet filtering in kernel XDP/TC hook, which could bypass the Linux iptables packet filtering to speed up packet processing. Its ease of use, high performance in any scenario and extensibility make it usable for everyone. IPFire has a full list of features have a look here.
This repository contains the source code of FireBeeOS which is used to build the whole distribution from scratch, since FireBeeOS is based on IPFire which is not based on any other distribution.
Where can I get FireBeeOS installation image?
https://drive.google.com/drive/folders/1HPJTWP6wi5gPd5gyiiKvIhWipqguptzZ?usp=drive_link
How do I use this software?
FireBeeOS XDP DDoS feature demo:
IPFire have a long and detailed wiki located here which should answers most of your questions for IPFire.
But I have some questions left. Where can I get support?
You can ask your question by open github issue report or discussion or You can ask your question at ipfire community located here that is IPFire related.
How to build FireBeeOS?
Build Environment Setup https://www.ipfire.org/docs/devel/ipfire-2-x/build-initial
git clone https://github.com/vincentmli/FireBeeOS.git
cd FireBeeOS
git checkout ipfire-bpf
wget http://www.99os.org/download/firebeeos/cache.tar
tar xvf cache.tar
./make.sh build
