wireguard-pil /

Filename Size Date modified Message
6.6 KB
8nb86e
1.0 KB
6i34l7
3.9 KB
605161
7.0 KB
nf007t
1.5 KB
57gpoi
4.5 KB
1z6a4n
77 B
a6j911
5.5 KB
tagpv9
3.1 KB
7q0yb1

Wireguard (IK pattern) from Noise protocol framework on PicoLisp.

Mimics of any script from Wireguard's distribution.

How to repeat:

  • PicoLisp installed (64bit only)
  • Download Monocypher 2.0.5 and apply patch from repo (patch from author)
  • Install as shared library
  • test-all.l should pass tests then
  • run main.l and tcpdump
  • and you will see: two packets are handshake, two packets are send and receive pings, last keepalive
16:14:22.715850 IP 10.10.25.204.60495 > 163.172.161.0.12913: UDP, length 148
16:14:22.767553 IP 163.172.161.0.12913 > 10.10.25.204.60495: UDP, length 92
16:14:22.787473 IP 10.10.25.204.60495 > 163.172.161.0.12913: UDP, length 80
16:14:22.837615 IP 163.172.161.0.12913 > 10.10.25.204.60495: UDP, length 80
16:14:22.837830 IP 10.10.25.204.60495 > 163.172.161.0.12913: UDP, length 32
  • if you see 'OK' then all tests passed.

Note: test-phase1.l is minimum required handshake on place.