1
0
mirror of https://github.com/xdp-project/BNG-router.git synced 2024-05-06 15:54:53 +00:00

Commit Graph

  • 1d52c55bf0 Merge c244deda57c3201ace884c0c00090c0aa85b6972 into a9003fa2660b264e4a8b8516c173f46cbe847aff Shashank D 2021-12-26 07:59:27 +02:00
  • cc2718f970 Merge fd2b7509805e2308c2b0ba01f677b7257ad09227 into a9003fa2660b264e4a8b8516c173f46cbe847aff Yoel Caspersen 2021-11-13 00:19:13 +01:00
  • fd2b750980 dhcp_user_xdp: Add -v option to enable verbose logging Toke Høiland-Jørgensen 2021-11-13 00:07:30 +01:00
  • b970472bc6 dhcp_user_xdp: Fix indentation of switch cases Toke Høiland-Jørgensen 2021-11-13 00:05:48 +01:00
  • f26620260a Improve readability of write_dhcp_option_82() Toke Høiland-Jørgensen 2021-11-13 00:00:40 +01:00
  • c244deda57 config: Added IPv4 and IPv6 address support Bhaskar Kataria 2021-11-11 23:29:00 +05:30
  • ebefec595d config: Create required interfaces in BNG Shashank D 2021-11-11 20:11:17 +05:30
  • 813cfa2719 Working prototype (IPv4) with interface name in Option 82 Circuit ID Yoel Caspersen 2021-11-09 16:35:37 +01:00
  • 17f1da535f First working prototype (IPv4 DHCP relay works in both directions) Yoel Caspersen 2021-11-05 14:36:44 +01:00
  • 8d91b1409e Upstream direction works with QinQ packets only When allowing packets with 1 VLAN tag only, verifier complains about BPF program being too large. Compiled with LLVM 13. Yoel Caspersen 2021-10-25 22:23:16 +02:00
  • 83b9795ec9 Adding custom memcpy and memset functions to pass verifier checks Built-in memcpy and memset functions cause verifier to complain about misaligned stack access. To get around that (and be able to copy a dynamic number of bytes via memcpy), two custom functions are added. This version of the relay uses interface name + VLAN identifiers in option 82 circuit ID (left-aligned, length IF_NAMESIZE with trailing null bytes). Yoel Caspersen 2021-10-24 15:02:15 +02:00
  • a9003fa266 Reformatting option 82 circuit ID to include interface name (including VLAN tags) in ASCII format. main Yoel Caspersen 2021-10-18 09:20:16 +02:00
  • ac9373c82e Increasing IP and UDP length headers to match Ethernet frame tail adjustment. Adding map client_vlans which allows matching server responses with client requests. Reformatting Option 82 to include interface name (work in progress, we need to figure out how to convert VLAN tags to ASCII). Yoel Caspersen 2021-10-17 10:41:06 +02:00
  • 37f30d5811 Update README Yoel Caspersen 2021-10-15 10:17:03 +02:00
  • 09bc68580f Moving Option 82 to end of options as per RFC3046 section 2.1. Adjusting tail instead of headers because of complications with variable length DHCP options - beware that this doesn't appear to work with veth interfaces. Use a physical NIC for testing for now. Yoel Caspersen 2021-10-13 20:11:06 +02:00
  • 51381f01b1 configure: avoid bashisms Toke Høiland-Jørgensen 2021-10-11 17:05:13 +02:00
  • 7003079d87 configure: Support parsing weird clang versions Toke Høiland-Jørgensen 2021-10-11 14:20:46 +02:00
  • a51098f255 Update README.org yoelcaspersen 2021-10-10 16:15:39 +02:00
  • 52a8b045b4 configure: check clang version Toke Høiland-Jørgensen 2021-10-04 13:46:42 +02:00
  • b13209498b Add vmlinux_arch.h Toke Høiland-Jørgensen 2021-08-25 12:16:06 +02:00
  • 5e735a7d8e README: Add description of the BNG setup and scope Toke Høiland-Jørgensen 2021-08-18 15:21:31 +02:00
  • 93da536a2d dhcp-relay: Fix a couple of compile and logic errors Toke Høiland-Jørgensen 2021-08-18 14:47:44 +02:00
  • d38fb6ef73 Import build config and DHCP relay code from bpf-examples Toke Høiland-Jørgensen 2021-08-18 14:40:32 +02:00
  • 41020f7b61 Add README Jesper Dangaard Brouer 2021-01-16 15:06:53 +01:00
  • fe04dc66f6 Initial commit Jesper Dangaard Brouer 2021-01-16 14:46:46 +01:00