edgecomllc / eupf

5G User Plane Function (UPF) based on eBPF
Apache License 2.0
100 stars 20 forks source link

Deploy eUPF with eBPF CNI (Cilium or Calico) #496

Open pirog-spb opened 10 months ago

pirog-spb commented 10 months ago

Acceptance criteria:

kouamdo commented 10 months ago

well , ... i want to try it too 👍 and i will do it

mbaran0v commented 9 months ago

Calico BPF dataplane doesn't support SCTP https://docs.tigera.io/calico/latest/operations/ebpf/enabling-ebpf#not-supported Clilcim support SCTP in beta https://docs.cilium.io/en/latest/configuration/sctp/

SCTP need for connection between gnb and AMF

mbaran0v commented 9 months ago

after testing with Cilium, we have:

# cilium monitor -t drop
Listening for events on 4 CPUs with 64x4096 of shared memory
Press Ctrl-C to quit
level=info msg="Initializing dissection cache..." subsys=monitor
xx drop (Invalid source ip) flow 0x0 to endpoint 0, ifindex 16, file bpf_lxc.c:1328, , identity 28789->unknown: 10.11.0.2 -> 1.1.1.1 EchoRequest
xx drop (Invalid source ip) flow 0x0 to endpoint 0, ifindex 16, file bpf_lxc.c:1328, , identity 28789->unknown: 10.11.0.2 -> 1.1.1.1 EchoRequest
xx drop (Invalid source ip) flow 0x0 to endpoint 0, ifindex 16, file bpf_lxc.c:1328, , identity 28789->unknown: 10.11.0.2 -> 1.1.1.1 EchoRequest