Skip to content

Nikhil690/AFXDP-Kyber-KeyExchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages