Skip to content

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tunstile

An experimental Rust implementation of the Wireguard spec focusing on programmability

Structure

  • tunstile - packet routing, AllowedIPs enforcement, a platform packet boundary, and the command-line program.
  • tunnel - a self-maintaining Wireguard tunnel: UDP sockets, sessions, timers, and packet processing.
  • protocol - a Wireguard-compatible protocol implementation. no_std compatible.

Benchmarks

cargo bench, 1420-byte payloads.

Apple M4 Max

handshake_e2e       205.77 µs
transport/send      729.02 ns   15.58 Gb/s
transport/receive   913.00 ns   12.44 Gb/s

About

An experimental user space Rust implementation of the WireGuard spec focusing on programmability

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages