version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows NT 6.1; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10.2 author=mkf charset=UTF-8 csum= ctime=1642320719 host=188.210.105.217 name=Openbsd.U9fs rev=7 targets= text=there is a package on openbsd ports. it's outdated. don't use it.%0a%0a[@%0a$ git clone https://github.com/unofficial-mirror/u9fs%0a$ cd u9fs%0a@]%0a%0aapply this patch:%0a[@%0adiff --git a/u9fs.c b/u9fs.c%0aindex ea0391c..48e1e21 100644%0a--- a/u9fs.c%0a+++ b/u9fs.c%0a@@ -152,9 +152,9 @@ char* root;%0a User* none;%0a %0a Auth *authmethods[] = { /* first is default */%0a+ &authnone,%0a &authrhosts,%0a &authp9any,%0a- &authnone,%0a };%0a %0a Auth *auth;%0a@]%0a%0aand build it:%0a[@%0a$ make%0a$ doas make install%0a@]%0a%0aand add this to /etc/inetd.conf:%0a%0a[@%0a564 stream tcp nowait root /usr/local/bin/u9fs -l /var/log/u9fs.log /path/to/share%0a@]%0a%0athis runs a 9p server on port 564 (default) and reads from @@/path/to/share@@.%0anow enable and run inetd:%0a[@%0a$ doas rcctl enable inetd%0a$ doas rcctl start inetd%0a@]%0a time=1642357427 author:1642357427=mkf diff:1642357427:1642321756:=40,44d39%0a%3c now enable and run inetd:%0a%3c [@%0a%3c $ doas rcctl enable inetd%0a%3c $ doas rcctl start inetd%0a%3c @]%0a host:1642357427=188.210.105.217 author:1642321756=mkf csum:1642321756=-a none doesn't seem to work without -D diff:1642321756:1642321382:=5a6,7%0a> $ make%0a> $ doas make install%0a7,8c9,10%0a%3c %0a%3c apply this patch:%0a---%0a> and add this to /etc/inetd.conf:%0a> %0a10,24c12%0a%3c diff --git a/u9fs.c b/u9fs.c%0a%3c index ea0391c..48e1e21 100644%0a%3c --- a/u9fs.c%0a%3c +++ b/u9fs.c%0a%3c @@ -152,9 +152,9 @@ char* root;%0a%3c User* none;%0a%3c %0a%3c Auth *authmethods[] = { /* first is default */%0a%3c + &authnone,%0a%3c &authrhosts,%0a%3c &authp9any,%0a%3c - &authnone,%0a%3c };%0a%3c %0a%3c Auth *auth;%0a---%0a> 564 stream tcp nowait root /usr/local/bin/u9fs -D -l /var/log/u9fs.log -a none /path/to/share%0a27,38d14%0a%3c and build it:%0a%3c [@%0a%3c $ make%0a%3c $ doas make install%0a%3c @]%0a%3c %0a%3c and add this to /etc/inetd.conf:%0a%3c %0a%3c [@%0a%3c 564 stream tcp nowait root /usr/local/bin/u9fs -l /var/log/u9fs.log /path/to/share%0a%3c @]%0a%3c %0a39a16,18%0a> enables debugging on logs (needs it?) and puts longs on /var/log/u9fs.log%0a> however, this is not very secure because of -D.%0a> but it should be fine for public sites.%0a\ No newline at end of file%0a host:1642321756=188.210.122.8 author:1642321382=mkf diff:1642321382:1642321024:=16,17c16%0a%3c enables debugging on logs (needs it?) and puts longs on /var/log/u9fs.log%0a%3c however, this is not very secure because of -D.%0a---%0a> howver, this is not very secure (because of -D).%0a host:1642321382=188.210.122.8 author:1642321024=mkf diff:1642321024:1642320929:=10d9%0a%3c %0a15,17c14,15%0a%3c this runs a 9p server on port 564 (default) and reads from @@/path/to/share@@.%0a%3c howver, this is not very secure (because of -D).%0a%3c but it should be fine for public sites.%0a\ No newline at end of file%0a---%0a> this runs a 9p server on port 564 (default) and reads from @@/path/to/share@@. change it.%0a> howver, this is not very secure (because of -D)%0a\ No newline at end of file%0a host:1642321024=188.210.122.8 author:1642320929=mkf diff:1642320929:1642320755:=13,15c13,14%0a%3c %0a%3c this runs a 9p server on port 564 (default) and reads from @@/path/to/share@@. change it.%0a%3c howver, this is not very secure (because of -D)%0a\ No newline at end of file%0a---%0a> this runs a 9p server on port 564 (default) and reads from @@/path/to/share@@. change it. %0a> not very secure.%0a\ No newline at end of file%0a host:1642320929=188.210.122.8 author:1642320755=mkf diff:1642320755:1642320719:= host:1642320755=188.210.122.8 author:1642320719=mkf diff:1642320719:1642320719:=1,14d0%0a%3c there is a package on openbsd ports. it's outdated. don't use it.%0a%3c %0a%3c [@%0a%3c $ git clone https://github.com/unofficial-mirror/u9fs%0a%3c $ cd u9fs%0a%3c $ make%0a%3c $ doas make install%0a%3c @]%0a%3c and add this to /etc/inetd.conf:%0a%3c [@%0a%3c 564 stream tcp nowait root /usr/local/bin/u9fs -D -l /var/log/u9fs.log -a none /path/to/share%0a%3c @]%0a%3c this runs a 9p server on port 564 (default) and reads from @@/path/to/share@@. change it. %0a%3c not very secure.%0a\ No newline at end of file%0a host:1642320719=188.210.122.8