Vincent Li d544247a53 linux: change kernel NR_CPUS to 512
loxilb MAX_CPUS for cpu_map set to 128, BPFire
original NR_CPUS 64 result in error:

libbpf: map 'cpu_map': failed to create: Argument list too long

see https://github.com/loxilb-io/loxilb/issues/661

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2024-05-03 16:56:06 +00:00
2024-04-24 00:48:04 +00:00
2024-04-24 00:48:04 +00:00
2024-05-03 16:52:40 +00:00
2024-04-24 00:48:04 +00:00
2022-04-08 00:32:40 +02:00
2021-03-10 14:42:37 +00:00
2024-04-07 15:22:00 +00:00
2024-05-01 20:51:17 +00:00

BPFire - The Open Source Firewall

What is BPFire?

BPFire is fork of IPFire 2.x, a hardened, versatile, state-of-the-art Open Source firewall based on Linux, BPFire 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 BPFire which is used to build the whole distribution from scratch, since BPFire is based on IPFire which is not based on any other distribution.

Where can I get BPFire installation image?

https://drive.google.com/drive/folders/1HPJTWP6wi5gPd5gyiiKvIhWipqguptzZ?usp=drive_link

How do I use this software?

BPFire XDP DDoS feature demo:

Enable IPFire eBPF XDP DDoS from WebUI

IPFire have a long and detailed wiki located here which should answers most of your questions for IPFire.

BPFire SYNPROXY throughput with and without XDP acceleration under 10Gbit DDoS SYN flood:

Throughput performance

BPFire WebUI screenshot:

English:

Chinese:

Does BPFire run in hypervisor virtual environment?

Yes, We have tested in Linux KVM hypervisor, Proxmox, Microsoft Hyper-v, should support Virtualbox, VMware as well.

Microsoft Hyper-v screen shot:

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 BPFire?

Build Environment Setup https://www.ipfire.org/docs/devel/ipfire-2-x/build-initial

git clone https://github.com/vincentmli/BPFire.git

cd BPFire

git checkout bpfire

get BPFire source tar balls https://drive.google.com/file/d/1YjTzik4xw0JxFDldLZdVw1GthXG5QrS_/view?usp=drive_link

tar xvf cache.tar

./make.sh build

Description
No description provided
Readme 101 MiB
Languages
Perl 70.4%
Shell 23%
C 4%
Python 0.6%
Makefile 0.5%
Other 1.4%