[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] sshtunnel

On 8 July 2015 at 03:51, Kees van steenwyk <k.vanstee@xxxxxxxxx> wrote:
> Hi,
> I have been trying to build a unikernel that will serve  the "ssh -D ..."
> command. Can you give me a plan of attack? Presumably I start with the
> stackV4 unikernel but how do I apply the ssh libraries to flow?

I haven't checked, but you might be able to use the ocaml-ssh library
as a starting point:


If you want to use the C implementation instead, you'll need to find
out how it sends the data. If it provides a flexible API then you can
just call into the C libraries as external functions and pass the data
to the network stack from your OCaml code (see e.g. nocrypto for an
example of calling C code from Mirage).

If the C code needs a POSIX interface then you might be better off
using a rumpkernel, though you could implement the necessary stubs in
Mirage too.

Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.