Recent Activity

Another &derpnet example - tunneling TCP traffic over derp relay:

  • similar to SSH tunneling, but just using DerpNet api
  • server connects to some TCP port on localhost and forwards all traffic from it to derpnet_proxy remote
  • client listens on local TCP port and forwards all traffic to derpnet_proxy remote
  • example is limited to only single connection to server, but same idea can be extended to support multiple connections
    https://github.com/mmozeiko/derpnet#derpnet_proxy
View original message on Discord

&derpnet ported to JavaScript - https://github.com/mmozeiko/derpnet/blob/main/web

  • implements exactly same protocol as C code, with same encryption guarantees
  • now you can communicate between browser and native code "without running" any extra servers!
  • JS uses websocket to talk to Tailscale DERP server, which relays messages between your peers
  • comes with two examples, one showing basic usage to send & receive messages, and one for exchanging files - both directions, upload to browser and download from browser supported
View original message on Discord

&derpnet - simple end-to-end encrypted network library in C for Windows.

  • single header library to provide encrypted communication between peers
  • uses Tailscale DERP relays for low bandwidth communication even when both peers are behind NAT
  • comes with 3 examples showing simple message exchange, file sharing or chat between users
    https://github.com/mmozeiko/derpnet
View original message on Discord