home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume39 / tcp_wrappers / part02 < prev    next >
SHell self-extracting ARchive  |  1993-09-29  |  56.5 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: part02

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 77 69 65 74 | 73 65 40 77 7a 76 2e 77 |om: wiet|se@wzv.w|
|00000030| 69 6e 2e 74 75 65 2e 6e | 6c 20 28 57 69 65 74 73 |in.tue.n|l (Wiets|
|00000040| 65 20 56 65 6e 65 6d 61 | 29 0a 53 75 62 6a 65 63 |e Venema|).Subjec|
|00000050| 74 3a 20 76 33 39 69 31 | 31 31 3a 20 20 74 63 70 |t: v39i1|11: tcp|
|00000060| 5f 77 72 61 70 70 65 72 | 73 20 2d 20 54 43 50 2f |_wrapper|s - TCP/|
|00000070| 49 50 20 64 61 65 6d 6f | 6e 20 77 72 61 70 70 65 |IP daemo|n wrappe|
|00000080| 72 73 2c 20 76 36 2e 30 | 2c 20 50 61 72 74 30 32 |rs, v6.0|, Part02|
|00000090| 2f 30 34 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |/04.Mess|age-ID: |
|000000a0| 3c 31 39 39 33 53 65 70 | 32 39 2e 32 31 35 37 34 |<1993Sep|29.21574|
|000000b0| 35 2e 32 36 32 30 31 40 | 73 70 61 72 6b 79 2e 73 |5.26201@|sparky.s|
|000000c0| 74 65 72 6c 69 6e 67 2e | 63 6f 6d 3e 0a 58 2d 4d |terling.|com>.X-M|
|000000d0| 64 34 2d 53 69 67 6e 61 | 74 75 72 65 3a 20 35 38 |d4-Signa|ture: 58|
|000000e0| 34 64 64 61 35 39 34 34 | 65 37 61 61 63 32 65 61 |4dda5944|e7aac2ea|
|000000f0| 66 30 31 65 37 38 62 39 | 61 65 36 35 34 62 0a 53 |f01e78b9|ae654b.S|
|00000100| 65 6e 64 65 72 3a 20 6b | 65 6e 74 40 73 70 61 72 |ender: k|ent@spar|
|00000110| 6b 79 2e 73 74 65 72 6c | 69 6e 67 2e 63 6f 6d 20 |ky.sterl|ing.com |
|00000120| 28 4b 65 6e 74 20 4c 61 | 6e 64 66 69 65 6c 64 29 |(Kent La|ndfield)|
|00000130| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 45 |.Organiz|ation: E|
|00000140| 69 6e 64 68 6f 76 65 6e | 20 55 6e 69 76 65 72 73 |indhoven| Univers|
|00000150| 69 74 79 20 6f 66 20 54 | 65 63 68 6e 6f 6c 6f 67 |ity of T|echnolog|
|00000160| 79 2c 20 54 68 65 20 4e | 65 74 68 65 72 6c 61 6e |y, The N|etherlan|
|00000170| 64 73 0a 44 61 74 65 3a | 20 57 65 64 2c 20 32 39 |ds.Date:| Wed, 29|
|00000180| 20 53 65 70 20 31 39 39 | 33 20 32 31 3a 35 37 3a | Sep 199|3 21:57:|
|00000190| 34 35 20 47 4d 54 0a 41 | 70 70 72 6f 76 65 64 3a |45 GMT.A|pproved:|
|000001a0| 20 6b 65 6e 74 40 73 70 | 61 72 6b 79 2e 73 74 65 | kent@sp|arky.ste|
|000001b0| 72 6c 69 6e 67 2e 63 6f | 6d 0a 0a 53 75 62 6d 69 |rling.co|m..Submi|
|000001c0| 74 74 65 64 2d 62 79 3a | 20 77 69 65 74 73 65 40 |tted-by:| wietse@|
|000001d0| 77 7a 76 2e 77 69 6e 2e | 74 75 65 2e 6e 6c 20 28 |wzv.win.|tue.nl (|
|000001e0| 57 69 65 74 73 65 20 56 | 65 6e 65 6d 61 29 0a 50 |Wietse V|enema).P|
|000001f0| 6f 73 74 69 6e 67 2d 6e | 75 6d 62 65 72 3a 20 56 |osting-n|umber: V|
|00000200| 6f 6c 75 6d 65 20 33 39 | 2c 20 49 73 73 75 65 20 |olume 39|, Issue |
|00000210| 31 31 31 0a 41 72 63 68 | 69 76 65 2d 6e 61 6d 65 |111.Arch|ive-name|
|00000220| 3a 20 74 63 70 5f 77 72 | 61 70 70 65 72 73 2f 70 |: tcp_wr|appers/p|
|00000230| 61 72 74 30 32 0a 45 6e | 76 69 72 6f 6e 6d 65 6e |art02.En|vironmen|
|00000240| 74 3a 20 55 4e 49 58 2c | 20 49 4e 45 54 0a 53 75 |t: UNIX,| INET.Su|
|00000250| 70 65 72 73 65 64 65 73 | 3a 20 6c 6f 67 5f 74 63 |persedes|: log_tc|
|00000260| 70 3a 20 56 6f 6c 75 6d | 65 20 33 36 2c 20 49 73 |p: Volum|e 36, Is|
|00000270| 73 75 65 20 34 2d 36 0a | 0a 23 21 20 2f 62 69 6e |sue 4-6.|.#! /bin|
|00000280| 2f 73 68 0a 23 20 54 68 | 69 73 20 69 73 20 61 20 |/sh.# Th|is is a |
|00000290| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 20 20 |shell ar|chive. |
|000002a0| 52 65 6d 6f 76 65 20 61 | 6e 79 74 68 69 6e 67 20 |Remove a|nything |
|000002b0| 62 65 66 6f 72 65 20 74 | 68 69 73 20 6c 69 6e 65 |before t|his line|
|000002c0| 2c 20 74 68 65 6e 20 75 | 6e 70 61 63 6b 0a 23 20 |, then u|npack.# |
|000002d0| 69 74 20 62 79 20 73 61 | 76 69 6e 67 20 69 74 20 |it by sa|ving it |
|000002e0| 69 6e 74 6f 20 61 20 66 | 69 6c 65 20 61 6e 64 20 |into a f|ile and |
|000002f0| 74 79 70 69 6e 67 20 22 | 73 68 20 66 69 6c 65 22 |typing "|sh file"|
|00000300| 2e 20 20 54 6f 20 6f 76 | 65 72 77 72 69 74 65 20 |. To ov|erwrite |
|00000310| 65 78 69 73 74 69 6e 67 | 0a 23 20 66 69 6c 65 73 |existing|.# files|
|00000320| 2c 20 74 79 70 65 20 22 | 73 68 20 66 69 6c 65 20 |, type "|sh file |
|00000330| 2d 63 22 2e 20 20 59 6f | 75 20 63 61 6e 20 61 6c |-c". Yo|u can al|
|00000340| 73 6f 20 66 65 65 64 20 | 74 68 69 73 20 61 73 20 |so feed |this as |
|00000350| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 76 |standard| input v|
|00000360| 69 61 0a 23 20 75 6e 73 | 68 61 72 2c 20 6f 72 20 |ia.# uns|har, or |
|00000370| 62 79 20 74 79 70 69 6e | 67 20 22 73 68 20 3c 66 |by typin|g "sh <f|
|00000380| 69 6c 65 22 2c 20 65 2e | 67 2e 2e 20 20 49 66 20 |ile", e.|g.. If |
|00000390| 74 68 69 73 20 61 72 63 | 68 69 76 65 20 69 73 20 |this arc|hive is |
|000003a0| 63 6f 6d 70 6c 65 74 65 | 2c 20 79 6f 75 0a 23 20 |complete|, you.# |
|000003b0| 77 69 6c 6c 20 73 65 65 | 20 74 68 65 20 66 6f 6c |will see| the fol|
|000003c0| 6c 6f 77 69 6e 67 20 6d | 65 73 73 61 67 65 20 61 |lowing m|essage a|
|000003d0| 74 20 74 68 65 20 65 6e | 64 3a 0a 23 09 09 22 45 |t the en|d:.#.."E|
|000003e0| 6e 64 20 6f 66 20 61 72 | 63 68 69 76 65 20 32 20 |nd of ar|chive 2 |
|000003f0| 28 6f 66 20 34 29 2e 22 | 0a 23 20 43 6f 6e 74 65 |(of 4)."|.# Conte|
|00000400| 6e 74 73 3a 20 20 4d 61 | 6b 65 66 69 6c 65 20 68 |nts: Ma|kefile h|
|00000410| 6f 73 74 73 5f 61 63 63 | 65 73 73 2e 33 20 68 6f |osts_acc|ess.3 ho|
|00000420| 73 74 73 5f 61 63 63 65 | 73 73 2e 35 20 68 6f 73 |sts_acce|ss.5 hos|
|00000430| 74 73 5f 61 63 63 65 73 | 73 2e 63 0a 23 20 20 20 |ts_acces|s.c.# |
|00000440| 68 6f 73 74 73 5f 6f 70 | 74 69 6f 6e 73 2e 35 20 |hosts_op|tions.5 |
|00000450| 70 61 74 63 68 6c 65 76 | 65 6c 2e 68 0a 23 20 57 |patchlev|el.h.# W|
|00000460| 72 61 70 70 65 64 20 62 | 79 20 77 69 65 74 73 65 |rapped b|y wietse|
|00000470| 40 77 7a 76 20 6f 6e 20 | 57 65 64 20 53 65 70 20 |@wzv on |Wed Sep |
|00000480| 32 39 20 31 38 3a 34 35 | 3a 34 36 20 31 39 39 33 |29 18:45|:46 1993|
|00000490| 0a 50 41 54 48 3d 2f 62 | 69 6e 3a 2f 75 73 72 2f |.PATH=/b|in:/usr/|
|000004a0| 62 69 6e 3a 2f 75 73 72 | 2f 75 63 62 20 3b 20 65 |bin:/usr|/ucb ; e|
|000004b0| 78 70 6f 72 74 20 50 41 | 54 48 0a 69 66 20 74 65 |xport PA|TH.if te|
|000004c0| 73 74 20 2d 66 20 4d 61 | 6b 65 66 69 6c 65 20 2d |st -f Ma|kefile -|
|000004d0| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|000004e0| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|000004f0| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 6f |shar: Wi|ll not o|
|00000500| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00000510| 6e 67 20 66 69 6c 65 20 | 5c 22 4d 61 6b 65 66 69 |ng file |\"Makefi|
|00000520| 6c 65 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |le\".els|e.echo s|
|00000530| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000540| 5c 22 4d 61 6b 65 66 69 | 6c 65 5c 22 20 5c 28 31 |\"Makefi|le\" \(1|
|00000550| 39 30 38 34 20 63 68 61 | 72 61 63 74 65 72 73 5c |9084 cha|racters\|
|00000560| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00000570| 4d 61 6b 65 66 69 6c 65 | 20 3c 3c 27 45 4e 44 5f |Makefile| <<'END_|
|00000580| 4f 46 5f 4d 61 6b 65 66 | 69 6c 65 27 0a 58 23 20 |OF_Makef|ile'.X# |
|00000590| 40 28 23 29 20 4d 61 6b | 65 66 69 6c 65 20 31 2e |@(#) Mak|efile 1.|
|000005a0| 39 20 39 33 2f 30 39 2f | 32 38 20 32 33 3a 33 39 |9 93/09/|28 23:39|
|000005b0| 3a 35 35 0a 58 0a 58 77 | 68 61 74 3a 0a 58 09 40 |:55.X.Xw|hat:.X.@|
|000005c0| 65 63 68 6f 0a 58 09 40 | 65 63 68 6f 20 22 55 73 |echo.X.@|echo "Us|
|000005d0| 61 67 65 3a 20 65 64 69 | 74 20 74 68 65 20 52 45 |age: edi|t the RE|
|000005e0| 41 4c 5f 44 41 45 4d 4f | 4e 5f 44 49 52 20 64 65 |AL_DAEMO|N_DIR de|
|000005f0| 66 69 6e 69 74 69 6f 6e | 20 69 6e 20 74 68 65 20 |finition| in the |
|00000600| 4d 61 6b 65 66 69 6c 65 | 20 74 68 65 6e 3a 22 0a |Makefile| then:".|
|00000610| 58 09 40 65 63 68 6f 0a | 58 09 40 65 63 68 6f 20 |X.@echo.|X.@echo |
|00000620| 22 09 6d 61 6b 65 20 74 | 79 70 65 2d 6f 66 2d 73 |".make t|ype-of-s|
|00000630| 79 73 74 65 6d 22 0a 58 | 09 40 65 63 68 6f 0a 58 |ystem".X|.@echo.X|
|00000640| 09 40 65 63 68 6f 20 22 | 49 66 20 79 6f 75 20 61 |.@echo "|If you a|
|00000650| 72 65 20 69 6e 20 61 20 | 68 75 72 72 79 20 79 6f |re in a |hurry yo|
|00000660| 75 20 63 61 6e 20 74 72 | 79 20 69 6e 73 74 65 61 |u can tr|y instea|
|00000670| 64 3a 22 0a 58 09 40 65 | 63 68 6f 0a 58 09 40 65 |d:".X.@e|cho.X.@e|
|00000680| 63 68 6f 20 22 09 6d 61 | 6b 65 20 52 45 41 4c 5f |cho ".ma|ke REAL_|
|00000690| 44 41 45 4d 4f 4e 5f 44 | 49 52 3d 2f 73 6f 6d 65 |DAEMON_D|IR=/some|
|000006a0| 2f 77 68 65 72 65 20 74 | 79 70 65 2d 6f 66 2d 73 |/where t|ype-of-s|
|000006b0| 79 73 74 65 6d 22 0a 58 | 09 40 65 63 68 6f 0a 58 |ystem".X|.@echo.X|
|000006c0| 09 40 65 63 68 6f 20 22 | 54 68 69 73 20 4d 61 6b |.@echo "|This Mak|
|000006d0| 65 66 69 6c 65 20 6b 6e | 6f 77 73 20 61 62 6f 75 |efile kn|ows abou|
|000006e0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|000006f0| 74 79 70 65 73 20 6f 66 | 20 73 79 73 74 65 6d 73 |types of| systems|
|00000700| 3a 22 0a 58 09 40 65 63 | 68 6f 0a 58 09 40 65 63 |:".X.@ec|ho.X.@ec|
|00000710| 68 6f 20 22 09 73 75 6e | 6f 73 34 20 73 75 6e 6f |ho ".sun|os4 suno|
|00000720| 73 35 20 6e 65 78 74 20 | 69 72 69 78 20 68 70 75 |s5 next |irix hpu|
|00000730| 78 20 75 6c 74 72 69 78 | 20 61 69 78 20 61 6c 70 |x ultrix| aix alp|
|00000740| 68 61 20 6f 73 66 22 0a | 58 09 40 65 63 68 6f 20 |ha osf".|X.@echo |
|00000750| 22 09 73 75 6e 6f 73 34 | 30 20 7b 33 38 36 2c 6e |".sunos4|0 {386,n|
|00000760| 65 74 2c 66 72 65 65 7d | 62 73 64 20 6c 69 6e 75 |et,free}|bsd linu|
|00000770| 78 20 73 79 73 76 34 20 | 65 73 69 78 20 64 67 75 |x sysv4 |esix dgu|
|00000780| 78 22 0a 58 09 40 65 63 | 68 6f 0a 58 09 40 65 63 |x".X.@ec|ho.X.@ec|
|00000790| 68 6f 20 22 49 66 20 6e | 6f 6e 65 20 6f 66 20 74 |ho "If n|one of t|
|000007a0| 68 65 73 65 20 6d 61 74 | 63 68 20 79 6f 75 72 20 |hese mat|ch your |
|000007b0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2c 20 65 64 69 |environm|ent, edi|
|000007c0| 74 20 74 68 65 20 73 79 | 73 74 65 6d 22 0a 58 09 |t the sy|stem".X.|
|000007d0| 40 65 63 68 6f 20 22 64 | 65 70 65 6e 64 65 6e 63 |@echo "d|ependenc|
|000007e0| 69 65 73 20 73 65 63 74 | 69 6f 6e 20 69 6e 20 74 |ies sect|ion in t|
|000007f0| 68 65 20 4d 61 6b 65 66 | 69 6c 65 20 61 6e 64 20 |he Makef|ile and |
|00000800| 64 6f 20 61 20 27 6d 61 | 6b 65 20 6f 74 68 65 72 |do a 'ma|ke other|
|00000810| 27 2e 22 0a 58 09 40 65 | 63 68 6f 0a 58 0a 58 23 |'.".X.@e|cho.X.X#|
|00000820| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000830| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000840| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000850| 23 23 23 23 23 23 0a 58 | 23 20 43 68 6f 69 63 65 |######.X|# Choice|
|00000860| 20 62 65 74 77 65 65 6e | 20 65 61 73 79 20 61 6e | between| easy an|
|00000870| 64 20 61 64 76 61 6e 63 | 65 64 20 69 6e 73 74 61 |d advanc|ed insta|
|00000880| 6c 6c 61 74 69 6f 6e 20 | 72 65 63 69 70 65 2e 0a |llation |recipe..|
|00000890| 58 23 20 0a 58 23 20 41 | 64 76 61 6e 63 65 64 20 |X# .X# A|dvanced |
|000008a0| 69 6e 73 74 61 6c 6c 61 | 74 69 6f 6e 3a 20 76 65 |installa|tion: ve|
|000008b0| 6e 64 6f 72 2d 70 72 6f | 76 69 64 65 64 20 64 61 |ndor-pro|vided da|
|000008c0| 65 6d 6f 6e 73 20 61 72 | 65 20 6c 65 66 74 20 61 |emons ar|e left a|
|000008d0| 6c 6f 6e 65 2c 20 61 6e | 64 20 74 68 65 0a 58 23 |lone, an|d the.X#|
|000008e0| 20 69 6e 65 74 64 20 63 | 6f 6e 66 69 67 75 72 61 | inetd c|onfigura|
|000008f0| 74 69 6f 6e 20 66 69 6c | 65 20 69 73 20 65 64 69 |tion fil|e is edi|
|00000900| 74 65 64 2e 20 49 6e 20 | 74 68 69 73 20 63 61 73 |ted. In |this cas|
|00000910| 65 2c 20 74 68 65 20 52 | 45 41 4c 5f 44 41 45 4d |e, the R|EAL_DAEM|
|00000920| 4f 4e 5f 44 49 52 0a 58 | 23 20 6d 61 63 72 6f 20 |ON_DIR.X|# macro |
|00000930| 73 68 6f 75 6c 64 20 72 | 65 66 6c 65 63 74 20 74 |should r|eflect t|
|00000940| 68 65 20 61 63 74 75 61 | 6c 20 64 69 72 65 63 74 |he actua|l direct|
|00000950| 6f 72 79 20 77 69 74 68 | 20 28 6d 6f 73 74 20 6f |ory with| (most o|
|00000960| 66 29 20 79 6f 75 72 0a | 58 23 20 76 65 6e 64 6f |f) your.|X# vendo|
|00000970| 72 2d 70 72 6f 76 69 64 | 65 64 20 6e 65 74 77 6f |r-provid|ed netwo|
|00000980| 72 6b 20 64 61 65 6d 6f | 6e 73 2e 20 20 54 68 65 |rk daemo|ns. The|
|00000990| 73 65 20 6e 61 6d 65 73 | 20 63 61 6e 20 62 65 20 |se names| can be |
|000009a0| 66 6f 75 6e 64 20 69 6e | 20 74 68 65 0a 58 23 20 |found in| the.X# |
|000009b0| 69 6e 65 74 64 2e 63 6f | 6e 66 20 66 69 6c 65 2e |inetd.co|nf file.|
|000009c0| 20 55 73 75 61 6c 6c 79 | 2c 20 74 68 65 20 74 65 | Usually|, the te|
|000009d0| 6c 6e 65 74 2c 20 66 74 | 70 20 61 6e 64 20 66 69 |lnet, ft|p and fi|
|000009e0| 6e 67 65 72 20 64 61 65 | 6d 6f 6e 73 20 61 6c 6c |nger dae|mons all|
|000009f0| 20 6c 69 76 65 0a 58 23 | 20 69 6e 20 74 68 65 20 | live.X#| in the |
|00000a00| 73 61 6d 65 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |same dir|ectory..|
|00000a10| 58 23 20 0a 58 23 20 55 | 6e 63 6f 6d 6d 65 6e 74 |X# .X# U|ncomment|
|00000a20| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00000a30| 20 6c 69 6e 65 20 69 66 | 20 79 6f 75 20 61 72 65 | line if| you are|
|00000a40| 20 67 6f 69 6e 67 20 74 | 6f 20 65 64 69 74 20 69 | going t|o edit i|
|00000a50| 6e 65 74 64 2e 63 6f 6e | 66 2e 0a 58 23 0a 58 23 |netd.con|f..X#.X#|
|00000a60| 20 55 6c 74 72 69 78 20 | 34 2e 78 20 53 75 6e 4f | Ultrix |4.x SunO|
|00000a70| 53 20 34 2e 78 0a 58 23 | 52 45 41 4c 5f 44 41 45 |S 4.x.X#|REAL_DAE|
|00000a80| 4d 4f 4e 5f 44 49 52 3d | 2f 75 73 72 2f 65 74 63 |MON_DIR=|/usr/etc|
|00000a90| 0a 58 23 0a 58 23 20 53 | 79 73 56 2e 34 20 53 6f |.X#.X# S|ysV.4 So|
|00000aa0| 6c 61 72 69 73 20 32 2e | 78 20 4f 53 46 20 41 49 |laris 2.|x OSF AI|
|00000ab0| 58 0a 58 23 52 45 41 4c | 5f 44 41 45 4d 4f 4e 5f |X.X#REAL|_DAEMON_|
|00000ac0| 44 49 52 3d 2f 75 73 72 | 2f 73 62 69 6e 0a 58 23 |DIR=/usr|/sbin.X#|
|00000ad0| 0a 58 23 20 42 53 44 20 | 34 2e 34 0a 58 23 52 45 |.X# BSD |4.4.X#RE|
|00000ae0| 41 4c 5f 44 41 45 4d 4f | 4e 5f 44 49 52 3d 2f 75 |AL_DAEMO|N_DIR=/u|
|00000af0| 73 72 2f 6c 69 62 65 78 | 65 63 0a 58 23 0a 58 23 |sr/libex|ec.X#.X#|
|00000b00| 20 48 50 2d 55 58 0a 58 | 23 52 45 41 4c 5f 44 41 | HP-UX.X|#REAL_DA|
|00000b10| 45 4d 4f 4e 5f 44 49 52 | 3d 2f 65 74 63 0a 58 0a |EMON_DIR|=/etc.X.|
|00000b20| 58 23 20 45 61 73 79 20 | 69 6e 73 74 61 6c 6c 61 |X# Easy |installa|
|00000b30| 74 69 6f 6e 3a 20 76 65 | 6e 64 6f 72 2d 70 72 6f |tion: ve|ndor-pro|
|00000b40| 76 69 64 65 64 20 6e 65 | 74 77 6f 72 6b 20 64 61 |vided ne|twork da|
|00000b50| 65 6d 6f 6e 73 20 61 72 | 65 20 6d 6f 76 65 64 20 |emons ar|e moved |
|00000b60| 74 6f 20 22 73 6f 6d 65 | 0a 58 23 20 6f 74 68 65 |to "some|.X# othe|
|00000b70| 72 22 20 64 69 72 65 63 | 74 6f 72 79 2c 20 61 6e |r" direc|tory, an|
|00000b80| 64 20 74 68 65 20 74 63 | 70 64 20 77 72 61 70 70 |d the tc|pd wrapp|
|00000b90| 65 72 20 66 69 6c 6c 73 | 20 69 6e 20 74 68 65 20 |er fills| in the |
|00000ba0| 22 68 6f 6c 65 73 22 2e | 20 46 6f 72 20 74 68 69 |"holes".| For thi|
|00000bb0| 73 0a 58 23 20 6d 6f 64 | 65 20 6f 66 20 6f 70 65 |s.X# mod|e of ope|
|00000bc0| 72 61 74 69 6f 6e 2c 20 | 74 68 65 20 52 45 41 4c |ration, |the REAL|
|00000bd0| 5f 44 41 45 4d 4f 4e 5f | 44 49 52 20 6d 61 63 72 |_DAEMON_|DIR macr|
|00000be0| 6f 20 73 68 6f 75 6c 64 | 20 62 65 20 73 65 74 20 |o should| be set |
|00000bf0| 74 6f 20 74 68 65 20 22 | 73 6f 6d 65 0a 58 23 20 |to the "|some.X# |
|00000c00| 6f 74 68 65 72 22 20 64 | 69 72 65 63 74 6f 72 79 |other" d|irectory|
|00000c10| 2e 20 20 54 68 65 20 22 | 2e 2e 2e 22 20 69 73 20 |. The "|..." is |
|00000c20| 68 65 72 65 20 66 6f 72 | 20 68 69 73 74 6f 72 69 |here for| histori|
|00000c30| 63 61 6c 20 72 65 61 73 | 6f 6e 73 20 6f 6e 6c 79 |cal reas|ons only|
|00000c40| 3b 20 79 6f 75 0a 58 23 | 20 73 68 6f 75 6c 64 20 |; you.X#| should |
|00000c50| 70 72 6f 62 61 62 6c 79 | 20 75 73 65 20 73 6f 6d |probably| use som|
|00000c60| 65 20 6f 74 68 65 72 20 | 6e 61 6d 65 2e 20 0a 58 |e other |name. .X|
|00000c70| 23 20 0a 58 23 20 55 6e | 63 6f 6d 6d 65 6e 74 20 |# .X# Un|comment |
|00000c80| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|00000c90| 6c 69 6e 65 20 69 66 20 | 79 6f 75 20 61 72 65 20 |line if |you are |
|00000ca0| 67 6f 69 6e 67 20 74 6f | 20 6d 6f 76 65 20 79 6f |going to| move yo|
|00000cb0| 75 72 20 64 61 65 6d 6f | 6e 73 2e 0a 58 23 0a 58 |ur daemo|ns..X#.X|
|00000cc0| 23 20 55 6c 74 72 69 78 | 20 34 2e 78 20 53 75 6e |# Ultrix| 4.x Sun|
|00000cd0| 4f 53 20 34 2e 78 0a 58 | 23 52 45 41 4c 5f 44 41 |OS 4.x.X|#REAL_DA|
|00000ce0| 45 4d 4f 4e 5f 44 49 52 | 3d 2f 75 73 72 2f 65 74 |EMON_DIR|=/usr/et|
|00000cf0| 63 2f 2e 2e 2e 0a 58 23 | 0a 58 23 20 53 79 73 56 |c/....X#|.X# SysV|
|00000d00| 2e 34 20 53 6f 6c 61 72 | 69 73 20 32 2e 78 20 4f |.4 Solar|is 2.x O|
|00000d10| 53 46 20 41 49 58 0a 58 | 23 52 45 41 4c 5f 44 41 |SF AIX.X|#REAL_DA|
|00000d20| 45 4d 4f 4e 5f 44 49 52 | 3d 2f 75 73 72 2f 73 62 |EMON_DIR|=/usr/sb|
|00000d30| 69 6e 2f 2e 2e 2e 0a 58 | 23 0a 58 23 20 42 53 44 |in/....X|#.X# BSD|
|00000d40| 20 34 2e 34 0a 58 23 52 | 45 41 4c 5f 44 41 45 4d | 4.4.X#R|EAL_DAEM|
|00000d50| 4f 4e 5f 44 49 52 3d 2f | 75 73 72 2f 6c 69 62 65 |ON_DIR=/|usr/libe|
|00000d60| 78 65 63 2f 2e 2e 2e 0a | 58 23 0a 58 23 20 48 50 |xec/....|X#.X# HP|
|00000d70| 2d 55 58 0a 58 23 52 45 | 41 4c 5f 44 41 45 4d 4f |-UX.X#RE|AL_DAEMO|
|00000d80| 4e 5f 44 49 52 3d 2f 65 | 74 63 2f 2e 2e 2e 0a 58 |N_DIR=/e|tc/....X|
|00000d90| 0a 58 23 20 45 6e 64 20 | 6f 66 20 6d 61 6e 64 61 |.X# End |of manda|
|00000da0| 74 6f 72 79 20 73 65 63 | 74 69 6f 6e 0a 58 23 23 |tory sec|tion.X##|
|00000db0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000dc0| 23 23 23 23 23 23 23 23 | 0a 58 0a 58 23 23 23 23 |########|.X.X####|
|00000dd0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000de0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000df0| 23 23 23 23 23 23 23 23 | 23 23 0a 58 23 20 53 79 |########|##.X# Sy|
|00000e00| 73 74 65 6d 20 64 65 70 | 65 6e 64 65 6e 63 69 65 |stem dep|endencie|
|00000e10| 73 3a 20 72 65 61 64 79 | 2d 74 6f 2d 75 73 65 20 |s: ready|-to-use |
|00000e20| 74 65 6d 70 6c 61 74 65 | 73 2e 0a 58 23 0a 58 23 |template|s..X#.X#|
|00000e30| 20 52 65 61 64 79 2d 74 | 6f 2d 75 73 65 20 74 65 | Ready-t|o-use te|
|00000e40| 6d 70 6c 61 74 65 73 20 | 61 72 65 20 61 76 61 69 |mplates |are avai|
|00000e50| 6c 61 62 6c 65 20 66 6f | 72 20 73 75 6e 6f 73 20 |lable fo|r sunos |
|00000e60| 34 2e 78 2c 20 73 75 6e | 6f 73 20 35 2e 78 20 28 |4.x, sun|os 5.x (|
|00000e70| 73 79 73 76 34 29 2c 0a | 58 23 20 75 6c 74 72 69 |sysv4),.|X# ultri|
|00000e80| 78 2c 20 68 70 2d 75 78 | 2c 20 69 72 69 78 20 34 |x, hp-ux|, irix 4|
|00000e90| 2e 78 20 61 6e 64 20 6f | 74 68 65 72 73 2e 20 54 |.x and o|thers. T|
|00000ea0| 68 65 73 65 20 74 65 6d | 70 6c 61 74 65 73 20 74 |hese tem|plates t|
|00000eb0| 61 6b 65 20 63 61 72 65 | 20 6f 66 20 61 6c 6c 20 |ake care| of all |
|00000ec0| 73 79 73 74 65 6d 0a 58 | 23 20 64 65 70 65 6e 64 |system.X|# depend|
|00000ed0| 65 6e 63 69 65 73 3a 20 | 61 66 74 65 72 20 65 64 |encies: |after ed|
|00000ee0| 69 74 69 6e 67 20 74 68 | 65 20 52 45 41 4c 5f 44 |iting th|e REAL_D|
|00000ef0| 41 45 4d 4f 4e 5f 44 49 | 52 20 64 65 66 69 6e 69 |AEMON_DI|R defini|
|00000f00| 74 69 6f 6e 20 61 62 6f | 76 65 2c 20 6a 75 73 74 |tion abo|ve, just|
|00000f10| 20 64 6f 0a 58 23 20 61 | 20 22 6d 61 6b 65 20 73 | do.X# a| "make s|
|00000f20| 75 6e 6f 73 34 22 20 28 | 6f 72 20 77 68 61 74 65 |unos4" (|or whate|
|00000f30| 76 65 72 20 73 79 73 74 | 65 6d 20 74 79 70 65 20 |ver syst|em type |
|00000f40| 69 73 20 61 70 70 72 6f | 70 72 69 61 74 65 29 2e |is appro|priate).|
|00000f50| 0a 58 23 0a 58 23 20 49 | 66 20 79 6f 75 72 20 73 |.X#.X# I|f your s|
|00000f60| 79 73 74 65 6d 20 69 73 | 20 6e 6f 74 20 6c 69 73 |ystem is| not lis|
|00000f70| 74 65 64 20 28 6f 72 20 | 73 6f 6d 65 74 68 69 6e |ted (or |somethin|
|00000f80| 67 20 74 68 61 74 20 63 | 6f 6d 65 73 20 63 6c 6f |g that c|omes clo|
|00000f90| 73 65 20 65 6e 6f 75 67 | 68 29 2c 20 79 6f 75 0a |se enoug|h), you.|
|00000fa0| 58 23 20 77 69 6c 6c 20 | 68 61 76 65 20 74 6f 20 |X# will |have to |
|00000fb0| 65 64 69 74 20 74 68 65 | 20 73 79 73 74 65 6d 20 |edit the| system |
|00000fc0| 64 65 70 65 6e 63 69 65 | 73 20 73 65 63 74 69 6f |depencie|s sectio|
|00000fd0| 6e 20 62 65 6c 6f 77 20 | 61 6e 64 20 64 6f 20 61 |n below |and do a|
|00000fe0| 20 22 6d 61 6b 65 20 6f | 74 68 65 72 22 2e 20 20 | "make o|ther". |
|00000ff0| 0a 58 23 0a 58 23 20 53 | 65 6e 64 20 74 65 6d 70 |.X#.X# S|end temp|
|00001000| 6c 61 74 65 73 20 66 6f | 72 20 6f 74 68 65 72 20 |lates fo|r other |
|00001010| 55 4e 49 58 20 76 65 72 | 73 69 6f 6e 73 20 74 6f |UNIX ver|sions to|
|00001020| 20 77 69 65 74 73 65 40 | 77 7a 76 2e 77 69 6e 2e | wietse@|wzv.win.|
|00001030| 74 75 65 2e 6e 6c 2e 0a | 58 0a 58 23 20 54 68 69 |tue.nl..|X.X# Thi|
|00001040| 73 20 69 73 20 67 6f 6f | 64 20 66 6f 72 20 6d 61 |s is goo|d for ma|
|00001050| 6e 79 20 42 53 44 2b 53 | 59 53 56 20 68 79 62 72 |ny BSD+S|YSV hybr|
|00001060| 69 64 73 20 77 69 74 68 | 20 4e 49 53 20 28 66 6f |ids with| NIS (fo|
|00001070| 72 6d 65 72 6c 79 20 59 | 50 29 2e 0a 58 73 75 6e |rmerly Y|P)..Xsun|
|00001080| 6f 73 34 20 6e 65 78 74 | 20 61 69 78 20 6f 73 66 |os4 next| aix osf|
|00001090| 20 61 6c 70 68 61 3a 0a | 58 09 40 6d 61 6b 65 20 | alpha:.|X.@make |
|000010a0| 4c 49 42 53 3d 20 52 41 | 4e 4c 49 42 3d 72 61 6e |LIBS= RA|NLIB=ran|
|000010b0| 6c 69 62 20 41 52 46 4c | 41 47 53 3d 72 76 20 41 |lib ARFL|AGS=rv A|
|000010c0| 55 58 5f 4f 42 4a 3d 73 | 65 74 65 6e 76 2e 6f 20 |UX_OBJ=s|etenv.o |
|000010d0| 5c 0a 58 09 4e 45 54 47 | 52 4f 55 50 3d 2d 44 4e |\.X.NETG|ROUP=-DN|
|000010e0| 45 54 47 52 4f 55 50 20 | 54 4c 49 3d 20 61 6c 6c |ETGROUP |TLI= all|
|000010f0| 0a 58 0a 58 23 20 53 75 | 6e 4f 53 20 73 74 6f 70 |.X.X# Su|nOS stop|
|00001100| 70 65 64 20 61 74 20 72 | 65 6c 65 61 73 65 20 34 |ped at r|elease 4|
|00001110| 2e 30 2e 78 20 66 6f 72 | 20 74 68 65 20 33 38 36 |.0.x for| the 386|
|00001120| 2e 0a 58 73 75 6e 6f 73 | 34 30 3a 0a 58 09 40 6d |..Xsunos|40:.X.@m|
|00001130| 61 6b 65 20 4c 49 42 53 | 3d 20 52 41 4e 4c 49 42 |ake LIBS|= RANLIB|
|00001140| 3d 72 61 6e 6c 69 62 20 | 41 52 46 4c 41 47 53 3d |=ranlib |ARFLAGS=|
|00001150| 72 76 20 41 55 58 5f 4f | 42 4a 3d 22 73 65 74 65 |rv AUX_O|BJ="sete|
|00001160| 6e 76 2e 6f 20 73 74 72 | 63 61 73 65 63 6d 70 2e |nv.o str|casecmp.|
|00001170| 6f 22 20 5c 0a 58 09 4e | 45 54 47 52 4f 55 50 3d |o" \.X.N|ETGROUP=|
|00001180| 2d 44 4e 45 54 47 52 4f | 55 50 20 54 4c 49 3d 20 |-DNETGRO|UP TLI= |
|00001190| 61 6c 6c 0a 58 0a 58 23 | 20 55 6c 74 72 69 78 20 |all.X.X#| Ultrix |
|000011a0| 69 73 20 6c 69 6b 65 20 | 73 75 6e 6f 73 34 2c 20 |is like |sunos4, |
|000011b0| 6e 65 78 74 2c 20 65 74 | 63 2e 2c 20 62 75 74 20 |next, et|c., but |
|000011c0| 68 61 73 20 6d 69 73 63 | 64 2c 20 74 6f 6f 2e 0a |has misc|d, too..|
|000011d0| 58 75 6c 74 72 69 78 3a | 0a 58 09 40 6d 61 6b 65 |Xultrix:|.X.@make|
|000011e0| 20 4c 49 42 53 3d 20 52 | 41 4e 4c 49 42 3d 72 61 | LIBS= R|ANLIB=ra|
|000011f0| 6e 6c 69 62 20 41 52 46 | 4c 41 47 53 3d 72 76 20 |nlib ARF|LAGS=rv |
|00001200| 41 55 58 5f 4f 42 4a 3d | 73 65 74 65 6e 76 2e 6f |AUX_OBJ=|setenv.o|
|00001210| 20 5c 0a 58 09 4e 45 54 | 47 52 4f 55 50 3d 2d 44 | \.X.NET|GROUP=-D|
|00001220| 4e 45 54 47 52 4f 55 50 | 20 54 4c 49 3d 20 61 6c |NETGROUP| TLI= al|
|00001230| 6c 20 6d 69 73 63 64 0a | 58 0a 58 23 20 46 72 65 |l miscd.|X.X# Fre|
|00001240| 65 20 62 73 64 20 61 6e | 64 20 6c 69 6e 75 78 20 |e bsd an|d linux |
|00001250| 68 61 76 65 20 6e 6f 20 | 4e 49 53 2e 0a 58 33 38 |have no |NIS..X38|
|00001260| 36 62 73 64 20 6e 65 74 | 62 73 64 20 66 72 65 65 |6bsd net|bsd free|
|00001270| 62 73 64 3a 0a 58 09 40 | 6d 61 6b 65 20 4c 49 42 |bsd:.X.@|make LIB|
|00001280| 53 3d 20 52 41 4e 4c 49 | 42 3d 72 61 6e 6c 69 62 |S= RANLI|B=ranlib|
|00001290| 20 41 52 46 4c 41 47 53 | 3d 72 76 20 41 55 58 5f | ARFLAGS|=rv AUX_|
|000012a0| 4f 42 4a 3d 20 4e 45 54 | 47 52 4f 55 50 3d 20 54 |OBJ= NET|GROUP= T|
|000012b0| 4c 49 3d 20 61 6c 6c 0a | 58 0a 58 6c 69 6e 75 78 |LI= all.|X.Xlinux|
|000012c0| 3a 0a 58 09 40 6d 61 6b | 65 20 4c 49 42 53 3d 20 |:.X.@mak|e LIBS= |
|000012d0| 52 41 4e 4c 49 42 3d 72 | 61 6e 6c 69 62 20 41 52 |RANLIB=r|anlib AR|
|000012e0| 46 4c 41 47 53 3d 72 76 | 20 41 55 58 5f 4f 42 4a |FLAGS=rv| AUX_OBJ|
|000012f0| 3d 73 65 74 65 6e 76 2e | 6f 20 5c 0a 58 09 4e 45 |=setenv.|o \.X.NE|
|00001300| 54 47 52 4f 55 50 3d 20 | 54 4c 49 3d 20 45 58 54 |TGROUP= |TLI= EXT|
|00001310| 52 41 5f 43 46 4c 41 47 | 53 3d 22 2d 44 42 52 4f |RA_CFLAG|S="-DBRO|
|00001320| 4b 45 4e 5f 53 4f 5f 4c | 49 4e 47 45 52 22 20 61 |KEN_SO_L|INGER" a|
|00001330| 6c 6c 0a 58 0a 58 23 20 | 54 68 69 73 20 69 73 20 |ll.X.X# |This is |
|00001340| 67 6f 6f 64 20 66 6f 72 | 20 6d 61 6e 79 20 53 59 |good for| many SY|
|00001350| 53 56 2b 42 53 44 20 68 | 79 62 72 69 64 73 20 77 |SV+BSD h|ybrids w|
|00001360| 69 74 68 20 4e 49 53 2c | 20 70 72 6f 62 61 62 6c |ith NIS,| probabl|
|00001370| 79 20 61 6c 73 6f 20 66 | 6f 72 20 48 50 2d 55 58 |y also f|or HP-UX|
|00001380| 20 37 2e 78 2e 0a 58 68 | 70 75 78 20 68 70 75 78 | 7.x..Xh|pux hpux|
|00001390| 38 20 68 70 75 78 39 3a | 0a 58 09 40 6d 61 6b 65 |8 hpux9:|.X.@make|
|000013a0| 20 4c 49 42 53 3d 20 52 | 41 4e 4c 49 42 3d 65 63 | LIBS= R|ANLIB=ec|
|000013b0| 68 6f 20 41 52 46 4c 41 | 47 53 3d 72 76 20 41 55 |ho ARFLA|GS=rv AU|
|000013c0| 58 5f 4f 42 4a 3d 73 65 | 74 65 6e 76 2e 6f 20 5c |X_OBJ=se|tenv.o \|
|000013d0| 0a 58 09 4e 45 54 47 52 | 4f 55 50 3d 2d 44 4e 45 |.X.NETGR|OUP=-DNE|
|000013e0| 54 47 52 4f 55 50 20 54 | 4c 49 3d 20 61 6c 6c 0a |TGROUP T|LI= all.|
|000013f0| 58 0a 58 23 20 49 52 49 | 58 20 34 2e 30 2e 78 20 |X.X# IRI|X 4.0.x |
|00001400| 68 61 73 20 61 20 73 70 | 65 63 69 61 6c 20 61 72 |has a sp|ecial ar|
|00001410| 28 31 29 20 66 6c 61 67 | 2e 0a 58 69 72 69 78 3a |(1) flag|..Xirix:|
|00001420| 0a 58 09 40 6d 61 6b 65 | 20 4c 49 42 53 3d 2d 6c |.X.@make| LIBS=-l|
|00001430| 73 75 6e 20 52 41 4e 4c | 49 42 3d 65 63 68 6f 20 |sun RANL|IB=echo |
|00001440| 41 52 46 4c 41 47 53 3d | 72 76 73 20 41 55 58 5f |ARFLAGS=|rvs AUX_|
|00001450| 4f 42 4a 3d 73 65 74 65 | 6e 76 2e 6f 20 5c 0a 58 |OBJ=sete|nv.o \.X|
|00001460| 09 4e 45 54 47 52 4f 55 | 50 3d 2d 44 4e 45 54 47 |.NETGROU|P=-DNETG|
|00001470| 52 4f 55 50 20 54 4c 49 | 3d 20 61 6c 6c 0a 58 0a |ROUP TLI|= all.X.|
|00001480| 58 23 20 53 75 6e 4f 53 | 20 35 2e 78 20 69 73 20 |X# SunOS| 5.x is |
|00001490| 63 6c 6f 73 65 20 65 6e | 6f 75 67 68 20 74 6f 20 |close en|ough to |
|000014a0| 67 65 6e 65 72 69 63 20 | 53 79 73 74 65 6d 20 56 |generic |System V|
|000014b0| 2e 34 0a 58 73 75 6e 6f | 73 35 20 65 73 69 78 20 |.4.Xsuno|s5 esix |
|000014c0| 73 79 73 76 34 3a 0a 58 | 09 40 6d 61 6b 65 20 4c |sysv4:.X|.@make L|
|000014d0| 49 42 53 3d 22 2d 6c 73 | 6f 63 6b 65 74 20 2d 6c |IBS="-ls|ocket -l|
|000014e0| 6e 73 6c 22 20 52 41 4e | 4c 49 42 3d 65 63 68 6f |nsl" RAN|LIB=echo|
|000014f0| 20 41 52 46 4c 41 47 53 | 3d 72 76 20 5c 0a 58 09 | ARFLAGS|=rv \.X.|
|00001500| 4e 45 54 47 52 4f 55 50 | 3d 2d 44 4e 45 54 47 52 |NETGROUP|=-DNETGR|
|00001510| 4f 55 50 20 41 55 58 5f | 4f 42 4a 3d 73 65 74 65 |OUP AUX_|OBJ=sete|
|00001520| 6e 76 2e 6f 20 54 4c 49 | 3d 2d 44 54 4c 49 20 61 |nv.o TLI|=-DTLI a|
|00001530| 6c 6c 0a 58 0a 58 23 20 | 44 47 2f 55 58 20 35 2e |ll.X.X# |DG/UX 5.|
|00001540| 34 2e 31 20 69 73 20 6c | 69 6b 65 20 53 59 53 56 |4.1 is l|ike SYSV|
|00001550| 2e 34 20 62 75 74 20 73 | 6c 69 67 68 74 6c 79 20 |.4 but s|lightly |
|00001560| 64 69 66 66 65 72 65 6e | 74 2e 0a 58 64 67 75 78 |differen|t..Xdgux|
|00001570| 3a 0a 58 09 40 6d 61 6b | 65 20 4c 49 42 53 3d 2d |:.X.@mak|e LIBS=-|
|00001580| 6c 6e 73 6c 20 52 41 4e | 4c 49 42 3d 65 63 68 6f |lnsl RAN|LIB=echo|
|00001590| 20 41 52 46 4c 41 47 53 | 3d 72 76 20 5c 0a 58 09 | ARFLAGS|=rv \.X.|
|000015a0| 4e 45 54 47 52 4f 55 50 | 3d 2d 44 4e 45 54 47 52 |NETGROUP|=-DNETGR|
|000015b0| 4f 55 50 20 41 55 58 5f | 4f 42 4a 3d 73 65 74 65 |OUP AUX_|OBJ=sete|
|000015c0| 6e 76 2e 6f 20 54 4c 49 | 3d 2d 44 54 4c 49 20 5c |nv.o TLI|=-DTLI \|
|000015d0| 0a 58 09 42 55 47 53 3d | 22 24 28 42 55 47 53 29 |.X.BUGS=|"$(BUGS)|
|000015e0| 20 2d 44 49 4e 45 54 5f | 41 44 44 52 5f 42 55 47 | -DINET_|ADDR_BUG|
|000015f0| 22 20 61 6c 6c 0a 58 0a | 58 23 20 55 6e 74 65 73 |" all.X.|X# Untes|
|00001600| 74 65 64 20 74 65 6d 70 | 6c 61 74 65 73 2e 20 54 |ted temp|lates. T|
|00001610| 68 65 20 77 72 61 70 70 | 65 72 20 69 73 20 6b 6e |he wrapp|er is kn|
|00001620| 6f 77 6e 20 74 6f 20 72 | 75 6e 20 6f 6e 20 74 68 |own to r|un on th|
|00001630| 65 73 65 20 73 79 73 74 | 65 6d 73 2c 20 49 20 6a |ese syst|ems, I j|
|00001640| 75 73 74 0a 58 23 20 64 | 6f 6e 27 74 20 68 61 76 |ust.X# d|on't hav|
|00001650| 65 20 73 75 66 66 69 63 | 69 65 6e 74 20 74 69 6d |e suffic|ient tim|
|00001660| 65 2b 64 65 74 61 69 6c | 73 20 74 6f 20 70 72 65 |e+detail|s to pre|
|00001670| 70 61 72 65 20 63 6f 6d | 70 6c 65 74 65 20 6d 61 |pare com|plete ma|
|00001680| 6b 65 66 69 6c 65 20 74 | 65 6d 70 6c 61 74 65 73 |kefile t|emplates|
|00001690| 2e 0a 58 0a 58 70 74 78 | 3a 0a 58 09 40 65 63 68 |..X.Xptx|:.X.@ech|
|000016a0| 6f 20 22 57 61 72 6e 69 | 6e 67 3a 20 74 68 65 20 |o "Warni|ng: the |
|000016b0| 41 55 58 5f 4f 42 4a 20 | 61 6e 64 2f 6f 72 20 4e |AUX_OBJ |and/or N|
|000016c0| 45 54 47 52 4f 55 50 20 | 64 65 66 69 6e 69 74 69 |ETGROUP |definiti|
|000016d0| 6f 6e 73 20 6d 61 79 20 | 62 65 20 77 72 6f 6e 67 |ons may |be wrong|
|000016e0| 2e 22 0a 58 09 6d 61 6b | 65 20 4c 49 42 53 3d 22 |.".X.mak|e LIBS="|
|000016f0| 2d 6c 73 6f 63 6b 65 74 | 20 2d 6c 69 6e 65 74 20 |-lsocket| -linet |
|00001700| 2d 6c 6e 73 6c 20 2d 6c | 6e 66 73 22 20 52 41 4e |-lnsl -l|nfs" RAN|
|00001710| 4c 49 42 3d 65 63 68 6f | 20 41 52 46 4c 41 47 53 |LIB=echo| ARFLAGS|
|00001720| 3d 72 76 20 5c 0a 58 09 | 41 55 58 5f 4f 42 4a 3d |=rv \.X.|AUX_OBJ=|
|00001730| 22 73 65 74 65 6e 76 2e | 6f 20 73 74 72 63 61 73 |"setenv.|o strcas|
|00001740| 65 63 6d 70 2e 6f 22 20 | 4e 45 54 47 52 4f 55 50 |ecmp.o" |NETGROUP|
|00001750| 3d 20 54 4c 49 3d 2d 44 | 54 4c 49 20 61 6c 6c 0a |= TLI=-D|TLI all.|
|00001760| 58 0a 58 69 73 63 3a 0a | 58 09 40 65 63 68 6f 20 |X.Xisc:.|X.@echo |
|00001770| 22 57 61 72 6e 69 6e 67 | 3a 20 74 68 65 20 41 55 |"Warning|: the AU|
|00001780| 58 5f 4f 42 4a 20 61 6e | 64 2f 6f 72 20 4e 45 54 |X_OBJ an|d/or NET|
|00001790| 47 52 4f 55 50 20 64 65 | 66 69 6e 69 74 69 6f 6e |GROUP de|finition|
|000017a0| 73 20 6d 61 79 20 62 65 | 20 77 72 6f 6e 67 2e 22 |s may be| wrong."|
|000017b0| 0a 58 09 6d 61 6b 65 20 | 4c 49 42 53 3d 22 2d 6c |.X.make |LIBS="-l|
|000017c0| 69 6e 65 74 20 2d 6c 6e | 73 6c 5f 73 20 2d 6c 64 |inet -ln|sl_s -ld|
|000017d0| 62 6d 22 20 52 41 4e 4c | 49 42 3d 65 63 68 6f 20 |bm" RANL|IB=echo |
|000017e0| 41 52 46 4c 41 47 53 3d | 72 76 20 5c 0a 58 09 41 |ARFLAGS=|rv \.X.A|
|000017f0| 55 58 5f 4f 42 4a 3d 22 | 73 65 74 65 6e 76 2e 6f |UX_OBJ="|setenv.o|
|00001800| 20 73 74 72 63 61 73 65 | 63 6d 70 2e 6f 22 20 4e | strcase|cmp.o" N|
|00001810| 45 54 47 52 4f 55 50 3d | 20 54 4c 49 3d 20 61 6c |ETGROUP=| TLI= al|
|00001820| 6c 0a 58 0a 58 75 6e 69 | 63 6f 73 3a 0a 58 09 40 |l.X.Xuni|cos:.X.@|
|00001830| 65 63 68 6f 20 22 57 61 | 72 6e 69 6e 67 3a 20 73 |echo "Wa|rning: s|
|00001840| 6f 6d 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 20 |ome defi|nitions |
|00001850| 6d 61 79 20 62 65 20 77 | 72 6f 6e 67 2e 22 0a 58 |may be w|rong.".X|
|00001860| 09 6d 61 6b 65 20 4c 49 | 42 53 3d 2d 6c 6e 65 74 |.make LI|BS=-lnet|
|00001870| 20 52 41 4e 4c 49 42 3d | 65 63 68 6f 20 41 52 46 | RANLIB=|echo ARF|
|00001880| 4c 41 47 53 3d 72 76 20 | 5c 0a 58 09 41 55 58 5f |LAGS=rv |\.X.AUX_|
|00001890| 4f 42 4a 3d 22 73 65 74 | 65 6e 76 2e 6f 20 73 74 |OBJ="set|env.o st|
|000018a0| 72 63 61 73 65 63 6d 70 | 2e 6f 22 20 4e 45 54 47 |rcasecmp|.o" NETG|
|000018b0| 52 4f 55 50 3d 20 54 4c | 49 3d 20 61 6c 6c 0a 58 |ROUP= TL|I= all.X|
|000018c0| 0a 58 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X######|########|
|000018d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000018e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000018f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001900| 23 0a 58 23 20 53 79 73 | 74 65 6d 20 64 65 70 65 |#.X# Sys|tem depe|
|00001910| 6e 64 65 6e 63 69 65 73 | 3a 20 54 4c 49 20 28 74 |ndencies|: TLI (t|
|00001920| 72 61 6e 73 70 6f 72 74 | 2d 6c 65 76 65 6c 20 69 |ransport|-level i|
|00001930| 6e 74 65 72 66 61 63 65 | 29 20 73 75 70 70 6f 72 |nterface|) suppor|
|00001940| 74 2e 0a 58 23 20 0a 58 | 23 20 55 6e 63 6f 6d 6d |t..X# .X|# Uncomm|
|00001950| 65 6e 74 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ent the |followin|
|00001960| 67 20 6d 61 63 72 6f 20 | 69 66 20 79 6f 75 72 20 |g macro |if your |
|00001970| 73 79 73 74 65 6d 20 68 | 61 73 20 53 79 73 74 65 |system h|as Syste|
|00001980| 6d 20 56 2e 34 2d 73 74 | 79 6c 65 20 54 4c 49 0a |m V.4-st|yle TLI.|
|00001990| 58 23 20 73 75 70 70 6f | 72 74 20 28 2f 75 73 72 |X# suppo|rt (/usr|
|000019a0| 2f 69 6e 63 6c 75 64 65 | 2f 73 79 73 2f 74 69 6d |/include|/sys/tim|
|000019b0| 6f 64 2e 68 2c 20 2f 65 | 74 63 2f 6e 65 74 63 6f |od.h, /e|tc/netco|
|000019c0| 6e 66 69 67 2c 20 61 6e | 64 20 74 68 65 20 6e 65 |nfig, an|d the ne|
|000019d0| 74 64 69 72 28 33 29 0a | 58 23 20 72 6f 75 74 69 |tdir(3).|X# routi|
|000019e0| 6e 65 73 29 2e 0a 58 23 | 0a 58 23 54 4c 49 09 3d |nes)..X#|.X#TLI.=|
|000019f0| 20 2d 44 54 4c 49 0a 58 | 0a 58 23 23 23 23 23 23 | -DTLI.X|.X######|
|00001a00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a40| 23 23 23 23 23 23 23 23 | 23 0a 58 23 20 53 79 73 |########|#.X# Sys|
|00001a50| 74 65 6d 20 64 65 70 65 | 6e 64 65 6e 63 69 65 73 |tem depe|ndencies|
|00001a60| 3a 20 64 69 66 66 65 72 | 65 6e 63 65 73 20 62 65 |: differ|ences be|
|00001a70| 74 77 65 65 6e 20 72 61 | 6e 6c 69 62 28 31 29 20 |tween ra|nlib(1) |
|00001a80| 61 6e 64 20 61 72 28 31 | 29 20 69 6d 70 6c 65 6d |and ar(1|) implem|
|00001a90| 65 6e 74 61 74 69 6f 6e | 73 2e 0a 58 23 0a 58 23 |entation|s..X#.X#|
|00001aa0| 20 53 6f 6d 65 20 43 20 | 63 6f 6d 70 69 6c 65 72 | Some C |compiler|
|00001ab0| 73 20 28 55 6c 74 72 69 | 78 20 34 2e 78 29 20 69 |s (Ultri|x 4.x) i|
|00001ac0| 6e 73 69 73 74 20 74 68 | 61 74 20 72 61 6e 6c 69 |nsist th|at ranli|
|00001ad0| 62 28 31 29 20 62 65 20 | 72 75 6e 20 6f 6e 20 61 |b(1) be |run on a|
|00001ae0| 6e 20 6f 62 6a 65 63 74 | 0a 58 23 20 6c 69 62 72 |n object|.X# libr|
|00001af0| 61 72 79 3b 20 73 6f 6d | 65 20 64 6f 6e 27 74 20 |ary; som|e don't |
|00001b00| 63 61 72 65 20 61 73 20 | 6c 6f 6e 67 20 61 73 20 |care as |long as |
|00001b10| 74 68 65 20 6d 6f 64 75 | 6c 65 73 20 61 72 65 20 |the modu|les are |
|00001b20| 69 6e 20 74 68 65 20 72 | 69 67 68 74 20 6f 72 64 |in the r|ight ord|
|00001b30| 65 72 3b 0a 58 23 20 73 | 6f 6d 65 20 73 79 73 74 |er;.X# s|ome syst|
|00001b40| 65 6d 73 20 64 6f 6e 27 | 74 20 65 76 65 6e 20 68 |ems don'|t even h|
|00001b50| 61 76 65 20 61 20 72 61 | 6e 6c 69 62 28 31 29 20 |ave a ra|nlib(1) |
|00001b60| 63 6f 6d 6d 61 6e 64 2e | 20 4d 61 6b 65 20 79 6f |command.| Make yo|
|00001b70| 75 72 20 63 68 6f 69 63 | 65 2e 0a 58 0a 58 52 41 |ur choic|e..X.XRA|
|00001b80| 4e 4c 49 42 09 3d 20 72 | 61 6e 6c 69 62 09 23 20 |NLIB.= r|anlib.# |
|00001b90| 68 61 76 65 20 72 61 6e | 6c 69 62 20 28 42 53 44 |have ran|lib (BSD|
|00001ba0| 2d 69 73 68 20 55 4e 49 | 58 29 0a 58 23 52 41 4e |-ish UNI|X).X#RAN|
|00001bb0| 4c 49 42 09 3d 20 65 63 | 68 6f 09 09 23 20 6e 6f |LIB.= ec|ho..# no|
|00001bc0| 20 72 61 6e 6c 69 62 20 | 28 53 59 53 56 2d 69 73 | ranlib |(SYSV-is|
|00001bd0| 68 20 55 4e 49 58 29 0a | 58 0a 58 41 52 46 4c 41 |h UNIX).|X.XARFLA|
|00001be0| 47 53 09 3d 20 72 76 09 | 09 23 20 6d 6f 73 74 20 |GS.= rv.|.# most |
|00001bf0| 73 79 73 74 65 6d 73 0a | 58 23 41 52 46 4c 41 47 |systems.|X#ARFLAG|
|00001c00| 53 3d 20 72 76 73 09 09 | 23 20 49 52 49 58 20 34 |S= rvs..|# IRIX 4|
|00001c10| 2e 30 2e 78 0a 58 0a 58 | 23 23 23 23 23 23 23 23 |.0.x.X.X|########|
|00001c20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001c30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001c40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001c50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001c60| 23 23 23 23 23 0a 58 23 | 20 53 79 73 74 65 6d 20 |#####.X#| System |
|00001c70| 64 65 70 65 6e 64 65 6e | 63 69 65 73 3a 20 72 6f |dependen|cies: ro|
|00001c80| 75 74 69 6e 65 73 20 74 | 68 61 74 20 61 72 65 20 |utines t|hat are |
|00001c90| 6e 6f 74 20 70 72 65 73 | 65 6e 74 20 69 6e 20 74 |not pres|ent in t|
|00001ca0| 68 65 20 73 79 73 74 65 | 6d 20 6c 69 62 72 61 72 |he syste|m librar|
|00001cb0| 69 65 73 2e 0a 58 23 20 | 0a 58 23 20 49 66 20 79 |ies..X# |.X# If y|
|00001cc0| 6f 75 72 20 73 79 73 74 | 65 6d 20 6c 69 62 72 61 |our syst|em libra|
|00001cd0| 72 79 20 64 6f 65 73 20 | 6e 6f 74 20 68 61 76 65 |ry does |not have|
|00001ce0| 20 73 65 74 65 6e 76 28 | 29 2c 20 73 74 72 63 61 | setenv(|), strca|
|00001cf0| 73 65 63 6d 70 28 29 20 | 6f 72 20 73 74 72 74 6f |secmp() |or strto|
|00001d00| 6b 28 29 2c 0a 58 23 20 | 75 73 65 20 74 68 65 20 |k(),.X# |use the |
|00001d10| 6f 6e 65 73 20 70 72 6f | 76 69 64 65 64 20 77 69 |ones pro|vided wi|
|00001d20| 74 68 20 74 68 69 73 20 | 73 6f 75 72 63 65 20 64 |th this |source d|
|00001d30| 69 73 74 72 69 62 75 74 | 69 6f 6e 2e 0a 58 0a 58 |istribut|ion..X.X|
|00001d40| 41 55 58 5f 4f 42 4a 3d | 20 73 65 74 65 6e 76 2e |AUX_OBJ=| setenv.|
|00001d50| 6f 0a 58 23 41 55 58 5f | 4f 42 4a 3d 20 73 65 74 |o.X#AUX_|OBJ= set|
|00001d60| 65 6e 76 2e 6f 20 73 74 | 72 63 61 73 65 63 6d 70 |env.o st|rcasecmp|
|00001d70| 2e 6f 0a 58 23 41 55 58 | 5f 4f 42 4a 3d 20 73 65 |.o.X#AUX|_OBJ= se|
|00001d80| 74 65 6e 76 2e 6f 20 73 | 74 72 63 61 73 65 63 6d |tenv.o s|trcasecm|
|00001d90| 70 2e 6f 20 73 74 72 74 | 6f 6b 2e 6f 0a 58 0a 58 |p.o strt|ok.o.X.X|
|00001da0| 23 20 55 6e 63 6f 6d 6d | 65 6e 74 20 74 68 65 20 |# Uncomm|ent the |
|00001db0| 66 6f 6c 6c 6f 77 69 6e | 67 20 69 66 20 79 6f 75 |followin|g if you|
|00001dc0| 72 20 43 20 6c 69 62 72 | 61 72 79 20 64 6f 65 73 |r C libr|ary does|
|00001dd0| 20 6e 6f 74 20 70 72 6f | 76 69 64 65 20 74 68 65 | not pro|vide the|
|00001de0| 0a 58 23 20 73 74 72 63 | 68 72 2f 73 74 72 72 63 |.X# strc|hr/strrc|
|00001df0| 68 72 2f 6d 65 6d 63 6d | 70 20 72 6f 75 74 69 6e |hr/memcm|p routin|
|00001e00| 65 73 2c 20 62 75 74 20 | 63 6f 6d 65 73 20 77 69 |es, but |comes wi|
|00001e10| 74 68 20 69 6e 64 65 78 | 2f 72 69 6e 64 65 78 2f |th index|/rindex/|
|00001e20| 62 63 6d 70 2e 20 20 49 | 66 0a 58 23 20 74 68 61 |bcmp. I|f.X# tha|
|00001e30| 74 20 69 73 20 74 68 65 | 20 63 61 73 65 2c 20 79 |t is the| case, y|
|00001e40| 6f 75 20 70 72 6f 62 61 | 62 6c 79 20 61 6c 73 6f |ou proba|bly also|
|00001e50| 20 64 6f 20 6e 6f 74 20 | 68 61 76 65 20 73 74 72 | do not |have str|
|00001e60| 74 6f 6b 28 29 20 28 73 | 65 65 20 61 62 6f 76 65 |tok() (s|ee above|
|00001e70| 29 2e 0a 58 23 0a 58 23 | 53 54 52 49 4e 47 53 3d |)..X#.X#|STRINGS=|
|00001e80| 20 2d 44 73 74 72 63 68 | 72 3d 69 6e 64 65 78 20 | -Dstrch|r=index |
|00001e90| 2d 44 73 74 72 72 63 68 | 72 3d 72 69 6e 64 65 78 |-Dstrrch|r=rindex|
|00001ea0| 20 2d 44 6d 65 6d 63 6d | 70 3d 62 63 6d 70 0a 58 | -Dmemcm|p=bcmp.X|
|00001eb0| 0a 58 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X######|########|
|00001ec0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001ed0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001ee0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001ef0| 23 23 23 0a 58 23 20 53 | 79 73 74 65 6d 20 64 65 |###.X# S|ystem de|
|00001f00| 70 65 6e 64 65 6e 63 69 | 65 73 3a 20 73 65 6c 65 |pendenci|es: sele|
|00001f10| 63 74 69 6f 6e 20 6f 66 | 20 6e 6f 6e 2d 64 65 66 |ction of| non-def|
|00001f20| 61 75 6c 74 20 6f 62 6a | 65 63 74 20 6c 69 62 72 |ault obj|ect libr|
|00001f30| 61 72 69 65 73 2e 0a 58 | 23 0a 58 23 20 4d 6f 73 |aries..X|#.X# Mos|
|00001f40| 74 20 53 79 73 74 65 6d | 20 56 20 69 6d 70 6c 65 |t System| V imple|
|00001f50| 6d 65 6e 74 61 74 69 6f | 6e 73 20 72 65 71 75 69 |mentatio|ns requi|
|00001f60| 72 65 20 74 68 61 74 20 | 79 6f 75 20 65 78 70 6c |re that |you expl|
|00001f70| 69 63 69 74 6c 79 20 73 | 70 65 63 69 66 79 20 74 |icitly s|pecify t|
|00001f80| 68 65 0a 58 23 20 6e 65 | 74 77 6f 72 6b 69 6e 67 |he.X# ne|tworking|
|00001f90| 20 6c 69 62 72 61 72 69 | 65 73 2e 20 54 68 65 72 | librari|es. Ther|
|00001fa0| 65 20 69 73 20 6e 6f 20 | 67 65 6e 65 72 61 6c 20 |e is no |general |
|00001fb0| 63 6f 6e 73 65 6e 73 75 | 73 2c 20 74 68 6f 75 67 |consensu|s, thoug|
|00001fc0| 68 2e 0a 58 23 0a 58 23 | 4c 49 42 53 09 3d 20 2d |h..X#.X#|LIBS.= -|
|00001fd0| 6c 73 6f 63 6b 65 74 20 | 2d 6c 6e 73 6c 09 09 23 |lsocket |-lnsl..#|
|00001fe0| 20 53 79 73 56 2e 34 20 | 53 6f 6c 61 72 69 73 20 | SysV.4 |Solaris |
|00001ff0| 32 2e 78 0a 58 23 4c 49 | 42 53 09 3d 20 2d 6c 73 |2.x.X#LI|BS.= -ls|
|00002000| 75 6e 09 09 09 09 23 20 | 49 52 49 58 0a 58 23 4c |un....# |IRIX.X#L|
|00002010| 49 42 53 09 3d 20 2d 6c | 73 6f 63 6b 65 74 20 2d |IBS.= -l|socket -|
|00002020| 6c 69 6e 65 74 20 2d 6c | 6e 73 6c 20 2d 6c 6e 66 |linet -l|nsl -lnf|
|00002030| 73 09 23 20 50 54 58 0a | 58 23 4c 49 42 53 09 3d |s.# PTX.|X#LIBS.=|
|00002040| 20 2d 6c 69 6e 65 74 20 | 2d 6c 6e 73 6c 5f 73 20 | -linet |-lnsl_s |
|00002050| 2d 6c 64 62 6d 09 09 23 | 20 49 53 43 0a 58 23 4c |-ldbm..#| ISC.X#L|
|00002060| 49 42 53 09 3d 20 2d 6c | 6e 65 74 09 09 09 09 23 |IBS.= -l|net....#|
|00002070| 20 55 6e 69 63 6f 73 0a | 58 23 4c 49 42 53 09 3d | Unicos.|X#LIBS.=|
|00002080| 20 2d 6c 69 6e 65 74 20 | 2d 6c 73 79 73 6c 6f 67 | -linet |-lsyslog|
|00002090| 20 2d 6c 64 62 6d 0a 58 | 23 4c 49 42 53 09 3d 20 | -ldbm.X|#LIBS.= |
|000020a0| 2d 6c 73 79 73 6c 6f 67 | 20 2d 6c 73 6f 63 6b 65 |-lsyslog| -lsocke|
|000020b0| 74 20 2d 6c 6e 73 6c 0a | 58 0a 58 23 23 23 23 23 |t -lnsl.|X.X#####|
|000020c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000020d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000020e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000020f0| 23 0a 58 23 20 53 79 73 | 74 65 6d 20 64 65 70 65 |#.X# Sys|tem depe|
|00002100| 6e 64 65 6e 63 69 65 73 | 3a 20 73 79 73 74 65 6d |ndencies|: system|
|00002110| 2d 73 70 65 63 69 66 69 | 63 20 63 6f 6d 70 69 6c |-specifi|c compil|
|00002120| 65 72 20 66 6c 61 67 73 | 2e 0a 58 23 0a 58 23 20 |er flags|..X#.X# |
|00002130| 41 70 6f 6c 6c 6f 20 44 | 6f 6d 61 69 6e 2f 4f 53 |Apollo D|omain/OS|
|00002140| 20 6f 66 66 65 72 73 20 | 62 6f 74 68 20 62 73 64 | offers |both bsd|
|00002150| 20 61 6e 64 20 73 79 73 | 35 20 65 6e 76 69 72 6f | and sys|5 enviro|
|00002160| 6e 6d 65 6e 74 73 2c 20 | 73 6f 6d 65 74 69 6d 65 |nments, |sometime|
|00002170| 73 0a 58 23 20 6f 6e 20 | 74 68 65 20 73 61 6d 65 |s.X# on |the same|
|00002180| 20 6d 61 63 68 69 6e 65 | 2e 20 20 49 66 20 79 6f | machine|. If yo|
|00002190| 75 72 20 41 70 6f 6c 6c | 6f 20 69 73 20 70 72 69 |ur Apoll|o is pri|
|000021a0| 6d 61 72 69 6c 79 20 73 | 79 73 35 2e 33 20 61 6e |marily s|ys5.3 an|
|000021b0| 64 20 61 6c 73 6f 0a 58 | 23 20 68 61 73 20 62 73 |d also.X|# has bs|
|000021c0| 64 34 2e 33 2c 20 75 6e | 63 6f 6d 6d 65 6e 74 20 |d4.3, un|comment |
|000021d0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 6f |the foll|owing to|
|000021e0| 20 62 75 69 6c 64 20 75 | 6e 64 65 72 20 62 73 64 | build u|nder bsd|
|000021f0| 20 61 6e 64 20 72 75 6e | 20 75 6e 64 65 72 0a 58 | and run| under.X|
|00002200| 23 20 65 69 74 68 65 72 | 20 65 6e 76 69 72 6f 6e |# either| environ|
|00002210| 6d 65 6e 74 2e 0a 58 23 | 0a 58 23 53 59 53 54 59 |ment..X#|.X#SYSTY|
|00002220| 50 45 3d 20 2d 41 20 72 | 75 6e 2c 61 6e 79 20 2d |PE= -A r|un,any -|
|00002230| 41 20 73 79 73 2c 61 6e | 79 0a 58 0a 58 23 20 46 |A sys,an|y.X.X# F|
|00002240| 6f 72 20 4d 49 50 53 20 | 52 49 53 43 2f 6f 73 20 |or MIPS |RISC/os |
|00002250| 34 5f 35 32 2e 70 33 2c | 20 75 6e 63 6f 6d 6d 65 |4_52.p3,| uncomme|
|00002260| 6e 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |nt the f|ollowing|
|00002270| 20 64 65 66 69 6e 69 74 | 69 6f 6e 2e 0a 58 23 0a | definit|ion..X#.|
|00002280| 58 23 53 59 53 54 59 50 | 45 3d 20 2d 73 79 73 6e |X#SYSTYP|E= -sysn|
|00002290| 61 6d 65 20 62 73 64 34 | 33 0a 58 0a 58 23 23 23 |ame bsd4|3.X.X###|
|000022a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000022b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000022c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 0a |########|#######.|
|000022d0| 58 23 20 53 79 73 74 65 | 6d 20 64 65 70 65 6e 64 |X# Syste|m depend|
|000022e0| 65 6e 63 69 65 73 3a 20 | 77 6f 72 6b 69 6e 67 20 |encies: |working |
|000022f0| 61 72 6f 75 6e 64 20 73 | 79 73 74 65 6d 20 62 75 |around s|ystem bu|
|00002300| 67 73 2e 0a 58 23 0a 58 | 23 20 2d 44 47 45 54 50 |gs..X#.X|# -DGETP|
|00002310| 45 45 52 4e 41 4d 45 5f | 42 55 47 20 77 6f 72 6b |EERNAME_|BUG work|
|00002320| 73 20 61 72 6f 75 6e 64 | 20 61 20 67 65 74 70 65 |s around| a getpe|
|00002330| 65 72 6e 61 6d 65 28 32 | 29 20 62 75 67 20 69 6e |ername(2|) bug in|
|00002340| 20 73 6f 6d 65 20 76 65 | 72 73 69 6f 6e 73 20 6f | some ve|rsions o|
|00002350| 66 0a 58 23 20 41 70 6f | 6c 6c 6f 20 6f 72 20 53 |f.X# Apo|llo or S|
|00002360| 59 53 56 2e 34 20 55 4e | 49 58 3a 20 20 74 68 65 |YSV.4 UN|IX: the|
|00002370| 20 77 72 61 70 70 65 72 | 20 77 6f 75 6c 64 20 72 | wrapper| would r|
|00002380| 65 70 6f 72 74 20 74 68 | 61 74 20 61 6c 6c 20 55 |eport th|at all U|
|00002390| 44 50 20 72 65 71 75 65 | 73 74 73 0a 58 23 20 63 |DP reque|sts.X# c|
|000023a0| 6f 6d 65 20 66 72 6f 6d | 20 61 64 64 72 65 73 73 |ome from| address|
|000023b0| 20 30 2e 30 2e 30 2e 30 | 2e 20 54 68 65 20 77 6f | 0.0.0.0|. The wo|
|000023c0| 72 6b 61 72 6f 75 6e 64 | 20 64 6f 65 73 20 6e 6f |rkaround| does no|
|000023d0| 20 68 61 72 6d 20 6f 6e | 20 6f 74 68 65 72 20 73 | harm on| other s|
|000023e0| 79 73 74 65 6d 73 2e 0a | 58 23 0a 58 23 20 2d 44 |ystems..|X#.X# -D|
|000023f0| 42 52 4f 4b 45 4e 5f 46 | 47 45 54 53 20 77 6f 72 |BROKEN_F|GETS wor|
|00002400| 6b 73 20 61 72 6f 75 6e | 64 20 61 6e 20 66 67 65 |ks aroun|d an fge|
|00002410| 74 73 28 33 29 20 62 75 | 67 20 69 6e 20 73 6f 6d |ts(3) bu|g in som|
|00002420| 65 20 53 79 73 74 65 6d | 20 56 20 76 65 72 73 69 |e System| V versi|
|00002430| 6f 6e 73 0a 58 23 20 28 | 49 52 49 58 29 3a 20 20 |ons.X# (|IRIX): |
|00002440| 66 67 65 74 73 28 29 20 | 67 69 76 65 73 20 75 70 |fgets() |gives up|
|00002450| 20 74 6f 6f 20 66 61 73 | 74 20 77 68 65 6e 20 72 | too fas|t when r|
|00002460| 65 61 64 69 6e 67 20 66 | 72 6f 6d 20 61 20 6e 65 |eading f|rom a ne|
|00002470| 74 77 6f 72 6b 20 73 6f | 63 6b 65 74 2e 0a 58 23 |twork so|cket..X#|
|00002480| 20 54 68 65 20 77 6f 72 | 6b 61 72 6f 75 6e 64 20 | The wor|karound |
|00002490| 64 6f 65 73 20 6e 6f 20 | 68 61 72 6d 20 6f 6e 20 |does no |harm on |
|000024a0| 6f 74 68 65 72 20 73 79 | 73 74 65 6d 73 2e 0a 58 |other sy|stems..X|
|000024b0| 23 0a 58 23 20 44 47 2f | 55 58 20 35 2e 34 2e 31 |#.X# DG/|UX 5.4.1|
|000024c0| 20 63 6f 6d 65 73 20 77 | 69 74 68 20 61 6e 20 69 | comes w|ith an i|
|000024d0| 6e 65 74 5f 6e 74 6f 61 | 28 29 20 66 75 6e 63 74 |net_ntoa|() funct|
|000024e0| 69 6f 6e 20 74 68 61 74 | 20 72 65 74 75 72 6e 73 |ion that| returns|
|000024f0| 20 61 20 73 74 72 75 63 | 74 75 72 65 0a 58 23 20 | a struc|ture.X# |
|00002500| 69 6e 73 74 65 61 64 20 | 6f 66 20 61 20 6c 6f 6e |instead |of a lon|
|00002510| 67 20 69 6e 74 65 67 65 | 72 2e 20 43 6f 6d 70 69 |g intege|r. Compi|
|00002520| 6c 65 20 77 69 74 68 20 | 2d 44 49 4e 45 54 5f 41 |le with |-DINET_A|
|00002530| 44 44 52 5f 42 55 47 20 | 74 6f 20 77 6f 72 6b 20 |DDR_BUG |to work |
|00002540| 61 72 6f 75 6e 64 0a 58 | 23 20 74 68 69 73 20 6d |around.X|# this m|
|00002550| 75 74 61 6e 74 20 62 65 | 68 61 76 6f 75 72 2e 0a |utant be|havour..|
|00002560| 58 0a 58 42 55 47 53 20 | 3d 20 2d 44 47 45 54 50 |X.XBUGS |= -DGETP|
|00002570| 45 45 52 4e 41 4d 45 5f | 42 55 47 20 2d 44 42 52 |EERNAME_|BUG -DBR|
|00002580| 4f 4b 45 4e 5f 46 47 45 | 54 53 0a 58 23 42 55 47 |OKEN_FGE|TS.X#BUG|
|00002590| 53 20 3d 20 2d 44 47 45 | 54 50 45 45 52 4e 41 4d |S = -DGE|TPEERNAM|
|000025a0| 45 5f 42 55 47 20 2d 44 | 42 52 4f 4b 45 4e 5f 46 |E_BUG -D|BROKEN_F|
|000025b0| 47 45 54 53 20 2d 44 49 | 4e 45 54 5f 41 44 44 52 |GETS -DI|NET_ADDR|
|000025c0| 5f 42 55 47 0a 58 0a 58 | 23 23 23 23 23 23 23 23 |_BUG.X.X|########|
|000025d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000025e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000025f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002600| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002610| 23 23 0a 58 23 20 53 79 | 73 74 65 6d 20 64 65 70 |##.X# Sy|stem dep|
|00002620| 65 6e 64 65 6e 63 69 65 | 73 3a 20 77 68 65 74 68 |endencie|s: wheth|
|00002630| 65 72 20 6f 72 20 6e 6f | 74 20 79 6f 75 72 20 73 |er or no|t your s|
|00002640| 79 73 74 65 6d 20 68 61 | 73 20 4e 49 53 20 28 6f |ystem ha|s NIS (o|
|00002650| 72 20 59 50 29 20 73 75 | 70 70 6f 72 74 2e 0a 58 |r YP) su|pport..X|
|00002660| 23 0a 58 23 20 49 66 20 | 79 6f 75 72 20 73 79 73 |#.X# If |your sys|
|00002670| 74 65 6d 20 73 75 70 70 | 6f 72 74 73 20 4e 49 53 |tem supp|orts NIS|
|00002680| 20 6f 72 20 59 50 2d 73 | 74 79 6c 65 20 6e 65 74 | or YP-s|tyle net|
|00002690| 67 72 6f 75 70 73 2c 20 | 65 6e 61 62 6c 65 20 74 |groups, |enable t|
|000026a0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 0a 58 23 20 |he follo|wing.X# |
|000026b0| 6d 61 63 72 6f 20 64 65 | 66 69 6e 69 74 69 6f 6e |macro de|finition|
|000026c0| 2e 20 4e 65 74 67 72 6f | 75 70 73 20 61 72 65 20 |. Netgro|ups are |
|000026d0| 75 73 65 64 20 6f 6e 6c | 79 20 66 6f 72 20 68 6f |used onl|y for ho|
|000026e0| 73 74 20 61 63 63 65 73 | 73 20 63 6f 6e 74 72 6f |st acces|s contro|
|000026f0| 6c 2e 0a 58 23 0a 58 23 | 4e 45 54 47 52 4f 55 50 |l..X#.X#|NETGROUP|
|00002700| 3d 20 2d 44 4e 45 54 47 | 52 4f 55 50 0a 58 0a 58 |= -DNETG|ROUP.X.X|
|00002710| 23 20 45 6e 64 20 6f 66 | 20 74 68 65 20 73 79 73 |# End of| the sys|
|00002720| 74 65 6d 20 64 65 70 65 | 6e 64 65 6e 63 69 65 73 |tem depe|ndencies|
|00002730| 2e 0a 58 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |..X#####|########|
|00002740| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002750| 23 23 23 23 0a 58 0a 58 | 23 23 23 23 23 23 23 23 |####.X.X|########|
|00002760| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002770| 23 23 23 23 23 23 0a 58 | 23 20 53 74 61 72 74 20 |######.X|# Start |
|00002780| 6f 66 20 74 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |of the o|ptional |
|00002790| 73 74 75 66 66 2e 0a 58 | 0a 58 23 23 23 23 23 23 |stuff..X|.X######|
|000027a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000027b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000027c0| 23 23 23 23 23 0a 58 23 | 20 4f 70 74 69 6f 6e 61 |#####.X#| Optiona|
|000027d0| 6c 3a 20 54 75 72 6e 69 | 6e 67 20 6f 6e 20 6c 61 |l: Turni|ng on la|
|000027e0| 6e 67 75 61 67 65 20 65 | 78 74 65 6e 73 69 6f 6e |nguage e|xtension|
|000027f0| 73 0a 58 23 0a 58 23 20 | 49 6e 73 74 65 61 64 20 |s.X#.X# |Instead |
|00002800| 6f 66 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 61 |of the d|efault a|
|00002810| 63 63 65 73 73 20 63 6f | 6e 74 72 6f 6c 20 6c 61 |ccess co|ntrol la|
|00002820| 6e 67 75 61 67 65 20 74 | 68 61 74 20 69 73 20 64 |nguage t|hat is d|
|00002830| 6f 63 75 6d 65 6e 74 65 | 64 20 69 6e 0a 58 23 20 |ocumente|d in.X# |
|00002840| 74 68 65 20 68 6f 73 74 | 73 5f 61 63 63 65 73 73 |the host|s_access|
|00002850| 2e 35 20 64 6f 63 75 6d | 65 6e 74 2c 20 74 68 65 |.5 docum|ent, the|
|00002860| 20 77 72 61 70 70 65 72 | 73 20 63 61 6e 20 62 65 | wrapper|s can be|
|00002870| 20 63 6f 6e 66 69 67 75 | 72 65 64 20 74 6f 0a 58 | configu|red to.X|
|00002880| 23 20 69 6d 70 6c 65 6d | 65 6e 74 20 61 6e 20 65 |# implem|ent an e|
|00002890| 78 74 65 6e 73 69 62 6c | 65 20 6c 61 6e 67 75 61 |xtensibl|e langua|
|000028a0| 67 65 20 64 6f 63 75 6d | 65 6e 74 65 64 20 69 6e |ge docum|ented in|
|000028b0| 20 74 68 65 20 68 6f 73 | 74 73 5f 6f 70 74 69 6f | the hos|ts_optio|
|000028c0| 6e 73 2e 35 0a 58 23 20 | 64 6f 63 75 6d 65 6e 74 |ns.5.X# |document|
|000028d0| 2e 20 20 54 68 69 73 20 | 6c 61 6e 67 75 61 67 65 |. This |language|
|000028e0| 20 69 73 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 | is impl|emented |
|000028f0| 62 79 20 74 68 65 20 22 | 6f 70 74 69 6f 6e 73 2e |by the "|options.|
|00002900| 63 22 20 73 6f 75 72 63 | 65 0a 58 23 20 6d 6f 64 |c" sourc|e.X# mod|
|00002910| 75 6c 65 2c 20 77 68 69 | 63 68 20 61 6c 73 6f 20 |ule, whi|ch also |
|00002920| 67 69 76 65 73 20 68 69 | 6e 74 73 20 6f 6e 20 68 |gives hi|nts on h|
|00002930| 6f 77 20 74 6f 20 61 64 | 64 20 79 6f 75 72 20 6f |ow to ad|d your o|
|00002940| 77 6e 20 65 78 74 65 6e | 73 69 6f 6e 73 2e 0a 58 |wn exten|sions..X|
|00002950| 23 20 55 6e 63 6f 6d 6d | 65 6e 74 20 74 68 65 20 |# Uncomm|ent the |
|00002960| 6e 65 78 74 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |next def|inition |
|00002970| 74 6f 20 74 75 72 6e 20 | 6f 6e 20 74 68 65 20 6c |to turn |on the l|
|00002980| 61 6e 67 75 61 67 65 20 | 65 78 74 65 6e 73 69 6f |anguage |extensio|
|00002990| 6e 73 2e 0a 58 23 20 0a | 58 23 53 54 59 4c 45 09 |ns..X# .|X#STYLE.|
|000029a0| 3d 20 2d 44 50 52 4f 43 | 45 53 53 5f 4f 50 54 49 |= -DPROC|ESS_OPTI|
|000029b0| 4f 4e 53 09 23 20 45 6e | 61 62 6c 65 20 6c 61 6e |ONS.# En|able lan|
|000029c0| 67 75 61 67 65 20 65 78 | 74 65 6e 73 69 6f 6e 73 |guage ex|tensions|
|000029d0| 2e 0a 58 0a 58 23 23 23 | 23 23 23 23 23 23 23 23 |..X.X###|########|
|000029e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000029f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002a00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002a10| 23 23 23 23 23 0a 58 23 | 20 4f 70 74 69 6f 6e 61 |#####.X#| Optiona|
|00002a20| 6c 3a 20 43 68 61 6e 67 | 69 6e 67 20 74 68 65 20 |l: Chang|ing the |
|00002a30| 64 65 66 61 75 6c 74 20 | 64 69 73 70 6f 73 69 74 |default |disposit|
|00002a40| 69 6f 6e 20 6f 66 20 6c | 6f 67 66 69 6c 65 20 72 |ion of l|ogfile r|
|00002a50| 65 63 6f 72 64 73 0a 58 | 23 0a 58 23 20 42 79 20 |ecords.X|#.X# By |
|00002a60| 64 65 66 61 75 6c 74 2c | 20 6c 6f 67 66 69 6c 65 |default,| logfile|
|00002a70| 20 65 6e 74 72 69 65 73 | 20 61 72 65 20 77 72 69 | entries| are wri|
|00002a80| 74 74 65 6e 20 74 6f 20 | 74 68 65 20 73 61 6d 65 |tten to |the same|
|00002a90| 20 66 69 6c 65 20 61 73 | 20 75 73 65 64 20 66 6f | file as| used fo|
|00002aa0| 72 0a 58 23 20 73 65 6e | 64 6d 61 69 6c 20 74 72 |r.X# sen|dmail tr|
|00002ab0| 61 6e 73 61 63 74 69 6f | 6e 20 6c 6f 67 73 2e 20 |ansactio|n logs. |
|00002ac0| 53 65 65 20 79 6f 75 72 | 20 2f 65 74 63 2f 73 79 |See your| /etc/sy|
|00002ad0| 73 6c 6f 67 2e 63 6f 6e | 66 20 66 69 6c 65 20 66 |slog.con|f file f|
|00002ae0| 6f 72 20 61 63 74 75 61 | 6c 0a 58 23 20 70 61 74 |or actua|l.X# pat|
|00002af0| 68 20 6e 61 6d 65 73 20 | 6f 66 20 6c 6f 67 66 69 |h names |of logfi|
|00002b00| 6c 65 73 2e 20 54 68 65 | 20 74 75 74 6f 72 69 61 |les. The| tutoria|
|00002b10| 6c 20 73 65 63 74 69 6f | 6e 20 69 6e 20 74 68 65 |l sectio|n in the|
|00002b20| 20 52 45 41 44 4d 45 20 | 66 69 6c 65 0a 58 23 20 | README |file.X# |
|00002b30| 67 69 76 65 73 20 61 20 | 62 72 69 65 66 20 69 6e |gives a |brief in|
|00002b40| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 74 68 |troducti|on to th|
|00002b50| 65 20 73 79 73 6c 6f 67 | 20 64 61 65 6d 6f 6e 2e |e syslog| daemon.|
|00002b60| 0a 58 23 20 0a 58 23 20 | 43 68 61 6e 67 65 20 74 |.X# .X# |Change t|
|00002b70| 68 65 20 46 41 43 49 4c | 49 54 59 20 64 65 66 69 |he FACIL|ITY defi|
|00002b80| 6e 69 74 69 6f 6e 20 62 | 65 6c 6f 77 20 69 66 20 |nition b|elow if |
|00002b90| 79 6f 75 20 64 69 73 61 | 67 72 65 65 20 77 69 74 |you disa|gree wit|
|00002ba0| 68 20 74 68 65 20 64 65 | 66 61 75 6c 74 0a 58 23 |h the de|fault.X#|
|00002bb0| 20 64 69 73 70 6f 73 69 | 74 69 6f 6e 2e 20 53 6f | disposi|tion. So|
|00002bc0| 6d 65 20 73 79 73 6c 6f | 67 20 76 65 72 73 69 6f |me syslo|g versio|
|00002bd0| 6e 73 20 28 69 6e 63 6c | 75 64 69 6e 67 20 55 6c |ns (incl|uding Ul|
|00002be0| 74 72 69 78 20 34 2e 78 | 29 20 64 6f 20 6e 6f 74 |trix 4.x|) do not|
|00002bf0| 20 70 72 6f 76 69 64 65 | 0a 58 23 20 74 68 69 73 | provide|.X# this|
|00002c00| 20 66 6c 65 78 69 62 69 | 6c 69 74 79 2e 0a 58 23 | flexibi|lity..X#|
|00002c10| 20 0a 58 23 20 49 66 20 | 6e 6f 74 68 69 6e 67 20 | .X# If |nothing |
|00002c20| 73 68 6f 77 73 20 75 70 | 20 6f 6e 20 79 6f 75 72 |shows up| on your|
|00002c30| 20 73 79 73 74 65 6d 2c | 20 69 74 20 6d 61 79 20 | system,| it may |
|00002c40| 62 65 20 74 68 61 74 20 | 74 68 65 20 73 79 73 6c |be that |the sysl|
|00002c50| 6f 67 20 72 65 63 6f 72 | 64 73 0a 58 23 20 61 72 |og recor|ds.X# ar|
|00002c60| 65 20 73 65 6e 74 20 74 | 6f 20 61 20 64 65 64 69 |e sent t|o a dedi|
|00002c70| 63 61 74 65 64 20 6c 6f | 67 68 6f 73 74 2e 20 49 |cated lo|ghost. I|
|00002c80| 74 20 6d 61 79 20 61 6c | 73 6f 20 62 65 20 74 68 |t may al|so be th|
|00002c90| 61 74 20 6e 6f 20 73 79 | 73 6c 6f 67 20 64 61 65 |at no sy|slog dae|
|00002ca0| 6d 6f 6e 0a 58 23 20 69 | 73 20 72 75 6e 6e 69 6e |mon.X# i|s runnin|
|00002cb0| 67 20 61 74 20 61 6c 6c | 2e 20 54 68 65 20 52 45 |g at all|. The RE|
|00002cc0| 41 44 4d 45 20 66 69 6c | 65 20 67 69 76 65 73 20 |ADME fil|e gives |
|00002cd0| 70 6f 69 6e 74 65 72 73 | 20 74 6f 20 73 75 72 72 |pointers| to surr|
|00002ce0| 6f 67 61 74 65 20 73 79 | 73 6c 6f 67 0a 58 23 20 |ogate sy|slog.X# |
|00002cf0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 73 20 |implemen|tations |
|00002d00| 66 6f 72 20 73 79 73 74 | 65 6d 73 20 74 68 61 74 |for syst|ems that|
|00002d10| 20 68 61 76 65 20 6e 6f | 20 73 79 73 6c 6f 67 20 | have no| syslog |
|00002d20| 6c 69 62 72 61 72 79 20 | 72 6f 75 74 69 6e 65 73 |library |routines|
|00002d30| 20 6f 72 0a 58 23 20 6e | 6f 20 73 79 73 6c 6f 67 | or.X# n|o syslog|
|00002d40| 20 64 61 65 6d 6f 6e 73 | 2e 0a 58 23 0a 58 23 20 | daemons|..X#.X# |
|00002d50| 54 68 65 20 4c 4f 47 5f | 58 58 58 20 6e 61 6d 65 |The LOG_|XXX name|
|00002d60| 73 20 62 65 6c 6f 77 20 | 61 72 65 20 74 61 6b 65 |s below |are take|
|00002d70| 6e 20 66 72 6f 6d 20 74 | 68 65 20 2f 75 73 72 2f |n from t|he /usr/|
|00002d80| 69 6e 63 6c 75 64 65 2f | 73 79 73 6c 6f 67 2e 68 |include/|syslog.h|
|00002d90| 20 66 69 6c 65 2e 0a 58 | 0a 58 46 41 43 49 4c 49 | file..X|.XFACILI|
|00002da0| 54 59 3d 20 4c 4f 47 5f | 4d 41 49 4c 09 23 20 4c |TY= LOG_|MAIL.# L|
|00002db0| 4f 47 5f 4d 41 49 4c 20 | 69 73 20 77 68 61 74 20 |OG_MAIL |is what |
|00002dc0| 6d 6f 73 74 20 73 65 6e | 64 6d 61 69 6c 20 64 61 |most sen|dmail da|
|00002dd0| 65 6d 6f 6e 73 20 75 73 | 65 0a 58 0a 58 23 20 54 |emons us|e.X.X# T|
|00002de0| 68 65 20 73 79 73 6c 6f | 67 20 70 72 69 6f 72 69 |he syslo|g priori|
|00002df0| 74 79 20 61 74 20 77 68 | 69 63 68 20 73 75 63 63 |ty at wh|ich succ|
|00002e00| 65 73 73 66 75 6c 20 63 | 6f 6e 6e 65 63 74 69 6f |essful c|onnectio|
|00002e10| 6e 73 20 61 72 65 20 6c | 6f 67 67 65 64 2e 0a 58 |ns are l|ogged..X|
|00002e20| 0a 58 53 45 56 45 52 49 | 54 59 3d 20 4c 4f 47 5f |.XSEVERI|TY= LOG_|
|00002e30| 49 4e 46 4f 09 23 20 4c | 4f 47 5f 49 4e 46 4f 20 |INFO.# L|OG_INFO |
|00002e40| 69 73 20 6e 6f 72 6d 61 | 6c 6c 79 20 6e 6f 74 20 |is norma|lly not |
|00002e50| 6c 6f 67 67 65 64 20 74 | 6f 20 74 68 65 20 63 6f |logged t|o the co|
|00002e60| 6e 73 6f 6c 65 0a 58 0a | 58 23 23 23 23 23 23 23 |nsole.X.|X#######|
|00002e70| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002e80| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002e90| 23 23 23 23 23 23 23 23 | 23 23 23 0a 58 23 20 4f |########|###.X# O|
|00002ea0| 70 74 69 6f 6e 61 6c 3a | 20 41 6c 77 61 79 73 20 |ptional:| Always |
|00002eb0| 61 74 74 65 6d 70 74 20 | 72 65 6d 6f 74 65 20 75 |attempt |remote u|
|00002ec0| 73 65 72 6e 61 6d 65 20 | 6c 6f 6f 6b 75 70 73 0a |sername |lookups.|
|00002ed0| 58 23 0a 58 23 20 42 79 | 20 64 65 66 61 75 6c 74 |X#.X# By| default|
|00002ee0| 2c 20 74 68 65 20 77 72 | 61 70 70 65 72 73 20 6c |, the wr|appers l|
|00002ef0| 6f 6f 6b 20 75 70 20 74 | 68 65 20 72 65 6d 6f 74 |ook up t|he remot|
|00002f00| 65 20 75 73 65 72 6e 61 | 6d 65 20 6f 6e 6c 79 20 |e userna|me only |
|00002f10| 77 68 65 6e 20 74 68 65 | 0a 58 23 20 61 63 63 65 |when the|.X# acce|
|00002f20| 73 73 20 63 6f 6e 74 72 | 6f 6c 20 72 75 6c 65 73 |ss contr|ol rules|
|00002f30| 20 72 65 71 75 69 72 65 | 20 74 68 65 6d 20 74 6f | require| them to|
|00002f40| 20 64 6f 20 73 6f 2e 0a | 58 23 0a 58 23 20 55 73 | do so..|X#.X# Us|
|00002f50| 65 72 6e 61 6d 65 20 6c | 6f 6f 6b 75 70 73 20 72 |ername l|ookups r|
|00002f60| 65 71 75 69 72 65 20 74 | 68 61 74 20 74 68 65 20 |equire t|hat the |
|00002f70| 72 65 6d 6f 74 65 20 68 | 6f 73 74 20 72 75 6e 73 |remote h|ost runs|
|00002f80| 20 61 20 64 61 65 6d 6f | 6e 20 74 68 61 74 0a 58 | a daemo|n that.X|
|00002f90| 23 20 73 75 70 70 6f 72 | 74 73 20 61 6e 20 52 46 |# suppor|ts an RF|
|00002fa0| 43 20 39 33 31 20 6c 69 | 6b 65 20 70 72 6f 74 6f |C 931 li|ke proto|
|00002fb0| 63 6f 6c 2e 20 20 52 65 | 6d 6f 74 65 20 75 73 65 |col. Re|mote use|
|00002fc0| 72 20 6e 61 6d 65 20 6c | 6f 6f 6b 75 70 73 20 61 |r name l|ookups a|
|00002fd0| 72 65 20 6e 6f 74 0a 58 | 23 20 70 6f 73 73 69 62 |re not.X|# possib|
|00002fe0| 6c 65 20 66 6f 72 20 55 | 44 50 2d 62 61 73 65 64 |le for U|DP-based|
|00002ff0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 73 2c 20 61 6e | connect|ions, an|
|00003000| 64 20 63 61 6e 20 63 61 | 75 73 65 20 6e 6f 74 69 |d can ca|use noti|
|00003010| 63 65 61 62 6c 65 20 64 | 65 6c 61 79 73 0a 58 23 |ceable d|elays.X#|
|00003020| 20 77 69 74 68 20 63 6f | 6e 6e 65 63 74 69 6f 6e | with co|nnection|
|00003030| 73 20 66 72 6f 6d 20 6e | 6f 6e 2d 55 4e 49 58 20 |s from n|on-UNIX |
|00003040| 50 43 73 2e 20 20 4f 6e | 20 73 6f 6d 65 20 73 79 |PCs. On| some sy|
|00003050| 73 74 65 6d 73 2c 20 72 | 65 6d 6f 74 65 20 75 73 |stems, r|emote us|
|00003060| 65 72 6e 61 6d 65 0a 58 | 23 20 6c 6f 6f 6b 75 70 |ername.X|# lookup|
|00003070| 73 20 63 61 6e 20 74 72 | 69 67 67 65 72 20 61 20 |s can tr|igger a |
|00003080| 6b 65 72 6e 65 6c 20 62 | 75 67 2c 20 63 61 75 73 |kernel b|ug, caus|
|00003090| 69 6e 67 20 6c 6f 73 73 | 20 6f 66 20 73 65 72 76 |ing loss| of serv|
|000030a0| 69 63 65 2e 20 54 68 65 | 20 52 45 41 44 4d 45 0a |ice. The| README.|
|000030b0| 58 23 20 66 69 6c 65 20 | 64 65 73 63 72 69 62 65 |X# file |describe|
|000030c0| 73 20 68 6f 77 20 74 6f | 20 66 69 6e 64 20 6f 75 |s how to| find ou|
|000030d0| 74 20 69 66 20 79 6f 75 | 72 20 55 4e 49 58 20 6b |t if you|r UNIX k|
|000030e0| 65 72 6e 65 6c 20 68 61 | 73 20 74 68 61 74 20 70 |ernel ha|s that p|
|000030f0| 72 6f 62 6c 65 6d 2e 0a | 58 23 20 0a 58 23 20 55 |roblem..|X# .X# U|
|00003100| 6e 63 6f 6d 6d 65 6e 74 | 20 74 68 65 20 66 6f 6c |ncomment| the fol|
|00003110| 6c 6f 77 69 6e 67 20 64 | 65 66 69 6e 69 74 69 6f |lowing d|efinitio|
|00003120| 6e 20 69 66 20 74 68 65 | 20 77 72 61 70 70 65 72 |n if the| wrapper|
|00003130| 73 20 73 68 6f 75 6c 64 | 20 61 6c 77 61 79 73 0a |s should| always.|
|00003140| 58 23 20 61 74 74 65 6d | 70 74 20 74 6f 20 67 65 |X# attem|pt to ge|
|00003150| 74 20 74 68 65 20 72 65 | 6d 6f 74 65 20 75 73 65 |t the re|mote use|
|00003160| 72 20 6e 61 6d 65 2e 20 | 49 66 20 74 68 69 73 20 |r name. |If this |
|00003170| 69 73 20 6e 6f 74 20 65 | 6e 61 62 6c 65 64 20 79 |is not e|nabled y|
|00003180| 6f 75 20 63 61 6e 0a 58 | 23 20 73 74 69 6c 6c 20 |ou can.X|# still |
|00003190| 64 6f 20 73 65 6c 65 63 | 74 69 76 65 20 75 73 65 |do selec|tive use|
|000031a0| 72 6e 61 6d 65 20 6c 6f | 6f 6b 75 70 73 20 61 73 |rname lo|okups as|
|000031b0| 20 64 6f 63 75 6d 65 6e | 74 65 64 20 69 6e 20 74 | documen|ted in t|
|000031c0| 68 65 20 68 6f 73 74 73 | 5f 61 63 63 65 73 73 2e |he hosts|_access.|
|000031d0| 35 0a 58 23 20 61 6e 64 | 20 68 6f 73 74 73 5f 6f |5.X# and| hosts_o|
|000031e0| 70 74 69 6f 6e 73 2e 35 | 20 6d 61 6e 75 61 6c 20 |ptions.5| manual |
|000031f0| 70 61 67 65 73 20 28 60 | 6e 72 6f 66 66 20 2d 6d |pages (`|nroff -m|
|00003200| 61 6e 27 20 66 6f 72 6d | 61 74 29 2e 0a 58 23 0a |an' form|at)..X#.|
|00003210| 58 23 41 55 54 48 09 3d | 20 2d 44 41 4c 57 41 59 |X#AUTH.=| -DALWAY|
|00003220| 53 5f 52 46 43 39 33 31 | 0a 58 23 0a 58 23 20 54 |S_RFC931|.X#.X# T|
|00003230| 68 65 20 64 65 66 61 75 | 6c 74 20 75 73 65 72 6e |he defau|lt usern|
|00003240| 61 6d 65 20 6c 6f 6f 6b | 75 70 20 74 69 6d 65 6f |ame look|up timeo|
|00003250| 75 74 20 69 73 20 31 30 | 20 73 65 63 6f 6e 64 73 |ut is 10| seconds|
|00003260| 2e 20 54 68 69 73 20 6d | 61 79 20 6e 6f 74 20 62 |. This m|ay not b|
|00003270| 65 20 6c 6f 6e 67 0a 58 | 23 20 65 6e 6f 75 67 68 |e long.X|# enough|
|00003280| 20 66 6f 72 20 73 6c 6f | 77 20 68 6f 73 74 73 20 | for slo|w hosts |
|00003290| 6f 72 20 6e 65 74 77 6f | 72 6b 73 2c 20 62 75 74 |or netwo|rks, but|
|000032a0| 20 69 73 20 65 6e 6f 75 | 67 68 20 74 6f 20 69 72 | is enou|gh to ir|
|000032b0| 72 69 74 61 74 65 20 50 | 43 20 75 73 65 72 73 2e |ritate P|C users.|
|000032c0| 0a 58 0a 58 52 46 43 39 | 33 31 5f 54 49 4d 45 4f |.X.XRFC9|31_TIMEO|
|000032d0| 55 54 20 3d 20 31 30 0a | 58 0a 58 23 23 23 23 23 |UT = 10.|X.X#####|
|000032e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000032f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003300| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003310| 23 0a 58 23 20 4f 70 74 | 69 6f 6e 61 6c 3a 20 43 |#.X# Opt|ional: C|
|00003320| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 64 65 66 61 |hanging |the defa|
|00003330| 75 6c 74 20 66 69 6c 65 | 20 70 72 6f 74 65 63 74 |ult file| protect|
|00003340| 69 6f 6e 20 6d 61 73 6b | 0a 58 23 0a 58 23 20 4f |ion mask|.X#.X# O|
|00003350| 6e 20 6d 61 6e 79 20 73 | 79 73 74 65 6d 73 2c 20 |n many s|ystems, |
|00003360| 6e 65 74 77 6f 72 6b 20 | 64 61 65 6d 6f 6e 73 20 |network |daemons |
|00003370| 61 6e 64 20 6f 74 68 65 | 72 20 73 79 73 74 65 6d |and othe|r system|
|00003380| 20 70 72 6f 63 65 73 73 | 65 73 20 61 72 65 20 73 | process|es are s|
|00003390| 74 61 72 74 65 64 0a 58 | 23 20 77 69 74 68 20 61 |tarted.X|# with a|
|000033a0| 20 7a 65 72 6f 20 75 6d | 61 73 6b 20 76 61 6c 75 | zero um|ask valu|
|000033b0| 65 2c 20 73 6f 20 74 68 | 61 74 20 77 6f 72 6c 64 |e, so th|at world|
|000033c0| 2d 77 72 69 74 61 62 6c | 65 20 66 69 6c 65 73 20 |-writabl|e files |
|000033d0| 6d 61 79 20 62 65 20 70 | 72 6f 64 75 63 65 64 2e |may be p|roduced.|
|000033e0| 0a 58 23 20 49 74 20 69 | 73 20 61 20 67 6f 6f 64 |.X# It i|s a good|
|000033f0| 20 69 64 65 61 20 74 6f | 20 65 64 69 74 20 79 6f | idea to| edit yo|
|00003400| 75 72 20 2f 65 74 63 2f | 72 63 2a 20 66 69 6c 65 |ur /etc/|rc* file|
|00003410| 73 20 73 6f 20 74 68 61 | 74 20 74 68 65 79 20 62 |s so tha|t they b|
|00003420| 65 67 69 6e 20 77 69 74 | 68 0a 58 23 20 61 6e 20 |egin wit|h.X# an |
|00003430| 65 78 70 6c 69 63 69 74 | 20 75 6d 61 73 6b 20 73 |explicit| umask s|
|00003440| 65 74 74 69 6e 67 2e 20 | 20 4f 6e 20 6f 75 72 20 |etting. | On our |
|00003450| 73 69 74 65 20 77 65 20 | 75 73 65 20 60 75 6d 61 |site we |use `uma|
|00003460| 73 6b 20 30 32 32 27 20 | 62 65 63 61 75 73 65 20 |sk 022' |because |
|00003470| 69 74 0a 58 23 20 64 6f | 65 73 20 6e 6f 74 20 62 |it.X# do|es not b|
|00003480| 72 65 61 6b 20 61 6e 79 | 74 68 69 6e 67 20 79 65 |reak any|thing ye|
|00003490| 74 20 67 69 76 65 73 20 | 61 64 65 71 75 61 74 65 |t gives |adequate|
|000034a0| 20 70 72 6f 74 65 63 74 | 69 6f 6e 20 61 67 61 69 | protect|ion agai|
|000034b0| 6e 73 74 20 74 61 6d 70 | 65 72 69 6e 67 2e 0a 58 |nst tamp|ering..X|
|000034c0| 23 20 0a 58 23 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |# .X# Th|e follow|
|000034d0| 69 6e 67 20 6d 61 63 72 | 6f 20 73 70 65 63 69 66 |ing macr|o specif|
|000034e0| 69 65 73 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ies the |default |
|000034f0| 75 6d 61 73 6b 20 66 6f | 72 20 70 72 6f 63 65 73 |umask fo|r proces|
|00003500| 73 65 73 20 72 75 6e 20 | 75 6e 64 65 72 0a 58 23 |ses run |under.X#|
|00003510| 20 63 6f 6e 74 72 6f 6c | 20 6f 66 20 74 68 65 20 | control| of the |
|00003520| 64 61 65 6d 6f 6e 20 77 | 72 61 70 70 65 72 73 2e |daemon w|rappers.|
|00003530| 20 43 6f 6d 6d 65 6e 74 | 20 69 74 20 6f 75 74 20 | Comment| it out |
|00003540| 6f 6e 6c 79 20 69 66 20 | 79 6f 75 20 61 72 65 20 |only if |you are |
|00003550| 63 65 72 74 61 69 6e 0a | 58 23 20 74 68 61 74 20 |certain.|X# that |
|00003560| 69 6e 65 74 64 20 61 6e | 64 20 69 74 73 20 63 68 |inetd an|d its ch|
|00003570| 69 6c 64 72 65 6e 20 61 | 72 65 20 73 74 61 72 74 |ildren a|re start|
|00003580| 65 64 20 77 69 74 68 20 | 61 20 73 61 66 65 20 75 |ed with |a safe u|
|00003590| 6d 61 73 6b 20 76 61 6c | 75 65 2e 0a 58 0a 58 55 |mask val|ue..X.XU|
|000035a0| 4d 41 53 4b 09 3d 20 2d | 44 44 41 45 4d 4f 4e 5f |MASK.= -|DDAEMON_|
|000035b0| 55 4d 41 53 4b 3d 30 32 | 32 0a 58 0a 58 23 23 23 |UMASK=02|2.X.X###|
|000035c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000035d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000035e0| 23 23 23 23 0a 58 23 20 | 4f 70 74 69 6f 6e 61 6c |####.X# |Optional|
|000035f0| 3a 20 54 75 72 6e 69 6e | 67 20 6f 66 66 20 61 63 |: Turnin|g off ac|
|00003600| 63 65 73 73 20 63 6f 6e | 74 72 6f 6c 0a 58 23 0a |cess con|trol.X#.|
|00003610| 58 23 20 42 79 20 64 65 | 66 61 75 6c 74 2c 20 68 |X# By de|fault, h|
|00003620| 6f 73 74 20 61 63 63 65 | 73 73 20 63 6f 6e 74 72 |ost acce|ss contr|
|00003630| 6f 6c 20 69 73 20 65 6e | 61 62 6c 65 64 2e 20 20 |ol is en|abled. |
|00003640| 54 6f 20 64 69 73 61 62 | 6c 65 20 68 6f 73 74 20 |To disab|le host |
|00003650| 61 63 63 65 73 73 0a 58 | 23 20 63 6f 6e 74 72 6f |access.X|# contro|
|00003660| 6c 2c 20 63 6f 6d 6d 65 | 6e 74 20 6f 75 74 20 74 |l, comme|nt out t|
|00003670| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 64 65 66 |he follo|wing def|
|00003680| 69 6e 69 74 69 6f 6e 2e | 20 20 48 6f 73 74 20 61 |inition.| Host a|
|00003690| 63 63 65 73 73 20 63 6f | 6e 74 72 6f 6c 0a 58 23 |ccess co|ntrol.X#|
|000036a0| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 74 75 72 | can als|o be tur|
|000036b0| 6e 65 64 20 6f 66 66 20 | 61 74 20 72 75 6e 74 69 |ned off |at runti|
|000036c0| 6d 65 20 62 79 20 70 72 | 6f 76 69 64 69 6e 67 20 |me by pr|oviding |
|000036d0| 6e 6f 20 6f 72 20 65 6d | 70 74 79 20 61 63 63 65 |no or em|pty acce|
|000036e0| 73 73 0a 58 23 20 63 6f | 6e 74 72 6f 6c 20 74 61 |ss.X# co|ntrol ta|
|000036f0| 62 6c 65 73 2e 0a 58 0a | 58 41 43 43 45 53 53 09 |bles..X.|XACCESS.|
|00003700| 3d 20 2d 44 48 4f 53 54 | 53 5f 41 43 43 45 53 53 |= -DHOST|S_ACCESS|
|00003710| 0a 58 0a 58 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X.X####|########|
|00003720| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003730| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003740| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 23 20 |########|####.X# |
|00003750| 4f 70 74 69 6f 6e 61 6c | 3a 20 43 68 61 6e 67 69 |Optional|: Changi|
|00003760| 6e 67 20 74 68 65 20 61 | 63 63 65 73 73 20 63 6f |ng the a|ccess co|
|00003770| 6e 74 72 6f 6c 20 74 61 | 62 6c 65 20 70 61 74 68 |ntrol ta|ble path|
|00003780| 6e 61 6d 65 73 0a 58 23 | 0a 58 23 20 54 68 65 20 |names.X#|.X# The |
|00003790| 48 4f 53 54 53 5f 41 4c | 4c 4f 57 20 61 6e 64 20 |HOSTS_AL|LOW and |
|000037a0| 48 4f 53 54 53 5f 44 45 | 4e 59 20 6d 61 63 72 6f |HOSTS_DE|NY macro|
|000037b0| 73 20 64 65 66 69 6e 65 | 20 77 68 65 72 65 20 74 |s define| where t|
|000037c0| 68 65 20 70 72 6f 67 72 | 61 6d 73 20 77 69 6c 6c |he progr|ams will|
|000037d0| 0a 58 23 20 6c 6f 6f 6b | 20 66 6f 72 20 61 63 63 |.X# look| for acc|
|000037e0| 65 73 73 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 66 6f |ess cont|rol info|
|000037f0| 72 6d 61 74 69 6f 6e 2e | 20 57 61 74 63 68 20 6f |rmation.| Watch o|
|00003800| 75 74 20 66 6f 72 20 74 | 68 65 20 71 75 6f 74 65 |ut for t|he quote|
|00003810| 73 20 61 6e 64 0a 58 23 | 20 62 61 63 6b 73 6c 61 |s and.X#| backsla|
|00003820| 73 68 65 73 20 77 68 65 | 6e 20 79 6f 75 20 6d 61 |shes whe|n you ma|
|00003830| 6b 65 20 63 68 61 6e 67 | 65 73 2e 0a 58 0a 58 54 |ke chang|es..X.XT|
|00003840| 41 42 4c 45 53 09 3d 20 | 2d 44 48 4f 53 54 53 5f |ABLES.= |-DHOSTS_|
|00003850| 44 45 4e 59 3d 5c 22 2f | 65 74 63 2f 68 6f 73 74 |DENY=\"/|etc/host|
|00003860| 73 2e 64 65 6e 79 5c 22 | 20 2d 44 48 4f 53 54 53 |s.deny\"| -DHOSTS|
|00003870| 5f 41 4c 4c 4f 57 3d 5c | 22 2f 65 74 63 2f 68 6f |_ALLOW=\|"/etc/ho|
|00003880| 73 74 73 2e 61 6c 6c 6f | 77 5c 22 0a 58 0a 58 23 |sts.allo|w\".X.X#|
|00003890| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000038a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000038b0| 23 23 23 23 23 23 23 23 | 23 23 0a 58 23 20 4f 70 |########|##.X# Op|
|000038c0| 74 69 6f 6e 61 6c 3a 20 | 54 75 72 6e 69 6e 67 20 |tional: |Turning |
|000038d0| 6f 66 66 20 68 6f 73 74 | 20 4e 41 4d 45 20 63 68 |off host| NAME ch|
|000038e0| 65 63 6b 69 6e 67 0a 58 | 23 0a 58 23 20 42 79 20 |ecking.X|#.X# By |
|000038f0| 64 65 66 61 75 6c 74 2c | 20 74 68 65 20 73 6f 66 |default,| the sof|
|00003900| 74 77 61 72 65 20 74 72 | 69 65 73 20 74 6f 20 70 |tware tr|ies to p|
|00003910| 72 6f 74 65 63 74 20 61 | 67 61 69 6e 73 74 20 68 |rotect a|gainst h|
|00003920| 6f 73 74 73 20 74 68 61 | 74 20 63 6c 61 69 6d 20 |osts tha|t claim |
|00003930| 74 6f 0a 58 23 20 68 61 | 76 65 20 73 6f 6d 65 6f |to.X# ha|ve someo|
|00003940| 6e 65 20 65 6c 73 65 73 | 20 68 6f 73 74 20 6e 61 |ne elses| host na|
|00003950| 6d 65 2e 20 54 68 69 73 | 20 69 73 20 72 65 6c 65 |me. This| is rele|
|00003960| 76 61 6e 74 20 66 6f 72 | 20 6e 65 74 77 6f 72 6b |vant for| network|
|00003970| 20 73 65 72 76 69 63 65 | 73 0a 58 23 20 77 68 6f | service|s.X# who|
|00003980| 73 65 20 61 75 74 68 65 | 6e 74 69 63 61 74 69 6f |se authe|nticatio|
|00003990| 6e 20 64 65 70 65 6e 64 | 73 20 6f 6e 20 68 6f 73 |n depend|s on hos|
|000039a0| 74 20 6e 61 6d 65 73 2c | 20 73 75 63 68 20 61 73 |t names,| such as|
|000039b0| 20 72 73 68 20 61 6e 64 | 20 72 6c 6f 67 69 6e 2e | rsh and| rlogin.|
|000039c0| 0a 58 23 0a 58 23 20 57 | 69 74 68 20 70 61 72 61 |.X#.X# W|ith para|
|000039d0| 6e 6f 69 64 20 6d 6f 64 | 65 20 6f 6e 2c 20 63 6f |noid mod|e on, co|
|000039e0| 6e 6e 65 63 74 69 6f 6e | 73 20 77 69 6c 6c 20 62 |nnection|s will b|
|000039f0| 65 20 72 65 6a 65 63 74 | 65 64 20 77 68 65 6e 20 |e reject|ed when |
|00003a00| 74 68 65 20 68 6f 73 74 | 20 6e 61 6d 65 0a 58 23 |the host| name.X#|
|00003a10| 20 64 6f 65 73 20 6e 6f | 74 20 6d 61 74 63 68 20 | does no|t match |
|00003a20| 74 68 65 20 68 6f 73 74 | 20 61 64 64 72 65 73 73 |the host| address|
|00003a30| 2e 20 43 6f 6e 6e 65 63 | 74 69 6f 6e 73 20 77 69 |. Connec|tions wi|
|00003a40| 6c 6c 20 61 6c 73 6f 20 | 62 65 20 72 65 6a 65 63 |ll also |be rejec|
|00003a50| 74 65 64 20 77 68 65 6e | 0a 58 23 20 74 68 65 20 |ted when|.X# the |
|00003a60| 68 6f 73 74 20 6e 61 6d | 65 20 69 73 20 61 76 61 |host nam|e is ava|
|00003a70| 69 6c 61 62 6c 65 20 62 | 75 74 20 63 61 6e 6e 6f |ilable b|ut canno|
|00003a80| 74 20 62 65 20 76 65 72 | 69 66 69 65 64 2e 0a 58 |t be ver|ified..X|
|00003a90| 23 0a 58 23 20 43 6f 6d | 6d 65 6e 74 20 6f 75 74 |#.X# Com|ment out|
|00003aa0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 | the fol|lowing d|
|00003ab0| 65 66 69 6e 69 74 69 6f | 6e 20 69 66 20 79 6f 75 |efinitio|n if you|
|00003ac0| 20 64 6f 20 6e 6f 74 20 | 6e 65 65 64 20 74 68 69 | do not |need thi|
|00003ad0| 73 20 61 64 64 69 74 69 | 6f 6e 61 6c 0a 58 23 20 |s additi|onal.X# |
|00003ae0| 70 72 6f 74 65 63 74 69 | 6f 6e 2e 20 49 66 20 70 |protecti|on. If p|
|00003af0| 61 72 61 6e 6f 69 64 20 | 6d 6f 64 65 20 69 73 20 |aranoid |mode is |
|00003b00| 6f 66 66 2c 20 61 6e 64 | 20 61 20 68 6f 73 74 20 |off, and| a host |
|00003b10| 6e 61 6d 65 20 63 68 65 | 63 6b 20 66 61 69 6c 73 |name che|ck fails|
|00003b20| 2c 20 74 68 65 0a 58 23 | 20 64 61 65 6d 6f 6e 20 |, the.X#| daemon |
|00003b30| 77 72 61 70 70 65 72 73 | 20 77 69 6c 6c 20 75 73 |wrappers| will us|
|00003b40| 65 20 6f 6e 6c 79 20 74 | 68 65 20 68 6f 73 74 20 |e only t|he host |
|00003b50| 61 64 64 72 65 73 73 2c | 20 62 75 74 20 79 6f 75 |address,| but you|
|00003b60| 72 20 64 61 65 6d 6f 6e | 73 20 6d 61 79 0a 58 23 |r daemon|s may.X#|
|00003b70| 20 73 74 69 6c 6c 20 75 | 73 65 20 74 68 65 20 68 | still u|se the h|
|00003b80| 6f 73 74 20 6e 61 6d 65 | 2e 0a 58 0a 58 50 41 52 |ost name|..X.XPAR|
|00003b90| 41 4e 4f 49 44 3d 20 2d | 44 50 41 52 41 4e 4f 49 |ANOID= -|DPARANOI|
|00003ba0| 44 0a 58 0a 58 23 23 23 | 23 23 23 23 23 23 23 23 |D.X.X###|########|
|00003bb0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003bc0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003bd0| 23 23 0a 58 23 20 4f 70 | 74 69 6f 6e 61 6c 3a 20 |##.X# Op|tional: |
|00003be0| 54 75 72 6e 69 6e 67 20 | 6f 6e 20 68 6f 73 74 20 |Turning |on host |
|00003bf0| 41 44 44 52 45 53 53 20 | 63 68 65 63 6b 69 6e 67 |ADDRESS |checking|
|00003c00| 0a 58 23 0a 58 23 20 4f | 70 74 69 6f 6e 61 6c 6c |.X#.X# O|ptionall|
|00003c10| 79 2c 20 74 68 65 20 73 | 6f 66 74 77 61 72 65 20 |y, the s|oftware |
|00003c20| 74 72 69 65 73 20 74 6f | 20 70 72 6f 74 65 63 74 |tries to| protect|
|00003c30| 20 61 67 61 69 6e 73 74 | 20 68 6f 73 74 73 20 74 | against| hosts t|
|00003c40| 68 61 74 20 70 72 65 74 | 65 6e 64 20 74 6f 0a 58 |hat pret|end to.X|
|00003c50| 23 20 68 61 76 65 20 73 | 6f 6d 65 6f 6e 65 20 65 |# have s|omeone e|
|00003c60| 6c 73 65 73 20 68 6f 73 | 74 20 61 64 64 72 65 73 |lses hos|t addres|
|00003c70| 73 2e 20 54 68 69 73 20 | 69 73 20 72 65 6c 65 76 |s. This |is relev|
|00003c80| 61 6e 74 20 66 6f 72 20 | 6e 65 74 77 6f 72 6b 20 |ant for |network |
|00003c90| 73 65 72 76 69 63 65 73 | 0a 58 23 20 77 68 6f 73 |services|.X# whos|
|00003ca0| 65 20 61 75 74 68 65 6e | 74 69 63 61 74 69 6f 6e |e authen|tication|
|00003cb0| 20 64 65 70 65 6e 64 73 | 20 6f 6e 20 68 6f 73 74 | depends| on host|
|00003cc0| 20 6e 61 6d 65 73 2c 20 | 73 75 63 68 20 61 73 20 | names, |such as |
|00003cd0| 72 73 68 20 61 6e 64 20 | 72 6c 6f 67 69 6e 2c 0a |rsh and |rlogin,.|
|00003ce0| 58 23 20 62 65 63 61 75 | 73 65 20 74 68 65 20 6e |X# becau|se the n|
|00003cf0| 65 74 77 6f 72 6b 20 61 | 64 64 72 65 73 73 20 69 |etwork a|ddress i|
|00003d00| 73 20 75 73 65 64 20 74 | 6f 20 6c 6f 6f 6b 20 75 |s used t|o look u|
|00003d10| 70 20 74 68 65 20 72 65 | 6d 6f 74 65 20 68 6f 73 |p the re|mote hos|
|00003d20| 74 20 6e 61 6d 65 2e 0a | 58 23 20 0a 58 23 20 54 |t name..|X# .X# T|
|00003d30| 68 65 20 70 72 6f 74 65 | 63 74 69 6f 6e 20 69 73 |he prote|ction is|
|00003d40| 20 65 66 66 65 63 74 69 | 76 65 20 6f 6e 6c 79 20 | effecti|ve only |
|00003d50| 77 68 65 6e 20 74 68 65 | 20 6f 66 66 65 6e 64 69 |when the| offendi|
|00003d60| 6e 67 20 68 6f 73 74 20 | 63 6c 61 69 6d 73 20 74 |ng host |claims t|
|00003d70| 6f 20 68 61 76 65 0a 58 | 23 20 61 20 6e 65 74 77 |o have.X|# a netw|
|00003d80| 6f 72 6b 20 61 64 64 72 | 65 73 73 20 74 68 61 74 |ork addr|ess that|
|00003d90| 20 6c 69 65 73 20 6f 75 | 74 73 69 64 65 20 69 74 | lies ou|tside it|
|00003da0| 73 20 6f 77 6e 20 6e 65 | 74 77 6f 72 6b 2e 0a 58 |s own ne|twork..X|
|00003db0| 23 0a 58 23 20 4d 79 20 | 73 69 74 65 20 68 61 73 |#.X# My |site has|
|00003dc0| 20 62 65 65 6e 20 72 75 | 6e 6e 69 6e 67 20 72 6c | been ru|nning rl|
|00003dd0| 6f 67 69 6e 64 20 61 6e | 64 20 72 73 68 64 20 64 |ogind an|d rshd d|
|00003de0| 61 65 6d 6f 6e 73 20 74 | 68 61 74 20 69 6d 70 6c |aemons t|hat impl|
|00003df0| 65 6d 65 6e 74 20 74 68 | 69 73 0a 58 23 20 66 65 |ement th|is.X# fe|
|00003e00| 61 74 75 72 65 20 66 6f | 72 20 6d 6f 72 65 20 74 |ature fo|r more t|
|00003e10| 68 61 6e 20 32 20 79 65 | 61 72 73 2c 20 61 6e 64 |han 2 ye|ars, and|
|00003e20| 20 77 69 74 68 6f 75 74 | 20 61 6e 79 20 69 6c 6c | without| any ill|
|00003e30| 20 65 66 66 65 63 74 73 | 2e 0a 58 23 0a 58 23 20 | effects|..X#.X# |
|00003e40| 54 68 69 73 20 66 65 61 | 74 75 72 65 20 63 61 6e |This fea|ture can|
|00003e50| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 77 69 74 68 |not be u|sed with|
|00003e60| 20 53 75 6e 4f 53 20 34 | 2e 78 20 62 65 63 61 75 | SunOS 4|.x becau|
|00003e70| 73 65 20 6f 66 20 61 20 | 6b 65 72 6e 65 6c 20 62 |se of a |kernel b|
|00003e80| 75 67 20 69 6e 0a 58 23 | 20 74 68 65 20 69 6d 70 |ug in.X#| the imp|
|00003e90| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 74 |lementat|ion of t|
|00003ea0| 68 65 20 67 65 74 73 6f | 63 6b 6f 70 74 28 29 20 |he getso|ckopt() |
|00003eb0| 73 79 73 74 65 6d 20 63 | 61 6c 6c 2e 20 4b 65 72 |system c|all. Ker|
|00003ec0| 6e 65 6c 20 70 61 6e 69 | 63 73 20 68 61 76 65 0a |nel pani|cs have.|
|00003ed0| 58 23 20 62 65 65 6e 20 | 72 65 70 6f 72 74 65 64 |X# been |reported|
|00003ee0| 20 66 6f 72 20 53 75 6e | 4f 53 20 34 2e 31 2e 31 | for Sun|OS 4.1.1|
|00003ef0| 20 61 6e 64 20 53 75 6e | 4f 53 20 34 2e 31 2e 32 | and Sun|OS 4.1.2|
|00003f00| 2e 20 53 79 6d 70 74 6f | 6d 73 20 61 72 65 20 22 |. Sympto|ms are "|
|00003f10| 42 41 44 20 54 52 41 50 | 22 0a 58 23 20 61 6e 64 |BAD TRAP|".X# and|
|00003f20| 20 22 44 61 74 61 20 66 | 61 75 6c 74 22 20 77 68 | "Data f|ault" wh|
|00003f30| 69 6c 65 20 65 78 65 63 | 75 74 69 6e 67 20 74 68 |ile exec|uting th|
|00003f40| 65 20 74 63 70 5f 63 74 | 6c 6f 75 74 70 75 74 28 |e tcp_ct|loutput(|
|00003f50| 29 20 6b 65 72 6e 65 6c | 20 66 75 6e 63 74 69 6f |) kernel| functio|
|00003f60| 6e 2e 0a 58 23 0a 58 23 | 20 55 6e 63 6f 6d 6d 65 |n..X#.X#| Uncomme|
|00003f70| 6e 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |nt the f|ollowing|
|00003f80| 20 6d 61 63 72 6f 20 64 | 65 66 69 6e 69 74 69 6f | macro d|efinitio|
|00003f90| 6e 20 69 66 20 79 6f 75 | 72 20 67 65 74 73 6f 63 |n if you|r getsoc|
|00003fa0| 6b 6f 70 74 28 29 20 69 | 73 20 4f 4b 2e 0a 58 23 |kopt() i|s OK..X#|
|00003fb0| 0a 58 23 20 4b 49 4c 4c | 5f 4f 50 54 3d 20 2d 44 |.X# KILL|_OPT= -D|
|00003fc0| 4b 49 4c 4c 5f 49 50 5f | 4f 50 54 49 4f 4e 53 0a |KILL_IP_|OPTIONS.|
|00003fd0| 58 0a 58 23 23 20 45 6e | 64 20 63 6f 6e 66 69 67 |X.X## En|d config|
|00003fe0| 75 72 61 74 69 6f 6e 20 | 6f 70 74 69 6f 6e 73 0a |uration |options.|
|00003ff0| 58 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |X#######|########|
|00004000| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0a 58 0a |########|#####.X.|
|00004010| 58 23 20 50 72 6f 74 65 | 63 74 69 6f 6e 20 61 67 |X# Prote|ction ag|
|00004020| 61 69 6e 73 74 20 77 65 | 69 72 64 20 73 68 65 6c |ainst we|ird shel|
|00004030| 6c 73 20 6f 72 20 77 65 | 69 72 64 20 6d 61 6b 65 |ls or we|ird make|
|00004040| 20 70 72 6f 67 72 61 6d | 73 2e 0a 58 0a 58 53 48 | program|s..X.XSH|
|00004050| 45 4c 4c 09 3d 20 2f 62 | 69 6e 2f 73 68 0a 58 2e |ELL.= /b|in/sh.X.|
|00004060| 63 2e 6f 3a 3b 09 24 28 | 43 43 29 20 24 28 43 46 |c.o:;.$(|CC) $(CF|
|00004070| 4c 41 47 53 29 20 2d 63 | 20 24 2a 2e 63 0a 58 0a |LAGS) -c| $*.c.X.|
|00004080| 58 43 46 4c 41 47 53 09 | 3d 20 2d 4f 20 2d 44 46 |XCFLAGS.|= -O -DF|
|00004090| 41 43 49 4c 49 54 59 3d | 24 28 46 41 43 49 4c 49 |ACILITY=|$(FACILI|
|000040a0| 54 59 29 20 24 28 41 43 | 43 45 53 53 29 20 24 28 |TY) $(AC|CESS) $(|
|000040b0| 50 41 52 41 4e 4f 49 44 | 29 20 24 28 4e 45 54 47 |PARANOID|) $(NETG|
|000040c0| 52 4f 55 50 29 20 5c 0a | 58 09 24 28 42 55 47 53 |ROUP) \.|X.$(BUGS|
|000040d0| 29 20 24 28 53 59 53 54 | 59 50 45 29 20 24 28 41 |) $(SYST|YPE) $(A|
|000040e0| 55 54 48 29 20 24 28 55 | 4d 41 53 4b 29 20 5c 0a |UTH) $(U|MASK) \.|
|000040f0| 58 09 2d 44 52 45 41 4c | 5f 4d 49 53 43 44 3d 5c |X.-DREAL|_MISCD=\|
|00004100| 22 24 28 52 45 41 4c 5f | 44 41 45 4d 4f 4e 5f 44 |"$(REAL_|DAEMON_D|
|00004110| 49 52 29 2f 6d 69 73 63 | 64 5c 22 20 5c 0a 58 09 |IR)/misc|d\" \.X.|
|00004120| 2d 44 52 45 41 4c 5f 44 | 41 45 4d 4f 4e 5f 44 49 |-DREAL_D|AEMON_DI|
|00004130| 52 3d 5c 22 24 28 52 45 | 41 4c 5f 44 41 45 4d 4f |R=\"$(RE|AL_DAEMO|
|00004140| 4e 5f 44 49 52 29 5c 22 | 20 24 28 53 54 59 4c 45 |N_DIR)\"| $(STYLE|
|00004150| 29 20 24 28 4b 49 4c 4c | 5f 4f 50 54 29 20 5c 0a |) $(KILL|_OPT) \.|
|00004160| 58 09 2d 44 53 45 56 45 | 52 49 54 59 3d 24 28 53 |X.-DSEVE|RITY=$(S|
|00004170| 45 56 45 52 49 54 59 29 | 20 2d 44 52 46 43 39 33 |EVERITY)| -DRFC93|
|00004180| 31 5f 54 49 4d 45 4f 55 | 54 3d 24 28 52 46 43 39 |1_TIMEOU|T=$(RFC9|
|00004190| 33 31 5f 54 49 4d 45 4f | 55 54 29 20 5c 0a 58 09 |31_TIMEO|UT) \.X.|
|000041a0| 24 28 55 43 48 41 52 29 | 20 24 28 54 41 42 4c 45 |$(UCHAR)| $(TABLE|
|000041b0| 53 29 20 24 28 53 54 52 | 49 4e 47 53 29 20 24 28 |S) $(STR|INGS) $(|
|000041c0| 54 4c 49 29 20 24 28 45 | 58 54 52 41 5f 43 46 4c |TLI) $(E|XTRA_CFL|
|000041d0| 41 47 53 29 0a 58 0a 58 | 4c 49 42 5f 4f 42 4a 3d |AGS).X.X|LIB_OBJ=|
|000041e0| 20 68 6f 73 74 73 5f 61 | 63 63 65 73 73 2e 6f 20 | hosts_a|ccess.o |
|000041f0| 6f 70 74 69 6f 6e 73 2e | 6f 20 73 68 65 6c 6c 5f |options.|o shell_|
|00004200| 63 6d 64 2e 6f 20 72 66 | 63 39 33 31 2e 6f 20 68 |cmd.o rf|c931.o h|
|00004210| 6f 73 74 73 5f 69 6e 66 | 6f 2e 6f 20 5c 0a 58 09 |osts_inf|o.o \.X.|
|00004220| 68 6f 73 74 73 5f 63 74 | 6c 2e 6f 20 72 65 66 75 |hosts_ct|l.o refu|
|00004230| 73 65 2e 6f 20 70 65 72 | 63 65 6e 74 5f 78 2e 6f |se.o per|cent_x.o|
|00004240| 20 63 6c 65 61 6e 5f 65 | 78 69 74 2e 6f 20 24 28 | clean_e|xit.o $(|
|00004250| 41 55 58 5f 4f 42 4a 29 | 20 5c 0a 58 09 66 72 6f |AUX_OBJ)| \.X.fro|
|00004260| 6d 68 6f 73 74 2e 6f 20 | 66 69 78 5f 6f 70 74 69 |mhost.o |fix_opti|
|00004270| 6f 6e 73 2e 6f 20 73 6f | 63 6b 65 74 2e 6f 20 74 |ons.o so|cket.o t|
|00004280| 6c 69 2e 6f 20 77 6f 72 | 6b 61 72 6f 75 6e 64 73 |li.o wor|karounds|
|00004290| 2e 6f 20 69 6e 69 74 5f | 63 6c 69 65 6e 74 2e 6f |.o init_|client.o|
|000042a0| 20 5c 0a 58 09 36 63 6f | 6d 70 61 74 2e 6f 0a 58 | \.X.6co|mpat.o.X|
|000042b0| 0a 58 4b 49 54 09 3d 20 | 52 45 41 44 4d 45 20 6d |.XKIT.= |README m|
|000042c0| 69 73 63 64 2e 63 20 74 | 63 70 64 2e 63 20 66 72 |iscd.c t|cpd.c fr|
|000042d0| 6f 6d 68 6f 73 74 2e 63 | 20 68 6f 73 74 73 5f 61 |omhost.c| hosts_a|
|000042e0| 63 63 65 73 73 2e 63 20 | 73 68 65 6c 6c 5f 63 6d |ccess.c |shell_cm|
|000042f0| 64 2e 63 20 5c 0a 58 09 | 6c 6f 67 5f 74 63 70 2e |d.c \.X.|log_tcp.|
|00004300| 68 20 74 72 79 2e 63 20 | 72 65 66 75 73 65 2e 63 |h try.c |refuse.c|
|00004310| 20 4d 61 6b 65 66 69 6c | 65 20 68 6f 73 74 73 5f | Makefil|e hosts_|
|00004320| 61 63 63 65 73 73 2e 35 | 20 73 74 72 63 61 73 65 |access.5| strcase|
|00004330| 63 6d 70 2e 63 20 5c 0a | 58 09 42 4c 55 52 42 20 |cmp.c \.|X.BLURB |
|00004340| 72 66 63 39 33 31 2e 63 | 20 74 63 70 64 2e 38 20 |rfc931.c| tcpd.8 |
|00004350| 68 6f 73 74 73 5f 69 6e | 66 6f 2e 63 20 68 6f 73 |hosts_in|fo.c hos|
|00004360| 74 73 5f 61 63 63 65 73 | 73 2e 33 20 68 6f 73 74 |ts_acces|s.3 host|
|00004370| 73 5f 63 74 6c 2e 63 20 | 5c 0a 58 09 70 65 72 63 |s_ctl.c |\.X.perc|
|00004380| 65 6e 74 5f 78 2e 63 20 | 6f 70 74 69 6f 6e 73 2e |ent_x.c |options.|
|00004390| 63 20 63 6c 65 61 6e 5f | 65 78 69 74 2e 63 20 73 |c clean_|exit.c s|
|000043a0| 65 74 65 6e 76 2e 63 20 | 70 61 74 63 68 6c 65 76 |etenv.c |patchlev|
|000043b0| 65 6c 2e 68 20 73 74 72 | 74 6f 6b 2e 63 20 5c 0a |el.h str|tok.c \.|
|000043c0| 58 09 66 69 78 5f 6f 70 | 74 69 6f 6e 73 2e 63 20 |X.fix_op|tions.c |
|000043d0| 77 6f 72 6b 61 72 6f 75 | 6e 64 73 2e 63 20 73 6f |workarou|nds.c so|
|000043e0| 63 6b 65 74 2e 63 20 74 | 6c 69 2e 63 20 44 49 53 |cket.c t|li.c DIS|
|000043f0| 43 4c 41 49 4d 45 52 20 | 5c 0a 58 09 66 61 6b 65 |CLAIMER |\.X.fake|
|00004400| 6c 6f 67 2e 63 20 73 61 | 66 65 5f 66 69 6e 67 65 |log.c sa|fe_finge|
|00004410| 72 2e 63 20 68 6f 73 74 | 73 5f 6f 70 74 69 6f 6e |r.c host|s_option|
|00004420| 73 2e 35 20 6f 70 74 69 | 6f 6e 73 2e 68 20 43 48 |s.5 opti|ons.h CH|
|00004430| 41 4e 47 45 53 20 5c 0a | 58 09 74 72 79 2d 66 72 |ANGES \.|X.try-fr|
|00004440| 6f 6d 2e 63 20 69 6e 69 | 74 5f 63 6c 69 65 6e 74 |om.c ini|t_client|
|00004450| 2e 63 20 36 63 6f 6d 70 | 61 74 2e 63 0a 58 0a 58 |.c 6comp|at.c.X.X|
|00004460| 4c 49 42 09 3d 20 6c 69 | 62 77 72 61 70 2e 61 0a |LIB.= li|bwrap.a.|
|00004470| 58 0a 58 61 6c 6c 20 6f | 74 68 65 72 3a 20 63 6f |X.Xall o|ther: co|
|00004480| 6e 66 69 67 2d 63 68 65 | 63 6b 20 74 63 70 64 20 |nfig-che|ck tcpd |
|00004490| 74 72 79 20 74 72 79 2d | 66 72 6f 6d 20 73 61 66 |try try-|from saf|
|000044a0| 65 5f 66 69 6e 67 65 72 | 0a 58 0a 58 63 6f 6e 66 |e_finger|.X.Xconf|
|000044b0| 69 67 2d 63 68 65 63 6b | 3a 0a 58 09 40 73 65 74 |ig-check|:.X.@set|
|000044c0| 20 2b 65 3b 20 74 65 73 | 74 20 2d 6e 20 22 24 28 | +e; tes|t -n "$(|
|000044d0| 52 45 41 4c 5f 44 41 45 | 4d 4f 4e 5f 44 49 52 29 |REAL_DAE|MON_DIR)|
|000044e0| 22 20 7c 7c 20 7b 20 5c | 0a 58 09 20 65 63 68 6f |" || { \|.X. echo|
|000044f0| 20 22 22 20 3b 20 5c 0a | 58 09 20 65 63 68 6f 20 | "" ; \.|X. echo |
|00004500| 22 50 6c 65 61 73 65 20 | 65 64 69 74 20 74 68 65 |"Please |edit the|
|00004510| 20 4d 61 6b 65 66 69 6c | 65 20 74 6f 20 64 65 66 | Makefil|e to def|
|00004520| 69 6e 65 20 74 68 65 20 | 52 45 41 4c 5f 44 41 45 |ine the |REAL_DAE|
|00004530| 4d 4f 4e 5f 44 49 52 20 | 6d 61 63 72 6f 2c 22 3b |MON_DIR |macro,";|
|00004540| 5c 0a 58 09 20 65 63 68 | 6f 20 22 6f 72 20 62 75 |\.X. ech|o "or bu|
|00004550| 69 6c 64 20 77 69 74 68 | 20 5c 60 6d 61 6b 65 20 |ild with| \`make |
|00004560| 52 45 41 4c 5f 44 41 45 | 4d 4f 4e 5f 44 49 52 3d |REAL_DAE|MON_DIR=|
|00004570| 2f 73 6f 6d 65 2f 77 68 | 65 72 65 20 2e 2e 2e 2e |/some/wh|ere ....|
|00004580| 27 22 3b 5c 0a 58 09 20 | 65 63 68 6f 20 22 22 20 |'";\.X. |echo "" |
|00004590| 3b 20 5c 0a 58 09 20 65 | 78 69 74 20 31 3b 20 5c |; \.X. e|xit 1; \|
|000045a0| 0a 58 09 7d 0a 58 0a 58 | 24 28 4c 49 42 29 3a 09 |.X.}.X.X|$(LIB):.|
|000045b0| 24 28 4c 49 42 5f 4f 42 | 4a 29 0a 58 09 72 6d 20 |$(LIB_OB|J).X.rm |
|000045c0| 2d 66 20 24 28 4c 49 42 | 29 0a 58 09 61 72 20 24 |-f $(LIB|).X.ar $|
|000045d0| 28 41 52 46 4c 41 47 53 | 29 20 24 28 4c 49 42 29 |(ARFLAGS|) $(LIB)|
|000045e0| 20 24 28 4c 49 42 5f 4f | 42 4a 29 0a 58 09 2d 24 | $(LIB_O|BJ).X.-$|
|000045f0| 28 52 41 4e 4c 49 42 29 | 20 24 28 4c 49 42 29 0a |(RANLIB)| $(LIB).|
|00004600| 58 0a 58 74 63 70 64 3a | 09 74 63 70 64 2e 6f 20 |X.Xtcpd:|.tcpd.o |
|00004610| 66 72 6f 6d 68 6f 73 74 | 2e 6f 20 24 28 4c 49 42 |fromhost|.o $(LIB|
|00004620| 29 0a 58 09 24 28 43 43 | 29 20 24 28 43 46 4c 41 |).X.$(CC|) $(CFLA|
|00004630| 47 53 29 20 2d 6f 20 24 | 40 20 74 63 70 64 2e 6f |GS) -o $|@ tcpd.o|
|00004640| 20 66 72 6f 6d 68 6f 73 | 74 2e 6f 20 24 28 4c 49 | fromhos|t.o $(LI|
|00004650| 42 29 20 24 28 4c 49 42 | 53 29 0a 58 0a 58 6d 69 |B) $(LIB|S).X.Xmi|
|00004660| 73 63 64 3a 09 6d 69 73 | 63 64 2e 6f 20 66 72 6f |scd:.mis|cd.o fro|
|00004670| 6d 68 6f 73 74 2e 6f 20 | 24 28 4c 49 42 29 0a 58 |mhost.o |$(LIB).X|
|00004680| 09 24 28 43 43 29 20 24 | 28 43 46 4c 41 47 53 29 |.$(CC) $|(CFLAGS)|
|00004690| 20 2d 6f 20 24 40 20 6d | 69 73 63 64 2e 6f 20 66 | -o $@ m|iscd.o f|
|000046a0| 72 6f 6d 68 6f 73 74 2e | 6f 20 24 28 4c 49 42 29 |romhost.|o $(LIB)|
|000046b0| 20 24 28 4c 49 42 53 29 | 0a 58 0a 58 73 61 66 65 | $(LIBS)|.X.Xsafe|
|000046c0| 5f 66 69 6e 67 65 72 3a | 0a 58 09 24 28 43 43 29 |_finger:|.X.$(CC)|
|000046d0| 20 24 28 43 46 4c 41 47 | 53 29 20 2d 6f 20 24 40 | $(CFLAG|S) -o $@|
|000046e0| 20 73 61 66 65 5f 66 69 | 6e 67 65 72 2e 63 0a 58 | safe_fi|nger.c.X|
|000046f0| 0a 58 74 72 79 3a 09 74 | 72 79 2e 6f 20 66 61 6b |.Xtry:.t|ry.o fak|
|00004700| 65 6c 6f 67 2e 6f 20 24 | 28 4c 49 42 29 0a 58 09 |elog.o $|(LIB).X.|
|00004710| 24 28 43 43 29 20 24 28 | 43 46 4c 41 47 53 29 20 |$(CC) $(|CFLAGS) |
|00004720| 2d 6f 20 24 40 20 74 72 | 79 2e 6f 20 66 61 6b 65 |-o $@ tr|y.o fake|
|00004730| 6c 6f 67 2e 6f 20 24 28 | 4c 49 42 29 20 24 28 4c |log.o $(|LIB) $(L|
|00004740| 49 42 53 29 0a 58 0a 58 | 74 72 79 2d 66 72 6f 6d |IBS).X.X|try-from|
|00004750| 3a 20 74 72 79 2d 66 72 | 6f 6d 2e 63 20 66 61 6b |: try-fr|om.c fak|
|00004760| 65 6c 6f 67 2e 6f 20 6c | 6f 67 5f 74 63 70 2e 68 |elog.o l|og_tcp.h|
|00004770| 20 4d 61 6b 65 66 69 6c | 65 20 24 28 4c 49 42 29 | Makefil|e $(LIB)|
|00004780| 0a 58 09 24 28 43 43 29 | 20 24 28 43 46 4c 41 47 |.X.$(CC)| $(CFLAG|
|00004790| 53 29 20 2d 44 54 45 53 | 54 20 2d 6f 20 24 40 20 |S) -DTES|T -o $@ |
|000047a0| 74 72 79 2d 66 72 6f 6d | 2e 63 20 66 61 6b 65 6c |try-from|.c fakel|
|000047b0| 6f 67 2e 6f 20 24 28 4c | 49 42 29 20 24 28 4c 49 |og.o $(L|IB) $(LI|
|000047c0| 42 53 29 0a 58 0a 58 73 | 68 61 72 3a 09 24 28 4b |BS).X.Xs|har:.$(K|
|000047d0| 49 54 29 0a 58 09 40 73 | 68 61 72 20 24 28 4b 49 |IT).X.@s|har $(KI|
|000047e0| 54 29 0a 58 0a 58 6b 69 | 74 3a 09 24 28 4b 49 54 |T).X.Xki|t:.$(KIT|
|000047f0| 29 0a 58 09 40 6d 61 6b | 65 6b 69 74 20 24 28 4b |).X.@mak|ekit $(K|
|00004800| 49 54 29 0a 58 0a 58 61 | 72 63 68 69 76 65 3a 0a |IT).X.Xa|rchive:.|
|00004810| 58 09 24 28 41 52 43 48 | 49 56 45 29 20 24 28 4b |X.$(ARCH|IVE) $(K|
|00004820| 49 54 29 0a 58 0a 58 63 | 6c 65 61 6e 3a 0a 58 09 |IT).X.Xc|lean:.X.|
|00004830| 72 6d 20 2d 66 20 74 63 | 70 64 20 6d 69 73 63 64 |rm -f tc|pd miscd|
|00004840| 20 73 61 66 65 5f 66 69 | 6e 67 65 72 20 74 72 79 | safe_fi|nger try|
|00004850| 20 74 72 79 2d 66 72 6f | 6d 20 2a 2e 5b 6f 61 5d | try-fro|m *.[oa]|
|00004860| 20 63 6f 72 65 0a 58 0a | 58 23 20 45 6e 61 62 6c | core.X.|X# Enabl|
|00004870| 65 20 61 6c 6c 20 62 65 | 6c 6c 73 20 61 6e 64 20 |e all be|lls and |
|00004880| 77 68 69 73 74 6c 65 73 | 20 66 6f 72 20 6c 69 6e |whistles| for lin|
|00004890| 74 69 6e 67 2e 0a 58 0a | 58 6c 69 6e 74 3a 20 74 |ting..X.|Xlint: t|
|000048a0| 63 70 64 5f 6c 69 6e 74 | 20 6d 69 73 63 64 5f 6c |cpd_lint| miscd_l|
|000048b0| 69 6e 74 20 74 72 79 5f | 6c 69 6e 74 0a 58 0a 58 |int try_|lint.X.X|
|000048c0| 74 63 70 64 5f 6c 69 6e | 74 3a 0a 58 09 6c 69 6e |tcpd_lin|t:.X.lin|
|000048d0| 74 20 2d 44 46 41 43 49 | 4c 49 54 59 3d 4c 4f 47 |t -DFACI|LITY=LOG|
|000048e0| 5f 4d 41 49 4c 20 2d 44 | 48 4f 53 54 53 5f 41 43 |_MAIL -D|HOSTS_AC|
|000048f0| 43 45 53 53 20 2d 44 50 | 41 52 41 4e 4f 49 44 20 |CESS -DP|ARANOID |
|00004900| 2d 44 4e 45 54 47 52 4f | 55 50 20 5c 0a 58 09 2d |-DNETGRO|UP \.X.-|
|00004910| 44 47 45 54 50 45 45 52 | 4e 41 4d 45 5f 42 55 47 |DGETPEER|NAME_BUG|
|00004920| 20 2d 44 44 41 45 4d 4f | 4e 5f 55 4d 41 53 4b 3d | -DDAEMO|N_UMASK=|
|00004930| 30 32 32 20 2d 44 53 45 | 56 45 52 49 54 59 3d 24 |022 -DSE|VERITY=$|
|00004940| 28 53 45 56 45 52 49 54 | 59 29 20 5c 0a 58 09 24 |(SEVERIT|Y) \.X.$|
|00004950| 28 54 41 42 4c 45 53 29 | 20 2d 44 4b 49 4c 4c 5f |(TABLES)| -DKILL_|
|00004960| 49 50 5f 4f 50 54 49 4f | 4e 53 20 2d 44 50 52 4f |IP_OPTIO|NS -DPRO|
|00004970| 43 45 53 53 5f 4f 50 54 | 49 4f 4e 53 20 5c 0a 58 |CESS_OPT|IONS \.X|
|00004980| 09 2d 44 52 46 43 39 33 | 31 5f 54 49 4d 45 4f 55 |.-DRFC93|1_TIMEOU|
|00004990| 54 3d 24 28 52 46 43 39 | 33 31 5f 54 49 4d 45 4f |T=$(RFC9|31_TIMEO|
|000049a0| 55 54 29 20 2d 44 41 4c | 57 41 59 53 5f 52 46 43 |UT) -DAL|WAYS_RFC|
|000049b0| 39 33 31 20 5c 0a 58 09 | 2d 44 52 45 41 4c 5f 44 |931 \.X.|-DREAL_D|
|000049c0| 41 45 4d 4f 4e 5f 44 49 | 52 3d 5c 22 24 28 52 45 |AEMON_DI|R=\"$(RE|
|000049d0| 41 4c 5f 44 41 45 4d 4f | 4e 5f 44 49 52 29 5c 22 |AL_DAEMO|N_DIR)\"|
|000049e0| 20 5c 0a 58 09 74 63 70 | 64 2e 63 20 66 72 6f 6d | \.X.tcp|d.c from|
|000049f0| 68 6f 73 74 2e 63 20 73 | 6f 63 6b 65 74 2e 63 20 |host.c s|ocket.c |
|00004a00| 74 6c 69 2e 63 20 68 6f | 73 74 73 5f 61 63 63 65 |tli.c ho|sts_acce|
|00004a10| 73 73 2e 63 20 73 68 65 | 6c 6c 5f 63 6d 64 2e 63 |ss.c she|ll_cmd.c|
|00004a20| 20 5c 0a 58 09 72 65 66 | 75 73 65 2e 63 20 72 66 | \.X.ref|use.c rf|
|00004a30| 63 39 33 31 2e 63 20 68 | 6f 73 74 73 5f 69 6e 66 |c931.c h|osts_inf|
|00004a40| 6f 2e 63 20 70 65 72 63 | 65 6e 74 5f 78 2e 63 20 |o.c perc|ent_x.c |
|00004a50| 63 6c 65 61 6e 5f 65 78 | 69 74 2e 63 20 6f 70 74 |clean_ex|it.c opt|
|00004a60| 69 6f 6e 73 2e 63 20 5c | 0a 58 09 73 65 74 65 6e |ions.c \|.X.seten|
|00004a70| 76 2e 63 20 66 69 78 5f | 6f 70 74 69 6f 6e 73 2e |v.c fix_|options.|
|00004a80| 63 20 77 6f 72 6b 61 72 | 6f 75 6e 64 73 2e 63 20 |c workar|ounds.c |
|00004a90| 69 6e 69 74 5f 63 6c 69 | 65 6e 74 2e 63 0a 58 0a |init_cli|ent.c.X.|
|00004aa0| 58 6d 69 73 63 64 5f 6c | 69 6e 74 3a 0a 58 09 6c |Xmiscd_l|int:.X.l|
|00004ab0| 69 6e 74 20 2d 44 46 41 | 43 49 4c 49 54 59 3d 4c |int -DFA|CILITY=L|
|00004ac0| 4f 47 5f 4d 41 49 4c 20 | 2d 44 48 4f 53 54 53 5f |OG_MAIL |-DHOSTS_|
|00004ad0| 41 43 43 45 53 53 20 2d | 44 50 41 52 41 4e 4f 49 |ACCESS -|DPARANOI|
|00004ae0| 44 20 2d 44 4e 45 54 47 | 52 4f 55 50 20 5c 0a 58 |D -DNETG|ROUP \.X|
|00004af0| 09 2d 44 47 45 54 50 45 | 45 52 4e 41 4d 45 5f 42 |.-DGETPE|ERNAME_B|
|00004b00| 55 47 20 2d 44 44 41 45 | 4d 4f 4e 5f 55 4d 41 53 |UG -DDAE|MON_UMAS|
|00004b10| 4b 3d 30 32 32 20 2d 44 | 53 45 56 45 52 49 54 59 |K=022 -D|SEVERITY|
|00004b20| 3d 24 28 53 45 56 45 52 | 49 54 59 29 20 5c 0a 58 |=$(SEVER|ITY) \.X|
|00004b30| 09 24 28 54 41 42 4c 45 | 53 29 20 2d 44 4b 49 4c |.$(TABLE|S) -DKIL|
|00004b40| 4c 5f 49 50 5f 4f 50 54 | 49 4f 4e 53 20 2d 44 50 |L_IP_OPT|IONS -DP|
|00004b50| 52 4f 43 45 53 53 5f 4f | 50 54 49 4f 4e 53 20 5c |ROCESS_O|PTIONS \|
|00004b60| 0a 58 09 2d 44 52 46 43 | 39 33 31 5f 54 49 4d 45 |.X.-DRFC|931_TIME|
|00004b70| 4f 55 54 3d 24 28 52 46 | 43 39 33 31 5f 54 49 4d |OUT=$(RF|C931_TIM|
|00004b80| 45 4f 55 54 29 20 2d 44 | 41 4c 57 41 59 53 5f 52 |EOUT) -D|ALWAYS_R|
|00004b90| 46 43 39 33 31 20 5c 0a | 58 09 2d 44 52 45 41 4c |FC931 \.|X.-DREAL|
|00004ba0| 5f 4d 49 53 43 44 3d 5c | 22 24 28 52 45 41 4c 5f |_MISCD=\|"$(REAL_|
|00004bb0| 44 41 45 4d 4f 4e 5f 44 | 49 52 29 2f 6d 69 73 63 |DAEMON_D|IR)/misc|
|00004bc0| 64 5c 22 20 5c 0a 58 09 | 6d 69 73 63 64 2e 63 20 |d\" \.X.|miscd.c |
|00004bd0| 66 72 6f 6d 68 6f 73 74 | 2e 63 20 73 6f 63 6b 65 |fromhost|.c socke|
|00004be0| 74 2e 63 20 74 6c 69 2e | 63 20 68 6f 73 74 73 5f |t.c tli.|c hosts_|
|00004bf0| 61 63 63 65 73 73 2e 63 | 20 73 68 65 6c 6c 5f 63 |access.c| shell_c|
|00004c00| 6d 64 2e 63 20 5c 0a 58 | 09 72 65 66 75 73 65 2e |md.c \.X|.refuse.|
|00004c10| 63 20 72 66 63 39 33 31 | 2e 63 20 68 6f 73 74 73 |c rfc931|.c hosts|
|00004c20| 5f 69 6e 66 6f 2e 63 20 | 70 65 72 63 65 6e 74 5f |_info.c |percent_|
|00004c30| 78 2e 63 20 63 6c 65 61 | 6e 5f 65 78 69 74 2e 63 |x.c clea|n_exit.c|
|00004c40| 20 6f 70 74 69 6f 6e 73 | 2e 63 20 5c 0a 58 09 73 | options|.c \.X.s|
|00004c50| 65 74 65 6e 76 2e 63 20 | 66 69 78 5f 6f 70 74 69 |etenv.c |fix_opti|
|00004c60| 6f 6e 73 2e 63 20 77 6f | 72 6b 61 72 6f 75 6e 64 |ons.c wo|rkaround|
|00004c70| 73 2e 63 20 69 6e 69 74 | 5f 63 6c 69 65 6e 74 2e |s.c init|_client.|
|00004c80| 63 0a 58 0a 58 74 72 79 | 5f 6c 69 6e 74 3a 0a 58 |c.X.Xtry|_lint:.X|
|00004c90| 09 6c 69 6e 74 20 2d 44 | 46 41 43 49 4c 49 54 59 |.lint -D|FACILITY|
|00004ca0| 3d 4c 4f 47 5f 4d 41 49 | 4c 20 2d 44 53 45 56 45 |=LOG_MAI|L -DSEVE|
|00004cb0| 52 49 54 59 3d 24 28 53 | 45 56 45 52 49 54 59 29 |RITY=$(S|EVERITY)|
|00004cc0| 20 2d 44 48 4f 53 54 53 | 5f 41 43 43 45 53 53 20 | -DHOSTS|_ACCESS |
|00004cd0| 5c 0a 58 09 24 28 54 41 | 42 4c 45 53 29 20 2d 44 |\.X.$(TA|BLES) -D|
|00004ce0| 4e 45 54 47 52 4f 55 50 | 20 2d 44 50 52 4f 43 45 |NETGROUP| -DPROCE|
|00004cf0| 53 53 5f 4f 50 54 49 4f | 4e 53 20 5c 0a 58 09 74 |SS_OPTIO|NS \.X.t|
|00004d00| 72 79 2e 63 20 68 6f 73 | 74 73 5f 63 74 6c 2e 63 |ry.c hos|ts_ctl.c|
|00004d10| 20 68 6f 73 74 73 5f 61 | 63 63 65 73 73 2e 63 20 | hosts_a|ccess.c |
|00004d20| 68 6f 73 74 73 5f 69 6e | 66 6f 2e 63 20 70 65 72 |hosts_in|fo.c per|
|00004d30| 63 65 6e 74 5f 78 2e 63 | 20 6f 70 74 69 6f 6e 73 |cent_x.c| options|
|00004d40| 2e 63 20 5c 0a 58 09 77 | 6f 72 6b 61 72 6f 75 6e |.c \.X.w|orkaroun|
|00004d50| 64 73 2e 63 20 69 6e 69 | 74 5f 63 6c 69 65 6e 74 |ds.c ini|t_client|
|00004d60| 2e 63 0a 58 0a 58 70 72 | 69 6e 74 66 63 6b 3a 0a |.c.X.Xpr|intfck:.|
|00004d70| 58 09 70 72 69 6e 74 66 | 63 6b 20 2d 66 20 70 72 |X.printf|ck -f pr|
|00004d80| 69 6e 74 66 2e 63 6b 20 | 74 63 70 64 2e 63 20 66 |intf.ck |tcpd.c f|
|00004d90| 72 6f 6d 68 6f 73 74 2e | 63 20 73 6f 63 6b 65 74 |romhost.|c socket|
|00004da0| 2e 63 20 74 6c 69 2e 63 | 20 68 6f 73 74 73 5f 61 |.c tli.c| hosts_a|
|00004db0| 63 63 65 73 73 2e 63 20 | 73 68 65 6c 6c 5f 63 6d |ccess.c |shell_cm|
|00004dc0| 64 2e 63 20 5c 0a 58 09 | 72 65 66 75 73 65 2e 63 |d.c \.X.|refuse.c|
|00004dd0| 20 72 66 63 39 33 31 2e | 63 20 68 6f 73 74 73 5f | rfc931.|c hosts_|
|00004de0| 69 6e 66 6f 2e 63 20 70 | 65 72 63 65 6e 74 5f 78 |info.c p|ercent_x|
|00004df0| 2e 63 20 63 6c 65 61 6e | 5f 65 78 69 74 2e 63 20 |.c clean|_exit.c |
|00004e00| 6f 70 74 69 6f 6e 73 2e | 63 20 5c 0a 58 09 73 65 |options.|c \.X.se|
|00004e10| 74 65 6e 76 2e 63 20 66 | 69 78 5f 6f 70 74 69 6f |tenv.c f|ix_optio|
|00004e20| 6e 73 2e 63 20 77 6f 72 | 6b 61 72 6f 75 6e 64 73 |ns.c wor|karounds|
|00004e30| 2e 63 20 69 6e 69 74 5f | 63 6c 69 65 6e 74 2e 63 |.c init_|client.c|
|00004e40| 20 3e 61 61 70 2e 63 0a | 58 09 6c 69 6e 74 20 2d | >aap.c.|X.lint -|
|00004e50| 44 46 41 43 49 4c 49 54 | 59 3d 4c 4f 47 5f 4d 41 |DFACILIT|Y=LOG_MA|
|00004e60| 49 4c 20 2d 44 48 4f 53 | 54 53 5f 41 43 43 45 53 |IL -DHOS|TS_ACCES|
|00004e70| 53 20 2d 44 50 41 52 41 | 4e 4f 49 44 20 2d 44 4e |S -DPARA|NOID -DN|
|00004e80| 45 54 47 52 4f 55 50 20 | 5c 0a 58 09 2d 44 47 45 |ETGROUP |\.X.-DGE|
|00004e90| 54 50 45 45 52 4e 41 4d | 45 5f 42 55 47 20 2d 44 |TPEERNAM|E_BUG -D|
|00004ea0| 44 41 45 4d 4f 4e 5f 55 | 4d 41 53 4b 3d 30 32 32 |DAEMON_U|MASK=022|
|00004eb0| 20 2d 44 53 45 56 45 52 | 49 54 59 3d 24 28 53 45 | -DSEVER|ITY=$(SE|
|00004ec0| 56 45 52 49 54 59 29 20 | 5c 0a 58 09 24 28 54 41 |VERITY) |\.X.$(TA|
|00004ed0| 42 4c 45 53 29 20 2d 44 | 4b 49 4c 4c 5f 49 50 5f |BLES) -D|KILL_IP_|
|00004ee0| 4f 50 54 49 4f 4e 53 20 | 2d 44 50 52 4f 43 45 53 |OPTIONS |-DPROCES|
|00004ef0| 53 5f 4f 50 54 49 4f 4e | 53 20 5c 0a 58 09 2d 44 |S_OPTION|S \.X.-D|
|00004f00| 52 46 43 39 33 31 5f 54 | 49 4d 45 4f 55 54 3d 24 |RFC931_T|IMEOUT=$|
|00004f10| 28 52 46 43 39 33 31 5f | 54 49 4d 45 4f 55 54 29 |(RFC931_|TIMEOUT)|
|00004f20| 20 2d 44 41 4c 57 41 59 | 53 5f 52 46 43 39 33 31 | -DALWAY|S_RFC931|
|00004f30| 20 5c 0a 58 09 2d 44 52 | 45 41 4c 5f 44 41 45 4d | \.X.-DR|EAL_DAEM|
|00004f40| 4f 4e 5f 44 49 52 3d 5c | 22 24 28 52 45 41 4c 5f |ON_DIR=\|"$(REAL_|
|00004f50| 44 41 45 4d 4f 4e 5f 44 | 49 52 29 5c 22 20 61 61 |DAEMON_D|IR)\" aa|
|00004f60| 70 2e 63 0a 58 09 72 6d | 20 2d 66 20 61 61 70 2e |p.c.X.rm| -f aap.|
|00004f70| 63 0a 58 0a 58 23 20 43 | 6f 6d 70 69 6c 61 74 69 |c.X.X# C|ompilati|
|00004f80| 6f 6e 20 64 65 70 65 6e | 64 65 6e 63 69 65 73 2e |on depen|dencies.|
|00004f90| 0a 58 0a 58 63 6c 65 61 | 6e 5f 65 78 69 74 2e 6f |.X.Xclea|n_exit.o|
|00004fa0| 3a 20 6c 6f 67 5f 74 63 | 70 2e 68 20 4d 61 6b 65 |: log_tc|p.h Make|
|00004fb0| 66 69 6c 65 0a 58 66 69 | 78 5f 6f 70 74 69 6f 6e |file.Xfi|x_option|
|00004fc0| 73 2e 6f 3a 20 6c 6f 67 | 5f 74 63 70 2e 68 20 4d |s.o: log|_tcp.h M|
|00004fd0| 61 6b 65 66 69 6c 65 0a | 58 66 72 6f 6d 68 6f 73 |akefile.|Xfromhos|
|00004fe0| 74 2e 6f 3a 20 6c 6f 67 | 5f 74 63 70 2e 68 20 4d |t.o: log|_tcp.h M|
|00004ff0| 61 6b 65 66 69 6c 65 0a | 58 68 6f 73 74 73 5f 61 |akefile.|Xhosts_a|
|00005000| 63 63 65 73 73 2e 6f 3a | 20 6f 70 74 69 6f 6e 73 |ccess.o:| options|
|00005010| 2e 68 20 6c 6f 67 5f 74 | 63 70 2e 68 20 4d 61 6b |.h log_t|cp.h Mak|
|00005020| 65 66 69 6c 65 0a 58 68 | 6f 73 74 73 5f 63 74 6c |efile.Xh|osts_ctl|
|00005030| 2e 6f 3a 20 6c 6f 67 5f | 74 63 70 2e 68 20 4d 61 |.o: log_|tcp.h Ma|
|00005040| 6b 65 66 69 6c 65 0a 58 | 68 6f 73 74 73 5f 69 6e |kefile.X|hosts_in|
|00005050| 66 6f 2e 6f 3a 20 6c 6f | 67 5f 74 63 70 2e 68 20 |fo.o: lo|g_tcp.h |
|00005060| 4d 61 6b 65 66 69 6c 65 | 0a 58 69 6e 69 74 5f 63 |Makefile|.Xinit_c|
|00005070| 6c 69 65 6e 74 2e 6f 3a | 20 6c 6f 67 5f 74 63 70 |lient.o:| log_tcp|
|00005080| 2e 68 20 4d 61 6b 65 66 | 69 6c 65 0a 58 6d 69 73 |.h Makef|ile.Xmis|
|00005090| 63 64 2e 6f 3a 20 70 61 | 74 63 68 6c 65 76 65 6c |cd.o: pa|tchlevel|
|000050a0| 2e 68 20 6c 6f 67 5f 74 | 63 70 2e 68 20 4d 61 6b |.h log_t|cp.h Mak|
|000050b0| 65 66 69 6c 65 0a 58 6f | 70 74 69 6f 6e 73 2e 6f |efile.Xo|ptions.o|
|000050c0| 3a 20 6f 70 74 69 6f 6e | 73 2e 68 20 6c 6f 67 5f |: option|s.h log_|
|000050d0| 74 63 70 2e 68 20 4d 61 | 6b 65 66 69 6c 65 0a 58 |tcp.h Ma|kefile.X|
|000050e0| 70 65 72 63 65 6e 74 5f | 78 2e 6f 3a 20 6c 6f 67 |percent_|x.o: log|
|000050f0| 5f 74 63 70 2e 68 20 4d | 61 6b 65 66 69 6c 65 0a |_tcp.h M|akefile.|
|00005100| 58 72 65 66 75 73 65 2e | 6f 3a 20 6c 6f 67 5f 74 |Xrefuse.|o: log_t|
|00005110| 63 70 2e 68 20 4d 61 6b | 65 66 69 6c 65 0a 58 72 |cp.h Mak|efile.Xr|
|00005120| 66 63 39 33 31 2e 6f 3a | 20 6c 6f 67 5f 74 63 70 |fc931.o:| log_tcp|
|00005130| 2e 68 20 4d 61 6b 65 66 | 69 6c 65 0a 58 73 68 65 |.h Makef|ile.Xshe|
|00005140| 6c 6c 5f 63 6d 64 2e 6f | 3a 20 6c 6f 67 5f 74 63 |ll_cmd.o|: log_tc|
|00005150| 70 2e 68 20 4d 61 6b 65 | 66 69 6c 65 0a 58 73 6f |p.h Make|file.Xso|
|00005160| 63 6b 65 74 2e 6f 3a 20 | 6c 6f 67 5f 74 63 70 2e |cket.o: |log_tcp.|
|00005170| 68 20 4d 61 6b 65 66 69 | 6c 65 0a 58 74 63 70 64 |h Makefi|le.Xtcpd|
|00005180| 2e 6f 3a 20 70 61 74 63 | 68 6c 65 76 65 6c 2e 68 |.o: patc|hlevel.h|
|00005190| 20 6c 6f 67 5f 74 63 70 | 2e 68 20 4d 61 6b 65 66 | log_tcp|.h Makef|
|000051a0| 69 6c 65 0a 58 74 6c 69 | 2e 6f 3a 20 6c 6f 67 5f |ile.Xtli|.o: log_|
|000051b0| 74 63 70 2e 68 20 4d 61 | 6b 65 66 69 6c 65 0a 58 |tcp.h Ma|kefile.X|
|000051c0| 74 72 79 2d 66 72 6f 6d | 3a 20 6c 6f 67 5f 74 63 |try-from|: log_tc|
|000051d0| 70 2e 68 20 4d 61 6b 65 | 66 69 6c 65 0a 58 74 72 |p.h Make|file.Xtr|
|000051e0| 79 2e 6f 3a 20 6c 6f 67 | 5f 74 63 70 2e 68 20 4d |y.o: log|_tcp.h M|
|000051f0| 61 6b 65 66 69 6c 65 0a | 58 77 6f 72 6b 61 72 6f |akefile.|Xworkaro|
|00005200| 75 6e 64 73 2e 6f 3a 20 | 6c 6f 67 5f 74 63 70 2e |unds.o: |log_tcp.|
|00005210| 68 20 4d 61 6b 65 66 69 | 6c 65 0a 45 4e 44 5f 4f |h Makefi|le.END_O|
|00005220| 46 5f 4d 61 6b 65 66 69 | 6c 65 0a 69 66 20 74 65 |F_Makefi|le.if te|
|00005230| 73 74 20 31 39 30 38 34 | 20 2d 6e 65 20 60 77 63 |st 19084| -ne `wc|
|00005240| 20 2d 63 20 3c 4d 61 6b | 65 66 69 6c 65 60 3b 20 | -c <Mak|efile`; |
|00005250| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00005260| 61 72 3a 20 5c 22 4d 61 | 6b 65 66 69 6c 65 5c 22 |ar: \"Ma|kefile\"|
|00005270| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00005280| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00005290| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|000052a0| 6e 67 20 63 68 65 63 6b | 0a 66 69 0a 69 66 20 74 |ng check|.fi.if t|
|000052b0| 65 73 74 20 2d 66 20 68 | 6f 73 74 73 5f 61 63 63 |est -f h|osts_acc|
|000052c0| 65 73 73 2e 33 20 2d 61 | 20 22 24 7b 31 7d 22 20 |ess.3 -a| "${1}" |
|000052d0| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|000052e0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|000052f0| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00005300| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00005310| 22 68 6f 73 74 73 5f 61 | 63 63 65 73 73 2e 33 5c |"hosts_a|ccess.3\|
|00005320| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00005330| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 68 |: Extrac|ting \"h|
|00005340| 6f 73 74 73 5f 61 63 63 | 65 73 73 2e 33 5c 22 20 |osts_acc|ess.3\" |
|00005350| 5c 28 32 33 35 39 20 63 | 68 61 72 61 63 74 65 72 |\(2359 c|haracter|
|00005360| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00005370| 20 3e 68 6f 73 74 73 5f | 61 63 63 65 73 73 2e 33 | >hosts_|access.3|
|00005380| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 68 6f 73 74 73 | <<'END_|OF_hosts|
|00005390| 5f 61 63 63 65 73 73 2e | 33 27 0a 58 2e 54 48 20 |_access.|3'.X.TH |
|000053a0| 48 4f 53 54 53 5f 41 43 | 43 45 53 53 20 33 0a 58 |HOSTS_AC|CESS 3.X|
|000053b0| 2e 53 48 0a 58 68 6f 73 | 74 73 5f 61 63 63 65 73 |.SH.Xhos|ts_acces|
|000053c0| 73 2c 20 68 6f 73 74 73 | 5f 63 74 6c 20 5c 2d 20 |s, hosts|_ctl \- |
|000053d0| 61 63 63 65 73 73 20 63 | 6f 6e 74 72 6f 6c 20 6c |access c|ontrol l|
|000053e0| 69 62 72 61 72 79 0a 58 | 2e 53 48 20 53 59 4e 4f |ibrary.X|.SH SYNO|
|000053f0| 50 53 49 53 0a 58 2e 6e | 66 0a 58 23 69 6e 63 6c |PSIS.X.n|f.X#incl|
|00005400| 75 64 65 20 22 6c 6f 67 | 5f 74 63 70 2e 68 22 0a |ude "log|_tcp.h".|
|00005410| 58 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 20 61 6c |X.Xexter|n int al|
|00005420| 6c 6f 77 5f 73 65 76 65 | 72 69 74 79 3b 0a 58 65 |low_seve|rity;.Xe|
|00005430| 78 74 65 72 6e 20 69 6e | 74 20 64 65 6e 79 5f 73 |xtern in|t deny_s|
|00005440| 65 76 65 72 69 74 79 3b | 0a 58 0a 58 69 6e 74 20 |everity;|.X.Xint |
|00005450| 68 6f 73 74 73 5f 61 63 | 63 65 73 73 28 64 61 65 |hosts_ac|cess(dae|
|00005460| 6d 6f 6e 2c 20 63 6c 69 | 65 6e 74 29 0a 58 63 68 |mon, cli|ent).Xch|
|00005470| 61 72 20 2a 64 61 65 6d | 6f 6e 3b 0a 58 73 74 72 |ar *daem|on;.Xstr|
|00005480| 75 63 74 20 63 6c 69 65 | 6e 74 5f 69 6e 66 6f 20 |uct clie|nt_info |
|00005490| 2a 63 6c 69 65 6e 74 3b | 0a 58 0a 58 69 6e 74 20 |*client;|.X.Xint |
|000054a0| 68 6f 73 74 73 5f 63 74 | 6c 28 64 61 65 6d 6f 6e |hosts_ct|l(daemon|
|000054b0| 2c 20 63 6c 69 65 6e 74 | 5f 6e 61 6d 65 2c 20 63 |, client|_name, c|
|000054c0| 6c 69 65 6e 74 5f 61 64 | 64 72 2c 20 63 6c 69 65 |lient_ad|dr, clie|
|000054d0| 6e 74 5f 75 73 65 72 29 | 0a 58 63 68 61 72 20 2a |nt_user)|.Xchar *|
|000054e0| 64 61 65 6d 6f 6e 3b 0a | 58 63 68 61 72 20 2a 63 |daemon;.|Xchar *c|
|000054f0| 6c 69 65 6e 74 5f 6e 61 | 6d 65 3b 0a 58 63 68 61 |lient_na|me;.Xcha|
|00005500| 72 20 2a 63 6c 69 65 6e | 74 5f 61 64 64 72 3b 0a |r *clien|t_addr;.|
|00005510| 58 63 68 61 72 20 2a 63 | 6c 69 65 6e 74 5f 75 73 |Xchar *c|lient_us|
|00005520| 65 72 3b 0a 58 2e 66 69 | 0a 58 2e 53 48 20 44 45 |er;.X.fi|.X.SH DE|
|00005530| 53 43 52 49 50 54 49 4f | 4e 0a 58 54 68 65 20 72 |SCRIPTIO|N.XThe r|
|00005540| 6f 75 74 69 6e 65 73 20 | 64 65 73 63 72 69 62 65 |outines |describe|
|00005550| 64 20 69 6e 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |d in thi|s docume|
|00005560| 6e 74 20 61 72 65 20 70 | 61 72 74 20 6f 66 20 74 |nt are p|art of t|
|00005570| 68 65 20 5c 66 49 6c 69 | 62 77 72 61 70 2e 61 5c |he \fIli|bwrap.a\|
|00005580| 66 52 0a 58 6c 69 62 72 | 61 72 79 2e 20 54 68 65 |fR.Xlibr|ary. The|
|00005590| 79 20 69 6d 70 6c 65 6d | 65 6e 74 20 61 20 70 61 |y implem|ent a pa|
|000055a0| 74 74 65 72 6e 2d 62 61 | 73 65 64 20 61 63 63 65 |ttern-ba|sed acce|
|000055b0| 73 73 20 63 6f 6e 74 72 | 6f 6c 20 6c 61 6e 67 75 |ss contr|ol langu|
|000055c0| 61 67 65 20 77 69 74 68 | 0a 58 6f 70 74 69 6f 6e |age with|.Xoption|
|000055d0| 61 6c 20 73 68 65 6c 6c | 20 63 6f 6d 6d 61 6e 64 |al shell| command|
|000055e0| 73 20 74 68 61 74 20 61 | 72 65 20 65 78 65 63 75 |s that a|re execu|
|000055f0| 74 65 64 20 77 68 65 6e | 20 61 20 70 61 74 74 65 |ted when| a patte|
|00005600| 72 6e 20 66 69 72 65 73 | 2e 0a 58 2e 50 50 0a 58 |rn fires|..X.PP.X|
|00005610| 49 6e 20 61 6c 6c 20 63 | 61 73 65 73 2c 20 74 68 |In all c|ases, th|
|00005620| 65 20 64 61 65 6d 6f 6e | 20 61 72 67 75 6d 65 6e |e daemon| argumen|
|00005630| 74 20 73 68 6f 75 6c 64 | 20 73 70 65 63 69 66 79 |t should| specify|
|00005640| 20 61 20 64 61 65 6d 6f | 6e 20 70 72 6f 63 65 73 | a daemo|n proces|
|00005650| 73 20 6e 61 6d 65 0a 58 | 28 61 72 67 76 5b 30 5d |s name.X|(argv[0]|
|00005660| 20 76 61 6c 75 65 29 2e | 20 20 54 68 65 20 63 6c | value).| The cl|
|00005670| 69 65 6e 74 20 68 6f 73 | 74 20 61 64 64 72 65 73 |ient hos|t addres|
|00005680| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 76 61 |s should| be a va|
|00005690| 6c 69 64 20 61 64 64 72 | 65 73 73 2c 20 6f 72 0a |lid addr|ess, or.|
|000056a0| 58 46 52 4f 4d 5f 55 4e | 4b 4e 4f 57 4e 20 69 66 |XFROM_UN|KNOWN if|
|000056b0| 20 61 64 64 72 65 73 73 | 20 6c 6f 6f 6b 75 70 20 | address| lookup |
|000056c0| 66 61 69 6c 65 64 2e 20 | 54 68 65 20 63 6c 69 65 |failed. |The clie|
|000056d0| 6e 74 20 68 6f 73 74 20 | 6e 61 6d 65 20 61 6e 64 |nt host |name and|
|000056e0| 20 75 73 65 72 0a 58 6e | 61 6d 65 20 73 68 6f 75 | user.Xn|ame shou|
|000056f0| 6c 64 20 62 65 20 65 6d | 70 74 79 20 73 74 72 69 |ld be em|pty stri|
|00005700| 6e 67 73 20 69 66 20 6e | 6f 20 69 6e 66 6f 72 6d |ngs if n|o inform|
|00005710| 61 74 69 6f 6e 20 69 73 | 20 61 76 61 69 6c 61 62 |ation is| availab|
|00005720| 6c 65 2c 0a 58 46 52 4f | 4d 5f 55 4e 4b 4e 4f 57 |le,.XFRO|M_UNKNOW|
|00005730| 4e 20 69 66 20 6c 6f 6f | 6b 75 70 20 66 61 69 6c |N if loo|kup fail|
|00005740| 65 64 2c 20 6f 72 20 61 | 6e 20 61 63 74 75 61 6c |ed, or a|n actual|
|00005750| 20 68 6f 73 74 20 6f 72 | 20 75 73 65 72 20 6e 61 | host or| user na|
|00005760| 6d 65 2e 0a 58 2e 50 50 | 0a 58 68 6f 73 74 73 5f |me..X.PP|.Xhosts_|
|00005770| 61 63 63 65 73 73 28 29 | 20 63 6f 6e 73 75 6c 74 |access()| consult|
|00005780| 73 20 74 68 65 20 61 63 | 63 65 73 73 20 63 6f 6e |s the ac|cess con|
|00005790| 74 72 6f 6c 20 74 61 62 | 6c 65 73 20 64 65 73 63 |trol tab|les desc|
|000057a0| 72 69 62 65 64 20 69 6e | 20 74 68 65 0a 58 5c 66 |ribed in| the.X\f|
|000057b0| 49 68 6f 73 74 73 5f 61 | 63 63 65 73 73 28 35 29 |Ihosts_a|ccess(5)|
|000057c0| 5c 66 52 20 6d 61 6e 75 | 61 6c 20 70 61 67 65 2e |\fR manu|al page.|
|000057d0| 20 20 68 6f 73 74 73 5f | 61 63 63 65 73 73 28 29 | hosts_|access()|
|000057e0| 20 72 65 74 75 72 6e 73 | 20 7a 65 72 6f 20 69 66 | returns| zero if|
|000057f0| 0a 58 61 63 63 65 73 73 | 20 73 68 6f 75 6c 64 20 |.Xaccess| should |
|00005800| 62 65 20 64 65 6e 69 65 | 64 2e 0a 58 2e 50 50 0a |be denie|d..X.PP.|
|00005810| 58 68 6f 73 74 73 5f 63 | 74 6c 28 29 20 69 73 20 |Xhosts_c|tl() is |
|00005820| 61 20 77 72 61 70 70 65 | 72 20 61 72 6f 75 6e 64 |a wrappe|r around|
|00005830| 20 74 68 65 20 68 6f 73 | 74 73 5f 61 63 63 65 73 | the hos|ts_acces|
|00005840| 73 28 29 20 72 6f 75 74 | 69 6e 65 20 77 69 74 68 |s() rout|ine with|
|00005850| 20 61 0a 58 70 65 72 68 | 61 70 73 20 6d 6f 72 65 | a.Xperh|aps more|
|00005860| 20 63 6f 6e 76 65 6e 69 | 65 6e 74 20 69 6e 74 65 | conveni|ent inte|
|00005870| 72 66 61 63 65 20 28 74 | 68 6f 75 67 68 20 69 74 |rface (t|hough it|
|00005880| 20 64 6f 65 73 20 6e 6f | 74 20 70 61 73 73 20 6f | does no|t pass o|
|00005890| 6e 20 65 6e 6f 75 67 68 | 0a 58 69 6e 66 6f 72 6d |n enough|.Xinform|
|000058a0| 61 74 69 6f 6e 20 74 6f | 20 73 75 70 70 6f 72 74 |ation to| support|
|000058b0| 20 61 75 74 6f 6d 61 74 | 65 64 20 72 65 6d 6f 74 | automat|ed remot|
|000058c0| 65 20 75 73 65 72 6e 61 | 6d 65 20 6c 6f 6f 6b 75 |e userna|me looku|
|000058d0| 70 73 29 2e 20 20 68 6f | 73 74 73 5f 63 74 6c 28 |ps). ho|sts_ctl(|
|000058e0| 29 0a 58 72 65 74 75 72 | 6e 73 20 7a 65 72 6f 20 |).Xretur|ns zero |
|000058f0| 69 66 20 61 63 63 65 73 | 73 20 73 68 6f 75 6c 64 |if acces|s should|
|00005900| 20 62 65 20 64 65 6e 69 | 65 64 2e 0a 58 2e 50 50 | be deni|ed..X.PP|
|00005910| 0a 58 54 68 65 20 5c 66 | 49 61 6c 6c 6f 77 5f 73 |.XThe \f|Iallow_s|
|00005920| 65 76 65 72 69 74 79 5c | 66 52 20 61 6e 64 20 5c |everity\|fR and \|
|00005930| 66 49 64 65 6e 79 5f 73 | 65 76 65 72 69 74 79 5c |fIdeny_s|everity\|
|00005940| 66 52 20 76 61 72 69 61 | 62 6c 65 73 20 64 65 74 |fR varia|bles det|
|00005950| 65 72 6d 69 6e 65 0a 58 | 68 6f 77 20 61 63 63 65 |ermine.X|how acce|
|00005960| 70 74 65 64 20 61 6e 64 | 20 72 65 6a 65 63 74 65 |pted and| rejecte|
|00005970| 64 20 72 65 71 75 65 73 | 74 73 20 6d 61 79 20 62 |d reques|ts may b|
|00005980| 65 20 6c 6f 67 67 65 64 | 2e 20 54 68 65 79 20 6d |e logged|. They m|
|00005990| 75 73 74 20 62 65 20 70 | 72 6f 76 69 64 65 64 0a |ust be p|rovided.|
|000059a0| 58 62 79 20 74 68 65 20 | 63 61 6c 6c 65 72 20 61 |Xby the |caller a|
|000059b0| 6e 64 20 6d 61 79 20 62 | 65 20 6d 6f 64 69 66 69 |nd may b|e modifi|
|000059c0| 65 64 20 62 79 20 72 75 | 6c 65 73 20 69 6e 20 74 |ed by ru|les in t|
|000059d0| 68 65 20 61 63 63 65 73 | 73 20 63 6f 6e 74 72 6f |he acces|s contro|
|000059e0| 6c 0a 58 74 61 62 6c 65 | 73 2e 0a 58 2e 53 48 20 |l.Xtable|s..X.SH |
|000059f0| 44 49 41 47 4e 4f 53 54 | 49 43 53 0a 58 50 72 6f |DIAGNOST|ICS.XPro|
|00005a00| 62 6c 65 6d 73 20 61 72 | 65 20 72 65 70 6f 72 74 |blems ar|e report|
|00005a10| 65 64 20 76 69 61 20 74 | 68 65 20 73 79 73 6c 6f |ed via t|he syslo|
|00005a20| 67 20 64 61 65 6d 6f 6e | 2e 0a 58 2e 53 48 20 53 |g daemon|..X.SH S|
|00005a30| 45 45 20 41 4c 53 4f 0a | 58 68 6f 73 74 73 5f 61 |EE ALSO.|Xhosts_a|
|00005a40| 63 63 65 73 73 28 35 29 | 2c 20 66 6f 72 6d 61 74 |ccess(5)|, format|
|00005a50| 20 6f 66 20 74 68 65 20 | 61 63 63 65 73 73 20 63 | of the |access c|
|00005a60| 6f 6e 74 72 6f 6c 20 74 | 61 62 6c 65 73 2e 0a 58 |ontrol t|ables..X|
|00005a70| 68 6f 73 74 73 5f 6f 70 | 74 69 6f 6e 73 28 35 29 |hosts_op|tions(5)|
|00005a80| 2c 20 6f 70 74 69 6f 6e | 61 6c 20 65 78 74 65 6e |, option|al exten|
|00005a90| 73 69 6f 6e 73 20 74 6f | 20 74 68 65 20 62 61 73 |sions to| the bas|
|00005aa0| 65 20 6c 61 6e 67 75 61 | 67 65 2e 0a 58 2e 53 48 |e langua|ge..X.SH|
|00005ab0| 20 46 49 4c 45 53 0a 58 | 2f 65 74 63 2f 68 6f 73 | FILES.X|/etc/hos|
|00005ac0| 74 73 2e 61 63 63 65 73 | 73 2c 20 2f 65 74 63 2f |ts.acces|s, /etc/|
|00005ad0| 68 6f 73 74 73 2e 64 65 | 6e 79 2c 20 61 63 63 65 |hosts.de|ny, acce|
|00005ae0| 73 73 20 63 6f 6e 74 72 | 6f 6c 20 74 61 62 6c 65 |ss contr|ol table|
|00005af0| 73 2e 0a 58 2e 53 48 20 | 42 55 47 53 0a 58 54 68 |s..X.SH |BUGS.XTh|
|00005b00| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 64 65 73 63 |e functi|ons desc|
|00005b10| 72 69 62 65 64 20 68 65 | 72 65 20 64 6f 20 6e 6f |ribed he|re do no|
|00005b20| 74 20 6d 61 6b 65 20 63 | 6f 70 69 65 73 20 6f 66 |t make c|opies of|
|00005b30| 20 74 68 65 69 72 20 73 | 74 72 69 6e 67 2d 76 61 | their s|tring-va|
|00005b40| 6c 75 65 64 0a 58 61 72 | 67 75 6d 65 6e 74 73 2e |lued.Xar|guments.|
|00005b50| 20 20 42 65 77 61 72 65 | 20 6f 66 20 64 61 74 61 | Beware| of data|
|00005b60| 20 66 72 6f 6d 20 66 75 | 6e 63 74 69 6f 6e 73 20 | from fu|nctions |
|00005b70| 74 68 61 74 20 6f 76 65 | 72 77 72 69 74 65 20 74 |that ove|rwrite t|
|00005b80| 68 65 69 72 20 72 65 73 | 75 6c 74 73 0a 58 75 70 |heir res|ults.Xup|
|00005b90| 6f 6e 20 65 61 63 68 20 | 63 61 6c 6c 2e 0a 58 2e |on each |call..X.|
|00005ba0| 73 70 0a 58 68 6f 73 74 | 73 5f 61 63 63 65 73 73 |sp.Xhost|s_access|
|00005bb0| 28 29 20 75 73 65 73 20 | 74 68 65 20 73 74 72 74 |() uses |the strt|
|00005bc0| 6f 6b 28 29 20 6c 69 62 | 72 61 72 79 20 66 75 6e |ok() lib|rary fun|
|00005bd0| 63 74 69 6f 6e 2e 20 54 | 68 69 73 20 6d 61 79 20 |ction. T|his may |
|00005be0| 69 6e 74 65 72 66 65 72 | 65 0a 58 77 69 74 68 20 |interfer|e.Xwith |
|00005bf0| 6f 74 68 65 72 20 63 6f | 64 65 20 74 68 61 74 20 |other co|de that |
|00005c00| 72 65 6c 69 65 73 20 6f | 6e 20 73 74 72 74 6f 6b |relies o|n strtok|
|00005c10| 28 29 2e 0a 58 2e 53 48 | 20 41 55 54 48 4f 52 0a |()..X.SH| AUTHOR.|
|00005c20| 58 2e 6e 61 0a 58 2e 6e | 66 0a 58 57 69 65 74 73 |X.na.X.n|f.XWiets|
|00005c30| 65 20 56 65 6e 65 6d 61 | 20 28 77 69 65 74 73 65 |e Venema| (wietse|
|00005c40| 40 77 7a 76 2e 77 69 6e | 2e 74 75 65 2e 6e 6c 29 |@wzv.win|.tue.nl)|
|00005c50| 0a 58 44 65 70 61 72 74 | 6d 65 6e 74 20 6f 66 20 |.XDepart|ment of |
|00005c60| 4d 61 74 68 65 6d 61 74 | 69 63 73 20 61 6e 64 20 |Mathemat|ics and |
|00005c70| 43 6f 6d 70 75 74 69 6e | 67 20 53 63 69 65 6e 63 |Computin|g Scienc|
|00005c80| 65 0a 58 45 69 6e 64 68 | 6f 76 65 6e 20 55 6e 69 |e.XEindh|oven Uni|
|00005c90| 76 65 72 73 69 74 79 20 | 6f 66 20 54 65 63 68 6e |versity |of Techn|
|00005ca0| 6f 6c 6f 67 79 0a 58 44 | 65 6e 20 44 6f 6c 65 63 |ology.XD|en Dolec|
|00005cb0| 68 20 32 2c 20 50 2e 4f | 2e 20 42 6f 78 20 35 31 |h 2, P.O|. Box 51|
|00005cc0| 33 2c 20 35 36 30 30 20 | 4d 42 20 45 69 6e 64 68 |3, 5600 |MB Eindh|
|00005cd0| 6f 76 65 6e 2c 20 54 68 | 65 20 4e 65 74 68 65 72 |oven, Th|e Nether|
|00005ce0| 6c 61 6e 64 73 0a 58 5c | 22 20 40 28 23 29 20 68 |lands.X\|" @(#) h|
|00005cf0| 6f 73 74 73 5f 61 63 63 | 65 73 73 2e 33 20 31 2e |osts_acc|ess.3 1.|
|00005d00| 34 20 39 33 2f 30 39 2f | 32 37 20 31 38 3a 35 39 |4 93/09/|27 18:59|
|00005d10| 3a 30 38 0a 45 4e 44 5f | 4f 46 5f 68 6f 73 74 73 |:08.END_|OF_hosts|
|00005d20| 5f 61 63 63 65 73 73 2e | 33 0a 69 66 20 74 65 73 |_access.|3.if tes|
|00005d30| 74 20 32 33 35 39 20 2d | 6e 65 20 60 77 63 20 2d |t 2359 -|ne `wc -|
|00005d40| 63 20 3c 68 6f 73 74 73 | 5f 61 63 63 65 73 73 2e |c <hosts|_access.|
|00005d50| 33 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |3`; then|. ech|
|00005d60| 6f 20 73 68 61 72 3a 20 | 5c 22 68 6f 73 74 73 5f |o shar: |\"hosts_|
|00005d70| 61 63 63 65 73 73 2e 33 | 5c 22 20 75 6e 70 61 63 |access.3|\" unpac|
|00005d80| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00005d90| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00005da0| 20 6f 76 65 72 77 72 69 | 74 69 6e 67 20 63 68 65 | overwri|ting che|
|00005db0| 63 6b 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |ck.fi.if| test -f|
|00005dc0| 20 68 6f 73 74 73 5f 61 | 63 63 65 73 73 2e 35 20 | hosts_a|ccess.5 |
|00005dd0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00005de0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00005df0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005e00| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00005e10| 69 6e 67 20 66 69 6c 65 | 20 5c 22 68 6f 73 74 73 |ing file| \"hosts|
|00005e20| 5f 61 63 63 65 73 73 2e | 35 5c 22 0a 65 6c 73 65 |_access.|5\".else|
|00005e30| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00005e40| 61 63 74 69 6e 67 20 5c | 22 68 6f 73 74 73 5f 61 |acting \|"hosts_a|
|00005e50| 63 63 65 73 73 2e 35 5c | 22 20 5c 28 31 32 33 30 |ccess.5\|" \(1230|
|00005e60| 30 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |0 charac|ters\).s|
|00005e70| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 68 6f 73 |ed "s/^X|//" >hos|
|00005e80| 74 73 5f 61 63 63 65 73 | 73 2e 35 20 3c 3c 27 45 |ts_acces|s.5 <<'E|
|00005e90| 4e 44 5f 4f 46 5f 68 6f | 73 74 73 5f 61 63 63 65 |ND_OF_ho|sts_acce|
|00005ea0| 73 73 2e 35 27 0a 58 2e | 54 48 20 48 4f 53 54 53 |ss.5'.X.|TH HOSTS|
|00005eb0| 5f 41 43 43 45 53 53 20 | 35 0a 58 2e 53 48 20 4e |_ACCESS |5.X.SH N|
|00005ec0| 41 4d 45 0a 58 68 6f 73 | 74 73 5f 61 63 63 65 73 |AME.Xhos|ts_acces|
|00005ed0| 73 20 5c 2d 20 66 6f 72 | 6d 61 74 20 6f 66 20 68 |s \- for|mat of h|
|00005ee0| 6f 73 74 20 61 63 63 65 | 73 73 20 63 6f 6e 74 72 |ost acce|ss contr|
|00005ef0| 6f 6c 20 66 69 6c 65 73 | 0a 58 2e 53 48 20 44 45 |ol files|.X.SH DE|
|00005f00| 53 43 52 49 50 54 49 4f | 4e 0a 58 54 68 69 73 20 |SCRIPTIO|N.XThis |
|00005f10| 6d 61 6e 75 61 6c 20 70 | 61 67 65 20 64 65 73 63 |manual p|age desc|
|00005f20| 72 69 62 65 73 20 61 20 | 73 69 6d 70 6c 65 20 61 |ribes a |simple a|
|00005f30| 63 63 65 73 73 20 63 6f | 6e 74 72 6f 6c 20 6c 61 |ccess co|ntrol la|
|00005f40| 6e 67 75 61 67 65 20 74 | 68 61 74 20 69 73 0a 58 |nguage t|hat is.X|
|00005f50| 62 61 73 65 64 20 6f 6e | 20 63 6c 69 65 6e 74 20 |based on| client |
|00005f60| 28 68 6f 73 74 20 6e 61 | 6d 65 2f 61 64 64 72 65 |(host na|me/addre|
|00005f70| 73 73 2c 20 75 73 65 72 | 20 6e 61 6d 65 29 20 61 |ss, user| name) a|
|00005f80| 6e 64 20 73 65 72 76 65 | 72 20 28 70 72 6f 63 65 |nd serve|r (proce|
|00005f90| 73 73 0a 58 6e 61 6d 65 | 29 20 70 61 74 74 65 72 |ss.Xname|) patter|
|00005fa0| 6e 73 2e 20 20 45 78 61 | 6d 70 6c 65 73 20 61 72 |ns. Exa|mples ar|
|00005fb0| 65 20 67 69 76 65 6e 20 | 61 74 20 74 68 65 20 65 |e given |at the e|
|00005fc0| 6e 64 2e 20 54 68 65 20 | 69 6d 70 61 74 69 65 6e |nd. The |impatien|
|00005fd0| 74 20 72 65 61 64 65 72 | 0a 58 63 61 6e 20 73 6b |t reader|.Xcan sk|
|00005fe0| 69 70 20 74 6f 20 74 68 | 65 20 45 58 41 4d 50 4c |ip to th|e EXAMPL|
|00005ff0| 45 53 20 73 65 63 74 69 | 6f 6e 20 66 6f 72 20 61 |ES secti|on for a|
|00006000| 20 71 75 69 63 6b 20 69 | 6e 74 72 6f 64 75 63 74 | quick i|ntroduct|
|00006010| 69 6f 6e 2e 0a 58 2e 50 | 50 0a 58 49 6e 20 74 68 |ion..X.P|P.XIn th|
|00006020| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 65 78 74 |e follow|ing text|
|00006030| 2c 20 5c 66 49 64 61 65 | 6d 6f 6e 5c 66 52 20 69 |, \fIdae|mon\fR i|
|00006040| 73 20 74 68 65 20 74 68 | 65 20 70 72 6f 63 65 73 |s the th|e proces|
|00006050| 73 20 6e 61 6d 65 20 6f | 66 20 61 0a 58 6e 65 74 |s name o|f a.Xnet|
|00006060| 77 6f 72 6b 20 64 61 65 | 6d 6f 6e 20 70 72 6f 63 |work dae|mon proc|
|00006070| 65 73 73 2c 20 61 6e 64 | 20 5c 66 49 63 6c 69 65 |ess, and| \fIclie|
|00006080| 6e 74 5c 66 52 20 69 73 | 20 74 68 65 20 6e 61 6d |nt\fR is| the nam|
|00006090| 65 20 61 6e 64 2f 6f 72 | 20 61 64 64 72 65 73 73 |e and/or| address|
|000060a0| 20 6f 66 0a 58 61 20 68 | 6f 73 74 20 72 65 71 75 | of.Xa h|ost requ|
|000060b0| 65 73 74 69 6e 67 20 73 | 65 72 76 69 63 65 2e 20 |esting s|ervice. |
|000060c0| 4e 65 74 77 6f 72 6b 20 | 64 61 65 6d 6f 6e 20 70 |Network |daemon p|
|000060d0| 72 6f 63 65 73 73 20 6e | 61 6d 65 73 20 61 72 65 |rocess n|ames are|
|000060e0| 20 73 70 65 63 69 66 69 | 65 64 0a 58 69 6e 20 74 | specifi|ed.Xin t|
|000060f0| 68 65 20 69 6e 65 74 64 | 20 63 6f 6e 66 69 67 75 |he inetd| configu|
|00006100| 72 61 74 69 6f 6e 20 66 | 69 6c 65 2e 0a 58 2e 53 |ration f|ile..X.S|
|00006110| 48 20 41 43 43 45 53 53 | 20 43 4f 4e 54 52 4f 4c |H ACCESS| CONTROL|
|00006120| 20 46 49 4c 45 53 0a 58 | 54 68 65 20 61 63 63 65 | FILES.X|The acce|
|00006130| 73 73 20 63 6f 6e 74 72 | 6f 6c 20 73 6f 66 74 77 |ss contr|ol softw|
|00006140| 61 72 65 20 63 6f 6e 73 | 75 6c 74 73 20 74 77 6f |are cons|ults two|
|00006150| 20 66 69 6c 65 73 2e 20 | 54 68 65 20 73 65 61 72 | files. |The sear|
|00006160| 63 68 20 73 74 6f 70 73 | 0a 58 61 74 20 74 68 65 |ch stops|.Xat the|
|00006170| 20 66 69 72 73 74 20 6d | 61 74 63 68 3a 0a 58 2e | first m|atch:.X.|
|00006180| 49 50 20 5c 28 62 75 0a | 58 41 63 63 65 73 73 20 |IP \(bu.|XAccess |
|00006190| 77 69 6c 6c 20 62 65 20 | 67 72 61 6e 74 65 64 20 |will be |granted |
|000061a0| 77 68 65 6e 20 61 20 28 | 64 61 65 6d 6f 6e 2c 63 |when a (|daemon,c|
|000061b0| 6c 69 65 6e 74 29 20 70 | 61 69 72 20 6d 61 74 63 |lient) p|air matc|
|000061c0| 68 65 73 20 61 6e 20 65 | 6e 74 72 79 20 69 6e 0a |hes an e|ntry in.|
|000061d0| 58 74 68 65 20 5c 66 49 | 2f 65 74 63 2f 68 6f 73 |Xthe \fI|/etc/hos|
|000061e0| 74 73 2e 61 6c 6c 6f 77 | 5c 66 52 20 66 69 6c 65 |ts.allow|\fR file|
|000061f0| 2e 0a 58 2e 49 50 20 5c | 28 62 75 0a 58 4f 74 68 |..X.IP \|(bu.XOth|
|00006200| 65 72 77 69 73 65 2c 20 | 61 63 63 65 73 73 20 77 |erwise, |access w|
|00006210| 69 6c 6c 20 62 65 20 64 | 65 6e 69 65 64 20 77 68 |ill be d|enied wh|
|00006220| 65 6e 20 61 20 28 64 61 | 65 6d 6f 6e 2c 63 6c 69 |en a (da|emon,cli|
|00006230| 65 6e 74 29 20 70 61 69 | 72 20 6d 61 74 63 68 65 |ent) pai|r matche|
|00006240| 73 20 61 6e 0a 58 65 6e | 74 72 79 20 69 6e 20 74 |s an.Xen|try in t|
|00006250| 68 65 20 5c 66 49 2f 65 | 74 63 2f 68 6f 73 74 73 |he \fI/e|tc/hosts|
|00006260| 2e 64 65 6e 79 5c 66 52 | 20 66 69 6c 65 2e 0a 58 |.deny\fR| file..X|
|00006270| 2e 49 50 20 5c 28 62 75 | 0a 58 4f 74 68 65 72 77 |.IP \(bu|.XOtherw|
|00006280| 69 73 65 2c 20 61 63 63 | 65 73 73 20 77 69 6c 6c |ise, acc|ess will|
|00006290| 20 62 65 20 67 72 61 6e | 74 65 64 2e 0a 58 2e 50 | be gran|ted..X.P|
|000062a0| 50 0a 58 41 20 6e 6f 6e | 2d 65 78 69 73 74 69 6e |P.XA non|-existin|
|000062b0| 67 20 61 63 63 65 73 73 | 20 63 6f 6e 74 72 6f 6c |g access| control|
|000062c0| 20 66 69 6c 65 20 69 73 | 20 74 72 65 61 74 65 64 | file is| treated|
|000062d0| 20 61 73 20 69 66 20 69 | 74 20 77 65 72 65 20 61 | as if i|t were a|
|000062e0| 6e 20 65 6d 70 74 79 0a | 58 66 69 6c 65 2e 20 54 |n empty.|Xfile. T|
|000062f0| 68 75 73 2c 20 61 63 63 | 65 73 73 20 63 6f 6e 74 |hus, acc|ess cont|
|00006300| 72 6f 6c 20 63 61 6e 20 | 62 65 20 74 75 72 6e 65 |rol can |be turne|
|00006310| 64 20 6f 66 66 20 62 79 | 20 70 72 6f 76 69 64 69 |d off by| providi|
|00006320| 6e 67 20 6e 6f 20 61 63 | 63 65 73 73 0a 58 63 6f |ng no ac|cess.Xco|
|00006330| 6e 74 72 6f 6c 20 66 69 | 6c 65 73 2e 0a 58 2e 53 |ntrol fi|les..X.S|
|00006340| 48 20 41 43 43 45 53 53 | 20 43 4f 4e 54 52 4f 4c |H ACCESS| CONTROL|
|00006350| 20 52 55 4c 45 53 0a 58 | 45 61 63 68 20 61 63 63 | RULES.X|Each acc|
|00006360| 65 73 73 20 63 6f 6e 74 | 72 6f 6c 20 66 69 6c 65 |ess cont|rol file|
|00006370| 20 63 6f 6e 73 69 73 74 | 73 20 6f 66 20 7a 65 72 | consist|s of zer|
|00006380| 6f 20 6f 72 20 6d 6f 72 | 65 20 6c 69 6e 65 73 20 |o or mor|e lines |
|00006390| 6f 66 20 74 65 78 74 2e | 20 20 54 68 65 73 65 0a |of text.| These.|
|000063a0| 58 6c 69 6e 65 73 20 61 | 72 65 20 70 72 6f 63 65 |Xlines a|re proce|
|000063b0| 73 73 65 64 20 69 6e 20 | 6f 72 64 65 72 20 6f 66 |ssed in |order of|
|000063c0| 20 61 70 70 65 61 72 61 | 6e 63 65 2e 20 54 68 65 | appeara|nce. The|
|000063d0| 20 73 65 61 72 63 68 20 | 74 65 72 6d 69 6e 61 74 | search |terminat|
|000063e0| 65 73 20 77 68 65 6e 20 | 61 0a 58 6d 61 74 63 68 |es when |a.Xmatch|
|000063f0| 20 69 73 20 66 6f 75 6e | 64 2e 0a 58 2e 49 50 20 | is foun|d..X.IP |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.