[Skiboot] [PATCH] mambo: Add mambo socket program

Stewart Smith stewart at linux.vnet.ibm.com
Tue Sep 5 15:03:10 AEST 2017


Michael Neuling <mikey at neuling.org> writes:
> 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 at neuling.org>
> ---
>  .gitignore                          |   1 +
>  external/mambo/Makefile             |   8 +
>  external/mambo/mambo-socket-proxy.c | 359 ++++++++++++++++++++++++++++++++++++
>  3 files changed, 368 insertions(+)
>  create mode 100644 external/mambo/Makefile
>  create mode 100644 external/mambo/mambo-socket-proxy.c

Cheers, merged to master as of 058e5839a150c2ce6512b553581d875eacf7e6a5

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list