Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ui-kreinhard/go-rabbit-tunnel

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ui-kreinhard/go-rabbit-tunnel

  • v0.0.0-20201212114407-385e00a8eb7e
  • Source
  • Go
  • Socket score

Version published
Created
Source

What's this?

Do you ever wanted to use your rabbit as a "network device"? The idea is to tunnel all ip packages via rabbit and using rabbit as a "vpn". For getting the ip frames I'm using Tuntap device and for shoveling golang.

It's a weekend hack and most probably not very stable. But I was able to have a stable ssh connection and a vnc connection

I do not have a sane use case, but it's working. It's the kind of projects "do stupid things, win stupid prices"

How to use/run/whatever

Either compile it (never checked if it's working on another machine) or download a pre-built binary.

For using it you need 2 hosts which can connect to a rabbitmq instance

On host1

sudo ./go-rabbit-tunnel "amqp://guest:guest@RABBITHOST:5672/" "10.1.0.10"

On host2

sudo ./go-rabbit-tunnel "amqp://guest:guest@RABBITHOST:5672/" "10.1.0.11"

On host1 Try ping

ping 10.1.0.11

Now you can try to ssh into the second host. Maybe it works on your machine :)

Used ressources

  • https://github.com/songgao/water
  • https://www.darkcoding.net/software/raw-sockets-in-go-link-layer/

FAQs

Package last updated on 12 Dec 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc