diff options
author | Michael Neuling <mikey@neuling.org> | 2017-09-04 11:02:30 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-09-04 20:45:35 -0500 |
commit | 058e5839a150c2ce6512b553581d875eacf7e6a5 (patch) | |
tree | d0d85a200075f0aa26dd16dc5ae08826c63fb6a9 /external/mambo/Makefile | |
parent | e221d3522737cf6ee04349a40045b357c4404aba (diff) | |
download | skiboot-058e5839a150c2ce6512b553581d875eacf7e6a5.zip skiboot-058e5839a150c2ce6512b553581d875eacf7e6a5.tar.gz skiboot-058e5839a150c2ce6512b553581d875eacf7e6a5.tar.bz2 |
mambo: Add mambo socket program
This adds a program that can be run inside a mambo simulator in linux
userspace which enables TCP sockets to be proxied in and out of the
simulator to the host.
Unlike mambo bogusnet, it's requires no linux or skiboot specific
drivers/infrastructure to run.
eg.
Run inside the simulator:
- to forward host ssh connections to sim ssh server
./mambo-socket-proxy -h 10022 -s 22
Then connect to port 10022 on your host
ssh -p 10022 localhost
- to allow http proxy access from inside the sim to local http proxy
./mambo-socket-proxy -b proxy.mynetwork -h 3128 -s 3128
Multiple connections are supported.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/mambo/Makefile')
-rw-r--r-- | external/mambo/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/external/mambo/Makefile b/external/mambo/Makefile new file mode 100644 index 0000000..fbc696e --- /dev/null +++ b/external/mambo/Makefile @@ -0,0 +1,8 @@ +CFLAGS=-O2 -m64 -pthread -Werror -Wall + +CC=$(CROSS)gcc + +all: mambo-socket-proxy + +clean: + rm -rf mambo-socket-proxy |