{"by":"mschempp","descendants":102,"id":41327735,"kids":[41328663,41328632,41328848,41329056,41328028,41328605,41329289,41332771,41329123,41328627,41328876,41330706,41328943,41331583,41328575,41328853,41328626,41330665,41329934,41328913,41329645,41329032],"score":127,"text":"Hey there HN!<p>ruroco (RUn RemOte COmmand) is a tool that lets you execute commands on a server by sending UDP packets (instead of knocking on ports).<p>the tool consist of 3 binaries:<p>- client -&gt; runs on your notebook&#x2F;computer and sends the UDP packets<p>- server -&gt; receives the UDP packets and makes sure that they are valid<p>- commander -&gt; runs the command encoded by the data of the UDP packet if it&#x27;s valid<p>The commands are configured on the server side, so the client does not define what is going to be executed, it only picks from existing commands.<p>I use this tool to open up the SSH port on my server via ufw, but only for the IP address from where I&#x27;m connecting, so the SSH port appears closed for everyone else, except me.<p>This is my very first &quot;real&quot; rust project, so any feedback is highly appreciated :)<p>Enjoy!","time":1724408347,"title":"Show HN: Ruroco – like port knocking, but better","type":"story","url":"https://github.com/beac0n/ruroco"}