Files
noiseprotocol/examples/wireguard/README.md
Piotr Lizonczyk eaecac6af4 Wireguard interoperability test script
This commit introduces an example of interoperability of this library
with Wireguard. The script is responsible for performing a Noise
handshake between localhost and Wireguard test server. Then, ICMP echo
request is sent and ICMP echo reply is retrieved. Lastly, Wireguard
keepalive packet is sent.

Example utilises Noise messages wrapped in Wireguard's packet
format.
2017-09-03 01:03:41 +02:00

310 B

This example shows interoperability with Wireguard. It connects to Wireguard service, does a handshake, sends and receives a ping.

Run with noiseprotocol and scapy-python3 installed in your environment (python main.py) or directly from here (PYTHONPATH=../../ python main.py) (you still need scapy-python3)