
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Faster Golang alternative of socat.
Multi-purpose relay from source to destination.
A relay is a tool for bidirectional data transfer between two independent data channels.
source
to prevent hanging/zombified source
connections. (initial reason why socat didn't work for us)At SumUp we use it as a backbone for infrastructure and deployment system(s) that:
As a now open-source project of SumUp, we hope that we find more use-cases together.
Benchmarks are sending a message from the destination, relaying via gocat
/socat
to the source, which is an echo server that relays back to the destination via gocat
/socat
.
X
axis is the message payload size.
Y
axis is throughput as per golang test
's -count
argument, which benchmarks only
the sending and receiving of a message sync or async.
Think we can improve them or got something wrong? Feel free to open an issue to discuss it.
We want the best possible benchmark and opportunity to improve the software!
Check out config.go
Example SSH agent forwarding
gocat
> gocat unix-to-tcp --src /run/ssh-agent.socket --dst 0.0.0.0:56789
socat
# NOTE: `-d -d -d` is to reach at least some level of verbosity
> socat -d -d -d TCP-LISTEN:56789,reuseaddr,fork UNIX-CLIENT:/run/ssh-agent.socket
Example TCP to ssh-agent socket forwarding
gocat
> gocat tcp-to-unix --src 0.0.0.0:56789 --dst /tmp/sshagent.sock
socat
# NOTE: `-d -d -d` is to reach at least some level of verbosity
> socat -t 100000 -v UNIX-LISTEN:/tmp/sshagent.sock,unlink-early,mode=777,fork TCP:0.0.0.0:56789
Check out CONTRIBUTING.md
We want to foster an inclusive and friendly community around our Open Source efforts. Like all SumUp Open Source projects, this project follows the Contributor Covenant Code of Conduct. Please, read it and follow it.
If you feel another member of the community violated our CoC or you are experiencing problems participating in our community because of another individual's behavior, please get in touch with our maintainers. We will enforce the CoC.
It is our mission to make easy and fast card payments a reality across the entire world. You can pay with SumUp in more than 30 countries, already. Our engineers work in Berlin, Cologne, Sofia and Sāo Paulo. They write code in JavaScript, Swift, Ruby, Go, Java, Erlang, Elixir and more. Want to come work with us? Head to our careers page to find out more.
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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.