WIP: Simple working client/server

This commit is contained in:
jdl
2024-12-16 20:51:30 +01:00
parent b4a6149cee
commit 62bf956c10
44 changed files with 1841 additions and 0 deletions

7
node/cmd/server/build.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
go build
ssh kevin "killall server"
scp server kevin:/home/jdl/tmp/
ssh root@kevin "sudo setcap cap_net_admin+iep /home/jdl/tmp/server"
ssh kevin "/home/jdl/tmp/server"

8
node/cmd/server/main.go Normal file
View File

@@ -0,0 +1,8 @@
package main
import "vppn/node"
func main() {
n := node.NewTmpNodeServer()
n.RunServer()
}