⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nonamed.8

📁 操作系统设计与实现源码
💻 8
📖 第 1 页 / 共 2 页
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 14:23:55 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def    [psize 0 cheight slant sin slant cos div mul cheight 0 0]    makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig {	/SavedState save def	userdict maxlength dict begin	currentpoint transform	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap		setlinewidth setmatrix	itransform moveto	/ury exch def	/urx exch def	/lly exch def	/llx exch def	/y exch 72 mul resolution div def	/x exch 72 mul resolution div def		currentpoint /cy exch def /cx exch def	/sx x urx llx sub div def	/sy y ury lly sub div def	sx sy scale	cx sx div llx sub	cy sy div ury sub translate		/DefFigCTM matrix currentmatrix def	/initmatrix {		DefFigCTM setmatrix	} def	/defaultmatrix {		DefFigCTM exch copy	} def	/initgraphics {		DocumentInitState setmiterlimit setgray setdash 			setlinejoin setlinecap setlinewidth setmatrix		DefFigCTM setmatrix	} def	/showpage {		initgraphics	} def}bind  def/clipFig {	currentpoint 6 2 roll	newpath 4 copy	4 2 roll moveto	6 -1 roll exch lineto	exch lineto	exch lineto	closepath clip	newpath	moveto}bind  def/doclip { llx lly urx ury clipFig } def/endFig {	end SavedState restore}bind  def/globalstart {	fontnum psize slant height resolution currentpoint 	pagesave restore gsave }bind  def/globalend {	grestore moveto	/resolution exch def /height exch def	/slant exch def /psize exch def /fontnum exch def	F	/pagesave save def}bind  def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne   { exch newdict 3 1 roll put }   { pop pop } % Ignore FID   ifelse} forallnewdict begin/Encoding  tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval  cvn load  def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Roman 1 AEnc-def pop/R-1{/Times-Roman-1 FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R(NONAMED)516 720 A1244(\()S1286(8)S1344(\))S2696(Eighth)S(Edition)296 2989 A(NONAMED)516 4603 A5127(\()S5169(8)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R(nonamed)368 1080 A10 R-11473(-)S10 R1555(not)S1708(a)S1778(name)S2021(daemon,)S2389(but)S2542(acts)S2724(like)S2900(one)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(nonamed)S10 R1515([)S10 B-11549(-)S10 B1606(d)S10 R1662([)S10 I(level)191 1696 A10 R1887(]])S1993([)S10 B-12027(-)S10 B2084(p)S10 I2178(port)S10 R2353(])S2425([)S10 B-12459(-)S10 B2516(n)S10 I(address)312 2610 A10 R2930([/)S10 I2992(port)S10 R3159(]])S1536 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S1656 V10 B1080(Nonamed)S10 R1524(is)S1621(not)S1779(an)S1904(Internet)S2248(name)S2496(daemon.)S2894(When)S3164(started)S3463(it)S3549(immediately)S4082(tries)S4286(to)S4394(\256nd)S4580(a)S4655(real)S4838(name)S5087(dae-)S1776 V1080(mon)S1286(on)S1414(the)S1565(local)S1789(network.)S2197(If)S2293(it)S2377(\256nds)S2600(one)S2772(then)S2972(it)S(will)157 3055 A3239(relay)S3468(any)S3640(DNS)S3869(queries)S4187(to)S4292(that)S4470(name)S4715(daemon.)S5110(If)S5205(it)S1896 V1080(can't)S1316(\256nd)S1507(one)S1687(then)S1895(it)S(will)157 1986 A2178(do)S2313(its)S2443(best)S2640(to)S2753(answer)S3074(simple)S3377(queries)S3703(using)S3955(the)S10 B4113(/etc/hosts)S10 R4546(table)S4777(for)S4930(name)S5183(to)S2016 V1080(address)S1407(translation.)S2184 V1080(On)S1232(startup)S10 B1535(nonamed)S10 R1961(broadcasts)S2415(up)S2544(to)S2651(\256ve")S2872(simple)S3169(UDP)S3400(queries)S3720(on)S3849(the)S4001(local)S4226(network.)S4635(This)S4843(is)S4940(a)S5015(some-)S2304 V1080(what)S1310(nasty)S1556(thing)S1796(to)S1908(do,)S(because)319 2067 A2420(it)S2510(makes)S2801(all)S2936(name)S3188(servers)S3508(on)S3642(the)S3799(net)S3956(spring)S4240(into)S4429(action)S4708(to)S4819(answer)S5138(the)S2424 V1080(request.)S1450(The)S1636(\256rst)S1822(name)S2069(server)S2345(to)S2452(answer)S2767(is)S2863(used)S3076(by)S10 B3205(nonamed)S10 R3631(to)S3738(answer)S4053(the)S4205(queries)S4525(of)S4638(its)S4762(clients.)S5104(The)S2544 V1080(broadcast)S1503(search)S1798(is)S1902(repeated)S2281(after)S2504(an)S(hour)184 2636 A2857(to)S2971(give)S3180(another)S3518(name)S3772(server)S4055(a)S4136(chance)S4452(to)S4566(be)S4697(abused.)S5062(\(It)S5194(is)S2664 V1080(quite)S1309(normal)S1622(for)S1768(a)S1841(host)S2036(to)S2142(use)S2304(a)S2377(remote)S2685(name)S2931(server.)S3256(The)S3441(broadcasts)S3894(are)S4046(a)S4119(bit)S4253(unfriendly,)S4725(but)S4881(they)S5083(only)S2784 V1080(happen)S1395(once)S1610(an)S(hour.\))243 1730 A2952 V1080(If)S1173(a)S1243(real)S1420(name)S1663(server)S1935(is)S(found)234 2027 A2286(then)S10 B2484(nonamed)S10 R2906(enters)S3172("relay)S3440(mode",)S3754(passing)S4080(all)S4207(queries)S4524(on.)S4700(In)S4810(relay)S5038(mode)S3072 V1080(the)S1228(daemon)S(cannot)268 1571 A1864(be)S(distinguished)535 1984 A2544(from)S2765(a)S2835(real)S3012(DNS)S3239(name)S3482(daemon.)S3240 V10 B1080(Nonamed)S10 R(accepts)297 1533 A1869(both)S2086(UDP)S2327(and)S2511(TCP)S2736(queries)S(under)229 3067 A3336(Minix-vmd.)S3883(Under)S4175(standard)S4556(Minix)S4841(only)S5059(UDP)S3360 V1080(queries)S1397(are)S(accepted.)378 1547 A(256")191 1976 A2193(relayed)S2516(UDP)S2744(queries)S3061(can)S3227(be)S3348(outstanding)S3842(before)S4126(it)S4208(forgets)S4514(where)S4786(the)S4934(\256rst)S5116(one)S3480 V1080(came)S1318(from.)S3648 V1080(In)S1190(answer)S1502(mode)S10 B1751(nonamed)S10 R2174(can)S2340(answer)S2652(simple)S2947(DNS)S3176(queries)S3494(to)S3599(translate)S3968(a)S4040(host)S4234(name)S4479(to)S4584(an)S4706(IP)S4823(address,)S5177(or)S3768 V1080(an)S1200(IP)S1315(address)S1642(to)S1745(a)S1815(host)S2007(name.)S(Suppose)340 2300 A10 B2665(/etc/hosts)S10 R(looks)217 3088 A3330(like)S3506(this:)S3936 V(127.0.0.1)375 1440 A2190(localhost)S4056 V(192.9.200.1)475 1440 A2190(darask.home.cs.vu.nl)S4176 V(192.9.200.2)475 1440 A2190(burask.home.cs.vu.nl)S4344 V1080(Then)S1314(queries)S1632(for)S1777(the)S1927(host)S2121(names)S2405(listed)S2650(can)S2817(be)S2939(answered)S3347(with)S3553(the)S3703(IP)S3820(addresses)S4233(to)S4338(the)S4488(left)S4651(of)S4763(them.)S5042(If)S5138(the)S4464 V1080(name)S1330(can't)S1564(be)S(found)234 1691 A1957(then)S2162(it)S2250(is)S2349(retried)S2645(with)S2856(the)S3011(domain)S3344(name)S3594(stripped)S3950(of,)S4091(this)S4268(is)S(because)319 4367 A4718("localhost")S5194(is)S4584 V(looked)273 1080 A1384(up)S1515(as)S1630("localhost.home.cs.vu.nl")S2692(in)S2802(the)S(above)240 2957 A3229(example.)S3652(Reverse)S(lookups)317 4009 A4358(are)S4514(answered)S4927(with)S5138(the)S4704 V1080(\256rst)S1262(hostname)S1672(on)S1797(the)S1945(line)S2121(with)S2325(the)S2473(IP)S2588(address.)S4872 V1080(UDP)S

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -