28.08.2015 Views

The Design and Implementation of the Anykernel and Rump Kernels

1F3KDce

1F3KDce

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A–51<br />

RUMP_SP(7) NetBSD Miscellaneous Information Manual RUMP_SP(7)<br />

A remote rump server is specified using an URL. Currently two types <strong>of</strong><br />

URLs are supported: TCP <strong>and</strong> local domain sockets. <strong>The</strong> TCP URL is <strong>of</strong> <strong>the</strong><br />

format tcp://ip.address:port/ <strong>and</strong> <strong>the</strong> local domain URL is unix://path.<br />

<strong>The</strong> latter can accept relative or absolute paths. Note that absolute<br />

paths require three leading slashes.<br />

To preserve <strong>the</strong> st<strong>and</strong>ard usage <strong>of</strong> <strong>the</strong> rump clients’ counterparts <strong>the</strong><br />

environment variable RUMP_SERVER is used to specify <strong>the</strong> server URL. To<br />

keep track <strong>of</strong> which rump kernel <strong>the</strong> current shell is using, modifying <strong>the</strong><br />

shell prompt is recommended -- this is analoguous to <strong>the</strong> visual clue you<br />

have when you login from one machine to ano<strong>the</strong>r.<br />

Client credentials <strong>and</strong> access control<br />

<strong>The</strong> current scheme gives all connecting clients root credentials. It is<br />

recommended to take precautions which prevent unauthorized access. For a<br />

unix domain socket it is enough to prevent access to <strong>the</strong> socket using<br />

file system permissions. For TCP/IP sockets <strong>the</strong> only available means is<br />

to prevent network access to <strong>the</strong> socket with <strong>the</strong> use <strong>of</strong> firewalls. More<br />

fine-grained access control based on cryptographic credentials may be<br />

implemented at a future date.<br />

EXAMPLES<br />

Get a list <strong>of</strong> file systems supported by a rump kernel server (in case<br />

that particular server does not support file systems, an error will be<br />

returned):<br />

$ env RUMP_SERVER=unix://sock rump.sysctl vfs.generic.fstypes<br />

SEE ALSO<br />

rump_server(1), rump(3), rumpclient(3), rumphijack(3)<br />

NetBSD 5.99.48 February 7, 2011 NetBSD 5.99.48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!