Skip to content

About

Kyber Key exchange using AF_XDP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

Overview

This repository contains an example AF_XDP client and server implementation in Go

Requirements

sudo apt install clang llvm libelf-dev libpcap-dev build-essential libc6-dev-i386 m4 libbpf-dev

env setup

eval $(./env/testenv.sh alias)

Use t to test the environment setup.

t setup --name afxdp

To clean

t teardown

Build & Run

make run

This starts the server application with AF_XDP enabled

Setup Client application

Note

VERY IMPORTANT:

sudo ip link set dev veth0 mtu 3000 # inside the namespace
sudo ip link set dev afxdp mtu 3000 # outside the namespace

Exec into the network namespace afxdp to run the client application.

sudo ip netns exec afxdp bash 

Then run the client application:

./kyber-bin client

About

Kyber Key exchange using AF_XDP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages