Implement a small program that reads /proc/net/tcp every 10 seconds and outputs any new connections.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
677 B

# teleport_devops_challenge
WARNING: This program is in an incomplete state and does not build successfully.
The latest commit that builds successfully can be found here:
https://git.libre.audio/seasharp/teleport_devops_challenge/commit/93fd6f916bc5a6b7504c5475f7cbcebabaae5277
## Dependencies
- golang 'encoding' package
## Building
Ensure your $GOPATH is set correctly and run:
1. Execute `go build main.go` in repository root
2. Execute `go install teleport_devops_challenge`
## Executing
Ensure GOPATH/bin (GOPATH = `go env GOPATH`) has been added to your shell $PATH
or execute the following:
`PATH=/home/$(whoami)/go/bin:$PATH teleport_devops_challenge`