This project implements an eBPF/XDP-based User Plane Function (UPF), written entirely in Rust with the help of the aya crate, in accordance with Release 17 3GPP specifications (29.244 (PFCP), 29.281 (GTP-U), 38.415 (PDU Session UP protocol), 23.501 (General)).
- Basic test coverage of the control plane;
- Basic test coverage of the dataplane;
- Ensure GTP-U (de)encapsulation is correct;
- End-to-end IPv6 support;
- Implement QER, rate-limiting;
- Implement URR;
- Implement QoS-based scheduling (priority level);
- Implement NAT if deployed inside a container (requires a route on host otherwise);
Running tests:
RUST_LOG=debug APP_ENV=test cargo test -- --no-captureWith the exception of eBPF code, raxupf is distributed under the terms
of either the MIT license or the Apache License (version 2.0), at your
option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
All eBPF code is distributed under either the terms of the GNU General Public License, Version 2 or the MIT license, at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the GPL-2 license, shall be dual licensed as above, without any additional terms or conditions.