9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Trying to run 9front as vmd/vmm guest on OpenBSD
@ 2023-10-06 17:52 Alexander Shendi (Web.DE)
  2023-10-06 18:18 ` Alexander Shendi (Web.DE)
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shendi (Web.DE) @ 2023-10-06 17:52 UTC (permalink / raw)
  To: 9front

Hi,

I'm trying to setup a 9front cpu+auth server that I can access via drawterm on the OpenBSD side. However there seems to be a problem with the auth side of things (see auth/debug output).

I am attaching the output of:
* netaudit
* auth/asaudit
* auth/debug 
* the parts of /lib/ndb/local that I have modified.

I am grateful for any help of comments.

cirno# netaudit
        env var $sysname=cirno looks ok
checking this host's tuple:
        sys=cirno looks ok
        ip=100.64.1.3 looks ok
        dom=cirno.9front looks ok
        ether=002091ffee04 looks ok
checking the network tuple:
        we are in  ipnet=9front
        ipgw=100.64.1.3 looks ok
        dns=100.64.1.3 looks ok
        auth=cirno looks ok
        no fs= entry (needed for tls boot)
checking auth server configuration:
        we are the auth server cirno
        auth/keyfs is running
        someone is listening on port 567
        run auth/debug to test the auth server
        run auth/asaudit to verify auth server configuration
checking basic security:

cirno# auth/asaudit
GOOD: found nvram key for user 'glenda@cirno.9front'
ndb says authdom 'cirno.9front' corresponds to auth server 'cirno'
no access to /adm/keys
trying nvram key for cirno.9front@glenda with factotum
GOOD: key in factotum matches nvram


# auth/debug
key: proto=dp9ik user=glenda dom=cirno.9front !hex? !password?
        dialing auth server net!cirno!ticket
        successfully dialed auth server
        password for glenda@cirno.9front [hit enter to skip test]:
        dialing auth server net!cirno!ticket
        cannot decrypt ticket1 from auth server (bad t.num=0x00)
        auth server and you do not agree on key for glenda@cirno.9front
cirno#

# relevant part of /lib/ndb/local
auth=cirno authdom=cirno.9front
ipnet=9front ip=100.64.1.0 ipmask=255.255.255.0
      ipgw=100.64.1.3
      dns=100.64.1.3
      auth=cirno
      dnsdom=9front
      cpu=cirno
      smtp=cirno
#ip=192.168.0.99 sys=cirno dom=cirno.9front ether=112233445566


# sys=cirno ether=fee1bbd13d8c
ip=100.64.1.3 sys=cirno dom=cirno.9front ether=002091ffee04


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-06 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-06 17:52 [9front] Trying to run 9front as vmd/vmm guest on OpenBSD Alexander Shendi (Web.DE)
2023-10-06 18:18 ` Alexander Shendi (Web.DE)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).