Pull all ndb files from the plan9 source tree
authorKevin Klues <klueska@cs.berkeley.edu>
Wed, 2 Apr 2014 19:38:41 +0000 (12:38 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Wed, 2 Apr 2014 19:38:41 +0000 (12:38 -0700)
kern/kfs/lib/ndb/auth [new file with mode: 0644]
kern/kfs/lib/ndb/common
kern/kfs/lib/ndb/consoledb [new file with mode: 0644]
kern/kfs/lib/ndb/dnsdump [new file with mode: 0644]
kern/kfs/lib/ndb/local
kern/kfs/lib/ndb/local.complicated [new file with mode: 0644]
kern/kfs/lib/ndb/nfs [new file with mode: 0644]

diff --git a/kern/kfs/lib/ndb/auth b/kern/kfs/lib/ndb/auth
new file mode 100644 (file)
index 0000000..b9c3a9d
--- /dev/null
@@ -0,0 +1,11 @@
+#         Data Base
+#           An ndb(2) database file exists for the authentication
+#           server.  The attribute types used by the AS are hostid and
+#           uid.  The value in the hostid is a client host's ID.  The
+#           values in the uid pairs in the same entry list which users
+#           that host ID may speak for.  A uid value of * means the
+#           host ID may speak for all users.  A uid value of !user means
+#           the host ID may not speak for user.  For example:
+#           hostid=bootes
+#                uid=!sys uid=!adm uid=*
+# 
index d8ab7c0..2b49bbf 100644 (file)
@@ -1,24 +1,29 @@
 #
-#      The master for this file is /n/fs/lib/ndb/common
-#
-
-#
 # real dns root server ips
 #
-dom=A.ROOT-SERVERS.NET ip=198.41.0.4
-dom=B.ROOT-SERVERS.NET ip=128.9.0.107
-dom=C.ROOT-SERVERS.NET ip=192.33.4.12
-dom=D.ROOT-SERVERS.NET ip=128.8.10.90
-dom=E.ROOT-SERVERS.NET ip=192.203.230.10
-dom=F.ROOT-SERVERS.NET ip=192.5.5.241
-dom=G.ROOT-SERVERS.NET ip=192.112.36.4
-dom=H.ROOT-SERVERS.NET ip=128.63.2.53
-dom=I.ROOT-SERVERS.NET ip=192.36.148.17
-dom=J.ROOT-SERVERS.NET ip=198.41.0.10
-dom=K.ROOT-SERVERS.NET ip=193.0.14.129
-dom=L.ROOT-SERVERS.NET ip=198.32.64.12 # old
-                       ip=199.7.83.42  # new, nov 2007
-dom=M.ROOT-SERVERS.NET ip=202.12.27.33
+dom=a.root-servers.net ip=198.41.0.4
+dom=b.root-servers.net ip=192.228.79.201
+dom=c.root-servers.net ip=192.33.4.12
+dom=d.root-servers.net ip=199.7.91.13
+dom=e.root-servers.net ip=192.203.230.10
+dom=f.root-servers.net ip=192.5.5.241
+dom=g.root-servers.net ip=192.112.36.4
+dom=h.root-servers.net ip=128.63.2.53
+dom=i.root-servers.net ip=192.36.148.17
+dom=j.root-servers.net ip=192.58.128.30
+dom=k.root-servers.net ip=193.0.14.129
+dom=l.root-servers.net ip=199.7.83.42          # nov 2007
+dom=m.root-servers.net ip=202.12.27.33
+
+# dom=a.root-servers.net ipv6=2001:503:ba3e::2:30
+# dom=d.root-servers.net ipv6=2001:500:2d::d
+# dom=f.root-servers.net ipv6=2001:500:2f::f
+# dom=h.root-servers.net ipv6=2001:500:1::803f:235
+# dom=i.root-servers.net ipv6=2001:7fe::53
+# dom=j.root-servers.net ipv6=2001:503:c27::2:30
+# dom=k.root-servers.net ipv6=2001:7fd::1
+# dom=l.root-servers.net ipv6=2001:500:3::42
+# dom=m.root-servers.net ipv6=2001:dc3::35
 
 dom=a.gtld-servers.net ip=192.5.6.30
 dom=b.gtld-servers.net ip=192.33.14.30
@@ -34,6 +39,9 @@ dom=k.gtld-servers.net ip=192.52.178.30
 dom=l.gtld-servers.net ip=192.41.162.30
 dom=m.gtld-servers.net ip=192.55.83.30
 
+# dom=a.gtld-servers.net ipv6=2001:503:a83e::2:30
+# dom=b.gtld-servers.net ipv6=2001:503:231d::2:30
+
 #
 # spam defense.  unfortunately, arin doesn't give negative
 # rcodes for these non-routable addresses.  we'll do it for them.
@@ -68,18 +76,19 @@ dom=10.in-addr.arpa soa=            # rfc1918 zones
        dom=9.e.f.ip6.arpa soa=
        dom=a.e.f.ip6.arpa soa=
        dom=b.e.f.ip6.arpa soa=
-       refresh=3600 ttl=3600
-       ns=ns1.cs.bell-labs.com
-       ns=ns2.cs.bell-labs.com
+       refresh=86400 ttl=86400
+       ns=a.root-servers.net
+       ns=j.root-servers.net
 
 #
-#  ip protocol numbers
+#  ip v4 & v6 protocol numbers (only used by ape's getprotobyname via cs).
 #
-protocol=reserved      ipv4proto=0
+protocol=hopopt                ipv4proto=0
 protocol=icmp          ipv4proto=1
 protocol=igmp          ipv4proto=2
 protocol=ggp           ipv4proto=3
 protocol=ip            ipv4proto=4
+protocol=ipv4          ipv4proto=4
 protocol=st            ipv4proto=5
 protocol=tcp           ipv4proto=6
 protocol=ucl           ipv4proto=7
@@ -116,20 +125,25 @@ protocol=ddp              ipv4proto=37
 protocol=idpr-cmtp     ipv4proto=38
 protocol=tp++          ipv4proto=39
 protocol=il            ipv4proto=40
-protocol=sip           ipv4proto=41
+protocol=ipv6          ipv4proto=41
 protocol=sdrp          ipv4proto=42
-protocol=sip-sr                ipv4proto=43
-protocol=sip-frag      ipv4proto=44
+protocol=ipv6-route    ipv4proto=43
+protocol=ipv6-frag     ipv4proto=44
 protocol=idrp          ipv4proto=45
 protocol=rsvp          ipv4proto=46
 protocol=gre           ipv4proto=47
 protocol=mhrp          ipv4proto=48
 protocol=bna           ipv4proto=49
-protocol=sipp-esp      ipv4proto=50
-protocol=sipp-ah       ipv4proto=51
+protocol=esp           ipv4proto=50
+protocol=ah            ipv4proto=51
 protocol=i-nlsp                ipv4proto=52
 protocol=swipe         ipv4proto=53
-protocol=nhrp          ipv4proto=54
+protocol=narp          ipv4proto=54
+protocol=mobile                ipv4proto=55
+protocol=tlsp          ipv4proto=56
+protocol=ipv6-icmp     ipv4proto=58
+protocol=ipv6-nonxt    ipv4proto=59
+protocol=ipv6-opts     ipv4proto=60
 protocol=any           ipv4proto=61
 protocol=cftp          ipv4proto=62
 protocol=any           ipv4proto=63
@@ -170,6 +184,9 @@ protocol=etherip    ipv4proto=97
 protocol=encap         ipv4proto=98
 protocol=any           ipv4proto=99
 protocol=gmtp          ipv4proto=100
+protocol=pipe          ipv4proto=131
+protocol=mobility      ipv4proto=135
+protocol=mpls-in-ip    ipv4proto=137
 protocol=rudp          ipv4proto=254   # unofficial
 
 #
@@ -191,6 +208,7 @@ tcp=time port=37
 tcp=whois port=43
 tcp=dns port=53
 tcp=domain port=53
+tcp=dns-test port=54   # localism
 tcp=uucp port=64
 tcp=gopher port=70
 tcp=rje port=77
@@ -214,6 +232,7 @@ tcp=imap port=143
 tcp=NeWS port=144
 tcp=print-srv port=170
 tcp=z39.50 port=210
+tcp=ldap port=389
 tcp=fsb port=400
 tcp=sysmon port=401
 tcp=proxy port=402
@@ -234,7 +253,11 @@ tcp=9fs port=564
 tcp=whoami port=565
 tcp=guard port=566
 tcp=ticket port=567
+tcp=ldaps port=636
 tcp=fmclient port=729
+tcp=iscsi-system port=860
+tcp=ftps-data port=989
+tcp=ftps port=990
 tcp=imaps port=993
 tcp=pop3s port=995
 tcp=ingreslock port=1524
@@ -242,8 +265,11 @@ tcp=pptp port=1723
 tcp=nfs port=2049
 tcp=webster port=2627
 tcp=weather port=3000
+tcp=iscsi port=3260
+tcp=mysql port=3306
 tcp=sip port=5060
 tcp=sips port=5061
+tcp=ttcp port=5117
 tcp=secstore port=5356
 tcp=vnc-http port=5800
 tcp=vnc port=5900
@@ -256,27 +282,48 @@ tcp=infsigner port=6671
 tcp=infcsigner port=6672
 tcp=inflogin port=6673
 tcp=bandt port=7330
-tcp=face port=32000
+tcp=ccnx port=9695
 tcp=dhashgate port=11978
+tcp=piepea port=13146  # πp
 tcp=exportfs port=17007
 tcp=rexexec port=17009
 tcp=ncpu port=17010
-tcp=cpu port=17013
+tcp=cpu port=17010             # about to rename ncpu to cpu
+# tcp=cpu port=17013 # phasing out this obsolete protocol used by very old drawterm
+tcp=glenglenda1 port=17020
+tcp=glenglenda2 port=17021
+tcp=glenglenda3 port=17022
+tcp=glenglenda4 port=17023
+tcp=glenglenda5 port=17024
+tcp=glenglenda6 port=17025
+tcp=glenglenda7 port=17026
+tcp=glenglenda8 port=17027
+tcp=glenglenda9 port=17028
+tcp=glenglenda10 port=17029
+tcp=flyboy port=17032
 tcp=venti port=17034
 tcp=wiki port=17035
 tcp=vica port=17036
+tcp=aan port=17037
+tcp=face port=32000
+
+# testing
+tcp=9fsa port=18008
 
 udp=echo port=7
 udp=tacacs port=49
 udp=tftp port=69
 udp=bootpc port=68
 udp=bootp port=67
+udp=bootps port=67
 udp=domain port=53
 udp=dns port=53
+udp=dns-test port=54           # localism
 udp=portmap port=111
 udp=ntp port=123
 udp=netbios-ns port=137
 udp=snmp port=161
+udp=ha port=434                        # mobile ip home agent
 udp=ikev2 port=500
 udp=syslog port=514
 udp=rip port=520
@@ -286,18 +333,42 @@ udp=nfs port=2049
 udp=bfs port=2201
 udp=virgil port=2202
 udp=sip port=5060
-udp=bandt2 port=7331
+udp=bandt2 port=7331           # viaducts
 udp=oradius port=1812
 udp=radius port=1812
+udp=ccnx port=9695
 udp=dhash port=11977
 udp=ulctl port=12666
 udp=uldata port=12667
 udp=dldata port=12668
+udp=piepea port=13146          # πp
 
 gre=ppp port=34827
 
+ssh=ssh port=22
+
 #
 # authdom declarations need to be visible on the inside network,
 # even for outside machines.  putting them here ensures
 # their visibility everywhere.
 #
+
+# for geoff's external ipv6 testing
+auth=9grid.hamnavoe.com
+       authdom=9grid.hamnavoe.com
+auth=ec2.hamnavoe.com
+       authdom=ec2.hamnavoe.com
+
+auth=whale.lsub.org
+       authdom=lsub.org
+       authdom=dat.escet.urjc.es
+
+# for jmk
+auth=tor.texas.9grid.us authdom=9grid.us
+auth=9grid.net authdom=9grid.net
+auth=ibmremote.dyndns.org
+       authdom=ibmremote.dyndns.org
+       authdom=austin.ibm.com
+
+# for sape
+auth=130.89.145.31 authdom=cs.utwente.nl
diff --git a/kern/kfs/lib/ndb/consoledb b/kern/kfs/lib/ndb/consoledb
new file mode 100644 (file)
index 0000000..6844338
--- /dev/null
@@ -0,0 +1,5 @@
+# see consolefs(4)
+group=sys
+       uid=glenda
+console=testing dev=/dev/eia0 openondemand=1
+       gid=sys
diff --git a/kern/kfs/lib/ndb/dnsdump b/kern/kfs/lib/ndb/dnsdump
new file mode 100644 (file)
index 0000000..54fc319
--- /dev/null
@@ -0,0 +1,3 @@
+# dns debug
+# write "dump" to /net/dns
+# lots of output here
index 9bc8251..590d9f6 100644 (file)
-#
-# The master for this file is /n/fs/lib/ndb/local
-#
-# This file gets copied to:
-# /n/lookout/lib/ndb  by /n/lookout/lib/ndb/mkfile  run by /n/fs/cron/ndb/cron
-# /n/boundary/lib/ndb by /n/boundary/lib/ndb/mkfile run by /n/fs/cron/ndb/cron
-#
 
 #
-#   files comprising the database
-#   changing this list seems to confuse dhcpd, so be sure to restart
-#   dhcpd on lookout and neeps if you change the list.
-#   dns doesn't adapt either, so dns servers not just acting as forwarders
-#   (e.g., chips) will have to be rebooted.
+#  files comprising the database, use as many as you like, see ndb(6)
 #
 database=
        file=/lib/ndb/local
        file=/lib/ndb/common
 
-#      file=/lib/ndb/local-cs
-#      file=/lib/ndb/local-ie
-#      file=/lib/ndb/friends
-#      file=/lib/ndb/grid
-#      file=/lib/ndb/diversiorum
-#      file=/lib/ndb/local-aw
+auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com
 
 #
-#  because the public demands the name localhost
+#  because the public demands the name localsource
 #
 ip=127.0.0.1 sys=localhost dom=localhost
-
-#
-#  telephones
-#
-sys=guard
-       telco=,1800,
-sys=teltest1
-       telco=4646720
-sys=teltest2
-       telco=4646626
-sys=fax
-       telco=5824417
-
-#
-#  radius servers
-#      used by auth/secureidcheck
-#
-sys=lra-radius
-       ip=135.3.2.165  # usilnr01.ndc.lucent.com   arthursmith may 2006
-       ip=135.3.8.149  # usilnr02.ndc.lucent.com   arthursmith may 2006
-
-#
-# soa= means we are authoritative for that zone and will serve its data.
-#
-# soa=delegated means we are delegating name service for a subtree of our
-# zone(s) to other nameservers; we aren't authoritative for that zone's data
-# and it's someone else's problem.
-#
-# neither of those means we're just pointing at a zone's nameservers.
-#
-dom=bell-labs.com
-       dom=lucent.com
-       dom=alcatel-lucent.be
-       dom=alcatel-lucent.by
-       dom=alcatel-lucent.co.il
-       dom=alcatel-lucent.co.za
-       dom=alcatel-lucent.com
-       dom=alcatel-lucent.de
-       dom=alcatel-lucent.ge
-       dom=alcatel-lucent.hr
-       dom=alcatel-lucent.mk
-       dom=alcatel-lucent.rs
-       dom=alcatel-lucent.uz
-       dom=alcatel.de
-       dom=alcatel.mn
-       dom=alcatel.ro
-       refresh=1000000000 ttl=1000000000
-       ns=nj-100001-qip01.mh.lucent.com
-       ns=nj-100001-qip02.mh.lucent.com
-dom=
-       refresh=1000000000 ttl=1000000000
-       ns=nj-100001-qip01.mh.lucent.com
-       ns=nj-100001-qip02.mh.lucent.com
-#      ns=mince.cs.bell-labs.com                       # only for straddling
-
-dom=nj-100001-qip01.mh.lucent.com ip=135.222.4.10 ttl=1000000000
-dom=nj-100001-qip02.mh.lucent.com ip=135.222.4.11 ttl=1000000000
-
-#
-#  look at /lib/ndb/local-cs for cs.bell-labs.com
-#
-
-# NB: time[123].net.lucent.com are corporate ntp servers
-
-# local loopback
-ipnet=loopback ip=127.0.0.0
-       fs=pie.cs.bell-labs.com
-       venti=pie.cs.bell-labs.com
-       auth=p9auth
-       dns=chips
-       wins=135.222.4.26               # na02usnj1000012.mh.lucent.com
-       ntp=time1.net.lucent.com
-       ntp=chips
-       time=slocum
-       dnsdomain=cs.bell-labs.com
-       dnsdomain=research.bell-labs.com
-       dnsdomain=bell-labs.com
-       radius=lra-radius
-       post=postdir.post.lucent.com
-       post=ih.post.lucent.com
-       post=ho.post.lucent.com
-       smtp=chips.cs.bell-labs.com
-ip=127.0.0.1 sys=localhost
-       dom=localhost.cs.bell-labs.com
-
-#
-# indian hill network for Aruba (viaduct replacement) test
-#
-ipnet=ih ip=135.2.104.0 ipmask=255.255.255.0 ipgw=135.2.104.254
-       fs=pie.cs.bell-labs.com
-       venti=pie.cs.bell-labs.com
-       auth=p9auth
-       secstore=p9auth
-       dns=nj-100001-qip01.mh.lucent.com               # for unix machines
-       dns=nj-100001-qip02.mh.lucent.com
-       wins=135.222.4.26       # na02usnj1000012.mh.lucent.com
-       ntp=chips
-       ntp=time1.net.lucent.com
-       ntp=time2.net.lucent.com
-       time=slocum
-       dnsdomain=cs.bell-labs.com
-       dnsdomain=research.bell-labs.com
-       dnsdomain=bell-labs.com
-       radius=lra-radius
-       post=postdir.post.lucent.com
-       post=ih.post.lucent.com
-       post=ho.post.lucent.com
-       smtp=chips.cs.bell-labs.com
-
-#
-# mh's ip networks (to specify default plan 9 variables like fs, auth, ipgw).
-#
-# note that there are 3 possible submasks: the usual one
-# (255.255.255.0), the second for mh-sas (255.255.252.0), the third for
-# tc-net (255.255.255.224).  We are only responsible for
-# 135.104.^(7 8 9 50 56) now and .8 will eventually go entirely to IT.
-#
-# subnet assignments from long ago:
-# 1-10         1127    cs
-# 10-19                1121    math
-# 20-29                1126    like cs
-# 30-39                1122    speech
-# 40-49                1121    math
-# 50-59                1127    cs
-# 61-62                atm nets
-# 64-71                reserved for physics through lecuoma
-# 70           plexus
-# 72-79                1123    ?
-# 85           1127    cs
-# 104-111      1124    ?
-# 117          1127    cs (this oughta move)
-# 200-249      home networks
-# 250-255      test nets
-#
-ipnet=mh-astro ip=135.104.0.0 ipmask=255.255.0.0
-       fs=pie.cs.bell-labs.com
-       venti=pie.cs.bell-labs.com
-       auth=p9auth
-       secstore=p9auth
-       dns=nj-100001-qip01.mh.lucent.com               # for unix machines
-       dns=nj-100001-qip02.mh.lucent.com
-       wins=135.222.4.26                       # na02usnj1000012.mh.lucent.com
-       ntp=chips
-       ntp=time1.net.lucent.com
-       ntp=time2.net.lucent.com
-       time=slocum
-       dnsdomain=cs.bell-labs.com
-       dnsdomain=research.bell-labs.com
-       dnsdomain=bell-labs.com
-       radius=lra-radius
-       post=postdir.post.lucent.com
-       post=ih.post.lucent.com
-       post=ho.post.lucent.com
-       smtp=chips.cs.bell-labs.com
-       nntp=news.eternal-september.org
-#      nntp=nntp.aioe.org
-
-ipnet=mh-rbone ip=135.104.1.0 ipmask=255.255.255.0
-       ipgw=135.104.1.21
-# upper omniswitch in the corner of 2c501; replaces fribble
-ip=135.104.1.50 sys=omni2c500-104-1 dom=omni2c500-104-1.research.bell-labs.com
-
-# see local-cs for .51-.53
-
-
-# mh's ipv6 networks
-ipnet=mh-astro6 ip=fe80:: ipmask=/64
-       fs=pie.cs.bell-labs.com
-       venti=pie.cs.bell-labs.com
-       auth=p9auth
-       dns=chips
-       wins=135.222.4.26               # na02usnj1000012.mh.lucent.com
-#      ntp=oncore
-       ntp=chips
-       ntp=time1.net.lucent.com
-       ntp=time2.net.lucent.com
-       time=slocum
-       dnsdomain=cs.bell-labs.com
-       dnsdomain=research.bell-labs.com
-       dnsdomain=bell-labs.com
-       radius=lra-radius
-       post=postdir.post.lucent.com
-       post=ho.post.lucent.com
-       post=ih.post.lucent.com
-       smtp=chips.cs.bell-labs.com
-
-# mh's ipv4 networks
-ipnet=mh-bldg3 ip=135.3.0.0
-       fs=pie.cs.bell-labs.com
-       venti=pie.cs.bell-labs.com
-       auth=p9auth
-       dns=nj-100001-qip01.mh.lucent.com
-       dns=nj-100001-qip02.mh.lucent.com
-       wins=135.222.4.26               # na02usnj1000012.mh.lucent.com
-       ntp=guard.research.bell-labs.com
-       time=slocum
-       dnsdomain=cs.bell-labs.com
-       dnsdomain=research.bell-labs.com
-       dnsdomain=bell-labs.com
-       radius=lra-radius
-       post=postdir.post.lucent.com
-       post=ho.post.lucent.com
-       post=ih.post.lucent.com
-
-# new IT-run network
-ipnet=mh-bldg3-new ip=135.222.0.0
-       fs=pie.cs.bell-labs.com
-       venti=pie.cs.bell-labs.com
-       auth=p9auth
-       dns=nj-100001-qip01.mh.lucent.com
-       dns=nj-100001-qip02.mh.lucent.com
-       wins=135.222.4.26               # na02usnj1000012.mh.lucent.com
-       ntp=guard.research.bell-labs.com
-       time=slocum
-       dnsdomain=cs.bell-labs.com
-       dnsdomain=research.bell-labs.com
-       dnsdomain=bell-labs.com
-       radius=lra-radius
-       post=postdir.post.lucent.com
-       post=ho.post.lucent.com
-       post=ih.post.lucent.com
-
-#
-# since this mask covers a larger area than the default mask for
-# 135.104.0.0, we have to list each /24 network contained in the /22 one.
-# 135.104.20.0/24 contains transparent web proxies, firewalls, etc.
-#
-ipnet=mh-sas ip=135.104.20.0 ipmask=255.255.252.0
-       ipgw=135.104.20.1
-# Cisco 7513 in 6th flr. node room
-ip=135.104.20.1 sys=bell-labs-gw dom=bell-labs-gw.cs.bell-labs.com
-ip=135.104.20.2 sys=wheatstone dom=wheatstone.cs.bell-labs.com # rbone
-
-ip=204.178.20.1 sys=bell-labs-gw-ext dom=bell-labs-gw-ext.cs.bell-labs.com
-ip=204.178.20.2 sys=wheatstone-ext dom=wheatstone-ext.cs.bell-labs.com
-
-#
-# straddling dns config
-#
-sys=inside-dom
-       dom=bell-labs.com
-       dom=lucent.com
-       dom=alcatel-lucent.be
-       dom=alcatel-lucent.by
-       dom=alcatel-lucent.co.il
-       dom=alcatel-lucent.co.za
-       dom=alcatel-lucent.com
-       dom=alcatel-lucent.de
-       dom=alcatel-lucent.ge
-       dom=alcatel-lucent.hr
-       dom=alcatel-lucent.mk
-       dom=alcatel-lucent.rs
-       dom=alcatel-lucent.uz
-       dom=alcatel.de
-       dom=alcatel.mn
-       dom=alcatel.ro
-sys=inside-ns
-       ip=135.222.4.10                 # QIP
-       ip=135.222.4.11
-sys=outside-ns
-       ip=204.178.31.2                 # mince
-       ip=204.178.31.7                 # bovril
-
diff --git a/kern/kfs/lib/ndb/local.complicated b/kern/kfs/lib/ndb/local.complicated
new file mode 100644 (file)
index 0000000..873255d
--- /dev/null
@@ -0,0 +1,113 @@
+
+#
+#  files comprising the database, use as many as you like
+#
+database=
+       file=/lib/ndb/local
+       file=/lib/ndb/common
+
+#
+#  entries defining the dns root.  these will be overridden by any
+#  authentic info obtained from the root.
+#
+dom=
+       ns=A.ROOT-SERVERS.NET
+       ns=B.ROOT-SERVERS.NET
+       ns=C.ROOT-SERVERS.NET
+       ns=D.ROOT-SERVERS.NET
+       ns=E.ROOT-SERVERS.NET
+       ns=F.ROOT-SERVERS.NET
+       ns=G.ROOT-SERVERS.NET
+       ns=H.ROOT-SERVERS.NET
+       ns=I.ROOT-SERVERS.NET
+       ns=J.ROOT-SERVERS.NET
+       ns=K.ROOT-SERVERS.NET
+       ns=L.ROOT-SERVERS.NET
+       ns=M.ROOT-SERVERS.NET
+dom=A.ROOT-SERVERS.NET ip=198.41.0.4
+dom=B.ROOT-SERVERS.NET ip=128.9.0.107
+dom=C.ROOT-SERVERS.NET ip=192.33.4.12
+dom=D.ROOT-SERVERS.NET ip=128.8.10.90
+dom=E.ROOT-SERVERS.NET ip=192.203.230.10
+dom=F.ROOT-SERVERS.NET ip=192.5.5.241
+dom=G.ROOT-SERVERS.NET ip=192.112.36.4
+dom=H.ROOT-SERVERS.NET ip=128.63.2.53
+dom=I.ROOT-SERVERS.NET ip=192.36.148.17
+dom=J.ROOT-SERVERS.NET ip=198.41.0.10
+dom=K.ROOT-SERVERS.NET ip=193.0.14.129
+dom=L.ROOT-SERVERS.NET ip=198.32.64.12 # old
+                       ip=199.7.83.42  # new, nov 2007
+dom=M.ROOT-SERVERS.NET ip=202.12.27.33
+
+
+#  select one of the following two entries:
+
+#
+#  your domain if you are a dns server for your domain
+#
+dom=myuniversity.edu soa=
+       refresh=3600 ttl=3600
+       ns=ns1.myuniversity.edu
+       ns=ns2.myuniversity.edu
+       mx=mail.myuniversity.edu pref=1
+       mx=mailbackup.myuniversity.edu pref=2
+       mbox=netmaster@myuniversity.edu
+
+#
+#  your domain if you aren't a domain server for the domain
+#
+dom=myuniversity.edu
+       ns=ns1.myuniversity.edu
+       ns=ns2.myuniversity.edu
+
+#
+#  define your network.  dns, ntp, time, and wins are servers that can
+#  be returned by dhcp. auth and fs are the default plan9 authentication
+#  and name servers.  change the addresses to whatever makes sense in your
+#  world.
+#
+#  each dnsdomain is a domain to search through when resolving
+#  dnsnames
+#
+ipnet=mynetwork ip=10.0.0.0 ipmask=255.0.0.0
+       fs=myfileserver.myuniversity.edu
+       auth=myauthserver.myuniversity.edu
+       dns=10.0.0.1
+       dns=10.0.0.2
+       wins=10.0.0.3
+       wins=10.0.0.4
+       ntp=10.0.0.5
+       ntp=10.0.0.6
+       time=10.0.0.7
+       dnsdomain=cs.myuniversity.edu
+       dnsdomain=ee.myuniversity.edu
+       dnsdomain=math.myuniversity.edu
+       dnsdomain=myuniversity.edu
+
+#
+#  a subnet of of your network.  you can override anything specified for the
+#  network.
+#
+ipnet=mysubnetwork ip=10.0.1.0 ipmask=255.255.255.0
+       dns=10.0.1.1
+       dns=10.0.1.2
+
+#
+#  define a few systems.  if they support the il protocol, say so.  otherwise
+#  the connection server will assume they just know tcp and udp.
+#      - the sys= tuple specifies a local nickname for the machine.
+#      - unless a bootf= tuple exists, dhcp will not answer boot requests for it
+#
+ip=10.0.1.10 ether=0010dc724074 sys=fs
+       dom=myfileserver.myuniversity.edu 
+       bootf=/386/9boot                        # to load /386/9pcfs
+
+ip=10.0.1.11 ether=0010dc724075 sys=auth
+       dom=myauthserver.myuniversity.edu
+       bootf=/386/9boot                        # to load /386/9pccpu
+
+ip=10.0.1.12 ether=0010dc724076 sys=term
+       dom=myterminal.myuniversity.edu
+       bootf=/386/9boot                        # to load /386/9pc
+
+auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com
diff --git a/kern/kfs/lib/ndb/nfs b/kern/kfs/lib/ndb/nfs
new file mode 100644 (file)
index 0000000..c120fb2
--- /dev/null
@@ -0,0 +1,3 @@
+#server        client  uidfile gidfile
+!9fs tcp!kremvax
+.+     [^.]+\.moscow\.edu      /n/kremvax/etc/passwd   /n/kremvax/etc/group