Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/rte-se/udp_echo_server
Needed a online UDP echo server for some experimentation with Nordic nRF9160 and LTE-m and NB-IoT. The echo server is of course generic. This repo also contain a test client, deployment instructions and some experimentation with Distroless.
I am a strong believe in keeping complexity down. I believe that Distroless and Multistage build succeed in that.
One valid critic is that perhaps one type of complexity is just changed for another. Some times that is the case. E.g. How to debug? Mostly solvable but with added complexity. There are no silver bullets but for my case I would argue that it is a perfect match.
See distroless-go-hello for an minimal example.
Terminal 1:
cd echo_server
go run main.go
Terminal 2:
cd test_client
go run main.go 0.0.0.0
Terminal 1:
cd echo_server
docker build --rm -t echo .
docker run --rm -p 1234:1234/udp -t echo
Terminal 2:
cd test_client
go run main.go
Terminal:
cd test_client
go run main.go [SERVER_IP]
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.