From 0e3358e5081c575ffc38dd9d85d9bf521aacbcd8 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 6 Jun 2007 09:49:18 -0700 Subject: [PATCH] README: mention strports-ness of NODE/webport, closes #55 --- README | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README b/README index 75a268e1..a79d119f 100644 --- a/README +++ b/README @@ -218,9 +218,14 @@ RUNNING: To actually use the client, enable the web interface by writing a port number (like "8080") into a file named $HERE/webport and then restarting the - node with 'allmydata-tahoe restart --basedir $HERE'. This will prompt the + node with 'allmydata-tahoe restart --basedir $HERE'. This will prompt the client node to run a webserver on the desired port, through which you can - view, upload, download, and delete files. + view, upload, download, and delete files. This 'webport' file is actually a + "strports specification", defined in + http://twistedmatrix.com/documents/current/api/twisted.application.strports.html + , so you can have it only listen on a local interface by writing + "tcp:8080:interface=127.0.0.1" to this file, or make it use SSL by writing + "ssl:8443:privateKey=mykey.pem:certKey=cert.pem" instead. A client node directory can also be created without installing the code first. Just use 'make create-client', and a new directory named 'CLIENTDIR' -- 2.45.2