home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, 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)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 32 32 69 30 30 |Subject:| v22i00|
|00000010| 31 3a 20 20 52 46 43 20 | 39 33 31 20 54 43 50 20 |1: RFC |931 TCP |
|00000020| 41 75 74 68 65 6e 74 69 | 63 61 74 69 6f 6e 20 73 |Authenti|cation s|
|00000030| 65 72 76 65 72 2c 20 50 | 61 72 74 30 31 2f 30 32 |erver, P|art01/02|
|00000040| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000050| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 0a 41 |p.source|s.unix.A|
|00000060| 70 70 72 6f 76 65 64 3a | 20 72 73 61 6c 7a 40 75 |pproved:| rsalz@u|
|00000070| 75 6e 65 74 2e 55 55 2e | 4e 45 54 0a 58 2d 43 68 |unet.UU.|NET.X-Ch|
|00000080| 65 63 6b 73 75 6d 2d 53 | 6e 65 66 72 75 3a 20 34 |ecksum-S|nefru: 4|
|00000090| 37 38 34 31 35 62 66 20 | 31 30 38 32 62 62 31 34 |78415bf |1082bb14|
|000000a0| 20 34 30 65 63 64 37 34 | 62 20 61 64 35 30 34 35 | 40ecd74|b ad5045|
|000000b0| 33 63 0a 0a 53 75 62 6d | 69 74 74 65 64 2d 62 79 |3c..Subm|itted-by|
|000000c0| 3a 20 44 61 6e 20 42 65 | 72 6e 73 74 65 69 6e 20 |: Dan Be|rnstein |
|000000d0| 3c 62 72 6e 73 74 6e 64 | 40 61 63 66 31 30 2e 6e |<brnstnd|@acf10.n|
|000000e0| 79 75 2e 65 64 75 3e 0a | 50 6f 73 74 69 6e 67 2d |yu.edu>.|Posting-|
|000000f0| 6e 75 6d 62 65 72 3a 20 | 56 6f 6c 75 6d 65 20 32 |number: |Volume 2|
|00000100| 32 2c 20 49 73 73 75 65 | 20 31 0a 41 72 63 68 69 |2, Issue| 1.Archi|
|00000110| 76 65 2d 6e 61 6d 65 3a | 20 61 75 74 68 32 2e 31 |ve-name:| auth2.1|
|00000120| 2f 70 61 72 74 30 31 0a | 0a 5b 20 20 46 6f 72 20 |/part01.|.[ For |
|00000130| 6d 6f 72 65 20 64 65 74 | 61 69 6c 73 2c 20 73 65 |more det|ails, se|
|00000140| 65 20 72 66 63 39 33 31 | 20 77 68 69 63 68 20 69 |e rfc931| which i|
|00000150| 73 20 69 6e 63 6c 75 64 | 65 64 20 69 6e 20 74 68 |s includ|ed in th|
|00000160| 69 73 20 70 61 63 6b 61 | 67 65 2e 20 2d 2d 72 24 |is packa|ge. --r$|
|00000170| 20 5d 0a 0a 54 68 69 73 | 20 70 61 63 6b 61 67 65 | ]..This| package|
|00000180| 20 70 72 6f 76 69 64 65 | 73 20 74 77 6f 20 62 65 | provide|s two be|
|00000190| 6e 65 66 69 74 73 2e 20 | 54 68 65 20 66 69 72 73 |nefits. |The firs|
|000001a0| 74 20 69 73 20 61 20 73 | 65 63 75 72 65 20 75 73 |t is a s|ecure us|
|000001b0| 65 72 2d 6c 65 76 65 6c | 0a 69 6d 70 6c 65 6d 65 |er-level|.impleme|
|000001c0| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 52 46 43 20 39 |ntation |of RFC 9|
|000001d0| 33 31 2c 20 74 68 65 20 | 41 75 74 68 65 6e 74 69 |31, the |Authenti|
|000001e0| 63 61 74 69 6f 6e 20 53 | 65 72 76 65 72 3b 20 75 |cation S|erver; u|
|000001f0| 6e 6c 65 73 73 20 54 43 | 50 20 69 74 73 65 6c 66 |nless TC|P itself|
|00000200| 0a 69 73 20 63 6f 6d 70 | 72 6f 6d 69 73 65 64 2c |.is comp|romised,|
|00000210| 20 69 74 20 69 73 20 69 | 6d 70 6f 73 73 69 62 6c | it is i|mpossibl|
|00000220| 65 20 74 6f 20 66 6f 72 | 67 65 20 6d 61 69 6c 20 |e to for|ge mail |
|00000230| 6f 72 20 6e 65 77 73 20 | 62 65 74 77 65 65 6e 20 |or news |between |
|00000240| 63 6f 6d 70 75 74 65 72 | 73 0a 73 75 70 70 6f 72 |computer|s.suppor|
|00000250| 74 69 6e 67 20 52 46 43 | 20 39 33 31 2e 20 54 68 |ting RFC| 931. Th|
|00000260| 65 20 73 65 63 6f 6e 64 | 20 69 73 20 61 20 73 69 |e second| is a si|
|00000270| 6e 67 6c 65 2c 20 6d 6f | 64 75 6c 61 72 20 69 6e |ngle, mo|dular in|
|00000280| 74 65 72 66 61 63 65 20 | 74 6f 20 54 43 50 2e 0a |terface |to TCP..|
|00000290| 50 72 6f 67 72 61 6d 73 | 20 77 72 69 74 74 65 6e |Programs| written|
|000002a0| 20 74 6f 20 77 6f 72 6b | 20 77 69 74 68 20 61 75 | to work| with au|
|000002b0| 74 68 74 63 70 20 61 6e | 64 20 61 74 74 61 63 68 |thtcp an|d attach|
|000002c0| 70 6f 72 74 20 64 6f 6e | 27 74 20 65 76 65 6e 20 |port don|'t even |
|000002d0| 6e 65 65 64 20 74 6f 0a | 62 65 20 72 65 63 6f 6d |need to.|be recom|
|000002e0| 70 69 6c 65 64 20 74 6f | 20 72 75 6e 20 75 6e 64 |piled to| run und|
|000002f0| 65 72 20 61 20 6d 6f 72 | 65 20 63 6f 6d 70 72 65 |er a mor|e compre|
|00000300| 68 65 6e 73 69 76 65 20 | 6e 65 74 77 6f 72 6b 20 |hensive |network |
|00000310| 73 65 63 75 72 69 74 79 | 20 73 79 73 74 65 6d 0a |security| system.|
|00000320| 6c 69 6b 65 20 4b 65 72 | 62 65 72 6f 73 2c 20 61 |like Ker|beros, a|
|00000330| 73 20 6c 6f 6e 67 20 74 | 68 65 20 61 75 74 68 20 |s long t|he auth |
|00000340| 70 61 63 6b 61 67 65 20 | 69 73 20 72 65 70 6c 61 |package |is repla|
|00000350| 63 65 64 2e 0a 0a 23 21 | 20 2f 62 69 6e 2f 73 68 |ced...#!| /bin/sh|
|00000360| 0a 23 20 54 68 69 73 20 | 69 73 20 61 20 73 68 65 |.# This |is a she|
|00000370| 6c 6c 20 61 72 63 68 69 | 76 65 2e 20 20 52 65 6d |ll archi|ve. Rem|
|00000380| 6f 76 65 20 61 6e 79 74 | 68 69 6e 67 20 62 65 66 |ove anyt|hing bef|
|00000390| 6f 72 65 20 74 68 69 73 | 20 6c 69 6e 65 2c 20 74 |ore this| line, t|
|000003a0| 68 65 6e 20 75 6e 70 61 | 63 6b 0a 23 20 69 74 20 |hen unpa|ck.# it |
|000003b0| 62 79 20 73 61 76 69 6e | 67 20 69 74 20 69 6e 74 |by savin|g it int|
|000003c0| 6f 20 61 20 66 69 6c 65 | 20 61 6e 64 20 74 79 70 |o a file| and typ|
|000003d0| 69 6e 67 20 22 73 68 20 | 66 69 6c 65 22 2e 20 20 |ing "sh |file". |
|000003e0| 54 6f 20 6f 76 65 72 77 | 72 69 74 65 20 65 78 69 |To overw|rite exi|
|000003f0| 73 74 69 6e 67 0a 23 20 | 66 69 6c 65 73 2c 20 74 |sting.# |files, t|
|00000400| 79 70 65 20 22 73 68 20 | 66 69 6c 65 20 2d 63 22 |ype "sh |file -c"|
|00000410| 2e 20 20 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |. You c|an also |
|00000420| 66 65 65 64 20 74 68 69 | 73 20 61 73 20 73 74 61 |feed thi|s as sta|
|00000430| 6e 64 61 72 64 20 69 6e | 70 75 74 20 76 69 61 0a |ndard in|put via.|
|00000440| 23 20 75 6e 73 68 61 72 | 2c 20 6f 72 20 62 79 20 |# unshar|, or by |
|00000450| 74 79 70 69 6e 67 20 22 | 73 68 20 3c 66 69 6c 65 |typing "|sh <file|
|00000460| 22 2c 20 65 2e 67 2e 2e | 20 20 49 66 20 74 68 69 |", e.g..| If thi|
|00000470| 73 20 61 72 63 68 69 76 | 65 20 69 73 20 63 6f 6d |s archiv|e is com|
|00000480| 70 6c 65 74 65 2c 20 79 | 6f 75 0a 23 20 77 69 6c |plete, y|ou.# wil|
|00000490| 6c 20 73 65 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |l see th|e follow|
|000004a0| 69 6e 67 20 6d 65 73 73 | 61 67 65 20 61 74 20 74 |ing mess|age at t|
|000004b0| 68 65 20 65 6e 64 3a 0a | 23 09 09 22 45 6e 64 20 |he end:.|#.."End |
|000004c0| 6f 66 20 61 72 63 68 69 | 76 65 20 31 20 28 6f 66 |of archi|ve 1 (of|
|000004d0| 20 32 29 2e 22 0a 23 20 | 43 6f 6e 74 65 6e 74 73 | 2).".# |Contents|
|000004e0| 3a 20 20 43 48 41 4e 47 | 45 53 20 4d 61 6b 65 66 |: CHANG|ES Makef|
|000004f0| 69 6c 65 20 52 45 41 44 | 4d 45 20 61 74 74 61 63 |ile READ|ME attac|
|00000500| 68 70 6f 72 74 2e 6d 61 | 6e 20 61 75 74 68 64 2e |hport.ma|n authd.|
|00000510| 63 20 61 75 74 68 64 2e | 6d 61 6e 0a 23 20 20 20 |c authd.|man.# |
|00000520| 61 75 74 68 74 63 70 2e | 6d 61 6e 20 61 75 74 68 |authtcp.|man auth|
|00000530| 75 73 65 72 2e 63 20 61 | 75 74 68 75 73 65 72 2e |user.c a|uthuser.|
|00000540| 68 20 61 75 74 68 75 73 | 65 72 2e 6d 61 6e 20 64 |h authus|er.man d|
|00000550| 69 72 2e 64 6f 63 20 64 | 6a 62 61 74 6f 69 2e 68 |ir.doc d|jbatoi.h|
|00000560| 0a 23 20 20 20 64 6a 62 | 65 72 72 2e 68 0a 23 20 |.# djb|err.h.# |
|00000570| 57 72 61 70 70 65 64 20 | 62 79 20 72 73 61 6c 7a |Wrapped |by rsalz|
|00000580| 40 6c 69 74 63 68 69 2e | 62 62 6e 2e 63 6f 6d 20 |@litchi.|bbn.com |
|00000590| 6f 6e 20 4d 6f 6e 20 41 | 70 72 20 33 30 20 31 35 |on Mon A|pr 30 15|
|000005a0| 3a 35 33 3a 33 39 20 31 | 39 39 30 0a 50 41 54 48 |:53:39 1|990.PATH|
|000005b0| 3d 2f 62 69 6e 3a 2f 75 | 73 72 2f 62 69 6e 3a 2f |=/bin:/u|sr/bin:/|
|000005c0| 75 73 72 2f 75 63 62 20 | 3b 20 65 78 70 6f 72 74 |usr/ucb |; export|
|000005d0| 20 50 41 54 48 0a 69 66 | 20 74 65 73 74 20 2d 66 | PATH.if| test -f|
|000005e0| 20 27 43 48 41 4e 47 45 | 53 27 20 2d 61 20 22 24 | 'CHANGE|S' -a "$|
|000005f0| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00000600| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00000610| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00000620| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00000630| 20 5c 22 27 43 48 41 4e | 47 45 53 27 5c 22 0a 65 | \"'CHAN|GES'\".e|
|00000640| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00000650| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 43 48 41 |xtractin|g \"'CHA|
|00000660| 4e 47 45 53 27 5c 22 20 | 5c 28 33 36 38 36 20 63 |NGES'\" |\(3686 c|
|00000670| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00000680| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 43 48 41 4e 47 |"s/^X//"| >'CHANG|
|00000690| 45 53 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |ES' <<'E|ND_OF_FI|
|000006a0| 4c 45 27 0a 58 34 2f 31 | 38 2f 39 30 3a 20 50 61 |LE'.X4/1|8/90: Pa|
|000006b0| 63 6b 61 67 65 64 20 61 | 75 74 68 20 32 2e 31 20 |ckaged a|uth 2.1 |
|000006c0| 74 6f 20 72 65 70 6c 61 | 63 65 20 70 72 65 76 69 |to repla|ce previ|
|000006d0| 6f 75 73 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |ous comp|.sources|
|000006e0| 2e 75 6e 69 78 20 73 75 | 62 6d 69 73 73 69 6f 6e |.unix su|bmission|
|000006f0| 2e 0a 58 34 2f 31 38 2f | 39 30 3a 20 61 75 74 68 |..X4/18/|90: auth|
|00000700| 64 20 76 65 72 73 69 6f | 6e 20 32 2e 31 2e 0a 58 |d versio|n 2.1..X|
|00000710| 34 2f 31 38 2f 39 30 3a | 20 61 75 74 68 64 20 6c |4/18/90:| authd l|
|00000720| 6f 6f 6b 73 20 6d 75 63 | 68 20 70 72 65 74 74 69 |ooks muc|h pretti|
|00000730| 65 72 2e 0a 58 34 2f 31 | 38 2f 39 30 3a 20 61 74 |er..X4/1|8/90: at|
|00000740| 74 61 63 68 70 6f 72 74 | 20 76 65 72 73 69 6f 6e |tachport| version|
|00000750| 20 34 2e 31 2e 0a 58 34 | 2f 31 38 2f 39 30 3a 20 | 4.1..X4|/18/90: |
|00000760| 61 75 74 68 64 20 73 75 | 70 70 6f 72 74 73 20 21 |authd su|pports !|
|00000770| 20 6c 6f 63 6b 20 66 69 | 6c 65 73 2e 0a 58 34 2f | lock fi|les..X4/|
|00000780| 31 38 2f 39 30 3a 20 61 | 74 74 61 63 68 70 6f 72 |18/90: a|ttachpor|
|00000790| 74 20 66 6f 72 6b 73 20 | 61 73 20 72 65 61 6c 20 |t forks |as real |
|000007a0| 75 69 64 2e 0a 58 34 2f | 31 38 2f 39 30 3a 20 61 |uid..X4/|18/90: a|
|000007b0| 74 74 61 63 68 70 6f 72 | 74 20 6e 6f 77 20 63 68 |ttachpor|t now ch|
|000007c0| 65 63 6b 73 20 70 65 72 | 69 6f 64 69 63 61 6c 6c |ecks per|iodicall|
|000007d0| 79 20 66 6f 72 20 6c 6f | 73 74 20 63 68 69 6c 64 |y for lo|st child|
|000007e0| 72 65 6e 2e 0a 58 34 2f | 31 38 2f 39 30 3a 20 43 |ren..X4/|18/90: C|
|000007f0| 6f 72 72 65 63 74 65 64 | 20 6c 6f 63 6b 69 6e 67 |orrected| locking|
|00000800| 20 73 63 68 65 6d 65 20 | 66 6f 72 20 65 78 63 65 | scheme |for exce|
|00000810| 70 74 69 6f 6e 61 6c 20 | 28 69 2e 65 2e 20 69 6d |ptional |(i.e. im|
|00000820| 70 6f 73 73 69 62 6c 65 | 29 20 63 61 73 65 73 2e |possible|) cases.|
|00000830| 0a 58 34 2f 31 38 2f 39 | 30 3a 20 61 75 74 68 74 |.X4/18/9|0: autht|
|00000840| 63 70 20 76 65 72 73 69 | 6f 6e 20 32 2e 31 2e 0a |cp versi|on 2.1..|
|00000850| 58 34 2f 31 38 2f 39 30 | 3a 20 61 75 74 68 74 63 |X4/18/90|: authtc|
|00000860| 70 20 66 6f 72 6b 73 20 | 61 73 20 72 65 61 6c 20 |p forks |as real |
|00000870| 75 69 64 2e 0a 58 34 2f | 31 38 2f 39 30 3a 20 61 |uid..X4/|18/90: a|
|00000880| 74 74 61 63 68 70 6f 72 | 74 20 68 61 6e 64 6c 65 |ttachpor|t handle|
|00000890| 73 20 73 69 67 6e 61 6c | 73 20 62 65 74 74 65 72 |s signal|s better|
|000008a0| 2e 0a 58 34 2f 31 38 2f | 39 30 3a 20 61 75 74 68 |..X4/18/|90: auth|
|000008b0| 74 63 70 20 68 61 6e 64 | 6c 65 73 20 73 69 67 6e |tcp hand|les sign|
|000008c0| 61 6c 73 20 62 65 74 74 | 65 72 2e 20 49 74 27 73 |als bett|er. It's|
|000008d0| 20 61 6e 6e 6f 79 69 6e | 67 20 74 68 61 74 20 65 | annoyin|g that e|
|000008e0| 78 74 65 6e 73 69 6f 6e | 73 0a 58 09 20 74 6f 20 |xtension|s.X. to |
|000008f0| 74 68 65 20 73 69 67 6e | 61 6c 20 73 65 6d 61 6e |the sign|al seman|
|00000900| 74 69 63 73 20 63 6f 75 | 6c 64 20 6d 61 6b 65 20 |tics cou|ld make |
|00000910| 73 65 63 75 72 65 20 70 | 72 6f 67 72 61 6d 73 20 |secure p|rograms |
|00000920| 69 6e 73 65 63 75 72 65 | 2e 0a 58 34 2f 31 38 2f |insecure|..X4/18/|
|00000930| 39 30 3a 20 61 74 74 61 | 63 68 70 6f 72 74 20 69 |90: atta|chport i|
|00000940| 73 20 6e 6f 77 20 6a 75 | 73 74 20 61 73 20 63 61 |s now ju|st as ca|
|00000950| 72 65 66 75 6c 2e 0a 58 | 34 2f 31 38 2f 39 30 3a |reful..X|4/18/90:|
|00000960| 20 61 75 74 68 74 63 70 | 20 69 73 20 6e 6f 77 20 | authtcp| is now |
|00000970| 72 69 64 69 63 75 6c 6f | 75 73 6c 79 20 63 61 72 |ridiculo|usly car|
|00000980| 65 66 75 6c 20 74 6f 20 | 73 77 69 74 63 68 20 74 |eful to |switch t|
|00000990| 6f 20 65 66 66 65 63 74 | 69 76 65 20 75 69 64 0a |o effect|ive uid.|
|000009a0| 58 09 20 62 65 66 6f 72 | 65 20 75 6e 6c 69 6e 6b |X. befor|e unlink|
|000009b0| 69 6e 67 20 6c 6f 63 6b | 20 66 69 6c 65 20 61 6e |ing lock| file an|
|000009c0| 64 20 74 6f 20 72 65 61 | 6c 20 75 69 64 20 62 65 |d to rea|l uid be|
|000009d0| 66 6f 72 65 20 65 78 69 | 74 69 6e 67 2e 0a 58 34 |fore exi|ting..X4|
|000009e0| 2f 31 38 2f 39 30 3a 20 | 41 61 72 67 68 2c 20 66 |/18/90: |Aargh, f|
|000009f0| 6f 72 6b 28 29 20 75 73 | 65 73 20 65 66 66 65 63 |ork() us|es effec|
|00000a00| 74 69 76 65 20 75 69 64 | 20 72 61 74 68 65 72 20 |tive uid| rather |
|00000a10| 74 68 61 6e 20 72 65 61 | 6c 20 75 69 64 20 66 6f |than rea|l uid fo|
|00000a20| 72 0a 58 09 20 4d 41 58 | 55 50 52 43 20 63 68 65 |r.X. MAX|UPRC che|
|00000a30| 63 6b 73 2e 20 54 68 69 | 73 20 60 60 66 65 61 74 |cks. Thi|s ``feat|
|00000a40| 75 72 65 27 27 20 63 61 | 6e 20 62 72 69 6e 67 20 |ure'' ca|n bring |
|00000a50| 64 6f 77 6e 20 61 74 74 | 61 63 68 70 6f 72 74 20 |down att|achport |
|00000a60| 61 6e 64 0a 58 09 20 61 | 75 74 68 74 63 70 20 69 |and.X. a|uthtcp i|
|00000a70| 66 20 4d 41 58 55 50 52 | 43 20 69 73 20 73 6d 61 |f MAXUPR|C is sma|
|00000a80| 6c 6c 20 61 6e 64 20 74 | 68 65 20 6d 61 63 68 69 |ll and t|he machi|
|00000a90| 6e 65 20 69 73 20 62 69 | 67 2e 0a 58 0a 58 34 2f |ne is bi|g..X.X4/|
|00000aa0| 32 2f 39 30 3a 20 61 74 | 74 61 63 68 70 6f 72 74 |2/90: at|tachport|
|00000ab0| 20 76 65 72 73 69 6f 6e | 20 34 2e 30 2e 0a 58 34 | version| 4.0..X4|
|00000ac0| 2f 32 2f 39 30 3a 20 61 | 75 74 68 74 63 70 20 76 |/2/90: a|uthtcp v|
|00000ad0| 65 72 73 69 6f 6e 20 32 | 2e 30 2e 0a 58 34 2f 32 |ersion 2|.0..X4/2|
|00000ae0| 2f 39 30 3a 20 61 75 74 | 68 64 20 76 65 72 73 69 |/90: aut|hd versi|
|00000af0| 6f 6e 20 32 2e 30 2e 0a | 58 34 2f 32 2f 39 30 3a |on 2.0..|X4/2/90:|
|00000b00| 20 61 75 74 68 75 73 65 | 72 20 76 65 72 73 69 6f | authuse|r versio|
|00000b10| 6e 20 32 2e 30 2e 0a 58 | 34 2f 32 2f 39 30 3a 20 |n 2.0..X|4/2/90: |
|00000b20| 46 69 6e 61 6c 20 70 61 | 63 6b 61 67 69 6e 67 20 |Final pa|ckaging |
|00000b30| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |and dist|ribution|
|00000b40| 20 66 6f 72 20 63 6f 6d | 70 2e 73 6f 75 72 63 65 | for com|p.source|
|00000b50| 73 2e 75 6e 69 78 2e 0a | 58 0a 58 34 2f 32 2f 39 |s.unix..|X.X4/2/9|
|00000b60| 30 3a 20 45 76 65 72 79 | 74 68 69 6e 67 20 70 61 |0: Every|thing pa|
|00000b70| 73 73 65 73 20 6c 69 6e | 74 20 70 65 72 66 65 63 |sses lin|t perfec|
|00000b80| 74 6c 79 2c 20 74 68 6f | 75 67 68 20 6e 6f 74 20 |tly, tho|ugh not |
|00000b90| 6c 69 6e 74 20 2d 68 61 | 63 78 2e 0a 58 0a 58 34 |lint -ha|cx..X.X4|
|00000ba0| 2f 32 2f 39 30 3a 20 61 | 74 74 61 63 68 70 6f 72 |/2/90: a|ttachpor|
|00000bb0| 74 20 6e 6f 77 20 75 6e | 64 65 72 73 74 61 6e 64 |t now un|derstand|
|00000bc0| 73 20 53 49 47 54 45 52 | 4d 20 66 72 6f 6d 20 6b |s SIGTER|M from k|
|00000bd0| 69 6c 6c 61 70 6f 72 74 | 2e 0a 58 34 2f 32 2f 39 |illaport|..X4/2/9|
|00000be0| 30 3a 20 41 6c 6c 20 70 | 72 6f 67 72 61 6d 73 20 |0: All p|rograms |
|00000bf0| 6e 6f 77 20 75 73 65 20 | 69 6e 65 74 5f 6e 74 6f |now use |inet_nto|
|00000c00| 61 28 29 20 77 68 65 72 | 65 20 61 70 70 72 6f 70 |a() wher|e approp|
|00000c10| 72 69 61 74 65 2e 0a 58 | 34 2f 32 2f 39 30 3a 20 |riate..X|4/2/90: |
|00000c20| 41 6c 6c 20 70 72 6f 67 | 72 61 6d 73 20 6e 6f 77 |All prog|rams now|
|00000c30| 20 75 73 65 20 69 73 61 | 73 63 69 69 28 29 20 77 | use isa|scii() w|
|00000c40| 68 65 72 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 |here app|ropriate|
|00000c50| 2e 0a 58 34 2f 32 2f 39 | 30 3a 20 61 74 74 61 63 |..X4/2/9|0: attac|
|00000c60| 68 70 6f 72 74 20 6e 6f | 77 20 75 6e 64 65 72 73 |hport no|w unders|
|00000c70| 74 61 6e 64 73 20 65 76 | 65 72 79 74 68 69 6e 67 |tands ev|erything|
|00000c80| 2e 0a 58 34 2f 32 2f 39 | 30 3a 20 49 6e 74 65 67 |..X4/2/9|0: Integ|
|00000c90| 72 61 74 65 64 20 61 74 | 74 61 63 68 70 6f 72 74 |rated at|tachport|
|00000ca0| 20 69 6e 74 6f 20 61 75 | 74 68 20 64 69 73 74 72 | into au|th distr|
|00000cb0| 69 62 75 74 69 6f 6e 2e | 20 61 74 74 61 63 68 70 |ibution.| attachp|
|00000cc0| 6f 72 74 20 43 48 41 4e | 47 45 53 3a 0a 58 20 20 |ort CHAN|GES:.X |
|00000cd0| 20 20 20 20 20 20 33 2f | 32 31 2f 39 30 3a 20 53 | 3/|21/90: S|
|00000ce0| 6f 6d 65 68 6f 77 20 61 | 74 74 61 63 68 70 6f 72 |omehow a|ttachpor|
|00000cf0| 74 20 68 61 73 20 67 6f | 74 74 65 6e 20 75 70 20 |t has go|tten up |
|00000d00| 74 6f 20 33 2e 36 2e 0a | 58 20 20 20 20 20 20 20 |to 3.6..|X |
|00000d10| 20 31 2f 32 38 2f 39 30 | 3a 20 41 64 64 65 64 20 | 1/28/90|: Added |
|00000d20| 2d 30 20 6f 70 74 69 6f | 6e 20 74 6f 20 77 69 74 |-0 optio|n to wit|
|00000d30| 68 65 72 20 61 77 61 79 | 20 77 68 65 6e 20 69 6e |her away| when in|
|00000d40| 70 75 74 20 66 69 6c 65 | 20 64 69 73 61 70 70 65 |put file| disappe|
|00000d50| 61 72 73 2e 0a 58 20 20 | 20 20 20 20 20 20 31 2f |ars..X | 1/|
|00000d60| 32 38 2f 39 30 3a 20 41 | 64 64 65 64 20 2d 31 20 |28/90: A|dded -1 |
|00000d70| 6f 70 74 69 6f 6e 20 61 | 73 20 61 20 63 6f 6d 70 |option a|s a comp|
|00000d80| 75 74 65 72 2d 66 72 69 | 65 6e 64 6c 79 20 2d 76 |uter-fri|endly -v|
|00000d90| 2e 0a 58 20 20 20 20 20 | 20 20 20 31 2f 37 2f 39 |..X | 1/7/9|
|00000da0| 30 3a 20 61 74 74 61 63 | 68 70 6f 72 74 20 33 2e |0: attac|hport 3.|
|00000db0| 35 2e 0a 58 20 20 20 20 | 20 20 20 20 43 6c 65 61 |5..X | Clea|
|00000dc0| 6e 65 64 20 75 70 20 6d | 6f 73 74 6c 79 20 65 76 |ned up m|ostly ev|
|00000dd0| 65 72 79 74 68 69 6e 67 | 2e 0a 58 20 20 20 20 20 |erything|..X |
|00000de0| 20 20 20 61 74 74 61 63 | 68 70 6f 72 74 20 76 65 | attac|hport ve|
|00000df0| 72 73 69 6f 6e 20 33 2e | 30 2c 20 31 31 2f 31 2f |rsion 3.|0, 11/1/|
|00000e00| 38 39 2e 0a 58 0a 58 34 | 2f 31 2f 39 30 3a 20 61 |89..X.X4|/1/90: a|
|00000e10| 75 74 68 75 73 65 72 20 | 6e 6f 77 20 63 68 65 63 |uthuser |now chec|
|00000e20| 6b 73 20 66 6f 72 20 55 | 53 45 52 49 44 20 66 72 |ks for U|SERID fr|
|00000e30| 6f 6d 20 74 68 65 20 41 | 75 74 68 65 6e 74 69 63 |om the A|uthentic|
|00000e40| 61 74 69 6f 6e 20 53 65 | 72 76 65 72 2c 0a 58 09 |ation Se|rver,.X.|
|00000e50| 74 68 6f 75 67 68 20 69 | 74 20 64 6f 65 73 6e 27 |though i|t doesn'|
|00000e60| 74 20 64 6f 20 61 6e 79 | 74 68 69 6e 67 20 69 6e |t do any|thing in|
|00000e70| 66 6f 72 6d 61 74 69 76 | 65 20 75 70 6f 6e 20 61 |formativ|e upon a|
|00000e80| 20 72 65 6d 6f 74 65 20 | 45 52 52 4f 52 2e 0a 58 | remote |ERROR..X|
|00000e90| 34 2f 31 2f 39 30 3a 20 | 61 75 74 68 64 20 6e 6f |4/1/90: |authd no|
|00000ea0| 77 20 75 73 65 73 20 75 | 6e 73 69 67 6e 65 64 20 |w uses u|nsigned |
|00000eb0| 77 68 65 72 65 20 69 74 | 20 73 68 6f 75 6c 64 2e |where it| should.|
|00000ec0| 0a 58 34 2f 31 2f 39 30 | 3a 20 61 75 74 68 75 73 |.X4/1/90|: authus|
|00000ed0| 65 72 20 6e 6f 77 20 75 | 73 65 73 20 75 6e 73 69 |er now u|ses unsi|
|00000ee0| 67 6e 65 64 20 77 68 65 | 72 65 20 69 74 20 73 68 |gned whe|re it sh|
|00000ef0| 6f 75 6c 64 2e 0a 58 34 | 2f 31 2f 39 30 3a 20 61 |ould..X4|/1/90: a|
|00000f00| 75 74 68 74 63 70 20 6e | 6f 77 20 75 73 65 73 20 |uthtcp n|ow uses |
|00000f10| 75 6e 73 69 67 6e 65 64 | 20 77 68 65 72 65 20 69 |unsigned| where i|
|00000f20| 74 20 73 68 6f 75 6c 64 | 2e 0a 58 34 2f 31 2f 39 |t should|..X4/1/9|
|00000f30| 30 3a 20 61 75 74 68 64 | 20 6e 6f 77 20 75 73 65 |0: authd| now use|
|00000f40| 73 20 63 74 79 70 65 2e | 68 20 61 70 70 72 6f 70 |s ctype.|h approp|
|00000f50| 72 69 61 74 65 6c 79 2e | 0a 58 0a 58 34 2f 31 2f |riately.|.X.X4/1/|
|00000f60| 39 30 3a 20 61 75 74 68 | 64 20 73 75 70 70 6f 72 |90: auth|d suppor|
|00000f70| 74 73 20 6e 65 77 20 6c | 6f 63 6b 69 6e 67 20 70 |ts new l|ocking p|
|00000f80| 72 6f 74 6f 63 6f 6c 2e | 0a 58 34 2f 31 2f 39 30 |rotocol.|.X4/1/90|
|00000f90| 3a 20 61 75 74 68 74 63 | 70 20 73 75 70 70 6f 72 |: authtc|p suppor|
|00000fa0| 74 73 20 6e 65 77 20 6c | 6f 63 6b 69 6e 67 20 70 |ts new l|ocking p|
|00000fb0| 72 6f 74 6f 63 6f 6c 2e | 0a 58 34 2f 31 2f 39 30 |rotocol.|.X4/1/90|
|00000fc0| 3a 20 53 65 74 20 75 70 | 20 6e 65 77 20 6c 6f 63 |: Set up| new loc|
|00000fd0| 6b 69 6e 67 20 70 72 6f | 63 65 64 75 72 65 20 74 |king pro|cedure t|
|00000fe0| 6f 20 70 72 65 76 65 6e | 74 20 61 75 74 68 65 6e |o preven|t authen|
|00000ff0| 74 69 63 61 74 69 6f 6e | 20 72 61 63 65 0a 58 09 |tication| race.X.|
|00001000| 63 6f 6e 64 69 74 69 6f | 6e 3b 20 61 74 74 61 63 |conditio|n; attac|
|00001010| 68 70 6f 72 74 20 77 69 | 6c 6c 20 68 61 76 65 20 |hport wi|ll have |
|00001020| 74 6f 20 73 75 70 70 6f | 72 74 20 74 68 69 73 20 |to suppo|rt this |
|00001030| 74 6f 6f 2e 0a 58 0a 58 | 33 2f 33 31 2f 39 30 3a |too..X.X|3/31/90:|
|00001040| 20 61 75 74 68 74 63 70 | 20 76 65 72 73 69 6f 6e | authtcp| version|
|00001050| 20 31 2e 38 2e 0a 58 0a | 58 33 2f 33 31 2f 39 30 | 1.8..X.|X3/31/90|
|00001060| 3a 20 61 75 74 68 74 63 | 70 20 6e 6f 77 20 74 61 |: authtc|p now ta|
|00001070| 6c 6b 73 20 74 6f 20 74 | 68 65 20 72 65 6d 6f 74 |lks to t|he remot|
|00001080| 65 20 61 75 74 68 64 2e | 0a 58 33 2f 33 31 2f 39 |e authd.|.X3/31/9|
|00001090| 30 3a 20 61 75 74 68 75 | 73 65 72 20 76 65 72 73 |0: authu|ser vers|
|000010a0| 69 6f 6e 20 31 2e 35 2e | 0a 58 33 2f 33 31 2f 39 |ion 1.5.|.X3/31/9|
|000010b0| 30 3a 20 52 65 64 69 64 | 20 61 75 74 68 75 73 65 |0: Redid| authuse|
|000010c0| 72 20 69 6e 74 65 72 66 | 61 63 65 2e 0a 58 33 2f |r interf|ace..X3/|
|000010d0| 33 31 2f 39 30 3a 20 41 | 64 64 65 64 20 61 75 74 |31/90: A|dded aut|
|000010e0| 68 75 73 65 72 20 6c 69 | 62 72 61 72 79 20 74 6f |huser li|brary to|
|000010f0| 20 61 75 74 68 74 63 70 | 64 20 28 6e 6f 77 20 6a | authtcp|d (now j|
|00001100| 75 73 74 20 61 75 74 68 | 29 20 64 69 73 74 72 69 |ust auth|) distri|
|00001110| 62 75 74 69 6f 6e 2e 0a | 58 0a 58 33 2f 32 37 2f |bution..|X.X3/27/|
|00001120| 39 30 3a 20 61 75 74 68 | 74 63 70 20 6e 6f 77 20 |90: auth|tcp now |
|00001130| 73 75 70 70 6f 72 74 73 | 20 67 65 74 73 65 72 76 |supports| getserv|
|00001140| 62 79 6e 61 6d 65 28 29 | 2d 2d 2d 61 6e 64 20 61 |byname()|---and a|
|00001150| 6e 20 69 6e 74 65 72 65 | 73 74 69 6e 67 0a 58 09 |n intere|sting.X.|
|00001160| 20 69 6e 63 6f 6e 73 69 | 73 74 65 6e 63 79 20 73 | inconsi|stency s|
|00001170| 68 6f 77 65 64 20 75 70 | 21 20 43 68 65 63 6b 20 |howed up|! Check |
|00001180| 73 6f 63 6b 61 64 64 72 | 5f 69 6e 20 69 6e 20 6e |sockaddr|_in in n|
|00001190| 65 74 69 6e 65 74 2f 69 | 6e 2e 68 0a 58 09 20 76 |etinet/i|n.h.X. v|
|000011a0| 65 72 73 75 73 20 73 65 | 72 76 65 6e 74 2e 73 5f |ersus se|rvent.s_|
|000011b0| 70 6f 72 74 20 69 6e 20 | 6e 65 74 64 62 2e 68 2e |port in |netdb.h.|
|000011c0| 20 48 6f 20 68 75 6d 2e | 0a 58 33 2f 32 37 2f 39 | Ho hum.|.X3/27/9|
|000011d0| 30 3a 20 54 6f 75 63 68 | 65 64 20 75 70 20 61 75 |0: Touch|ed up au|
|000011e0| 74 68 74 63 70 20 61 20 | 62 69 74 2e 0a 58 0a 58 |thtcp a |bit..X.X|
|000011f0| 31 2f 33 31 2f 39 30 3a | 20 61 75 74 68 64 20 76 |1/31/90:| authd v|
|00001200| 65 72 73 69 6f 6e 20 31 | 2e 35 32 2e 0a 58 31 2f |ersion 1|.52..X1/|
|00001210| 33 31 2f 39 30 3a 20 61 | 75 74 68 74 63 70 20 76 |31/90: a|uthtcp v|
|00001220| 65 72 73 69 6f 6e 20 31 | 2e 35 32 2e 0a 58 0a 58 |ersion 1|.52..X.X|
|00001230| 31 2f 33 31 2f 39 30 3a | 20 61 75 74 68 74 63 70 |1/31/90:| authtcp|
|00001240| 20 6e 6f 77 20 73 75 70 | 70 6f 72 74 73 20 54 53 | now sup|ports TS|
|00001250| 54 50 2e 0a 58 31 2f 33 | 31 2f 39 30 3a 20 42 6f |TP..X1/3|1/90: Bo|
|00001260| 74 68 20 70 72 6f 67 72 | 61 6d 73 20 6e 6f 77 20 |th progr|ams now |
|00001270| 68 61 76 65 20 41 55 54 | 48 44 49 52 20 69 66 64 |have AUT|HDIR ifd|
|00001280| 65 66 65 64 20 73 6f 20 | 69 74 20 63 61 6e 20 67 |efed so |it can g|
|00001290| 6f 20 69 6e 74 6f 20 4d | 61 6b 65 66 69 6c 65 2e |o into M|akefile.|
|000012a0| 0a 58 0a 58 47 65 74 6f | 70 74 20 75 73 61 67 65 |.X.XGeto|pt usage|
|000012b0| 20 63 6f 6d 70 61 74 69 | 62 6c 65 20 77 69 74 68 | compati|ble with|
|000012c0| 20 64 75 6d 62 20 67 65 | 74 6f 70 74 20 28 6e 6f | dumb ge|topt (no|
|000012d0| 20 73 70 65 63 69 61 6c | 20 6e 75 6d 65 72 69 63 | special| numeric|
|000012e0| 20 74 72 65 61 74 6d 65 | 6e 74 29 2e 0a 58 0a 58 | treatme|nt)..X.X|
|000012f0| 31 2f 37 2f 39 30 3a 20 | 61 75 74 68 64 20 76 65 |1/7/90: |authd ve|
|00001300| 72 73 69 6f 6e 20 31 2e | 35 2e 0a 58 31 2f 37 2f |rsion 1.|5..X1/7/|
|00001310| 39 30 3a 20 61 75 74 68 | 74 63 70 20 76 65 72 73 |90: auth|tcp vers|
|00001320| 69 6f 6e 20 31 2e 35 2e | 0a 58 0a 58 42 6f 74 68 |ion 1.5.|.X.XBoth|
|00001330| 20 70 72 6f 67 72 61 6d | 73 20 6e 6f 77 20 75 73 | program|s now us|
|00001340| 65 20 67 65 74 6f 70 74 | 2e 0a 58 0a 58 61 75 74 |e getopt|..X.Xaut|
|00001350| 68 64 20 70 61 73 73 65 | 73 20 6c 69 6e 74 2e 0a |hd passe|s lint..|
|00001360| 58 0a 58 61 75 74 68 74 | 63 70 3a 20 57 68 6f 6f |X.Xautht|cp: Whoo|
|00001370| 70 73 2c 20 72 65 61 6c | 6c 79 20 73 68 6f 75 6c |ps, real|ly shoul|
|00001380| 64 20 74 75 72 6e 20 6f | 66 66 20 54 53 54 50 2c |d turn o|ff TSTP,|
|00001390| 20 61 73 20 77 65 20 64 | 6f 6e 27 74 20 68 61 6e | as we d|on't han|
|000013a0| 64 6c 65 20 73 74 6f 70 | 70 69 6e 67 2e 0a 58 0a |dle stop|ping..X.|
|000013b0| 58 61 75 74 68 74 63 70 | 20 6b 65 65 70 73 20 73 |Xauthtcp| keeps s|
|000013c0| 6f 63 6b 65 74 20 6f 70 | 65 6e 2c 20 74 6f 20 63 |ocket op|en, to c|
|000013d0| 6c 6f 73 65 20 61 20 54 | 72 6f 6a 61 6e 20 48 6f |lose a T|rojan Ho|
|000013e0| 72 73 65 2d 6c 69 6b 65 | 20 73 65 63 75 72 69 74 |rse-like| securit|
|000013f0| 79 20 68 6f 6c 65 2e 0a | 58 61 75 74 68 74 63 70 |y hole..|Xauthtcp|
|00001400| 20 64 6f 65 73 6e 27 74 | 20 74 75 72 6e 20 6f 66 | doesn't| turn of|
|00001410| 66 20 73 69 67 6e 61 6c | 73 20 66 6f 72 20 69 74 |f signal|s for it|
|00001420| 73 20 63 68 69 6c 64 2e | 0a 58 0a 58 61 75 74 68 |s child.|.X.Xauth|
|00001430| 74 63 70 20 76 65 72 73 | 69 6f 6e 20 31 2e 31 2c |tcp vers|ion 1.1,|
|00001440| 20 31 31 2f 31 2f 38 39 | 2e 0a 58 0a 58 61 75 74 | 11/1/89|..X.Xaut|
|00001450| 68 74 63 70 20 68 61 73 | 20 74 68 65 20 76 65 72 |htcp has| the ver|
|00001460| 62 6f 73 65 20 6f 70 74 | 69 6f 6e 20 69 74 27 73 |bose opt|ion it's|
|00001470| 20 62 65 65 6e 20 62 65 | 67 67 69 6e 67 20 66 6f | been be|gging fo|
|00001480| 72 2e 0a 58 61 75 74 68 | 74 63 70 20 6e 6f 77 20 |r..Xauth|tcp now |
|00001490| 75 6e 64 65 72 73 74 61 | 6e 64 73 20 67 65 74 68 |understa|nds geth|
|000014a0| 6f 73 74 62 79 6e 61 6d | 65 28 29 2e 0a 58 0a 58 |ostbynam|e()..X.X|
|000014b0| 61 75 74 68 64 20 76 65 | 72 73 69 6f 6e 20 31 2e |authd ve|rsion 1.|
|000014c0| 30 30 31 2c 20 31 31 2f | 31 2f 38 39 2e 0a 58 61 |001, 11/|1/89..Xa|
|000014d0| 75 74 68 74 63 70 20 76 | 65 72 73 69 6f 6e 20 31 |uthtcp v|ersion 1|
|000014e0| 2e 30 30 31 2c 20 31 31 | 2f 31 2f 38 39 2e 0a 58 |.001, 11|/1/89..X|
|000014f0| 0a 58 43 68 61 6e 67 65 | 64 20 35 30 20 69 6e 20 |.XChange|d 50 in |
|00001500| 62 6f 74 68 20 70 72 6f | 67 72 61 6d 73 20 74 6f |both pro|grams to|
|00001510| 20 62 65 20 73 69 7a 65 | 6f 66 28 41 55 54 48 44 | be size|of(AUTHD|
|00001520| 49 52 29 20 2b 20 33 30 | 2e 0a 58 0a 58 61 75 74 |IR) + 30|..X.Xaut|
|00001530| 68 64 20 76 65 72 73 69 | 6f 6e 20 31 2e 30 2c 20 |hd versi|on 1.0, |
|00001540| 31 30 2f 32 36 2f 38 39 | 2e 0a 58 61 75 74 68 74 |10/26/89|..Xautht|
|00001550| 63 70 20 76 65 72 73 69 | 6f 6e 20 31 2e 30 2c 20 |cp versi|on 1.0, |
|00001560| 31 30 2f 32 36 2f 38 39 | 2e 0a 45 4e 44 5f 4f 46 |10/26/89|..END_OF|
|00001570| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 33 36 |_FILE.if| test 36|
|00001580| 38 36 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |86 -ne `|wc -c <'|
|00001590| 43 48 41 4e 47 45 53 27 | 60 3b 20 74 68 65 6e 0a |CHANGES'|`; then.|
|000015a0| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|000015b0| 22 27 43 48 41 4e 47 45 | 53 27 5c 22 20 75 6e 70 |"'CHANGE|S'\" unp|
|000015c0| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|000015d0| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|000015e0| 6f 66 20 27 43 48 41 4e | 47 45 53 27 0a 66 69 0a |of 'CHAN|GES'.fi.|
|000015f0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 4d 61 6b 65 |if test |-f 'Make|
|00001600| 66 69 6c 65 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |file' -a| "${1}" |
|00001610| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00001620| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00001630| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00001640| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 4d |isting f|ile \"'M|
|00001650| 61 6b 65 66 69 6c 65 27 | 5c 22 0a 65 6c 73 65 0a |akefile'|\".else.|
|00001660| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00001670| 63 74 69 6e 67 20 5c 22 | 27 4d 61 6b 65 66 69 6c |cting \"|'Makefil|
|00001680| 65 27 5c 22 20 5c 28 31 | 35 37 30 20 63 68 61 72 |e'\" \(1|570 char|
|00001690| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000016a0| 5e 58 2f 2f 22 20 3e 27 | 4d 61 6b 65 66 69 6c 65 |^X//" >'|Makefile|
|000016b0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000016c0| 27 0a 58 43 43 3d 63 63 | 0a 58 43 43 4f 50 54 53 |'.XCC=cc|.XCCOPTS|
|000016d0| 3d 2d 4f 0a 58 4e 52 4f | 46 46 3d 6e 72 6f 66 66 |=-O.XNRO|FF=nroff|
|000016e0| 0a 58 4e 52 4f 46 46 4f | 50 54 53 3d 2d 6d 61 6e |.XNROFFO|PTS=-man|
|000016f0| 0a 58 0a 58 23 20 2d 44 | 41 55 54 48 44 49 52 3d |.X.X# -D|AUTHDIR=|
|00001700| 5c 22 64 69 72 65 63 74 | 6f 72 79 5c 22 20 20 74 |\"direct|ory\" t|
|00001710| 6f 20 6f 76 65 72 72 69 | 64 65 20 64 65 66 61 75 |o overri|de defau|
|00001720| 6c 74 20 6f 66 20 2f 75 | 73 72 2f 65 74 63 2f 61 |lt of /u|sr/etc/a|
|00001730| 75 74 68 0a 58 23 20 2d | 44 41 55 54 48 54 43 50 |uth.X# -|DAUTHTCP|
|00001740| 50 4f 52 54 3d 70 6f 72 | 74 20 20 74 6f 20 6f 76 |PORT=por|t to ov|
|00001750| 65 72 72 69 64 65 20 64 | 65 66 61 75 6c 74 20 6f |erride d|efault o|
|00001760| 66 20 31 31 33 0a 58 23 | 20 2d 44 4d 41 58 48 4f |f 113.X#| -DMAXHO|
|00001770| 53 54 4e 41 4d 45 4c 45 | 4e 3d 6e 6e 20 20 74 6f |STNAMELE|N=nn to|
|00001780| 20 73 70 65 63 69 66 79 | 20 6d 61 78 69 6d 75 6d | specify| maximum|
|00001790| 20 68 6f 73 74 20 6e 61 | 6d 65 20 6c 65 6e 67 74 | host na|me lengt|
|000017a0| 68 0a 58 23 20 20 20 20 | 20 20 20 20 20 20 20 20 |h.X# | |
|000017b0| 20 20 20 20 20 20 20 20 | 20 20 28 64 65 66 61 75 | | (defau|
|000017c0| 6c 74 20 69 6e 20 73 79 | 73 2f 70 61 72 61 6d 2e |lt in sy|s/param.|
|000017d0| 68 2c 20 65 78 63 65 70 | 74 20 6f 6e 20 53 75 6e |h, excep|t on Sun|
|000017e0| 73 29 0a 58 0a 58 64 65 | 66 61 75 6c 74 3a 20 61 |s).X.Xde|fault: a|
|000017f0| 6c 6c 0a 58 0a 58 61 6c | 6c 3a 20 61 74 74 61 63 |ll.X.Xal|l: attac|
|00001800| 68 70 6f 72 74 20 61 75 | 74 68 74 63 70 20 61 75 |hport au|thtcp au|
|00001810| 74 68 64 20 61 75 74 68 | 75 73 65 72 2e 6f 20 61 |thd auth|user.o a|
|00001820| 74 74 61 63 68 70 6f 72 | 74 2e 31 20 61 75 74 68 |ttachpor|t.1 auth|
|00001830| 74 63 70 2e 31 20 61 75 | 74 68 64 2e 38 20 61 75 |tcp.1 au|thd.8 au|
|00001840| 74 68 75 73 65 72 2e 33 | 0a 58 0a 58 73 68 61 72 |thuser.3|.X.Xshar|
|00001850| 3a 20 61 75 74 68 2e 73 | 68 61 72 0a 58 0a 58 61 |: auth.s|har.X.Xa|
|00001860| 74 74 61 63 68 70 6f 72 | 74 3a 20 61 74 74 61 63 |ttachpor|t: attac|
|00001870| 68 70 6f 72 74 2e 6f 20 | 61 75 74 68 75 73 65 72 |hport.o |authuser|
|00001880| 2e 6f 20 4d 61 6b 65 66 | 69 6c 65 0a 58 09 24 28 |.o Makef|ile.X.$(|
|00001890| 43 43 29 20 24 28 43 43 | 4f 50 54 53 29 20 2d 6f |CC) $(CC|OPTS) -o|
|000018a0| 20 61 74 74 61 63 68 70 | 6f 72 74 20 61 74 74 61 | attachp|ort atta|
|000018b0| 63 68 70 6f 72 74 2e 6f | 20 61 75 74 68 75 73 65 |chport.o| authuse|
|000018c0| 72 2e 6f 0a 58 0a 58 61 | 74 74 61 63 68 70 6f 72 |r.o.X.Xa|ttachpor|
|000018d0| 74 2e 6f 3a 20 61 74 74 | 61 63 68 70 6f 72 74 2e |t.o: att|achport.|
|000018e0| 63 20 61 75 74 68 75 73 | 65 72 2e 68 20 4d 61 6b |c authus|er.h Mak|
|000018f0| 65 66 69 6c 65 0a 58 09 | 24 28 43 43 29 20 24 28 |efile.X.|$(CC) $(|
|00001900| 43 43 4f 50 54 53 29 20 | 2d 63 20 61 74 74 61 63 |CCOPTS) |-c attac|
|00001910| 68 70 6f 72 74 2e 63 0a | 58 0a 58 61 75 74 68 74 |hport.c.|X.Xautht|
|00001920| 63 70 3a 20 61 75 74 68 | 74 63 70 2e 6f 20 61 75 |cp: auth|tcp.o au|
|00001930| 74 68 75 73 65 72 2e 6f | 20 4d 61 6b 65 66 69 6c |thuser.o| Makefil|
|00001940| 65 0a 58 09 24 28 43 43 | 29 20 24 28 43 43 4f 50 |e.X.$(CC|) $(CCOP|
|00001950| 54 53 29 20 2d 6f 20 61 | 75 74 68 74 63 70 20 61 |TS) -o a|uthtcp a|
|00001960| 75 74 68 74 63 70 2e 6f | 20 61 75 74 68 75 73 65 |uthtcp.o| authuse|
|00001970| 72 2e 6f 0a 58 0a 58 61 | 75 74 68 74 63 70 2e 6f |r.o.X.Xa|uthtcp.o|
|00001980| 3a 20 61 75 74 68 74 63 | 70 2e 63 20 61 75 74 68 |: authtc|p.c auth|
|00001990| 75 73 65 72 2e 68 20 4d | 61 6b 65 66 69 6c 65 0a |user.h M|akefile.|
|000019a0| 58 09 24 28 43 43 29 20 | 24 28 43 43 4f 50 54 53 |X.$(CC) |$(CCOPTS|
|000019b0| 29 20 2d 63 20 61 75 74 | 68 74 63 70 2e 63 0a 58 |) -c aut|htcp.c.X|
|000019c0| 0a 58 61 75 74 68 64 3a | 20 61 75 74 68 64 2e 63 |.Xauthd:| authd.c|
|000019d0| 20 4d 61 6b 65 66 69 6c | 65 0a 58 09 24 28 43 43 | Makefil|e.X.$(CC|
|000019e0| 29 20 24 28 43 43 4f 50 | 54 53 29 20 2d 6f 20 61 |) $(CCOP|TS) -o a|
|000019f0| 75 74 68 64 20 61 75 74 | 68 64 2e 63 0a 58 0a 58 |uthd aut|hd.c.X.X|
|00001a00| 61 75 74 68 75 73 65 72 | 2e 6f 3a 20 61 75 74 68 |authuser|.o: auth|
|00001a10| 75 73 65 72 2e 63 20 4d | 61 6b 65 66 69 6c 65 0a |user.c M|akefile.|
|00001a20| 58 09 24 28 43 43 29 20 | 24 28 43 43 4f 50 54 53 |X.$(CC) |$(CCOPTS|
|00001a30| 29 20 2d 63 20 61 75 74 | 68 75 73 65 72 2e 63 0a |) -c aut|huser.c.|
|00001a40| 58 0a 58 61 74 74 61 63 | 68 70 6f 72 74 2e 31 3a |X.Xattac|hport.1:|
|00001a50| 20 61 74 74 61 63 68 70 | 6f 72 74 2e 6d 61 6e 20 | attachp|ort.man |
|00001a60| 4d 61 6b 65 66 69 6c 65 | 0a 58 09 24 28 4e 52 4f |Makefile|.X.$(NRO|
|00001a70| 46 46 29 20 24 28 4e 52 | 4f 46 46 4f 50 54 53 29 |FF) $(NR|OFFOPTS)|
|00001a80| 20 3c 20 61 74 74 61 63 | 68 70 6f 72 74 2e 6d 61 | < attac|hport.ma|
|00001a90| 6e 20 3e 20 61 74 74 61 | 63 68 70 6f 72 74 2e 31 |n > atta|chport.1|
|00001aa0| 0a 58 0a 58 61 75 74 68 | 74 63 70 2e 31 3a 20 61 |.X.Xauth|tcp.1: a|
|00001ab0| 75 74 68 74 63 70 2e 6d | 61 6e 20 4d 61 6b 65 66 |uthtcp.m|an Makef|
|00001ac0| 69 6c 65 0a 58 09 24 28 | 4e 52 4f 46 46 29 20 24 |ile.X.$(|NROFF) $|
|00001ad0| 28 4e 52 4f 46 46 4f 50 | 54 53 29 20 3c 20 61 75 |(NROFFOP|TS) < au|
|00001ae0| 74 68 74 63 70 2e 6d 61 | 6e 20 3e 20 61 75 74 68 |thtcp.ma|n > auth|
|00001af0| 74 63 70 2e 31 0a 58 0a | 58 61 75 74 68 64 2e 38 |tcp.1.X.|Xauthd.8|
|00001b00| 3a 20 61 75 74 68 64 2e | 6d 61 6e 20 4d 61 6b 65 |: authd.|man Make|
|00001b10| 66 69 6c 65 0a 58 09 24 | 28 4e 52 4f 46 46 29 20 |file.X.$|(NROFF) |
|00001b20| 24 28 4e 52 4f 46 46 4f | 50 54 53 29 20 3c 20 61 |$(NROFFO|PTS) < a|
|00001b30| 75 74 68 64 2e 6d 61 6e | 20 3e 20 61 75 74 68 64 |uthd.man| > authd|
|00001b40| 2e 38 0a 58 0a 58 61 75 | 74 68 75 73 65 72 2e 33 |.8.X.Xau|thuser.3|
|00001b50| 3a 20 61 75 74 68 75 73 | 65 72 2e 6d 61 6e 20 4d |: authus|er.man M|
|00001b60| 61 6b 65 66 69 6c 65 0a | 58 09 24 28 4e 52 4f 46 |akefile.|X.$(NROF|
|00001b70| 46 29 20 24 28 4e 52 4f | 46 46 4f 50 54 53 29 20 |F) $(NRO|FFOPTS) |
|00001b80| 3c 20 61 75 74 68 75 73 | 65 72 2e 6d 61 6e 20 3e |< authus|er.man >|
|00001b90| 20 61 75 74 68 75 73 65 | 72 2e 33 0a 58 0a 58 61 | authuse|r.3.X.Xa|
|00001ba0| 75 74 68 2e 73 68 61 72 | 3a 20 43 48 41 4e 47 45 |uth.shar|: CHANGE|
|00001bb0| 53 20 52 45 41 44 4d 45 | 20 61 74 74 61 63 68 70 |S README| attachp|
|00001bc0| 6f 72 74 2e 6d 61 6e 20 | 61 75 74 68 74 63 70 2e |ort.man |authtcp.|
|00001bd0| 6d 61 6e 20 61 75 74 68 | 64 2e 6d 61 6e 20 61 75 |man auth|d.man au|
|00001be0| 74 68 75 73 65 72 2e 6d | 61 6e 20 4d 61 6b 65 66 |thuser.m|an Makef|
|00001bf0| 69 6c 65 20 61 74 74 61 | 63 68 70 6f 72 74 2e 63 |ile atta|chport.c|
|00001c00| 20 61 75 74 68 74 63 70 | 2e 63 20 61 75 74 68 64 | authtcp|.c authd|
|00001c10| 2e 63 20 61 75 74 68 75 | 73 65 72 2e 63 20 61 75 |.c authu|ser.c au|
|00001c20| 74 68 75 73 65 72 2e 68 | 20 64 6a 62 65 72 72 2e |thuser.h| djberr.|
|00001c30| 68 20 64 6a 62 61 74 6f | 69 2e 68 20 64 69 72 2e |h djbato|i.h dir.|
|00001c40| 64 6f 63 20 72 66 63 39 | 33 31 0a 58 09 73 68 61 |doc rfc9|31.X.sha|
|00001c50| 72 20 43 48 41 4e 47 45 | 53 20 52 45 41 44 4d 45 |r CHANGE|S README|
|00001c60| 20 61 74 74 61 63 68 70 | 6f 72 74 2e 6d 61 6e 20 | attachp|ort.man |
|00001c70| 61 75 74 68 74 63 70 2e | 6d 61 6e 20 61 75 74 68 |authtcp.|man auth|
|00001c80| 64 2e 6d 61 6e 20 61 75 | 74 68 75 73 65 72 2e 6d |d.man au|thuser.m|
|00001c90| 61 6e 20 4d 61 6b 65 66 | 69 6c 65 20 61 74 74 61 |an Makef|ile atta|
|00001ca0| 63 68 70 6f 72 74 2e 63 | 20 61 75 74 68 74 63 70 |chport.c| authtcp|
|00001cb0| 2e 63 20 61 75 74 68 64 | 2e 63 20 61 75 74 68 75 |.c authd|.c authu|
|00001cc0| 73 65 72 2e 63 20 61 75 | 74 68 75 73 65 72 2e 68 |ser.c au|thuser.h|
|00001cd0| 20 64 6a 62 65 72 72 2e | 68 20 64 6a 62 61 74 6f | djberr.|h djbato|
|00001ce0| 69 2e 68 20 64 69 72 2e | 64 6f 63 20 72 66 63 39 |i.h dir.|doc rfc9|
|00001cf0| 33 31 20 3e 20 61 75 74 | 68 2e 73 68 61 72 0a 58 |31 > aut|h.shar.X|
|00001d00| 09 63 68 6d 6f 64 20 34 | 30 30 20 61 75 74 68 2e |.chmod 4|00 auth.|
|00001d10| 73 68 61 72 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |shar.END|_OF_FILE|
|00001d20| 0a 69 66 20 74 65 73 74 | 20 31 35 37 30 20 2d 6e |.if test| 1570 -n|
|00001d30| 65 20 60 77 63 20 2d 63 | 20 3c 27 4d 61 6b 65 66 |e `wc -c| <'Makef|
|00001d40| 69 6c 65 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |ile'`; t|hen. |
|00001d50| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 4d 61 |echo sha|r: \"'Ma|
|00001d60| 6b 65 66 69 6c 65 27 5c | 22 20 75 6e 70 61 63 6b |kefile'\|" unpack|
|00001d70| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00001d80| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00001d90| 27 4d 61 6b 65 66 69 6c | 65 27 0a 66 69 0a 69 66 |'Makefil|e'.fi.if|
|00001da0| 20 74 65 73 74 20 2d 66 | 20 27 52 45 41 44 4d 45 | test -f| 'README|
|00001db0| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00001dc0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00001dd0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00001de0| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00001df0| 6e 67 20 66 69 6c 65 20 | 5c 22 27 52 45 41 44 4d |ng file |\"'READM|
|00001e00| 45 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |E'\".els|e.echo s|
|00001e10| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00001e20| 5c 22 27 52 45 41 44 4d | 45 27 5c 22 20 5c 28 34 |\"'READM|E'\" \(4|
|00001e30| 31 35 33 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |153 char|acters\)|
|00001e40| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00001e50| 52 45 41 44 4d 45 27 20 | 3c 3c 27 45 4e 44 5f 4f |README' |<<'END_O|
|00001e60| 46 5f 46 49 4c 45 27 0a | 58 61 74 74 61 63 68 70 |F_FILE'.|Xattachp|
|00001e70| 6f 72 74 20 2d 20 61 74 | 74 61 63 68 20 61 20 73 |ort - at|tach a s|
|00001e80| 65 72 76 65 72 20 70 72 | 6f 67 72 61 6d 20 74 6f |erver pr|ogram to|
|00001e90| 20 61 20 54 43 50 20 70 | 6f 72 74 0a 58 61 75 74 | a TCP p|ort.Xaut|
|00001ea0| 68 74 63 70 20 2d 20 63 | 72 65 61 74 65 20 61 20 |htcp - c|reate a |
|00001eb0| 6c 6f 63 61 6c 6c 79 20 | 61 75 74 68 65 6e 74 69 |locally |authenti|
|00001ec0| 63 61 74 65 64 20 54 43 | 50 20 63 6f 6e 6e 65 63 |cated TC|P connec|
|00001ed0| 74 69 6f 6e 20 74 6f 20 | 61 6e 20 49 6e 74 65 72 |tion to |an Inter|
|00001ee0| 6e 65 74 20 68 6f 73 74 | 0a 58 61 75 74 68 64 20 |net host|.Xauthd |
|00001ef0| 2d 20 61 75 74 68 65 6e | 74 69 63 61 74 69 6f 6e |- authen|tication|
|00001f00| 20 73 65 72 76 65 72 20 | 64 61 65 6d 6f 6e 0a 58 | server |daemon.X|
|00001f10| 61 75 74 68 75 73 65 72 | 20 2d 20 72 65 6d 6f 74 |authuser| - remot|
|00001f20| 65 20 61 75 74 68 65 6e | 74 69 63 61 74 69 6f 6e |e authen|tication|
|00001f30| 20 6c 69 62 72 61 72 79 | 0a 58 0a 58 54 68 69 73 | library|.X.XThis|
|00001f40| 20 70 61 63 6b 61 67 65 | 20 70 72 6f 76 69 64 65 | package| provide|
|00001f50| 73 20 74 77 6f 20 62 65 | 6e 65 66 69 74 73 2e 20 |s two be|nefits. |
|00001f60| 54 68 65 20 66 69 72 73 | 74 20 69 73 20 61 20 73 |The firs|t is a s|
|00001f70| 65 63 75 72 65 20 75 73 | 65 72 2d 6c 65 76 65 6c |ecure us|er-level|
|00001f80| 0a 58 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |.Ximplem|entation|
|00001f90| 20 6f 66 20 52 46 43 20 | 39 33 31 2c 20 74 68 65 | of RFC |931, the|
|00001fa0| 20 41 75 74 68 65 6e 74 | 69 63 61 74 69 6f 6e 20 | Authent|ication |
|00001fb0| 53 65 72 76 65 72 3b 20 | 75 6e 6c 65 73 73 20 54 |Server; |unless T|
|00001fc0| 43 50 20 69 74 73 65 6c | 66 0a 58 69 73 20 63 6f |CP itsel|f.Xis co|
|00001fd0| 6d 70 72 6f 6d 69 73 65 | 64 2c 20 69 74 20 69 73 |mpromise|d, it is|
|00001fe0| 20 69 6d 70 6f 73 73 69 | 62 6c 65 20 74 6f 20 66 | impossi|ble to f|
|00001ff0| 6f 72 67 65 20 6d 61 69 | 6c 20 6f 72 20 6e 65 77 |orge mai|l or new|
|00002000| 73 20 62 65 74 77 65 65 | 6e 20 63 6f 6d 70 75 74 |s betwee|n comput|
|00002010| 65 72 73 0a 58 73 75 70 | 70 6f 72 74 69 6e 67 20 |ers.Xsup|porting |
|00002020| 52 46 43 20 39 33 31 2e | 20 54 68 65 20 73 65 63 |RFC 931.| The sec|
|00002030| 6f 6e 64 20 69 73 20 61 | 20 73 69 6e 67 6c 65 2c |ond is a| single,|
|00002040| 20 6d 6f 64 75 6c 61 72 | 20 69 6e 74 65 72 66 61 | modular| interfa|
|00002050| 63 65 20 74 6f 20 54 43 | 50 2e 0a 58 50 72 6f 67 |ce to TC|P..XProg|
|00002060| 72 61 6d 73 20 77 72 69 | 74 74 65 6e 20 74 6f 20 |rams wri|tten to |
|00002070| 77 6f 72 6b 20 77 69 74 | 68 20 61 75 74 68 74 63 |work wit|h authtc|
|00002080| 70 20 61 6e 64 20 61 74 | 74 61 63 68 70 6f 72 74 |p and at|tachport|
|00002090| 20 64 6f 6e 27 74 20 65 | 76 65 6e 20 6e 65 65 64 | don't e|ven need|
|000020a0| 20 74 6f 0a 58 62 65 20 | 72 65 63 6f 6d 70 69 6c | to.Xbe |recompil|
|000020b0| 65 64 20 74 6f 20 72 75 | 6e 20 75 6e 64 65 72 20 |ed to ru|n under |
|000020c0| 61 20 6d 6f 72 65 20 63 | 6f 6d 70 72 65 68 65 6e |a more c|omprehen|
|000020d0| 73 69 76 65 20 6e 65 74 | 77 6f 72 6b 20 73 65 63 |sive net|work sec|
|000020e0| 75 72 69 74 79 20 73 79 | 73 74 65 6d 0a 58 6c 69 |urity sy|stem.Xli|
|000020f0| 6b 65 20 4b 65 72 62 65 | 72 6f 73 2c 20 61 73 20 |ke Kerbe|ros, as |
|00002100| 6c 6f 6e 67 20 74 68 65 | 20 61 75 74 68 20 70 61 |long the| auth pa|
|00002110| 63 6b 61 67 65 20 69 73 | 20 72 65 70 6c 61 63 65 |ckage is| replace|
|00002120| 64 2e 0a 58 0a 58 61 74 | 74 61 63 68 70 6f 72 74 |d..X.Xat|tachport|
|00002130| 20 76 65 72 73 69 6f 6e | 20 34 2e 31 2c 20 41 70 | version| 4.1, Ap|
|00002140| 72 69 6c 20 31 38 2c 20 | 31 39 39 30 2e 0a 58 43 |ril 18, |1990..XC|
|00002150| 6f 70 79 72 69 67 68 74 | 20 28 63 29 20 31 39 39 |opyright| (c) 199|
|00002160| 30 2c 20 44 61 6e 69 65 | 6c 20 4a 2e 20 42 65 72 |0, Danie|l J. Ber|
|00002170| 6e 73 74 65 69 6e 2e 0a | 58 41 6c 6c 20 72 69 67 |nstein..|XAll rig|
|00002180| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 0a 58 0a |hts rese|rved..X.|
|00002190| 58 61 75 74 68 74 63 70 | 20 76 65 72 73 69 6f 6e |Xauthtcp| version|
|000021a0| 20 32 2e 31 2c 20 41 70 | 72 69 6c 20 31 38 2c 20 | 2.1, Ap|ril 18, |
|000021b0| 31 39 39 30 2e 0a 58 43 | 6f 70 79 72 69 67 68 74 |1990..XC|opyright|
|000021c0| 20 28 63 29 20 31 39 39 | 30 2c 20 44 61 6e 69 65 | (c) 199|0, Danie|
|000021d0| 6c 20 4a 2e 20 42 65 72 | 6e 73 74 65 69 6e 2e 0a |l J. Ber|nstein..|
|000021e0| 58 41 6c 6c 20 72 69 67 | 68 74 73 20 72 65 73 65 |XAll rig|hts rese|
|000021f0| 72 76 65 64 2e 0a 58 0a | 58 61 75 74 68 64 20 76 |rved..X.|Xauthd v|
|00002200| 65 72 73 69 6f 6e 20 32 | 2e 31 2c 20 41 70 72 69 |ersion 2|.1, Apri|
|00002210| 6c 20 31 38 2c 20 31 39 | 39 30 2e 0a 58 43 6f 70 |l 18, 19|90..XCop|
|00002220| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 39 30 2c |yright (|c) 1990,|
|00002230| 20 44 61 6e 69 65 6c 20 | 4a 2e 20 42 65 72 6e 73 | Daniel |J. Berns|
|00002240| 74 65 69 6e 2e 0a 58 41 | 6c 6c 20 72 69 67 68 74 |tein..XA|ll right|
|00002250| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 58 0a 58 61 |s reserv|ed..X.Xa|
|00002260| 75 74 68 75 73 65 72 20 | 76 65 72 73 69 6f 6e 20 |uthuser |version |
|00002270| 32 2e 30 2c 20 41 70 72 | 69 6c 20 32 2c 20 31 39 |2.0, Apr|il 2, 19|
|00002280| 39 30 2e 0a 58 43 6f 70 | 79 72 69 67 68 74 20 28 |90..XCop|yright (|
|00002290| 63 29 20 31 39 39 30 2c | 20 44 61 6e 69 65 6c 20 |c) 1990,| Daniel |
|000022a0| 4a 2e 20 42 65 72 6e 73 | 74 65 69 6e 0a 58 41 6c |J. Berns|tein.XAl|
|000022b0| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|000022c0| 64 2e 0a 58 0a 58 54 68 | 69 73 20 64 69 73 74 72 |d..X.XTh|is distr|
|000022d0| 69 62 75 74 69 6f 6e 20 | 70 61 63 6b 61 67 65 64 |ibution |packaged|
|000022e0| 20 41 70 72 69 6c 20 31 | 38 2c 20 31 39 39 30 2e | April 1|8, 1990.|
|000022f0| 0a 58 0a 58 46 69 6c 65 | 73 3a 0a 58 43 48 41 4e |.X.XFile|s:.XCHAN|
|00002300| 47 45 53 20 20 20 20 20 | 20 20 20 20 44 65 73 63 |GES | Desc|
|00002310| 72 69 70 74 69 6f 6e 20 | 6f 66 20 63 68 61 6e 67 |ription |of chang|
|00002320| 65 73 20 73 69 6e 63 65 | 20 66 69 72 73 74 20 64 |es since| first d|
|00002330| 69 73 74 72 69 62 75 74 | 65 64 20 76 65 72 73 69 |istribut|ed versi|
|00002340| 6f 6e 0a 58 52 45 41 44 | 4d 45 20 20 20 20 20 20 |on.XREAD|ME |
|00002350| 20 20 20 20 54 68 69 73 | 20 64 6f 63 75 6d 65 6e | This| documen|
|00002360| 74 0a 58 4d 61 6b 65 66 | 69 6c 65 20 20 20 20 20 |t.XMakef|ile |
|00002370| 20 20 20 49 6e 73 74 61 | 6c 6c 61 74 69 6f 6e 20 | Insta|llation |
|00002380| 63 6f 6d 6d 61 6e 64 73 | 0a 58 61 74 74 61 63 68 |commands|.Xattach|
|00002390| 70 6f 72 74 2e 63 20 20 | 20 20 54 68 65 20 61 74 |port.c | The at|
|000023a0| 74 61 63 68 70 6f 72 74 | 20 70 72 6f 67 72 61 6d |tachport| program|
|000023b0| 0a 58 61 75 74 68 74 63 | 70 2e 63 20 20 20 20 20 |.Xauthtc|p.c |
|000023c0| 20 20 54 68 65 20 61 75 | 74 68 74 63 70 20 70 72 | The au|thtcp pr|
|000023d0| 6f 67 72 61 6d 0a 58 61 | 75 74 68 64 2e 63 20 20 |ogram.Xa|uthd.c |
|000023e0| 20 20 20 20 20 20 20 54 | 68 65 20 61 75 74 68 64 | T|he authd|
|000023f0| 20 70 72 6f 67 72 61 6d | 0a 58 61 75 74 68 75 73 | program|.Xauthus|
|00002400| 65 72 2e 63 20 20 20 20 | 20 20 54 68 65 20 61 75 |er.c | The au|
|00002410| 74 68 75 73 65 72 20 6c | 69 62 72 61 72 79 0a 58 |thuser l|ibrary.X|
|00002420| 61 74 74 61 63 68 70 6f | 72 74 2e 6d 61 6e 20 20 |attachpo|rt.man |
|00002430| 44 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 0a 58 61 |Document|ation.Xa|
|00002440| 75 74 68 74 63 70 2e 6d | 61 6e 20 20 20 20 20 44 |uthtcp.m|an D|
|00002450| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 0a 58 61 75 |ocumenta|tion.Xau|
|00002460| 74 68 64 2e 6d 61 6e 20 | 20 20 20 20 20 20 44 6f |thd.man | Do|
|00002470| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 0a 58 61 75 74 |cumentat|ion.Xaut|
|00002480| 68 75 73 65 72 2e 6d 61 | 6e 20 20 20 20 44 6f 63 |huser.ma|n Doc|
|00002490| 75 6d 65 6e 74 61 74 69 | 6f 6e 0a 58 64 6a 62 65 |umentati|on.Xdjbe|
|000024a0| 72 72 2e 68 20 20 20 20 | 20 20 20 20 45 72 72 6f |rr.h | Erro|
|000024b0| 72 20 6d 61 63 72 6f 73 | 0a 58 64 6a 62 61 74 6f |r macros|.Xdjbato|
|000024c0| 69 2e 68 20 20 20 20 20 | 20 20 52 65 70 6c 61 63 |i.h | Replac|
|000024d0| 65 6d 65 6e 74 20 61 74 | 6f 69 28 29 2d 2d 2d 53 |ement at|oi()---S|
|000024e0| 75 6e 27 73 20 6c 69 62 | 72 61 72 79 20 76 65 72 |un's lib|rary ver|
|000024f0| 73 69 6f 6e 20 63 61 6e | 20 63 72 61 73 68 0a 58 |sion can| crash.X|
|00002500| 64 69 72 2e 64 6f 63 20 | 20 20 20 20 20 20 20 20 |dir.doc | |
|00002510| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 61 |Descript|ion of a|
|00002520| 75 74 68 65 6e 74 69 63 | 61 74 69 6f 6e 20 64 69 |uthentic|ation di|
|00002530| 72 65 63 74 6f 72 79 20 | 63 6f 6e 74 65 6e 74 73 |rectory |contents|
|00002540| 0a 58 72 66 63 39 33 31 | 20 20 20 20 20 20 20 20 |.Xrfc931| |
|00002550| 20 20 52 46 43 20 39 33 | 31 2c 20 41 75 74 68 65 | RFC 93|1, Authe|
|00002560| 6e 74 69 63 61 74 69 6f | 6e 20 53 65 72 76 65 72 |nticatio|n Server|
|00002570| 0a 58 0a 58 45 64 69 74 | 20 74 68 65 20 6f 70 74 |.X.XEdit| the opt|
|00002580| 69 6f 6e 73 20 69 6e 20 | 4d 61 6b 65 66 69 6c 65 |ions in |Makefile|
|00002590| 20 61 6e 64 20 74 79 70 | 65 20 6d 61 6b 65 2e 20 | and typ|e make. |
|000025a0| 61 74 74 61 63 68 70 6f | 72 74 2c 20 61 75 74 68 |attachpo|rt, auth|
|000025b0| 74 63 70 2c 20 61 6e 64 | 0a 58 61 75 74 68 64 20 |tcp, and|.Xauthd |
|000025c0| 77 69 6c 6c 20 62 65 20 | 74 68 65 20 65 78 65 63 |will be |the exec|
|000025d0| 75 74 61 62 6c 65 20 70 | 72 6f 67 72 61 6d 73 3b |utable p|rograms;|
|000025e0| 20 61 75 74 68 75 73 65 | 72 2e 6f 20 77 69 6c 6c | authuse|r.o will|
|000025f0| 20 62 65 20 74 68 65 20 | 6c 69 6e 6b 61 62 6c 65 | be the |linkable|
|00002600| 0a 58 6c 69 62 72 61 72 | 79 3b 20 61 74 74 61 63 |.Xlibrar|y; attac|
|00002610| 68 70 6f 72 74 2e 31 2c | 20 61 75 74 68 74 63 70 |hport.1,| authtcp|
|00002620| 2e 31 2c 20 61 75 74 68 | 64 2e 38 2c 20 61 6e 64 |.1, auth|d.8, and|
|00002630| 20 61 75 74 68 75 73 65 | 72 2e 33 20 77 69 6c 6c | authuse|r.3 will|
|00002640| 20 62 65 20 74 68 65 0a | 58 6e 72 6f 66 66 27 65 | be the.|Xnroff'e|
|00002650| 64 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2e |d docume|ntation.|
|00002660| 0a 58 0a 58 59 6f 75 20 | 70 72 6f 62 61 62 6c 79 |.X.XYou |probably|
|00002670| 20 77 61 6e 74 20 74 6f | 20 70 69 63 6b 20 75 70 | want to| pick up|
|00002680| 20 74 68 65 20 6d 75 6c | 74 69 74 65 65 20 61 6e | the mul|titee an|
|00002690| 64 20 61 75 74 68 75 74 | 69 6c 20 70 61 63 6b 61 |d authut|il packa|
|000026a0| 67 65 73 20 62 65 66 6f | 72 65 0a 58 74 72 79 69 |ges befo|re.Xtryi|
|000026b0| 6e 67 20 6f 75 74 20 61 | 6e 79 20 6f 66 20 74 68 |ng out a|ny of th|
|000026c0| 65 73 65 20 70 72 6f 67 | 72 61 6d 73 2e 0a 58 0a |ese prog|rams..X.|
|000026d0| 58 46 6f 72 20 61 75 74 | 68 65 6e 74 69 63 61 74 |XFor aut|henticat|
|000026e0| 69 6f 6e 20 74 6f 20 77 | 6f 72 6b 2c 20 79 6f 75 |ion to w|ork, you|
|000026f0| 20 6d 75 73 74 20 73 65 | 74 20 75 70 20 61 20 6e | must se|t up a n|
|00002700| 65 77 20 75 73 65 72 69 | 64 2c 20 73 61 79 20 61 |ew useri|d, say a|
|00002710| 75 74 68 2e 0a 58 55 69 | 64 20 61 75 74 68 20 73 |uth..XUi|d auth s|
|00002720| 68 6f 75 6c 64 20 6e 6f | 74 20 70 65 72 6d 69 74 |hould no|t permit|
|00002730| 20 6c 6f 67 69 6e 73 2e | 20 49 74 73 20 65 6e 63 | logins.| Its enc|
|00002740| 72 79 70 74 65 64 20 70 | 61 73 73 77 6f 72 64 20 |rypted p|assword |
|00002750| 73 68 6f 75 6c 64 20 62 | 65 0a 58 73 6f 6d 65 74 |should b|e.Xsomet|
|00002760| 68 69 6e 67 20 69 6d 70 | 6f 73 73 69 62 6c 65 2c |hing imp|ossible,|
|00002770| 20 6c 69 6b 65 20 61 6e | 20 61 73 74 65 72 69 73 | like an| asteris|
|00002780| 6b 2e 20 49 74 73 20 73 | 68 65 6c 6c 20 73 68 6f |k. Its s|hell sho|
|00002790| 75 6c 64 20 62 65 20 2f | 62 69 6e 2f 74 72 75 65 |uld be /|bin/true|
|000027a0| 2e 0a 58 49 74 73 20 68 | 6f 6d 65 20 64 69 72 65 |..XIts h|ome dire|
|000027b0| 63 74 6f 72 79 20 73 68 | 6f 75 6c 64 20 62 65 20 |ctory sh|ould be |
|000027c0| 2f 6e 6f 6e 65 78 69 73 | 74 65 6e 74 2e 20 49 74 |/nonexis|tent. It|
|000027d0| 73 20 75 69 64 20 73 68 | 6f 75 6c 64 20 62 65 20 |s uid sh|ould be |
|000027e0| 75 6e 69 71 75 65 2e 0a | 58 0a 58 61 75 74 68 74 |unique..|X.Xautht|
|000027f0| 63 70 20 61 6e 64 20 61 | 74 74 61 63 68 70 6f 72 |cp and a|ttachpor|
|00002800| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 73 65 74 75 |t should| be setu|
|00002810| 69 64 20 61 75 74 68 3b | 20 63 68 65 63 6b 20 74 |id auth;| check t|
|00002820| 68 65 20 73 6f 75 72 63 | 65 20 63 61 72 65 66 75 |he sourc|e carefu|
|00002830| 6c 6c 79 0a 58 66 6f 72 | 20 73 65 63 75 72 69 74 |lly.Xfor| securit|
|00002840| 79 20 68 6f 6c 65 73 21 | 20 59 6f 75 20 61 6c 73 |y holes!| You als|
|00002850| 6f 20 6e 65 65 64 20 61 | 20 64 69 72 65 63 74 6f |o need a| directo|
|00002860| 72 79 20 2f 75 73 72 2f | 65 74 63 2f 61 75 74 68 |ry /usr/|etc/auth|
|00002870| 2f 74 63 70 2c 20 6f 77 | 6e 65 72 0a 58 61 75 74 |/tcp, ow|ner.Xaut|
|00002880| 68 2c 20 67 72 6f 75 70 | 20 69 72 72 65 6c 65 76 |h, group| irrelev|
|00002890| 61 6e 74 2c 20 6d 6f 64 | 65 20 30 37 30 30 2e 20 |ant, mod|e 0700. |
|000028a0| 28 59 6f 75 20 63 61 6e | 20 75 73 65 20 61 20 64 |(You can| use a d|
|000028b0| 69 66 66 65 72 65 6e 74 | 20 64 69 72 65 63 74 6f |ifferent| directo|
|000028c0| 72 79 2f 74 63 70 0a 58 | 69 66 20 79 6f 75 20 73 |ry/tcp.X|if you s|
|000028d0| 65 74 20 41 55 54 48 44 | 49 52 20 69 6e 20 74 68 |et AUTHD|IR in th|
|000028e0| 65 20 4d 61 6b 65 66 69 | 6c 65 2e 29 0a 58 0a 58 |e Makefi|le.).X.X|
|000028f0| 61 75 74 68 64 20 73 68 | 6f 75 6c 64 20 62 65 20 |authd sh|ould be |
|00002900| 73 65 74 20 75 70 20 75 | 6e 64 65 72 20 61 74 74 |set up u|nder att|
|00002910| 61 63 68 70 6f 72 74 28 | 31 29 20 6f 72 20 69 6e |achport(|1) or in|
|00002920| 65 74 64 28 38 29 20 74 | 6f 20 72 65 63 65 69 76 |etd(8) t|o receiv|
|00002930| 65 0a 58 63 6f 6e 6e 65 | 63 74 69 6f 6e 73 20 6f |e.Xconne|ctions o|
|00002940| 6e 20 54 43 50 20 70 6f | 72 74 20 31 31 33 2e 20 |n TCP po|rt 113. |
|00002950| 49 74 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 62 65 |It shoul|d not be|
|00002960| 20 73 65 74 75 69 64 20 | 61 75 74 68 2c 20 74 68 | setuid |auth, th|
|00002970| 6f 75 67 68 20 69 74 0a | 58 77 69 6c 6c 20 61 6c |ough it.|Xwill al|
|00002980| 77 61 79 73 20 72 75 6e | 20 61 73 20 61 75 74 68 |ways run| as auth|
|00002990| 2e 0a 58 0a 58 54 68 65 | 20 61 75 74 68 75 73 65 |..X.XThe| authuse|
|000029a0| 72 20 6c 69 62 72 61 72 | 79 20 6e 65 65 64 73 20 |r librar|y needs |
|000029b0| 6e 6f 20 70 61 72 74 69 | 63 75 6c 61 72 20 70 72 |no parti|cular pr|
|000029c0| 65 70 61 72 61 74 69 6f | 6e 3b 20 69 66 20 79 6f |eparatio|n; if yo|
|000029d0| 75 20 77 61 6e 74 20 74 | 6f 0a 58 6d 61 6b 65 20 |u want t|o.Xmake |
|000029e0| 69 74 20 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 |it avail|able to |
|000029f0| 75 73 65 72 73 2c 20 70 | 75 74 20 69 74 20 69 6e |users, p|ut it in|
|00002a00| 74 6f 20 61 20 6c 69 62 | 72 61 72 79 20 61 72 63 |to a lib|rary arc|
|00002a10| 68 69 76 65 20 61 6e 64 | 20 63 6f 70 79 0a 58 61 |hive and| copy.Xa|
|00002a20| 75 74 68 75 73 65 72 2e | 68 20 74 6f 20 2f 75 73 |uthuser.|h to /us|
|00002a30| 72 2f 69 6e 63 6c 75 64 | 65 2e 0a 58 0a 58 49 20 |r/includ|e..X.XI |
|00002a40| 64 6f 6e 27 74 20 70 72 | 65 74 65 6e 64 20 74 6f |don't pr|etend to|
|00002a50| 20 6b 6e 6f 77 20 79 6f | 75 72 20 6d 61 63 68 69 | know yo|ur machi|
|00002a60| 6e 65 27 73 20 73 65 74 | 75 70 20 73 6f 20 74 68 |ne's set|up so th|
|00002a70| 65 72 65 27 73 20 6e 6f | 20 6d 61 6b 65 20 69 6e |ere's no| make in|
|00002a80| 73 74 61 6c 6c 2e 0a 58 | 0a 58 52 65 61 64 20 43 |stall..X|.XRead C|
|00002a90| 48 41 4e 47 45 53 20 66 | 6f 72 20 61 20 6c 69 73 |HANGES f|or a lis|
|00002aa0| 74 20 6f 66 20 63 68 61 | 6e 67 65 73 2e 20 54 79 |t of cha|nges. Ty|
|00002ab0| 70 65 20 61 75 74 68 74 | 63 70 20 2d 43 20 61 6e |pe autht|cp -C an|
|00002ac0| 64 20 61 75 74 68 74 63 | 70 20 2d 57 0a 58 66 6f |d authtc|p -W.Xfo|
|00002ad0| 72 20 63 6f 70 79 72 69 | 67 68 74 20 61 6e 64 20 |r copyri|ght and |
|00002ae0| 77 61 72 72 61 6e 74 79 | 20 69 6e 66 6f 72 6d 61 |warranty| informa|
|00002af0| 74 69 6f 6e 2c 20 61 75 | 74 68 74 63 70 20 2d 48 |tion, au|thtcp -H|
|00002b00| 20 66 6f 72 20 68 65 6c | 70 2e 20 53 69 6d 69 6c | for hel|p. Simil|
|00002b10| 61 72 6c 79 0a 58 66 6f | 72 20 61 74 74 61 63 68 |arly.Xfo|r attach|
|00002b20| 70 6f 72 74 20 61 6e 64 | 20 61 75 74 68 64 2e 20 |port and| authd. |
|00002b30| 46 6f 72 20 61 75 74 68 | 75 73 65 72 2c 20 70 72 |For auth|user, pr|
|00002b40| 69 6e 74 20 61 75 74 68 | 75 73 65 72 63 6f 70 79 |int auth|usercopy|
|00002b50| 72 69 67 68 74 5b 5d 20 | 61 6e 64 0a 58 61 75 74 |right[] |and.Xaut|
|00002b60| 68 75 73 65 72 77 61 72 | 72 61 6e 74 79 5b 5d 20 |huserwar|ranty[] |
|00002b70| 66 6f 72 20 63 6f 70 79 | 72 69 67 68 74 20 61 6e |for copy|right an|
|00002b80| 64 20 77 61 72 72 61 6e | 74 79 20 69 6e 66 6f 72 |d warran|ty infor|
|00002b90| 6d 61 74 69 6f 6e 2c 20 | 61 75 74 68 75 73 65 72 |mation, |authuser|
|00002ba0| 68 65 6c 70 5b 5d 0a 58 | 66 6f 72 20 68 65 6c 70 |help[].X|for help|
|00002bb0| 2e 0a 58 0a 58 52 65 61 | 64 20 64 69 72 2e 64 6f |..X.XRea|d dir.do|
|00002bc0| 63 20 66 6f 72 20 61 20 | 64 65 73 63 72 69 70 74 |c for a |descript|
|00002bd0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 61 75 74 68 65 |ion of t|he authe|
|00002be0| 6e 74 69 63 61 74 69 6f | 6e 20 64 69 72 65 63 74 |nticatio|n direct|
|00002bf0| 6f 72 79 20 61 73 20 75 | 73 65 64 0a 58 62 79 20 |ory as u|sed.Xby |
|00002c00| 61 75 74 68 74 63 70 2c | 20 61 74 74 61 63 68 70 |authtcp,| attachp|
|00002c10| 6f 72 74 2c 20 61 6e 64 | 20 61 75 74 68 64 2e 20 |ort, and| authd. |
|00002c20| 0a 58 0a 58 20 20 53 6f | 6d 65 20 42 53 44 20 76 |.X.X So|me BSD v|
|00002c30| 61 72 69 61 6e 74 73 20 | 28 6e 6f 74 61 62 6c 79 |ariants |(notably|
|00002c40| 20 55 4c 54 52 49 58 29 | 20 68 61 6e 64 6c 65 20 | ULTRIX)| handle |
|00002c50| 6d 75 6c 74 69 70 6c 65 | 20 6e 6f 6e 2d 72 6f 6f |multiple| non-roo|
|00002c60| 74 20 73 65 74 75 69 64 | 0a 58 20 20 70 72 6f 63 |t setuid|.X proc|
|00002c70| 65 73 73 65 73 20 70 6f | 6f 72 6c 79 2e 20 54 6f |esses po|orly. To|
|00002c80| 20 74 65 73 74 20 74 68 | 65 20 62 65 68 61 76 69 | test th|e behavi|
|00002c90| 6f 72 20 6f 66 20 79 6f | 75 72 20 73 79 73 74 65 |or of yo|ur syste|
|00002ca0| 6d 2c 20 74 72 79 20 74 | 68 65 0a 58 20 20 66 6f |m, try t|he.X fo|
|00002cb0| 6c 6c 6f 77 69 6e 67 20 | 73 65 71 75 65 6e 63 65 |llowing |sequence|
|00002cc0| 20 66 72 6f 6d 20 61 20 | 72 6f 6f 74 20 63 73 68 | from a |root csh|
|00002cd0| 3a 0a 58 20 20 20 20 20 | 20 53 55 25 20 63 70 20 |:.X | SU% cp |
|00002ce0| 2f 75 73 72 2f 62 69 6e | 2f 73 6c 65 65 70 20 2f |/usr/bin|/sleep /|
|00002cf0| 74 6d 70 2f 73 6c 69 70 | 0a 58 20 20 20 20 20 20 |tmp/slip|.X |
|00002d00| 53 55 25 20 63 68 6f 77 | 6e 20 6e 6f 62 6f 64 79 |SU% chow|n nobody|
|00002d10| 20 2f 74 6d 70 2f 73 6c | 69 70 3b 20 63 68 6d 6f | /tmp/sl|ip; chmo|
|00002d20| 64 20 34 37 35 35 20 2f | 74 6d 70 2f 73 6c 69 70 |d 4755 /|tmp/slip|
|00002d30| 0a 58 20 20 20 20 20 20 | 53 55 25 20 72 65 70 65 |.X |SU% repe|
|00002d40| 61 74 20 31 30 30 20 73 | 68 20 2d 69 63 20 27 28 |at 100 s|h -ic '(|
|00002d50| 2f 74 6d 70 2f 73 6c 69 | 70 20 31 30 30 30 30 20 |/tmp/sli|p 10000 |
|00002d60| 26 29 20 32 3e 26 31 27 | 20 3e 20 2f 74 6d 70 2f |&) 2>&1'| > /tmp/|
|00002d70| 70 69 64 73 0a 58 20 20 | 20 20 20 20 53 55 25 20 |pids.X | SU% |
|00002d80| 2f 62 69 6e 2f 6b 69 6c | 6c 20 22 60 63 61 74 20 |/bin/kil|l "`cat |
|00002d90| 2f 74 6d 70 2f 70 69 64 | 73 60 22 0a 58 20 20 48 |/tmp/pid|s`".X H|
|00002da0| 65 72 65 20 31 30 30 20 | 69 73 20 61 6e 79 20 6e |ere 100 |is any n|
|00002db0| 75 6d 62 65 72 20 62 69 | 67 67 65 72 20 74 68 61 |umber bi|gger tha|
|00002dc0| 6e 20 4d 41 58 55 50 52 | 43 20 69 6e 20 2f 75 73 |n MAXUPR|C in /us|
|00002dd0| 72 2f 69 6e 63 6c 75 64 | 65 2f 73 79 73 2f 70 61 |r/includ|e/sys/pa|
|00002de0| 72 61 6d 2e 68 2e 0a 58 | 20 20 49 66 20 74 68 65 |ram.h..X| If the|
|00002df0| 20 72 65 70 65 61 74 20 | 66 61 69 6c 73 2c 20 68 | repeat |fails, h|
|00002e00| 61 6e 67 73 2c 20 6f 72 | 20 63 72 61 73 68 65 73 |angs, or| crashes|
|00002e10| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 2c 20 63 6f | your sy|stem, co|
|00002e20| 6d 70 6c 61 69 6e 20 61 | 74 20 79 6f 75 72 0a 58 |mplain a|t your.X|
|00002e30| 20 20 76 65 6e 64 6f 72 | 3a 20 79 6f 75 20 63 61 | vendor|: you ca|
|00002e40| 6e 27 74 20 72 65 6c 69 | 61 62 6c 79 20 69 6e 73 |n't reli|ably ins|
|00002e50| 74 61 6c 6c 20 70 72 6f | 67 72 61 6d 73 20 73 65 |tall pro|grams se|
|00002e60| 74 75 69 64 20 74 6f 20 | 61 6e 79 74 68 69 6e 67 |tuid to |anything|
|00002e70| 20 65 78 63 65 70 74 0a | 58 20 20 72 6f 6f 74 2e | except.|X root.|
|00002e80| 20 49 6e 20 74 68 69 73 | 20 63 61 73 65 20 79 6f | In this| case yo|
|00002e90| 75 27 6c 6c 20 68 61 76 | 65 20 74 6f 20 69 6e 73 |u'll hav|e to ins|
|00002ea0| 74 61 6c 6c 20 61 75 74 | 68 20 73 65 74 75 69 64 |tall aut|h setuid|
|00002eb0| 20 72 6f 6f 74 20 72 61 | 74 68 65 72 20 74 68 61 | root ra|ther tha|
|00002ec0| 6e 0a 58 20 20 73 65 74 | 75 69 64 20 61 75 74 68 |n.X set|uid auth|
|00002ed0| 20 61 73 20 70 65 72 20 | 74 68 65 20 69 6e 73 74 | as per |the inst|
|00002ee0| 72 75 63 74 69 6f 6e 73 | 3b 20 74 68 69 73 20 69 |ructions|; this i|
|00002ef0| 73 20 70 65 72 66 65 63 | 74 6c 79 20 73 61 66 65 |s perfec|tly safe|
|00002f00| 2e 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |..END_OF|_FILE.if|
|00002f10| 20 74 65 73 74 20 34 31 | 35 33 20 2d 6e 65 20 60 | test 41|53 -ne `|
|00002f20| 77 63 20 2d 63 20 3c 27 | 52 45 41 44 4d 45 27 60 |wc -c <'|README'`|
|00002f30| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00002f40| 73 68 61 72 3a 20 5c 22 | 27 52 45 41 44 4d 45 27 |shar: \"|'README'|
|00002f50| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00002f60| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00002f70| 23 20 65 6e 64 20 6f 66 | 20 27 52 45 41 44 4d 45 |# end of| 'README|
|00002f80| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00002f90| 27 61 74 74 61 63 68 70 | 6f 72 74 2e 6d 61 6e 27 |'attachp|ort.man'|
|00002fa0| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00002fb0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00002fc0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00002fd0| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00002fe0| 67 20 66 69 6c 65 20 5c | 22 27 61 74 74 61 63 68 |g file \|"'attach|
|00002ff0| 70 6f 72 74 2e 6d 61 6e | 27 5c 22 0a 65 6c 73 65 |port.man|'\".else|
|00003000| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00003010| 61 63 74 69 6e 67 20 5c | 22 27 61 74 74 61 63 68 |acting \|"'attach|
|00003020| 70 6f 72 74 2e 6d 61 6e | 27 5c 22 20 5c 28 37 36 |port.man|'\" \(76|
|00003030| 32 35 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |25 chara|cters\).|
|00003040| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 61 |sed "s/^|X//" >'a|
|00003050| 74 74 61 63 68 70 6f 72 | 74 2e 6d 61 6e 27 20 3c |ttachpor|t.man' <|
|00003060| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00003070| 2e 54 48 20 61 74 74 61 | 63 68 70 6f 72 74 20 31 |.TH atta|chport 1|
|00003080| 0a 58 2e 53 48 20 4e 41 | 4d 45 0a 58 61 74 74 61 |.X.SH NA|ME.Xatta|
|00003090| 63 68 70 6f 72 74 20 5c | 2d 20 61 74 74 61 63 68 |chport \|- attach|
|000030a0| 20 61 20 73 65 72 76 65 | 72 20 70 72 6f 67 72 61 | a serve|r progra|
|000030b0| 6d 20 74 6f 20 61 20 54 | 43 50 20 70 6f 72 74 0a |m to a T|CP port.|
|000030c0| 58 2e 53 48 20 53 59 4e | 54 41 58 0a 58 61 74 74 |X.SH SYN|TAX.Xatt|
|000030d0| 61 63 68 70 6f 72 74 0a | 58 5b 0a 58 5c 66 42 5c |achport.|X[.X\fB\|
|000030e0| 2d 41 43 48 55 56 57 5c | 66 49 0a 58 5d 20 5b 0a |-ACHUVW\|fI.X] [.|
|000030f0| 58 5c 66 42 5c 2d 30 31 | 72 52 76 78 58 5c 66 49 |X\fB\-01|rRvxX\fI|
|00003100| 0a 58 5d 20 5b 0a 58 5c | 66 42 5c 2d 70 5c 66 49 |.X] [.X\|fB\-p\fI|
|00003110| 70 6f 72 74 6e 75 6d 0a | 58 5d 0a 58 70 72 6f 67 |portnum.|X].Xprog|
|00003120| 72 61 6d 0a 58 5b 0a 58 | 61 72 67 20 2e 2e 2e 0a |ram.X[.X|arg ....|
|00003130| 58 5d 20 26 0a 58 2e 53 | 48 20 44 45 53 43 52 49 |X] &.X.S|H DESCRI|
|00003140| 50 54 49 4f 4e 0a 58 2e | 49 20 61 74 74 61 63 68 |PTION.X.|I attach|
|00003150| 70 6f 72 74 0a 58 61 74 | 74 61 63 68 65 73 20 61 |port.Xat|taches a|
|00003160| 20 73 65 72 76 65 72 20 | 74 6f 20 61 20 54 43 50 | server |to a TCP|
|00003170| 20 70 6f 72 74 2e 0a 58 | 54 68 65 20 70 6f 72 74 | port..X|The port|
|00003180| 20 6d 61 79 20 62 65 20 | 73 70 65 63 69 66 69 65 | may be |specifie|
|00003190| 64 20 62 79 0a 58 2e 49 | 20 70 6f 72 74 6e 75 6d |d by.X.I| portnum|
|000031a0| 2c 0a 58 6f 72 20 6f 6e | 65 20 77 69 6c 6c 20 62 |,.Xor on|e will b|
|000031b0| 65 20 61 73 73 69 67 6e | 65 64 3b 0a 58 74 68 65 |e assign|ed;.Xthe|
|000031c0| 20 73 65 72 76 65 72 20 | 69 73 20 73 70 65 63 69 | server |is speci|
|000031d0| 66 69 65 64 20 62 79 0a | 58 2e 49 20 70 72 6f 67 |fied by.|X.I prog|
|000031e0| 72 61 6d 2e 0a 58 2e 49 | 20 61 74 74 61 63 68 70 |ram..X.I| attachp|
|000031f0| 6f 72 74 0a 58 77 69 6c | 6c 20 70 61 73 73 20 61 |ort.Xwil|l pass a|
|00003200| 6e 79 20 66 75 72 74 68 | 65 72 20 61 72 67 75 6d |ny furth|er argum|
|00003210| 65 6e 74 73 20 74 68 72 | 6f 75 67 68 20 74 6f 20 |ents thr|ough to |
|00003220| 74 68 65 20 73 65 72 76 | 65 72 20 70 72 6f 67 72 |the serv|er progr|
|00003230| 61 6d 2e 0a 58 2e 50 50 | 0a 58 2e 49 20 70 6f 72 |am..X.PP|.X.I por|
|00003240| 74 6e 75 6d 0a 58 63 61 | 6e 20 62 65 20 66 75 6c |tnum.Xca|n be ful|
|00003250| 6c 79 20 73 70 65 63 69 | 66 69 65 64 20 61 73 20 |ly speci|fied as |
|00003260| 61 20 70 6f 72 74 20 6e | 75 6d 62 65 72 2c 0a 58 |a port n|umber,.X|
|00003270| 6f 72 20 67 69 76 65 6e | 20 61 73 20 61 20 73 65 |or given| as a se|
|00003280| 72 76 69 63 65 20 6e 61 | 6d 65 2e 0a 58 2e 50 50 |rvice na|me..X.PP|
|00003290| 0a 58 41 6e 79 20 69 6e | 63 6f 6d 69 6e 67 20 72 |.XAny in|coming r|
|000032a0| 65 71 75 65 73 74 20 6f | 6e 20 74 68 65 20 54 43 |equest o|n the TC|
|000032b0| 50 20 70 6f 72 74 0a 58 | 69 6e 76 6f 6b 65 73 20 |P port.X|invokes |
|000032c0| 61 20 6e 65 77 20 63 6f | 70 79 20 6f 66 20 74 68 |a new co|py of th|
|000032d0| 65 20 73 65 72 76 65 72 | 2c 0a 58 77 68 69 63 68 |e server|,.Xwhich|
|000032e0| 20 72 75 6e 73 20 77 69 | 74 68 20 61 6c 6c 20 69 | runs wi|th all i|
|000032f0| 6e 70 75 74 20 64 69 72 | 65 63 74 65 64 20 66 72 |nput dir|ected fr|
|00003300| 6f 6d 0a 58 61 6e 64 20 | 6f 75 74 70 75 74 20 64 |om.Xand |output d|
|00003310| 69 72 65 63 74 65 64 20 | 74 6f 20 74 68 65 20 70 |irected |to the p|
|00003320| 6f 72 74 2e 0a 58 41 6c | 6c 20 65 6e 76 69 72 6f |ort..XAl|l enviro|
|00003330| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 73 20 |nment va|riables |
|00003340| 61 6e 64 20 73 69 6d 69 | 6c 61 72 20 70 72 6f 63 |and simi|lar proc|
|00003350| 65 73 73 20 64 61 74 61 | 0a 58 61 72 65 20 74 61 |ess data|.Xare ta|
|00003360| 6b 65 6e 20 64 69 72 65 | 63 74 6c 79 20 66 72 6f |ken dire|ctly fro|
|00003370| 6d 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 20 69 |m the or|iginal i|
|00003380| 6e 76 6f 63 61 74 69 6f | 6e 20 6f 66 0a 58 2e 49 |nvocatio|n of.X.I|
|00003390| 20 61 74 74 61 63 68 70 | 6f 72 74 3b 0a 58 68 6f | attachp|ort;.Xho|
|000033a0| 77 65 76 65 72 2c 0a 58 | 2e 49 20 61 74 74 61 63 |wever,.X|.I attac|
|000033b0| 68 70 6f 72 74 0a 58 77 | 69 6c 6c 20 61 74 74 65 |hport.Xw|ill atte|
|000033c0| 6d 70 74 20 74 6f 20 64 | 69 73 73 6f 63 69 61 74 |mpt to d|issociat|
|000033d0| 65 20 69 74 73 65 6c 66 | 20 66 72 6f 6d 20 69 74 |e itself| from it|
|000033e0| 73 20 63 6f 6e 74 72 6f | 6c 6c 69 6e 67 20 74 65 |s contro|lling te|
|000033f0| 72 6d 69 6e 61 6c 2e 0a | 58 2e 50 50 0a 58 2e 49 |rminal..|X.PP.X.I|
|00003400| 20 61 74 74 61 63 68 70 | 6f 72 74 0a 58 77 6f 72 | attachp|ort.Xwor|
|00003410| 6b 73 20 77 69 74 68 0a | 58 74 68 65 20 41 75 74 |ks with.|Xthe Aut|
|00003420| 68 65 6e 74 69 63 61 74 | 69 6f 6e 20 53 65 72 76 |henticat|ion Serv|
|00003430| 65 72 2c 0a 58 2e 49 20 | 61 75 74 68 64 28 38 29 |er,.X.I |authd(8)|
|00003440| 3a 0a 58 74 68 65 20 63 | 6f 6e 6e 65 63 74 69 6e |:.Xthe c|onnectin|
|00003450| 67 20 68 6f 73 74 20 63 | 61 6e 20 76 65 72 69 66 |g host c|an verif|
|00003460| 79 20 74 68 65 20 69 64 | 65 6e 74 69 74 79 20 6f |y the id|entity o|
|00003470| 66 20 74 68 65 20 73 65 | 72 76 65 72 2e 0a 58 2e |f the se|rver..X.|
|00003480| 50 50 0a 58 4f 70 74 69 | 6f 6e 73 0a 58 2e 42 20 |PP.XOpti|ons.X.B |
|00003490| 41 43 48 55 56 57 0a 58 | 70 72 69 6e 74 20 74 68 |ACHUVW.X|print th|
|000034a0| 65 20 61 75 74 68 6f 72 | 73 68 69 70 20 6e 6f 74 |e author|ship not|
|000034b0| 69 63 65 2c 0a 58 63 6f | 70 79 72 69 67 68 74 20 |ice,.Xco|pyright |
|000034c0| 6e 6f 74 69 63 65 2c 0a | 58 68 65 6c 70 20 6e 6f |notice,.|Xhelp no|
|000034d0| 74 69 63 65 2c 0a 58 73 | 68 6f 72 74 20 75 73 61 |tice,.Xs|hort usa|
|000034e0| 67 65 20 73 75 6d 6d 61 | 72 79 2c 0a 58 76 65 72 |ge summa|ry,.Xver|
|000034f0| 73 69 6f 6e 20 6e 75 6d | 62 65 72 2c 0a 58 61 6e |sion num|ber,.Xan|
|00003500| 64 20 77 61 72 72 61 6e | 74 79 20 69 6e 66 6f 72 |d warran|ty infor|
|00003510| 6d 61 74 69 6f 6e 20 72 | 65 73 70 65 63 74 69 76 |mation r|espectiv|
|00003520| 65 6c 79 2e 0a 58 2e 50 | 50 0a 58 2e 49 20 61 74 |ely..X.P|P.X.I at|
|00003530| 74 61 63 68 70 6f 72 74 | 0a 58 68 61 73 20 73 65 |tachport|.Xhas se|
|00003540| 76 65 72 61 6c 20 66 6c | 61 67 73 3a 0a 58 2e 54 |veral fl|ags:.X.T|
|00003550| 50 20 31 32 0a 58 5c 66 | 42 5c 2d 70 5c 66 49 70 |P 12.X\f|B\-p\fIp|
|00003560| 6f 72 74 6e 75 6d 0a 58 | 41 74 74 65 6d 70 74 20 |ortnum.X|Attempt |
|00003570| 74 6f 20 61 74 74 61 63 | 68 20 74 68 65 20 73 65 |to attac|h the se|
|00003580| 72 76 65 72 20 74 6f 20 | 70 6f 72 74 0a 58 2e 49 |rver to |port.X.I|
|00003590| 20 70 6f 72 74 6e 75 6d | 2e 0a 58 54 68 65 20 70 | portnum|..XThe p|
|000035a0| 6f 72 74 20 6e 75 6d 62 | 65 72 20 69 73 20 72 65 |ort numb|er is re|
|000035b0| 73 74 72 69 63 74 65 64 | 20 6f 6e 20 6d 6f 73 74 |stricted| on most|
|000035c0| 20 6d 61 63 68 69 6e 65 | 73 20 74 6f 20 61 20 6e | machine|s to a n|
|000035d0| 75 6d 62 65 72 20 62 65 | 74 77 65 65 6e 0a 58 30 |umber be|tween.X0|
|000035e0| 20 61 6e 64 20 36 35 35 | 33 35 3b 20 61 6e 79 20 | and 655|35; any |
|000035f0| 6c 61 72 67 65 72 20 6e | 75 6d 62 65 72 20 77 69 |larger n|umber wi|
|00003600| 6c 6c 20 62 65 20 6d 61 | 70 70 65 64 20 64 6f 77 |ll be ma|pped dow|
|00003610| 6e 20 69 6e 74 6f 20 74 | 68 69 73 20 72 61 6e 67 |n into t|his rang|
|00003620| 65 2e 0a 58 50 6f 72 74 | 73 20 30 20 74 68 72 6f |e..XPort|s 0 thro|
|00003630| 75 67 68 20 31 30 32 33 | 20 61 72 65 20 67 65 6e |ugh 1023| are gen|
|00003640| 65 72 61 6c 6c 79 20 72 | 65 73 74 72 69 63 74 65 |erally r|estricte|
|00003650| 64 20 74 6f 20 72 6f 6f | 74 20 70 72 6f 63 65 73 |d to roo|t proces|
|00003660| 73 65 73 2e 0a 58 50 6f | 72 74 73 20 61 62 6f 76 |ses..XPo|rts abov|
|00003670| 65 20 35 30 30 30 30 20 | 61 72 65 20 61 20 67 6f |e 50000 |are a go|
|00003680| 6f 64 20 63 68 6f 69 63 | 65 20 66 6f 72 20 75 73 |od choic|e for us|
|00003690| 65 72 20 28 6e 6f 6e 73 | 74 61 6e 64 61 72 64 29 |er (nons|tandard)|
|000036a0| 20 73 65 72 76 65 72 73 | 2e 0a 58 49 66 20 79 6f | servers|..XIf yo|
|000036b0| 75 20 64 6f 20 6e 6f 74 | 20 73 70 65 63 69 66 79 |u do not| specify|
|000036c0| 20 61 20 70 6f 72 74 2c | 0a 58 2e 49 20 61 74 74 | a port,|.X.I att|
|000036d0| 61 63 68 70 6f 72 74 0a | 58 77 69 6c 6c 20 61 73 |achport.|Xwill as|
|000036e0| 73 69 67 6e 20 6f 6e 65 | 2e 0a 58 2e 54 50 0a 58 |sign one|..X.TP.X|
|000036f0| 5c 66 42 5c 2d 76 5c 66 | 49 0a 58 56 65 72 62 6f |\fB\-v\f|I.XVerbo|
|00003700| 73 65 3a 0a 58 2e 49 20 | 61 74 74 61 63 68 70 6f |se:.X.I |attachpo|
|00003710| 72 74 0a 58 77 69 6c 6c | 20 72 65 70 6f 72 74 20 |rt.Xwill| report |
|00003720| 73 75 63 63 65 73 73 2e | 0a 58 2e 54 50 0a 58 5c |success.|.X.TP.X\|
|00003730| 66 42 5c 2d 31 5c 66 49 | 0a 58 57 72 69 74 65 20 |fB\-1\fI|.XWrite |
|00003740| 74 68 65 20 70 6f 72 74 | 20 6e 75 6d 62 65 72 20 |the port| number |
|00003750| 74 6f 20 73 74 61 6e 64 | 61 72 64 20 6f 75 74 70 |to stand|ard outp|
|00003760| 75 74 20 61 73 20 61 6e | 20 69 6e 74 65 67 65 72 |ut as an| integer|
|00003770| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 0a 58 61 20 | followe|d by.Xa |
|00003780| 6e 65 77 6c 69 6e 65 2e | 0a 58 54 68 69 73 20 69 |newline.|.XThis i|
|00003790| 73 20 74 68 65 20 6e 6f | 6e 2d 75 73 65 72 2d 66 |s the no|n-user-f|
|000037a0| 72 69 65 6e 64 6c 79 20 | 76 65 72 73 69 6f 6e 20 |riendly |version |
|000037b0| 6f 66 0a 58 5c 66 42 5c | 2d 76 2e 0a 58 2e 54 50 |of.X\fB\|-v..X.TP|
|000037c0| 0a 58 5c 66 42 5c 2d 30 | 5c 66 49 0a 58 45 76 65 |.X\fB\-0|\fI.XEve|
|000037d0| 72 79 20 74 65 6e 20 73 | 65 63 6f 6e 64 73 2c 20 |ry ten s|econds, |
|000037e0| 63 68 65 63 6b 20 74 68 | 61 74 20 74 68 65 20 28 |check th|at the (|
|000037f0| 6f 74 68 65 72 77 69 73 | 65 20 75 6e 75 73 65 64 |otherwis|e unused|
|00003800| 29 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |) standa|rd input|
|00003810| 0a 58 66 69 6c 65 20 73 | 74 69 6c 6c 20 68 61 73 |.Xfile s|till has|
|00003820| 20 6c 69 6e 6b 73 2e 20 | 49 66 20 69 74 20 64 6f | links. |If it do|
|00003830| 65 73 6e 27 74 2c 0a 58 | 2e 49 20 61 74 74 61 63 |esn't,.X|.I attac|
|00003840| 68 70 6f 72 74 0a 58 77 | 69 6c 6c 20 73 6c 6f 77 |hport.Xw|ill slow|
|00003850| 6c 79 20 77 69 74 68 65 | 72 20 61 77 61 79 2c 0a |ly withe|r away,.|
|00003860| 58 64 79 69 6e 67 20 61 | 73 20 73 6f 6f 6e 20 61 |Xdying a|s soon a|
|00003870| 73 20 69 74 73 20 63 68 | 69 6c 64 72 65 6e 20 68 |s its ch|ildren h|
|00003880| 61 76 65 20 65 78 69 74 | 65 64 20 61 6e 64 20 63 |ave exit|ed and c|
|00003890| 6c 65 61 6e 65 64 20 75 | 70 2e 0a 58 2e 49 20 61 |leaned u|p..X.I a|
|000038a0| 74 74 61 63 68 70 6f 72 | 74 0a 58 77 69 6c 6c 20 |ttachpor|t.Xwill |
|000038b0| 72 65 66 75 73 65 20 66 | 75 72 74 68 65 72 20 63 |refuse f|urther c|
|000038c0| 6f 6e 6e 65 63 74 69 6f | 6e 73 20 6f 6e 20 74 68 |onnectio|ns on th|
|000038d0| 65 20 73 61 6d 65 20 70 | 6f 72 74 20 69 6e 20 74 |e same p|ort in t|
|000038e0| 68 65 20 6d 65 61 6e 74 | 69 6d 65 2e 0a 58 54 68 |he meant|ime..XTh|
|000038f0| 69 73 20 69 73 20 61 70 | 70 72 6f 70 72 69 61 74 |is is ap|propriat|
|00003900| 65 20 66 6f 72 20 61 20 | 73 68 65 6c 6c 20 73 63 |e for a |shell sc|
|00003910| 72 69 70 74 3b 0a 58 75 | 73 65 0a 58 2e 49 20 6b |ript;.Xu|se.X.I k|
|00003920| 69 6c 6c 61 70 6f 72 74 | 28 31 29 0a 58 74 6f 20 |illaport|(1).Xto |
|00003930| 6b 69 6c 6c 0a 58 2e 49 | 20 61 74 74 61 63 68 70 |kill.X.I| attachp|
|00003940| 6f 72 74 0a 58 6d 61 6e | 75 61 6c 6c 79 2e 0a 58 |ort.Xman|ually..X|
|00003950| 2e 54 50 0a 58 5c 66 42 | 5c 2d 78 5c 66 49 0a 58 |.TP.X\fB|\-x\fI.X|
|00003960| 4c 6f 63 61 6c 6c 79 20 | 61 75 74 68 65 6e 74 69 |Locally |authenti|
|00003970| 63 61 74 65 20 65 61 63 | 68 20 63 6f 6e 6e 65 63 |cate eac|h connec|
|00003980| 74 69 6f 6e 20 28 64 65 | 66 61 75 6c 74 29 2e 0a |tion (de|fault)..|
|00003990| 58 2e 54 50 0a 58 5c 66 | 42 5c 2d 58 5c 66 49 0a |X.TP.X\f|B\-X\fI.|
|000039a0| 58 44 6f 20 6e 6f 74 20 | 6c 6f 63 61 6c 6c 79 20 |XDo not |locally |
|000039b0| 61 75 74 68 65 6e 74 69 | 63 61 74 65 20 63 6f 6e |authenti|cate con|
|000039c0| 6e 65 63 74 69 6f 6e 73 | 2e 0a 58 2e 54 50 0a 58 |nections|..X.TP.X|
|000039d0| 5c 66 42 5c 2d 72 5c 66 | 49 0a 58 41 74 74 65 6d |\fB\-r\f|I.XAttem|
|000039e0| 70 74 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |pt to de|termine |
|000039f0| 74 68 65 20 69 64 65 6e | 74 69 74 79 20 6f 66 20 |the iden|tity of |
|00003a00| 74 68 65 20 6f 74 68 65 | 72 20 65 6e 64 20 6f 66 |the othe|r end of|
|00003a10| 0a 58 65 61 63 68 20 63 | 6f 6e 6e 65 63 74 69 6f |.Xeach c|onnectio|
|00003a20| 6e 0a 58 74 68 72 6f 75 | 67 68 20 74 68 65 20 72 |n.Xthrou|gh the r|
|00003a30| 65 6d 6f 74 65 20 41 75 | 74 68 65 6e 74 69 63 61 |emote Au|thentica|
|00003a40| 74 69 6f 6e 20 53 65 72 | 76 65 72 20 28 64 65 66 |tion Ser|ver (def|
|00003a50| 61 75 6c 74 29 2e 0a 58 | 2e 49 20 61 74 74 61 63 |ault)..X|.I attac|
|00003a60| 68 70 6f 72 74 0a 58 77 | 69 6c 6c 20 70 6c 61 63 |hport.Xw|ill plac|
|00003a70| 65 20 74 68 65 20 69 64 | 65 6e 74 69 74 79 0a 58 |e the id|entity.X|
|00003a80| 69 6e 74 6f 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |into env|ironment|
|00003a90| 20 76 61 72 69 61 62 6c | 65 0a 58 52 45 4d 4f 54 | variabl|e.XREMOT|
|00003aa0| 45 2c 20 77 69 74 68 20 | 74 68 65 20 66 6f 72 6d |E, with |the form|
|00003ab0| 0a 58 2e 49 20 75 73 65 | 72 40 69 6e 2e 65 74 2e |.X.I use|r@in.et.|
|00003ac0| 61 64 2e 64 72 0a 58 77 | 68 65 72 65 0a 58 2e 49 |ad.dr.Xw|here.X.I|
|00003ad0| 20 75 73 65 72 0a 58 69 | 73 20 61 20 73 74 72 69 | user.Xi|s a stri|
|00003ae0| 6e 67 20 67 69 76 69 6e | 67 20 74 68 65 20 75 73 |ng givin|g the us|
|00003af0| 65 72 20 6e 61 6d 65 0a | 58 61 6e 64 0a 58 2e 49 |er name.|Xand.X.I|
|00003b00| 20 69 6e 2e 65 74 2e 61 | 64 2e 64 72 0a 58 69 73 | in.et.a|d.dr.Xis|
|00003b10| 20 61 20 6e 75 6d 65 72 | 69 63 61 6c 20 49 6e 74 | a numer|ical Int|
|00003b20| 65 72 6e 65 74 20 61 64 | 64 72 65 73 73 2e 0a 58 |ernet ad|dress..X|
|00003b30| 49 66 20 74 68 65 20 6f | 74 68 65 72 20 65 6e 64 |If the o|ther end|
|00003b40| 20 69 73 20 6e 6f 74 20 | 61 75 74 68 65 6e 74 69 | is not |authenti|
|00003b50| 63 61 74 65 64 2c 0a 58 | 2e 49 20 75 73 65 72 0a |cated,.X|.I user.|
|00003b60| 58 77 69 6c 6c 20 62 65 | 20 62 6c 61 6e 6b 2e 0a |Xwill be| blank..|
|00003b70| 58 4e 6f 74 65 20 74 68 | 61 74 0a 58 2e 49 20 75 |XNote th|at.X.I u|
|00003b80| 73 65 72 0a 58 6d 61 79 | 20 63 6f 6e 74 61 69 6e |ser.Xmay| contain|
|00003b90| 20 40 20 73 69 67 6e 73 | 3b 0a 58 52 45 4d 4f 54 | @ signs|;.XREMOT|
|00003ba0| 45 20 73 68 6f 75 6c 64 | 20 62 65 20 70 61 72 73 |E should| be pars|
|00003bb0| 65 64 20 66 72 6f 6d 0a | 58 72 69 67 68 74 20 74 |ed from.|Xright t|
|00003bc0| 6f 20 6c 65 66 74 2e 0a | 58 2e 49 20 61 74 74 61 |o left..|X.I atta|
|00003bd0| 63 68 70 6f 72 74 0a 58 | 61 6c 73 6f 20 73 65 74 |chport.X|also set|
|00003be0| 73 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |s enviro|nment va|
|00003bf0| 72 69 61 62 6c 65 0a 58 | 50 52 4f 54 4f 20 74 6f |riable.X|PROTO to|
|00003c00| 20 74 68 65 20 73 74 72 | 69 6e 67 0a 58 2e 49 20 | the str|ing.X.I |
|00003c10| 54 43 50 2e 0a 58 2e 54 | 50 0a 58 5c 66 42 5c 2d |TCP..X.T|P.X\fB\-|
|00003c20| 52 5c 66 49 0a 58 44 6f | 20 6e 6f 74 20 72 65 6d |R\fI.XDo| not rem|
|00003c30| 6f 74 65 6c 79 20 61 75 | 74 68 65 6e 74 69 63 61 |otely au|thentica|
|00003c40| 74 65 2e 0a 58 54 68 69 | 73 20 69 73 20 74 68 65 |te..XThi|s is the|
|00003c50| 20 64 65 66 61 75 6c 74 | 20 69 66 20 74 68 65 20 | default| if the |
|00003c60| 6c 6f 63 61 6c 20 70 6f | 72 74 20 69 73 20 31 31 |local po|rt is 11|
|00003c70| 33 20 28 61 75 74 68 29 | 3a 0a 58 74 77 6f 20 6d |3 (auth)|:.Xtwo m|
|00003c80| 61 63 68 69 6e 65 73 20 | 63 61 75 67 68 74 20 69 |achines |caught i|
|00003c90| 6e 20 61 6e 20 41 75 74 | 68 65 6e 74 69 63 61 74 |n an Aut|henticat|
|00003ca0| 69 6f 6e 20 53 65 72 76 | 65 72 20 6c 6f 6f 70 0a |ion Serv|er loop.|
|00003cb0| 58 77 6f 75 6c 64 20 72 | 61 70 69 64 6c 79 20 62 |Xwould r|apidly b|
|00003cc0| 65 20 62 72 6f 75 67 68 | 74 20 74 6f 20 74 68 65 |e brough|t to the|
|00003cd0| 69 72 20 6b 6e 65 65 73 | 2c 0a 58 74 68 6f 75 67 |ir knees|,.Xthoug|
|00003ce0| 68 20 74 68 65 20 6c 6f | 6f 70 20 77 6f 75 6c 64 |h the lo|op would|
|00003cf0| 20 65 6e 64 20 61 66 74 | 65 72 20 75 73 65 72 0a | end aft|er user.|
|00003d00| 58 2e 49 20 61 75 74 68 | 0a 58 68 69 74 20 69 74 |X.I auth|.Xhit it|
|00003d10| 73 20 70 72 6f 63 65 73 | 73 20 6c 69 6d 69 74 20 |s proces|s limit |
|00003d20| 6f 6e 20 65 69 74 68 65 | 72 20 6d 61 63 68 69 6e |on eithe|r machin|
|00003d30| 65 2e 0a 58 2e 50 50 0a | 58 54 68 65 20 73 65 72 |e..X.PP.|XThe ser|
|00003d40| 76 65 72 20 63 6f 75 6c | 64 20 75 73 65 0a 58 2e |ver coul|d use.X.|
|00003d50| 49 20 67 65 74 70 65 65 | 72 6e 61 6d 65 28 32 29 |I getpee|rname(2)|
|00003d60| 0a 58 74 6f 20 66 69 6e | 64 20 6f 75 74 20 77 68 |.Xto fin|d out wh|
|00003d70| 6f 20 69 74 27 73 20 74 | 61 6c 6b 69 6e 67 20 74 |o it's t|alking t|
|00003d80| 6f 2c 0a 58 62 75 74 20 | 69 74 27 73 20 66 61 73 |o,.Xbut |it's fas|
|00003d90| 74 65 72 2c 20 73 69 6d | 70 6c 65 72 2c 20 61 6e |ter, sim|pler, an|
|00003da0| 64 20 6d 6f 72 65 20 70 | 6f 72 74 61 62 6c 65 0a |d more p|ortable.|
|00003db0| 58 74 6f 20 75 73 65 20 | 50 52 4f 54 4f 20 61 6e |Xto use |PROTO an|
|00003dc0| 64 20 52 45 4d 4f 54 45 | 2e 0a 58 46 75 74 75 72 |d REMOTE|..XFutur|
|00003dd0| 65 20 76 65 72 73 69 6f | 6e 73 20 6f 66 0a 58 2e |e versio|ns of.X.|
|00003de0| 49 20 61 74 74 61 63 68 | 70 6f 72 74 2c 0a 58 76 |I attach|port,.Xv|
|00003df0| 65 72 73 69 6f 6e 73 20 | 66 6f 72 20 6f 74 68 65 |ersions |for othe|
|00003e00| 72 20 6e 65 74 77 6f 72 | 6b 20 69 6e 74 65 72 66 |r networ|k interf|
|00003e10| 61 63 65 73 2c 0a 58 61 | 6e 64 20 76 65 72 73 69 |aces,.Xa|nd versi|
|00003e20| 6f 6e 73 20 66 6f 72 20 | 63 6f 6d 70 6c 65 74 65 |ons for |complete|
|00003e30| 6c 79 20 64 69 66 66 65 | 72 65 6e 74 20 63 6f 6d |ly diffe|rent com|
|00003e40| 6d 75 6e 69 63 61 74 69 | 6f 6e 73 20 73 79 73 74 |municati|ons syst|
|00003e50| 65 6d 73 0a 58 77 69 6c | 6c 20 61 6c 6c 20 70 72 |ems.Xwil|l all pr|
|00003e60| 6f 76 69 64 65 20 74 68 | 65 20 73 61 6d 65 20 50 |ovide th|e same P|
|00003e70| 52 4f 54 4f 2f 52 45 4d | 4f 54 45 20 69 6e 74 65 |ROTO/REM|OTE inte|
|00003e80| 72 66 61 63 65 2e 0a 58 | 4f 66 20 63 6f 75 72 73 |rface..X|Of cours|
|00003e90| 65 2c 20 69 66 20 50 52 | 4f 54 4f 20 69 73 20 6e |e, if PR|OTO is n|
|00003ea0| 6f 74 20 54 43 50 2c 20 | 52 45 4d 4f 54 45 20 77 |ot TCP, |REMOTE w|
|00003eb0| 69 6c 6c 20 70 72 6f 62 | 61 62 6c 79 0a 58 68 61 |ill prob|ably.Xha|
|00003ec0| 76 65 20 61 20 64 69 66 | 66 65 72 65 6e 74 20 66 |ve a dif|ferent f|
|00003ed0| 6f 72 6d 61 74 2e 0a 58 | 2e 50 50 0a 58 4e 6f 74 |ormat..X|.PP.XNot|
|00003ee0| 65 20 74 68 61 74 20 74 | 68 65 20 69 6e 73 65 72 |e that t|he inser|
|00003ef0| 74 69 6f 6e 20 6f 66 20 | 63 61 72 72 69 61 67 65 |tion of |carriage|
|00003f00| 20 72 65 74 75 72 6e 73 | 20 61 66 74 65 72 20 6e | returns| after n|
|00003f10| 65 77 6c 69 6e 65 73 0a | 58 69 73 20 6e 6f 72 6d |ewlines.|Xis norm|
|00003f20| 61 6c 6c 79 20 64 6f 6e | 65 20 61 75 74 6f 6d 61 |ally don|e automa|
|00003f30| 74 69 63 61 6c 6c 79 20 | 62 79 20 74 68 65 20 74 |tically |by the t|
|00003f40| 65 72 6d 69 6e 61 6c 20 | 64 72 69 76 65 72 2e 0a |erminal |driver..|
|00003f50| 58 59 6f 75 20 6d 75 73 | 74 20 62 65 20 63 61 72 |XYou mus|t be car|
|00003f60| 65 66 75 6c 20 74 6f 20 | 6f 75 74 70 75 74 20 63 |eful to |output c|
|00003f70| 61 72 72 69 61 67 65 20 | 72 65 74 75 72 6e 73 20 |arriage |returns |
|00003f80| 62 65 66 6f 72 65 20 6e | 65 77 6c 69 6e 65 73 0a |before n|ewlines.|
|00003f90| 58 66 6f 72 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |Xfor you|r progra|
|00003fa0| 6d 20 74 6f 20 74 61 6c | 6b 20 63 6f 72 72 65 63 |m to tal|k correc|
|00003fb0| 74 6c 79 20 77 69 74 68 | 20 61 20 6c 6f 77 2d 6c |tly with| a low-l|
|00003fc0| 65 76 65 6c 20 63 6f 6d | 6d 75 6e 69 63 61 74 69 |evel com|municati|
|00003fd0| 6f 6e 73 20 73 65 72 76 | 65 72 2e 0a 58 2e 50 50 |ons serv|er..X.PP|
|00003fe0| 0a 58 59 6f 75 20 73 68 | 6f 75 6c 64 20 6d 61 6b |.XYou sh|ould mak|
|00003ff0| 65 20 73 75 72 65 20 74 | 6f 20 72 75 6e 20 0a 58 |e sure t|o run .X|
|00004000| 2e 49 20 61 74 74 61 63 | 68 70 6f 72 74 0a 58 69 |.I attac|hport.Xi|
|00004010| 6e 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |n the ba|ckground|
|00004020| 2e 0a 58 41 6c 73 6f 2c | 20 79 6f 75 20 73 68 6f |..XAlso,| you sho|
|00004030| 75 6c 64 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 |uld make| sure th|
|00004040| 61 74 20 69 74 73 20 64 | 69 61 67 6e 6f 73 74 69 |at its d|iagnosti|
|00004050| 63 20 6f 75 74 70 75 74 | 20 67 6f 65 73 0a 58 65 |c output| goes.Xe|
|00004060| 69 74 68 65 72 20 69 6e | 74 6f 20 61 20 6c 6f 67 |ither in|to a log|
|00004070| 20 66 69 6c 65 20 6f 72 | 20 69 6e 74 6f 20 2f 64 | file or| into /d|
|00004080| 65 76 2f 6e 75 6c 6c 2e | 0a 58 2e 53 48 20 44 49 |ev/null.|.X.SH DI|
|00004090| 41 47 4e 4f 53 54 49 43 | 53 0a 58 2e 54 50 20 31 |AGNOSTIC|S.X.TP 1|
|000040a0| 2e 35 69 0a 58 5c 66 49 | 77 61 72 6e 69 6e 67 3a |.5i.X\fI|warning:|
|000040b0| 20 63 61 6e 27 74 20 66 | 69 6e 64 20 6d 79 20 6f | can't f|ind my o|
|000040c0| 77 6e 20 49 6e 74 65 72 | 6e 65 74 20 6e 75 6d 62 |wn Inter|net numb|
|000040d0| 65 72 3f 21 5c 66 42 0a | 58 59 6f 75 72 20 68 6f |er?!\fB.|XYour ho|
|000040e0| 73 74 20 69 73 20 6e 6f | 74 20 6c 69 73 74 65 64 |st is no|t listed|
|000040f0| 20 69 6e 20 79 6f 75 72 | 20 68 6f 73 74 73 20 74 | in your| hosts t|
|00004100| 61 62 6c 65 3f 21 0a 58 | 2e 54 50 0a 58 2e 49 20 |able?!.X|.TP.X.I |
|00004110| 63 61 6e 6e 6f 74 20 73 | 65 74 72 65 75 69 64 0a |cannot s|etreuid.|
|00004120| 58 54 68 69 73 20 73 68 | 6f 75 6c 64 20 6e 65 76 |XThis sh|ould nev|
|00004130| 65 72 20 68 61 70 70 65 | 6e 2e 0a 58 2e 54 50 0a |er happe|n..X.TP.|
|00004140| 58 2e 49 20 63 61 6e 6e | 6f 74 20 63 72 65 61 74 |X.I cann|ot creat|
|00004150| 65 20 73 6f 63 6b 65 74 | 0a 58 53 6f 6d 65 74 68 |e socket|.XSometh|
|00004160| 69 6e 67 20 77 65 6e 74 | 20 77 72 6f 6e 67 20 69 |ing went| wrong i|
|00004170| 6e 20 63 72 65 61 74 69 | 6e 67 20 74 68 65 20 63 |n creati|ng the c|
|00004180| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 73 6f |ommunica|tions so|
|00004190| 63 6b 65 74 2e 0a 58 2e | 54 50 0a 58 2e 49 20 63 |cket..X.|TP.X.I c|
|000041a0| 61 6e 6e 6f 74 20 62 69 | 6e 64 3a 20 41 64 64 72 |annot bi|nd: Addr|
|000041b0| 65 73 73 20 61 6c 72 65 | 61 64 79 20 69 6e 20 75 |ess alre|ady in u|
|000041c0| 73 65 0a 58 53 6f 6d 65 | 20 6f 74 68 65 72 20 70 |se.XSome| other p|
|000041d0| 72 6f 63 65 73 73 20 69 | 73 20 61 74 74 61 63 68 |rocess i|s attach|
|000041e0| 65 64 20 74 6f 20 74 68 | 61 74 20 70 6f 72 74 2e |ed to th|at port.|
|000041f0| 0a 58 28 4e 6f 74 65 20 | 74 68 61 74 20 65 76 65 |.X(Note |that eve|
|00004200| 6e 20 69 66 20 74 68 61 | 74 20 70 72 6f 63 65 73 |n if tha|t proces|
|00004210| 73 20 67 6f 65 73 20 61 | 77 61 79 2c 0a 58 69 74 |s goes a|way,.Xit|
|00004220| 20 6d 61 79 20 62 65 20 | 61 20 66 65 77 20 6d 69 | may be |a few mi|
|00004230| 6e 75 74 65 73 20 62 65 | 66 6f 72 65 20 74 68 65 |nutes be|fore the|
|00004240| 20 70 6f 72 74 20 69 73 | 20 66 72 65 65 20 61 67 | port is| free ag|
|00004250| 61 69 6e 2e 29 0a 58 2e | 54 50 0a 58 2e 49 20 63 |ain.).X.|TP.X.I c|
|00004260| 61 6e 6e 6f 74 20 62 69 | 6e 64 3a 20 73 6f 6d 65 |annot bi|nd: some|
|00004270| 20 6f 74 68 65 72 20 70 | 72 6f 62 6c 65 6d 0a 58 | other p|roblem.X|
|00004280| 59 6f 75 20 63 61 6e 27 | 74 20 62 69 6e 64 20 74 |You can'|t bind t|
|00004290| 68 65 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |he commu|nication|
|000042a0| 73 20 73 6f 63 6b 65 74 | 20 74 6f 20 74 68 65 20 |s socket| to the |
|000042b0| 70 6f 72 74 20 66 6f 72 | 20 73 6f 6d 65 0a 58 6f |port for| some.Xo|
|000042c0| 74 68 65 72 20 72 65 61 | 73 6f 6e 2e 20 44 6f 20 |ther rea|son. Do |
|000042d0| 79 6f 75 20 68 61 76 65 | 20 70 65 72 6d 69 73 73 |you have| permiss|
|000042e0| 69 6f 6e 20 66 6f 72 20 | 70 6f 72 74 73 20 30 20 |ion for |ports 0 |
|000042f0| 74 68 72 6f 75 67 68 20 | 31 30 32 33 3f 0a 58 2e |through |1023?.X.|
|00004300| 54 50 0a 58 2e 49 20 63 | 61 6e 6e 6f 74 20 6c 69 |TP.X.I c|annot li|
|00004310| 73 74 65 6e 0a 58 53 6f | 6d 65 74 68 69 6e 67 20 |sten.XSo|mething |
|00004320| 77 65 6e 74 20 77 72 6f | 6e 67 20 69 6e 20 73 65 |went wro|ng in se|
|00004330| 74 74 69 6e 67 20 75 70 | 20 74 68 65 20 73 6f 63 |tting up| the soc|
|00004340| 6b 65 74 20 74 6f 20 6c | 69 73 74 65 6e 20 66 6f |ket to l|isten fo|
|00004350| 72 0a 58 69 6e 63 6f 6d | 69 6e 67 20 63 61 6c 6c |r.Xincom|ing call|
|00004360| 73 2e 0a 58 2e 54 50 0a | 58 2e 49 20 77 61 72 6e |s..X.TP.|X.I warn|
|00004370| 69 6e 67 3a 20 63 61 6e | 6e 6f 74 20 6f 70 65 6e |ing: can|not open|
|00004380| 20 2f 64 65 76 2f 74 74 | 79 0a 58 2e 49 20 61 74 | /dev/tt|y.X.I at|
|00004390| 74 61 63 68 70 6f 72 74 | 0a 58 77 69 6c 6c 20 6e |tachport|.Xwill n|
|000043a0| 6f 74 20 62 65 20 61 62 | 6c 65 20 74 6f 20 64 69 |ot be ab|le to di|
|000043b0| 73 73 6f 63 69 61 74 65 | 20 69 74 73 65 6c 66 20 |ssociate| itself |
|000043c0| 66 72 6f 6d 20 79 6f 75 | 72 20 74 65 72 6d 69 6e |from you|r termin|
|000043d0| 61 6c 2e 0a 58 59 6f 75 | 20 73 68 6f 75 6c 64 20 |al..XYou| should |
|000043e0| 67 65 74 20 74 68 69 73 | 20 77 61 72 6e 69 6e 67 |get this| warning|
|000043f0| 20 69 66 20 79 6f 75 20 | 69 6e 76 6f 6b 65 0a 58 | if you |invoke.X|
|00004400| 2e 49 20 61 74 74 61 63 | 68 70 6f 72 74 0a 58 77 |.I attac|hport.Xw|
|00004410| 69 74 68 6f 75 74 20 61 | 20 63 6f 6e 74 72 6f 6c |ithout a| control|
|00004420| 6c 69 6e 67 20 74 65 72 | 6d 69 6e 61 6c 20 69 6e |ling ter|minal in|
|00004430| 20 74 68 65 20 66 69 72 | 73 74 20 70 6c 61 63 65 | the fir|st place|
|00004440| 2e 0a 58 2e 54 50 0a 58 | 2e 49 20 77 61 72 6e 69 |..X.TP.X|.I warni|
|00004450| 6e 67 3a 20 63 61 6e 6e | 6f 74 20 64 69 73 73 6f |ng: cann|ot disso|
|00004460| 63 69 61 74 65 20 2f 64 | 65 76 2f 74 74 79 0a 58 |ciate /d|ev/tty.X|
|00004470| 2e 49 20 61 74 74 61 63 | 68 70 6f 72 74 0a 58 77 |.I attac|hport.Xw|
|00004480| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 61 62 6c 65 20 |ill not |be able |
|00004490| 74 6f 20 64 69 73 73 6f | 63 69 61 74 65 20 69 74 |to disso|ciate it|
|000044a0| 73 65 6c 66 20 66 72 6f | 6d 20 79 6f 75 72 20 74 |self fro|m your t|
|000044b0| 65 72 6d 69 6e 61 6c 2e | 0a 58 2e 54 50 0a 58 2e |erminal.|.X.TP.X.|
|000044c0| 49 20 63 61 6e 6e 6f 74 | 20 63 6f 6e 66 69 72 6d |I cannot| confirm|
|000044d0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 0a 58 2e 49 20 | connect|ion.X.I |
|000044e0| 61 74 74 61 63 68 70 6f | 72 74 0a 58 69 73 20 75 |attachpo|rt.Xis u|
|000044f0| 6e 61 62 6c 65 20 74 6f | 20 61 63 63 65 73 73 0a |nable to| access.|
|00004500| 58 54 43 50 20 73 74 61 | 74 75 73 20 69 6e 66 6f |XTCP sta|tus info|
|00004510| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 74 68 65 20 |rmation |for the |
|00004520| 63 6f 6e 6e 65 63 74 69 | 6f 6e 2e 0a 58 54 68 69 |connecti|on..XThi|
|00004530| 73 20 73 68 6f 75 6c 64 | 6e 27 74 20 68 61 70 70 |s should|n't happ|
|00004540| 65 6e 3b 0a 58 6c 65 74 | 20 79 6f 75 72 20 73 79 |en;.Xlet| your sy|
|00004550| 73 74 65 6d 20 61 64 6d | 69 6e 69 73 74 72 61 74 |stem adm|inistrat|
|00004560| 6f 72 0a 58 61 6e 64 20 | 74 72 61 76 65 6c 20 61 |or.Xand |travel a|
|00004570| 67 65 6e 74 20 6b 6e 6f | 77 20 69 66 20 69 74 20 |gent kno|w if it |
|00004580| 64 6f 65 73 2e 0a 58 2e | 54 50 0a 58 2e 49 20 63 |does..X.|TP.X.I c|
|00004590| 61 6e 6e 6f 74 20 61 6c | 6c 6f 63 61 74 65 20 65 |annot al|locate e|
|000045a0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 0a 58 54 68 65 72 |nvironme|nt.XTher|
|000045b0| 65 27 73 20 73 6f 20 6c | 69 74 74 6c 65 20 6d 65 |e's so l|ittle me|
|000045c0| 6d 6f 72 79 20 61 76 61 | 69 6c 61 62 6c 65 20 74 |mory ava|ilable t|
|000045d0| 68 61 74 0a 58 2e 49 20 | 61 74 74 61 63 68 70 6f |hat.X.I |attachpo|
|000045e0| 72 74 0a 58 69 73 20 75 | 6e 61 62 6c 65 20 74 6f |rt.Xis u|nable to|
|000045f0| 20 66 69 6e 64 20 73 70 | 61 63 65 20 66 6f 72 0a | find sp|ace for.|
|00004600| 58 74 68 65 20 52 45 4d | 4f 54 45 20 61 6e 64 20 |Xthe REM|OTE and |
|00004610| 50 52 4f 54 4f 20 65 6e | 76 69 72 6f 6e 6d 65 6e |PROTO en|vironmen|
|00004620| 74 20 76 61 72 69 61 62 | 6c 65 73 2e 0a 58 49 66 |t variab|les..XIf|
|00004630| 20 52 45 4d 4f 54 45 20 | 61 6e 64 20 50 52 4f 54 | REMOTE |and PROT|
|00004640| 4f 20 61 72 65 20 69 6e | 20 74 68 65 20 65 6e 76 |O are in| the env|
|00004650| 69 72 6f 6e 6d 65 6e 74 | 0a 58 77 68 65 6e 0a 58 |ironment|.Xwhen.X|
|00004660| 2e 49 20 61 74 74 61 63 | 68 70 6f 72 74 0a 58 73 |.I attac|hport.Xs|
|00004670| 74 61 72 74 73 2c 0a 58 | 74 68 69 73 20 63 61 6e |tarts,.X|this can|
|00004680| 27 74 20 68 61 70 70 65 | 6e 2c 0a 58 61 6e 64 0a |'t happe|n,.Xand.|
|00004690| 58 2e 49 20 61 74 74 61 | 63 68 70 6f 72 74 0a 58 |X.I atta|chport.X|
|000046a0| 77 69 6c 6c 20 72 75 6e | 20 6a 75 73 74 20 61 20 |will run| just a |
|000046b0| 74 69 6e 79 20 62 69 74 | 20 66 61 73 74 65 72 2e |tiny bit| faster.|
|000046c0| 0a 58 28 4f 6e 20 74 68 | 65 20 6f 74 68 65 72 20 |.X(On th|e other |
|000046d0| 68 61 6e 64 2c 20 6d 6f | 73 74 20 6f 74 68 65 72 |hand, mo|st other|
|000046e0| 20 70 72 6f 67 72 61 6d | 73 0a 58 77 69 6c 6c 20 | program|s.Xwill |
|000046f0| 72 75 6e 20 61 20 74 69 | 6e 79 20 62 69 74 20 73 |run a ti|ny bit s|
|00004700| 6c 6f 77 65 72 2e 29 0a | 58 2e 54 50 0a 58 2e 49 |lower.).|X.TP.X.I|
|00004710| 20 63 61 6e 6e 6f 74 20 | 67 65 74 20 73 6f 63 6b | cannot |get sock|
|00004720| 65 74 20 6e 61 6d 65 0a | 58 54 68 69 73 20 73 68 |et name.|XThis sh|
|00004730| 6f 75 6c 64 6e 27 74 20 | 68 61 70 70 65 6e 2e 0a |ouldn't |happen..|
|00004740| 58 2e 54 50 0a 58 2e 49 | 20 6c 6f 63 61 6c 20 70 |X.TP.X.I| local p|
|00004750| 6f 72 74 20 6c 6f 63 6b | 65 64 0a 58 2e 49 20 61 |ort lock|ed.X.I a|
|00004760| 74 74 61 63 68 70 6f 72 | 74 0a 58 69 73 20 73 65 |ttachpor|t.Xis se|
|00004770| 74 20 75 70 20 69 6e 63 | 6f 72 72 65 63 74 6c 79 |t up inc|orrectly|
|00004780| 2e 0a 58 2e 54 50 0a 58 | 2e 49 20 61 74 74 61 63 |..X.TP.X|.I attac|
|00004790| 68 65 64 20 74 6f 20 70 | 6f 72 74 20 6e 6e 6e 6e |hed to p|ort nnnn|
|000047a0| 6e 0a 58 2e 49 20 61 74 | 74 61 63 68 70 6f 72 74 |n.X.I at|tachport|
|000047b0| 0a 58 68 61 73 20 73 75 | 63 63 65 73 73 66 75 6c |.Xhas su|ccessful|
|000047c0| 6c 79 20 61 74 74 61 63 | 68 65 64 20 69 74 73 65 |ly attac|hed itse|
|000047d0| 6c 66 20 74 6f 20 61 20 | 70 6f 72 74 2c 0a 58 61 |lf to a |port,.Xa|
|000047e0| 6e 64 20 79 6f 75 20 73 | 70 65 63 69 66 69 65 64 |nd you s|pecified|
|000047f0| 0a 58 2e 42 5c 2d 76 2e | 0a 58 2e 54 50 0a 58 2e |.X.B\-v.|.X.TP.X.|
|00004800| 49 20 63 61 6e 6e 6f 74 | 20 65 78 65 63 75 74 65 |I cannot| execute|
|00004810| 0a 58 2e 49 20 61 74 74 | 61 63 68 70 6f 72 74 0a |.X.I att|achport.|
|00004820| 58 69 73 20 75 6e 61 62 | 6c 65 20 74 6f 20 73 74 |Xis unab|le to st|
|00004830| 61 72 74 20 74 68 65 20 | 73 65 72 76 65 72 2e 0a |art the |server..|
|00004840| 58 2e 54 50 0a 58 2e 49 | 20 6c 6f 63 61 6c 20 70 |X.TP.X.I| local p|
|00004850| 6f 72 74 20 6c 6f 63 6b | 65 64 0a 58 2e 49 20 61 |ort lock|ed.X.I a|
|00004860| 74 74 61 63 68 70 6f 72 | 74 0a 58 69 73 20 73 65 |ttachpor|t.Xis se|
|00004870| 74 20 75 70 20 69 6e 63 | 6f 72 72 65 63 74 6c 79 |t up inc|orrectly|
|00004880| 2e 0a 58 2e 54 50 0a 58 | 2e 49 20 77 61 72 6e 69 |..X.TP.X|.I warni|
|00004890| 6e 67 3a 20 63 61 6e 6e | 6f 74 20 75 6e 6c 69 6e |ng: cann|ot unlin|
|000048a0| 6b 20 61 75 74 68 65 6e | 74 69 63 61 74 69 6f 6e |k authen|tication|
|000048b0| 20 65 6e 74 72 79 0a 58 | 54 68 69 73 20 73 68 6f | entry.X|This sho|
|000048c0| 75 6c 64 20 6e 65 76 65 | 72 20 68 61 70 70 65 6e |uld neve|r happen|
|000048d0| 3b 0a 58 69 66 20 69 74 | 20 64 6f 65 73 2c 20 72 |;.Xif it| does, r|
|000048e0| 65 70 6f 72 74 20 74 68 | 65 20 70 72 6f 62 6c 65 |eport th|e proble|
|000048f0| 6d 20 74 6f 20 79 6f 75 | 72 20 73 79 73 74 65 6d |m to you|r system|
|00004900| 20 61 64 6d 69 6e 69 73 | 74 72 61 74 6f 72 0a 58 | adminis|trator.X|
|00004910| 61 6e 64 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 |and make| sure th|
|00004920| 65 20 65 6e 74 72 79 20 | 69 73 20 72 65 6d 6f 76 |e entry |is remov|
|00004930| 65 64 2e 0a 58 2e 54 50 | 0a 58 2e 49 20 77 61 72 |ed..X.TP|.X.I war|
|00004940| 6e 69 6e 67 3a 20 63 61 | 6e 6e 6f 74 20 61 75 74 |ning: ca|nnot aut|
|00004950| 68 65 6e 74 69 63 61 74 | 65 0a 58 2e 49 20 61 74 |henticat|e.X.I at|
|00004960| 74 61 63 68 70 6f 72 74 | 0a 58 69 73 20 73 65 74 |tachport|.Xis set|
|00004970| 20 75 70 20 69 6e 63 6f | 72 72 65 63 74 6c 79 2e | up inco|rrectly.|
|00004980| 0a 58 2e 53 48 20 4d 41 | 43 48 49 4e 45 53 0a 58 |.X.SH MA|CHINES.X|
|00004990| 2e 49 20 61 74 74 61 63 | 68 70 6f 72 74 0a 58 68 |.I attac|hport.Xh|
|000049a0| 61 73 20 62 65 65 6e 20 | 74 65 73 74 65 64 20 6f |as been |tested o|
|000049b0| 6e 20 61 20 56 41 58 20 | 38 37 30 30 20 72 75 6e |n a VAX |8700 run|
|000049c0| 6e 69 6e 67 20 55 4c 54 | 52 49 58 20 32 2e 30 2c |ning ULT|RIX 2.0,|
|000049d0| 0a 58 61 20 53 75 6e 20 | 33 20 72 75 6e 6e 69 6e |.Xa Sun |3 runnin|
|000049e0| 67 20 53 75 6e 4f 53 2c | 0a 58 61 20 53 75 6e 20 |g SunOS,|.Xa Sun |
|000049f0| 34 20 72 75 6e 6e 69 6e | 67 20 53 75 6e 4f 53 2c |4 runnin|g SunOS,|
|00004a00| 0a 58 61 20 43 6f 6e 76 | 65 78 20 43 2d 32 31 30 |.Xa Conv|ex C-210|
|00004a10| 20 72 75 6e 6e 69 6e 67 | 20 43 6f 6e 76 65 78 20 | running| Convex |
|00004a20| 55 4e 49 58 2c 0a 58 61 | 6e 20 41 73 74 72 6f 6e |UNIX,.Xa|n Astron|
|00004a30| 61 75 74 69 63 73 20 5a | 53 2d 32 20 72 75 6e 6e |autics Z|S-2 runn|
|00004a40| 69 6e 67 20 5a 53 55 6e | 69 78 2c 0a 58 61 6e 64 |ing ZSUn|ix,.Xand|
|00004a50| 20 73 65 76 65 72 61 6c | 20 6f 74 68 65 72 20 6d | several| other m|
|00004a60| 61 63 68 69 6e 65 73 2e | 0a 58 2e 53 48 20 46 49 |achines.|.X.SH FI|
|00004a70| 4c 45 53 0a 58 4e 6f 6e | 65 2e 0a 58 2e 53 48 20 |LES.XNon|e..X.SH |
|00004a80| 42 55 47 53 0a 58 4e 6f | 6e 65 20 6b 6e 6f 77 6e |BUGS.XNo|ne known|
|00004a90| 2e 0a 58 2e 53 48 20 52 | 45 53 54 52 49 43 54 49 |..X.SH R|ESTRICTI|
|00004aa0| 4f 4e 53 0a 58 2e 49 20 | 61 74 74 61 63 68 70 6f |ONS.X.I |attachpo|
|00004ab0| 72 74 0a 58 64 6f 65 73 | 20 6e 6f 74 20 6c 65 74 |rt.Xdoes| not let|
|00004ac0| 20 79 6f 75 20 65 61 73 | 69 6c 79 20 73 70 65 63 | you eas|ily spec|
|00004ad0| 69 66 79 20 61 20 70 69 | 70 65 6c 69 6e 65 20 6f |ify a pi|peline o|
|00004ae0| 72 20 6f 74 68 65 72 20 | 73 65 71 75 65 6e 63 65 |r other |sequence|
|00004af0| 0a 58 6f 66 20 63 6f 6d | 6d 61 6e 64 73 3b 20 79 |.Xof com|mands; y|
|00004b00| 6f 75 20 6d 75 73 74 20 | 66 69 72 73 74 20 73 65 |ou must |first se|
|00004b10| 74 20 75 70 20 61 6e 20 | 65 78 65 63 75 74 61 62 |t up an |executab|
|00004b20| 6c 65 20 73 68 65 6c 6c | 20 73 63 72 69 70 74 0a |le shell| script.|
|00004b30| 58 74 68 61 74 20 64 6f | 65 73 20 74 68 65 20 64 |Xthat do|es the d|
|00004b40| 65 73 69 72 65 64 20 63 | 6f 6d 62 69 6e 61 74 69 |esired c|ombinati|
|00004b50| 6f 6e 20 6f 66 20 61 63 | 74 69 6f 6e 73 2e 0a 58 |on of ac|tions..X|
|00004b60| 2e 50 50 0a 58 2e 49 20 | 61 74 74 61 63 68 70 6f |.PP.X.I |attachpo|
|00004b70| 72 74 0a 58 64 65 61 6c | 73 20 63 6f 72 72 65 63 |rt.Xdeal|s correc|
|00004b80| 74 6c 79 20 62 75 74 20 | 72 69 67 69 64 6c 79 20 |tly but |rigidly |
|00004b90| 77 69 74 68 20 6d 75 6c | 74 69 68 6f 6d 65 64 20 |with mul|tihomed |
|00004ba0| 68 6f 73 74 73 2e 0a 58 | 2e 50 50 0a 58 2e 49 20 |hosts..X|.PP.X.I |
|00004bb0| 61 74 74 61 63 68 70 6f | 72 74 0a 58 64 6f 65 73 |attachpo|rt.Xdoes|
|00004bc0| 20 6e 6f 74 20 73 75 70 | 70 6f 72 74 0a 58 2e 49 | not sup|port.X.I|
|00004bd0| 20 73 79 73 6c 6f 67 2e | 0a 58 2e 50 50 0a 58 42 | syslog.|.X.PP.XB|
|00004be0| 65 63 61 75 73 65 20 6f | 66 20 66 61 69 6c 75 72 |ecause o|f failur|
|00004bf0| 65 73 20 69 6e 20 74 68 | 65 20 73 69 67 6e 61 6c |es in th|e signal|
|00004c00| 20 68 61 6e 64 6c 69 6e | 67 20 73 65 6d 61 6e 74 | handlin|g semant|
|00004c10| 69 63 73 2c 0a 58 2e 49 | 20 61 74 74 61 63 68 70 |ics,.X.I| attachp|
|00004c20| 6f 72 74 0a 58 6d 61 79 | 20 66 61 69 6c 20 74 6f |ort.Xmay| fail to|
|00004c30| 20 6e 6f 74 69 63 65 20 | 61 20 63 68 69 6c 64 20 | notice |a child |
|00004c40| 65 78 69 74 69 6e 67 20 | 69 66 20 74 6f 6f 20 6d |exiting |if too m|
|00004c50| 61 6e 79 20 63 68 69 6c | 64 72 65 6e 0a 58 65 78 |any chil|dren.Xex|
|00004c60| 69 74 20 61 74 20 6f 6e | 63 65 2e 20 4e 6f 72 6d |it at on|ce. Norm|
|00004c70| 61 6c 6c 79 20 74 68 69 | 73 20 64 6f 65 73 6e 27 |ally thi|s doesn'|
|00004c80| 74 20 6d 61 74 74 65 72 | 2c 20 62 75 74 20 69 66 |t matter|, but if|
|00004c90| 0a 58 2e 49 20 61 74 74 | 61 63 68 70 6f 72 74 0a |.X.I att|achport.|
|00004ca0| 58 69 73 20 77 69 74 68 | 65 72 69 6e 67 20 61 77 |Xis with|ering aw|
|00004cb0| 61 79 20 75 6e 64 65 72 | 0a 58 2e 42 5c 2d 31 0a |ay under|.X.B\-1.|
|00004cc0| 58 6f 72 0a 58 2e 49 20 | 6b 69 6c 6c 61 70 6f 72 |Xor.X.I |killapor|
|00004cd0| 74 2c 0a 58 69 74 20 6d | 61 79 20 73 74 69 63 6b |t,.Xit m|ay stick|
|00004ce0| 20 61 72 6f 75 6e 64 20 | 77 61 69 74 69 6e 67 20 | around |waiting |
|00004cf0| 66 6f 72 20 6e 6f 74 68 | 69 6e 67 2e 0a 58 2e 49 |for noth|ing..X.I|
|00004d00| 20 61 74 74 61 63 68 70 | 6f 72 74 0a 58 63 68 65 | attachp|ort.Xche|
|00004d10| 63 6b 73 20 66 6f 72 20 | 74 68 69 73 20 63 6f 6e |cks for |this con|
|00004d20| 64 69 74 69 6f 6e 20 61 | 6e 64 20 63 6f 72 72 65 |dition a|nd corre|
|00004d30| 63 74 73 20 69 74 20 70 | 65 72 69 6f 64 69 63 61 |cts it p|eriodica|
|00004d40| 6c 6c 79 2e 0a 58 2e 50 | 50 0a 58 49 66 0a 58 2e |lly..X.P|P.XIf.X.|
|00004d50| 49 20 70 72 6f 67 72 61 | 6d 0a 58 66 6f 72 6b 73 |I progra|m.Xforks|
|00004d60| 20 61 6e 64 20 65 78 69 | 74 73 2c 0a 58 70 61 73 | and exi|ts,.Xpas|
|00004d70| 73 69 6e 67 20 74 68 65 | 20 63 6f 6e 6e 65 63 74 |sing the| connect|
|00004d80| 69 6f 6e 20 74 6f 20 69 | 74 73 20 63 68 69 6c 64 |ion to i|ts child|
|00004d90| 72 65 6e 2c 0a 58 69 74 | 20 77 69 6c 6c 20 6c 6f |ren,.Xit| will lo|
|00004da0| 73 65 20 61 75 74 68 65 | 6e 74 69 63 61 74 69 6f |se authe|nticatio|
|00004db0| 6e 2e 0a 58 54 68 69 73 | 20 69 73 20 63 6f 6e 73 |n..XThis| is cons|
|00004dc0| 69 73 74 65 6e 74 20 77 | 69 74 68 20 6f 74 68 65 |istent w|ith othe|
|00004dd0| 72 20 6e 65 74 77 6f 72 | 6b 20 70 72 6f 67 72 61 |r networ|k progra|
|00004de0| 6d 73 20 61 6e 64 0a 58 | 77 69 74 68 20 63 6f 6d |ms and.X|with com|
|00004df0| 6d 6f 6e 20 73 65 6e 73 | 65 3a 20 69 74 27 73 20 |mon sens|e: it's |
|00004e00| 69 6d 70 6f 73 73 69 62 | 6c 65 20 74 6f 20 64 65 |impossib|le to de|
|00004e10| 66 69 6e 65 0a 58 60 60 | 74 68 65 27 27 20 75 73 |fine.X``|the'' us|
|00004e20| 65 72 20 6f 6e 20 74 68 | 65 20 6f 74 68 65 72 20 |er on th|e other |
|00004e30| 73 69 64 65 20 6f 66 20 | 74 68 65 20 63 6f 6e 6e |side of |the conn|
|00004e40| 65 63 74 69 6f 6e 20 69 | 66 0a 58 73 65 76 65 72 |ection i|f.Xsever|
|00004e50| 61 6c 20 70 72 6f 63 65 | 73 73 65 73 2c 20 61 6c |al proce|sses, al|
|00004e60| 6c 20 77 69 74 68 20 64 | 69 66 66 65 72 65 6e 74 |l with d|ifferent|
|00004e70| 20 75 69 64 73 2c 20 68 | 61 76 65 20 74 68 61 74 | uids, h|ave that|
|00004e80| 0a 58 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 6f 70 65 |.Xconnec|tion ope|
|00004e90| 6e 2e 0a 58 2e 53 48 20 | 56 45 52 53 49 4f 4e 0a |n..X.SH |VERSION.|
|00004ea0| 58 61 74 74 61 63 68 70 | 6f 72 74 20 76 65 72 73 |Xattachp|ort vers|
|00004eb0| 69 6f 6e 20 34 2e 31 2c | 20 64 61 74 65 64 20 41 |ion 4.1,| dated A|
|00004ec0| 70 72 69 6c 20 31 38 2c | 20 31 39 39 30 2e 0a 58 |pril 18,| 1990..X|
|00004ed0| 2e 53 48 20 41 55 54 48 | 4f 52 0a 58 43 6f 70 79 |.SH AUTH|OR.XCopy|
|00004ee0| 72 69 67 68 74 20 31 39 | 39 30 2c 20 44 61 6e 69 |right 19|90, Dani|
|00004ef0| 65 6c 20 4a 2e 20 42 65 | 72 6e 73 74 65 69 6e 2e |el J. Be|rnstein.|
|00004f00| 0a 58 2e 53 48 20 22 53 | 45 45 20 41 4c 53 4f 22 |.X.SH "S|EE ALSO"|
|00004f10| 0a 58 61 75 74 68 74 63 | 70 28 31 29 2c 0a 58 6b |.Xauthtc|p(1),.Xk|
|00004f20| 69 6c 6c 61 70 6f 72 74 | 28 31 29 2c 0a 58 74 65 |illaport|(1),.Xte|
|00004f30| 6c 6e 65 74 28 31 29 2c | 0a 58 61 75 74 68 75 73 |lnet(1),|.Xauthus|
|00004f40| 65 72 28 33 29 2c 0a 58 | 67 65 74 73 65 72 76 62 |er(3),.X|getservb|
|00004f50| 79 6e 61 6d 65 28 33 29 | 2c 0a 58 61 75 74 68 64 |yname(3)|,.Xauthd|
|00004f60| 28 38 29 2c 0a 58 69 6e | 65 74 64 28 38 29 0a 45 |(8),.Xin|etd(8).E|
|00004f70| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00004f80| 73 74 20 37 36 32 35 20 | 2d 6e 65 20 60 77 63 20 |st 7625 |-ne `wc |
|00004f90| 2d 63 20 3c 27 61 74 74 | 61 63 68 70 6f 72 74 2e |-c <'att|achport.|
|00004fa0| 6d 61 6e 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |man'`; t|hen. |
|00004fb0| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 61 74 |echo sha|r: \"'at|
|00004fc0| 74 61 63 68 70 6f 72 74 | 2e 6d 61 6e 27 5c 22 20 |tachport|.man'\" |
|00004fd0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00004fe0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00004ff0| 6e 64 20 6f 66 20 27 61 | 74 74 61 63 68 70 6f 72 |nd of 'a|ttachpor|
|00005000| 74 2e 6d 61 6e 27 0a 66 | 69 0a 69 66 20 74 65 73 |t.man'.f|i.if tes|
|00005010| 74 20 2d 66 20 27 61 75 | 74 68 64 2e 63 27 20 2d |t -f 'au|thd.c' -|
|00005020| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00005030| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00005040| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00005050| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00005060| 66 69 6c 65 20 5c 22 27 | 61 75 74 68 64 2e 63 27 |file \"'|authd.c'|
|00005070| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00005080| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00005090| 27 61 75 74 68 64 2e 63 | 27 5c 22 20 5c 28 36 30 |'authd.c|'\" \(60|
|000050a0| 35 37 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |57 chara|cters\).|
|000050b0| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 61 |sed "s/^|X//" >'a|
|000050c0| 75 74 68 64 2e 63 27 20 | 3c 3c 27 45 4e 44 5f 4f |uthd.c' |<<'END_O|
|000050d0| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 0a 58 61 75 74 |F_FILE'.|X/*.Xaut|
|000050e0| 68 64 2e 63 3a 20 41 75 | 74 68 65 6e 74 69 63 61 |hd.c: Au|thentica|
|000050f0| 74 69 6f 6e 20 53 65 72 | 76 65 72 20 64 61 65 6d |tion Ser|ver daem|
|00005100| 6f 6e 0a 58 2a 2f 0a 58 | 0a 58 73 74 61 74 69 63 |on.X*/.X|.Xstatic|
|00005110| 20 63 68 61 72 20 61 75 | 74 68 64 61 75 74 68 6f | char au|thdautho|
|00005120| 72 5b 5d 20 3d 0a 58 22 | 61 75 74 68 64 20 77 61 |r[] =.X"|authd wa|
|00005130| 73 20 77 72 69 74 74 65 | 6e 20 62 79 20 44 61 6e |s writte|n by Dan|
|00005140| 69 65 6c 20 4a 2e 20 42 | 65 72 6e 73 74 65 69 6e |iel J. B|ernstein|
|00005150| 2e 5c 6e 5c 0a 58 49 6e | 74 65 72 6e 65 74 20 61 |.\n\.XIn|ternet a|
|00005160| 64 64 72 65 73 73 3a 20 | 62 72 6e 73 74 6e 64 40 |ddress: |brnstnd@|
|00005170| 61 63 66 31 30 2e 6e 79 | 75 2e 65 64 75 2e 5c 6e |acf10.ny|u.edu.\n|
|00005180| 22 3b 0a 58 0a 58 73 74 | 61 74 69 63 20 63 68 61 |";.X.Xst|atic cha|
|00005190| 72 20 61 75 74 68 64 76 | 65 72 73 69 6f 6e 5b 5d |r authdv|ersion[]|
|000051a0| 20 3d 20 0a 58 22 61 75 | 74 68 64 20 76 65 72 73 | = .X"au|thd vers|
|000051b0| 69 6f 6e 20 32 2e 31 2c | 20 41 70 72 69 6c 20 31 |ion 2.1,| April 1|
|000051c0| 38 2c 20 31 39 39 30 2e | 5c 6e 5c 0a 58 43 6f 70 |8, 1990.|\n\.XCop|
|000051d0| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 39 30 2c |yright (|c) 1990,|
|000051e0| 20 44 61 6e 69 65 6c 20 | 4a 2e 20 42 65 72 6e 73 | Daniel |J. Berns|
|000051f0| 74 65 69 6e 2e 5c 6e 5c | 0a 58 41 6c 6c 20 72 69 |tein.\n\|.XAll ri|
|00005200| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 5c 6e |ghts res|erved.\n|
|00005210| 22 3b 0a 58 0a 58 73 74 | 61 74 69 63 20 63 68 61 |";.X.Xst|atic cha|
|00005220| 72 20 61 75 74 68 64 63 | 6f 70 79 72 69 67 68 74 |r authdc|opyright|
|00005230| 5b 5d 20 3d 0a 58 22 61 | 75 74 68 64 20 76 65 72 |[] =.X"a|uthd ver|
|00005240| 73 69 6f 6e 20 32 2e 31 | 2c 20 41 70 72 69 6c 20 |sion 2.1|, April |
|00005250| 31 38 2c 20 31 39 39 30 | 2e 5c 6e 5c 0a 58 43 6f |18, 1990|.\n\.XCo|
|00005260| 70 79 72 69 67 68 74 20 | 28 63 29 20 31 39 39 30 |pyright |(c) 1990|
|00005270| 2c 20 44 61 6e 69 65 6c | 20 4a 2e 20 42 65 72 6e |, Daniel| J. Bern|
|00005280| 73 74 65 69 6e 2e 5c 6e | 5c 0a 58 41 6c 6c 20 72 |stein.\n|\.XAll r|
|00005290| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 5c |ights re|served.\|
|000052a0| 6e 5c 0a 58 5c 6e 5c 0a | 58 55 6e 74 69 6c 20 4a |n\.X\n\.|XUntil J|
|000052b0| 61 6e 75 61 72 79 20 31 | 2c 20 31 39 39 35 2c 20 |anuary 1|, 1995, |
|000052c0| 79 6f 75 20 61 72 65 20 | 67 72 61 6e 74 65 64 20 |you are |granted |
|000052d0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 72 69 |the foll|owing ri|
|000052e0| 67 68 74 73 3a 20 41 2e | 20 54 6f 20 6d 61 6b 65 |ghts: A.| To make|
|000052f0| 5c 6e 5c 0a 58 63 6f 70 | 69 65 73 20 6f 66 20 74 |\n\.Xcop|ies of t|
|00005300| 68 69 73 20 77 6f 72 6b | 20 69 6e 20 6f 72 69 67 |his work| in orig|
|00005310| 69 6e 61 6c 20 66 6f 72 | 6d 2c 20 73 6f 20 6c 6f |inal for|m, so lo|
|00005320| 6e 67 20 61 73 20 28 31 | 29 20 74 68 65 20 63 6f |ng as (1|) the co|
|00005330| 70 69 65 73 20 61 72 65 | 20 65 78 61 63 74 5c 6e |pies are| exact\n|
|00005340| 5c 0a 58 61 6e 64 20 63 | 6f 6d 70 6c 65 74 65 3b |\.Xand c|omplete;|
|00005350| 20 28 32 29 20 74 68 65 | 20 63 6f 70 69 65 73 20 | (2) the| copies |
|00005360| 69 6e 63 6c 75 64 65 20 | 74 68 65 20 63 6f 70 79 |include |the copy|
|00005370| 72 69 67 68 74 20 6e 6f | 74 69 63 65 2c 20 74 68 |right no|tice, th|
|00005380| 69 73 20 70 61 72 61 67 | 72 61 70 68 2c 5c 6e 5c |is parag|raph,\n\|
|00005390| 0a 58 61 6e 64 20 74 68 | 65 20 64 69 73 63 6c 61 |.Xand th|e discla|
|000053a0| 69 6d 65 72 20 6f 66 20 | 77 61 72 72 61 6e 74 79 |imer of |warranty|
|000053b0| 20 69 6e 20 74 68 65 69 | 72 20 65 6e 74 69 72 65 | in thei|r entire|
|000053c0| 74 79 2e 20 42 2e 20 54 | 6f 20 64 69 73 74 72 69 |ty. B. T|o distri|
|000053d0| 62 75 74 65 20 74 68 69 | 73 5c 6e 5c 0a 58 77 6f |bute thi|s\n\.Xwo|
|000053e0| 72 6b 2c 20 6f 72 20 63 | 6f 70 69 65 73 20 6d 61 |rk, or c|opies ma|
|000053f0| 64 65 20 75 6e 64 65 72 | 20 74 68 65 20 70 72 6f |de under| the pro|
|00005400| 76 69 73 69 6f 6e 73 20 | 61 62 6f 76 65 2c 20 73 |visions |above, s|
|00005410| 6f 20 6c 6f 6e 67 20 61 | 73 20 28 31 29 20 74 68 |o long a|s (1) th|
|00005420| 69 73 20 69 73 5c 6e 5c | 0a 58 74 68 65 20 6f 72 |is is\n\|.Xthe or|
|00005430| 69 67 69 6e 61 6c 20 77 | 6f 72 6b 20 61 6e 64 20 |iginal w|ork and |
|00005440| 6e 6f 74 20 61 20 64 65 | 72 69 76 61 74 69 76 65 |not a de|rivative|
|00005450| 20 66 6f 72 6d 3b 20 28 | 32 29 20 79 6f 75 20 64 | form; (|2) you d|
|00005460| 6f 20 6e 6f 74 20 63 68 | 61 72 67 65 20 61 20 66 |o not ch|arge a f|
|00005470| 65 65 5c 6e 5c 0a 58 66 | 6f 72 20 63 6f 70 79 69 |ee\n\.Xf|or copyi|
|00005480| 6e 67 20 6f 72 20 66 6f | 72 20 64 69 73 74 72 69 |ng or fo|r distri|
|00005490| 62 75 74 69 6f 6e 3b 20 | 28 33 29 20 79 6f 75 20 |bution; |(3) you |
|000054a0| 65 6e 73 75 72 65 20 74 | 68 61 74 20 74 68 65 20 |ensure t|hat the |
|000054b0| 64 69 73 74 72 69 62 75 | 74 65 64 20 66 6f 72 6d |distribu|ted form|
|000054c0| 5c 6e 5c 0a 58 69 6e 63 | 6c 75 64 65 73 20 74 68 |\n\.Xinc|ludes th|
|000054d0| 65 20 63 6f 70 79 72 69 | 67 68 74 20 6e 6f 74 69 |e copyri|ght noti|
|000054e0| 63 65 2c 20 74 68 69 73 | 20 70 61 72 61 67 72 61 |ce, this| paragra|
|000054f0| 70 68 2c 20 61 6e 64 20 | 74 68 65 20 64 69 73 63 |ph, and |the disc|
|00005500| 6c 61 69 6d 65 72 20 6f | 66 5c 6e 5c 0a 58 77 61 |laimer o|f\n\.Xwa|
|00005510| 72 72 61 6e 74 79 20 69 | 6e 20 74 68 65 69 72 20 |rranty i|n their |
|00005520| 65 6e 74 69 72 65 74 79 | 2e 20 54 68 65 73 65 20 |entirety|. These |
|00005530| 72 69 67 68 74 73 20 61 | 72 65 20 74 65 6d 70 6f |rights a|re tempo|
|00005540| 72 61 72 79 20 61 6e 64 | 20 72 65 76 6f 63 61 62 |rary and| revocab|
|00005550| 6c 65 20 75 70 6f 6e 5c | 6e 5c 0a 58 77 72 69 74 |le upon\|n\.Xwrit|
|00005560| 74 65 6e 2c 20 6f 72 61 | 6c 2c 20 6f 72 20 6f 74 |ten, ora|l, or ot|
|00005570| 68 65 72 20 6e 6f 74 69 | 63 65 20 62 79 20 44 61 |her noti|ce by Da|
|00005580| 6e 69 65 6c 20 4a 2e 20 | 42 65 72 6e 73 74 65 69 |niel J. |Bernstei|
|00005590| 6e 2e 20 54 68 65 73 65 | 20 72 69 67 68 74 73 20 |n. These| rights |
|000055a0| 61 72 65 5c 6e 5c 0a 58 | 61 75 74 6f 6d 61 74 69 |are\n\.X|automati|
|000055b0| 63 61 6c 6c 79 20 72 65 | 76 6f 6b 65 64 20 6f 6e |cally re|voked on|
|000055c0| 20 4a 61 6e 75 61 72 79 | 20 31 2c 20 31 39 39 35 | January| 1, 1995|
|000055d0| 2e 20 54 68 69 73 20 63 | 6f 70 79 72 69 67 68 74 |. This c|opyright|
|000055e0| 20 6e 6f 74 69 63 65 20 | 73 68 61 6c 6c 20 62 65 | notice |shall be|
|000055f0| 5c 6e 5c 0a 58 67 6f 76 | 65 72 6e 65 64 20 62 79 |\n\.Xgov|erned by|
|00005600| 20 74 68 65 20 6c 61 77 | 73 20 6f 66 20 74 68 65 | the law|s of the|
|00005610| 20 73 74 61 74 65 20 6f | 66 20 4e 65 77 20 59 6f | state o|f New Yo|
|00005620| 72 6b 2e 5c 6e 5c 0a 58 | 5c 6e 5c 0a 58 49 66 20 |rk.\n\.X|\n\.XIf |
|00005630| 79 6f 75 20 68 61 76 65 | 20 71 75 65 73 74 69 6f |you have| questio|
|00005640| 6e 73 20 61 62 6f 75 74 | 20 61 75 74 68 64 20 6f |ns about| authd o|
|00005650| 72 20 61 62 6f 75 74 20 | 74 68 69 73 20 63 6f 70 |r about |this cop|
|00005660| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 2c 5c 6e |yright n|otice,\n|
|00005670| 5c 0a 58 6f 72 20 69 66 | 20 79 6f 75 20 77 6f 75 |\.Xor if| you wou|
|00005680| 6c 64 20 6c 69 6b 65 20 | 61 64 64 69 74 69 6f 6e |ld like |addition|
|00005690| 61 6c 20 72 69 67 68 74 | 73 20 62 65 79 6f 6e 64 |al right|s beyond|
|000056a0| 20 74 68 6f 73 65 20 67 | 72 61 6e 74 65 64 20 61 | those g|ranted a|
|000056b0| 62 6f 76 65 2c 5c 6e 5c | 0a 58 70 6c 65 61 73 65 |bove,\n\|.Xplease|
|000056c0| 20 66 65 65 6c 20 66 72 | 65 65 20 74 6f 20 63 6f | feel fr|ee to co|
|000056d0| 6e 74 61 63 74 20 74 68 | 65 20 61 75 74 68 6f 72 |ntact th|e author|
|000056e0| 20 61 74 20 62 72 6e 73 | 74 6e 64 40 61 63 66 31 | at brns|tnd@acf1|
|000056f0| 30 2e 6e 79 75 2e 65 64 | 75 5c 6e 5c 0a 58 6f 6e |0.nyu.ed|u\n\.Xon|
|00005700| 20 74 68 65 20 49 6e 74 | 65 72 6e 65 74 2e 5c 6e | the Int|ernet.\n|
|00005710| 22 3b 0a 58 0a 58 73 74 | 61 74 69 63 20 63 68 61 |";.X.Xst|atic cha|
|00005720| 72 20 61 75 74 68 64 77 | 61 72 72 61 6e 74 79 5b |r authdw|arranty[|
|00005730| 5d 20 3d 0a 58 22 54 6f | 20 74 68 65 20 65 78 74 |] =.X"To| the ext|
|00005740| 65 6e 74 20 70 65 72 6d | 69 74 74 65 64 20 62 79 |ent perm|itted by|
|00005750| 20 61 70 70 6c 69 63 61 | 62 6c 65 20 6c 61 77 2c | applica|ble law,|
|00005760| 20 44 61 6e 69 65 6c 20 | 4a 2e 20 42 65 72 6e 73 | Daniel |J. Berns|
|00005770| 74 65 69 6e 20 64 69 73 | 63 6c 61 69 6d 73 5c 6e |tein dis|claims\n|
|00005780| 5c 0a 58 61 6c 6c 20 77 | 61 72 72 61 6e 74 69 65 |\.Xall w|arrantie|
|00005790| 73 2c 20 65 78 70 6c 69 | 63 69 74 20 6f 72 20 69 |s, expli|cit or i|
|000057a0| 6d 70 6c 69 65 64 2c 20 | 69 6e 63 6c 75 64 69 6e |mplied, |includin|
|000057b0| 67 20 62 75 74 20 6e 6f | 74 20 6c 69 6d 69 74 65 |g but no|t limite|
|000057c0| 64 20 74 6f 20 74 68 65 | 5c 6e 5c 0a 58 69 6d 70 |d to the|\n\.Ximp|
|000057d0| 6c 69 65 64 20 77 61 72 | 72 61 6e 74 69 65 73 20 |lied war|ranties |
|000057e0| 6f 66 20 6d 65 72 63 68 | 61 6e 74 61 62 69 6c 69 |of merch|antabili|
|000057f0| 74 79 20 61 6e 64 20 66 | 69 74 6e 65 73 73 20 66 |ty and f|itness f|
|00005800| 6f 72 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |or a par|ticular |
|00005810| 70 75 72 70 6f 73 65 2e | 5c 6e 5c 0a 58 44 61 6e |purpose.|\n\.XDan|
|00005820| 69 65 6c 20 4a 2e 20 42 | 65 72 6e 73 74 65 69 6e |iel J. B|ernstein|
|00005830| 20 69 73 20 6e 6f 74 20 | 61 6e 64 20 73 68 61 6c | is not |and shal|
|00005840| 6c 20 6e 6f 74 20 62 65 | 20 6c 69 61 62 6c 65 20 |l not be| liable |
|00005850| 66 6f 72 20 61 6e 79 20 | 64 61 6d 61 67 65 73 2c |for any |damages,|
|00005860| 5c 6e 5c 0a 58 69 6e 63 | 69 64 65 6e 74 61 6c 20 |\n\.Xinc|idental |
|00005870| 6f 72 20 63 6f 6e 73 65 | 71 75 65 6e 74 69 61 6c |or conse|quential|
|00005880| 2c 20 61 72 69 73 69 6e | 67 20 66 72 6f 6d 20 74 |, arisin|g from t|
|00005890| 68 65 20 75 73 65 20 6f | 66 20 74 68 69 73 20 70 |he use o|f this p|
|000058a0| 72 6f 67 72 61 6d 2c 20 | 65 76 65 6e 5c 6e 5c 0a |rogram, |even\n\.|
|000058b0| 58 69 66 20 79 6f 75 20 | 69 6e 66 6f 72 6d 20 68 |Xif you |inform h|
|000058c0| 69 6d 20 6f 66 20 74 68 | 65 20 70 6f 73 73 69 62 |im of th|e possib|
|000058d0| 69 6c 69 74 79 20 6f 66 | 20 73 75 63 68 20 64 61 |ility of| such da|
|000058e0| 6d 61 67 65 73 2e 20 54 | 68 69 73 20 64 69 73 63 |mages. T|his disc|
|000058f0| 6c 61 69 6d 65 72 5c 6e | 5c 0a 58 73 68 61 6c 6c |laimer\n|\.Xshall|
|00005900| 20 62 65 20 67 6f 76 65 | 72 6e 65 64 20 62 79 20 | be gove|rned by |
|00005910| 74 68 65 20 6c 61 77 73 | 20 6f 66 20 74 68 65 20 |the laws| of the |
|00005920| 73 74 61 74 65 20 6f 66 | 20 4e 65 77 20 59 6f 72 |state of| New Yor|
|00005930| 6b 2e 5c 6e 5c 0a 58 5c | 6e 5c 0a 58 49 6e 20 6f |k.\n\.X\|n\.XIn o|
|00005940| 74 68 65 72 20 77 6f 72 | 64 73 2c 20 75 73 65 20 |ther wor|ds, use |
|00005950| 74 68 69 73 20 70 72 6f | 67 72 61 6d 20 61 74 20 |this pro|gram at |
|00005960| 79 6f 75 72 20 6f 77 6e | 20 72 69 73 6b 2e 5c 6e |your own| risk.\n|
|00005970| 5c 0a 58 5c 6e 5c 0a 58 | 49 66 20 79 6f 75 20 68 |\.X\n\.X|If you h|
|00005980| 61 76 65 20 71 75 65 73 | 74 69 6f 6e 73 20 61 62 |ave ques|tions ab|
|00005990| 6f 75 74 20 61 75 74 68 | 64 20 6f 72 20 61 62 6f |out auth|d or abo|
|000059a0| 75 74 20 74 68 69 73 20 | 64 69 73 63 6c 61 69 6d |ut this |disclaim|
|000059b0| 65 72 20 6f 66 20 77 61 | 72 72 61 6e 74 79 2c 5c |er of wa|rranty,\|
|000059c0| 6e 5c 0a 58 70 6c 65 61 | 73 65 20 66 65 65 6c 20 |n\.Xplea|se feel |
|000059d0| 66 72 65 65 20 74 6f 20 | 63 6f 6e 74 61 63 74 20 |free to |contact |
|000059e0| 74 68 65 20 61 75 74 68 | 6f 72 20 61 74 20 62 72 |the auth|or at br|
|000059f0| 6e 73 74 6e 64 40 61 63 | 66 31 30 2e 6e 79 75 2e |nstnd@ac|f10.nyu.|
|00005a00| 65 64 75 5c 6e 5c 0a 58 | 6f 6e 20 74 68 65 20 49 |edu\n\.X|on the I|
|00005a10| 6e 74 65 72 6e 65 74 2e | 5c 6e 22 3b 0a 58 0a 58 |nternet.|\n";.X.X|
|00005a20| 73 74 61 74 69 63 20 63 | 68 61 72 20 61 75 74 68 |static c|har auth|
|00005a30| 64 75 73 61 67 65 5b 5d | 20 3d 0a 58 22 55 73 61 |dusage[]| =.X"Usa|
|00005a40| 67 65 3a 20 61 75 74 68 | 64 20 5b 20 2d 41 43 48 |ge: auth|d [ -ACH|
|00005a50| 55 56 57 20 5d 20 5c 6e | 5c 0a 58 48 65 6c 70 3a |UVW ] \n|\.XHelp:|
|00005a60| 20 20 61 75 74 68 64 20 | 2d 48 5c 6e 22 3b 0a 58 | authd |-H\n";.X|
|00005a70| 0a 58 73 74 61 74 69 63 | 20 63 68 61 72 20 61 75 |.Xstatic| char au|
|00005a80| 74 68 64 68 65 6c 70 5b | 5d 20 3d 0a 58 22 61 75 |thdhelp[|] =.X"au|
|00005a90| 74 68 64 20 70 72 6f 76 | 69 64 65 73 20 54 43 50 |thd prov|ides TCP|
|00005aa0| 20 61 75 74 68 65 6e 74 | 69 63 61 74 69 6f 6e 20 | authent|ication |
|00005ab0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 74 6f 20 6f |informat|ion to o|
|00005ac0| 74 68 65 72 20 49 6e 74 | 65 72 6e 65 74 20 68 6f |ther Int|ernet ho|
|00005ad0| 73 74 73 2e 20 5c 6e 5c | 0a 58 5c 6e 5c 0a 58 61 |sts. \n\|.X\n\.Xa|
|00005ae0| 75 74 68 64 20 2d 41 3a | 20 70 72 69 6e 74 20 61 |uthd -A:| print a|
|00005af0| 75 74 68 6f 72 73 68 69 | 70 20 6e 6f 74 69 63 65 |uthorshi|p notice|
|00005b00| 5c 6e 5c 0a 58 61 75 74 | 68 64 20 2d 43 3a 20 70 |\n\.Xaut|hd -C: p|
|00005b10| 72 69 6e 74 20 63 6f 70 | 79 72 69 67 68 74 20 6e |rint cop|yright n|
|00005b20| 6f 74 69 63 65 5c 6e 5c | 0a 58 61 75 74 68 64 20 |otice\n\|.Xauthd |
|00005b30| 2d 48 3a 20 70 72 69 6e | 74 20 74 68 69 73 20 6e |-H: prin|t this n|
|00005b40| 6f 74 69 63 65 5c 6e 5c | 0a 58 61 75 74 68 64 20 |otice\n\|.Xauthd |
|00005b50| 2d 55 3a 20 70 72 69 6e | 74 20 73 68 6f 72 74 20 |-U: prin|t short |
|00005b60| 75 73 61 67 65 20 73 75 | 6d 6d 61 72 79 5c 6e 5c |usage su|mmary\n\|
|00005b70| 0a 58 61 75 74 68 64 20 | 2d 56 3a 20 70 72 69 6e |.Xauthd |-V: prin|
|00005b80| 74 20 76 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 |t versio|n number|
|00005b90| 5c 6e 5c 0a 58 61 75 74 | 68 64 20 2d 57 3a 20 70 |\n\.Xaut|hd -W: p|
|00005ba0| 72 69 6e 74 20 64 69 73 | 63 6c 61 69 6d 65 72 20 |rint dis|claimer |
|00005bb0| 6f 66 20 77 61 72 72 61 | 6e 74 79 5c 6e 5c 0a 58 |of warra|nty\n\.X|
|00005bc0| 5c 6e 5c 0a 58 61 75 74 | 68 64 3a 20 70 72 6f 76 |\n\.Xaut|hd: prov|
|00005bd0| 69 64 65 20 61 75 74 68 | 65 6e 74 69 63 61 74 69 |ide auth|enticati|
|00005be0| 6f 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |on infor|mation a|
|00005bf0| 73 20 70 65 72 20 52 46 | 43 20 39 33 31 5c 6e 5c |s per RF|C 931\n\|
|00005c00| 0a 58 5c 6e 5c 0a 58 61 | 75 74 68 64 20 73 68 6f |.X\n\.Xa|uthd sho|
|00005c10| 75 6c 64 20 62 65 20 72 | 75 6e 20 75 6e 64 65 72 |uld be r|un under|
|00005c20| 20 61 20 54 43 50 20 63 | 6f 6e 6e 65 63 74 69 6f | a TCP c|onnectio|
|00005c30| 6e 20 73 65 72 76 65 72 | 2c 20 73 75 63 68 20 61 |n server|, such a|
|00005c40| 73 5c 6e 5c 0a 58 69 6e | 65 74 64 28 38 29 20 6f |s\n\.Xin|etd(8) o|
|00005c50| 72 20 61 74 74 61 63 68 | 70 6f 72 74 28 31 29 2e |r attach|port(1).|
|00005c60| 5c 6e 5c 0a 58 5c 6e 5c | 0a 58 49 66 20 79 6f 75 |\n\.X\n\|.XIf you|
|00005c70| 20 68 61 76 65 20 71 75 | 65 73 74 69 6f 6e 73 20 | have qu|estions |
|00005c80| 61 62 6f 75 74 20 6f 72 | 20 73 75 67 67 65 73 74 |about or| suggest|
|00005c90| 69 6f 6e 73 20 66 6f 72 | 20 61 75 74 68 64 2c 20 |ions for| authd, |
|00005ca0| 70 6c 65 61 73 65 20 66 | 65 65 6c 20 66 72 65 65 |please f|eel free|
|00005cb0| 5c 6e 5c 0a 58 74 6f 20 | 63 6f 6e 74 61 63 74 20 |\n\.Xto |contact |
|00005cc0| 74 68 65 20 61 75 74 68 | 6f 72 2c 20 44 61 6e 69 |the auth|or, Dani|
|00005cd0| 65 6c 20 4a 2e 20 42 65 | 72 6e 73 74 65 69 6e 2c |el J. Be|rnstein,|
|00005ce0| 20 61 74 20 62 72 6e 73 | 74 6e 64 40 61 63 66 31 | at brns|tnd@acf1|
|00005cf0| 30 2e 6e 79 75 2e 65 64 | 75 5c 6e 5c 0a 58 6f 6e |0.nyu.ed|u\n\.Xon|
|00005d00| 20 74 68 65 20 49 6e 74 | 65 72 6e 65 74 2e 5c 6e | the Int|ernet.\n|
|00005d10| 22 3b 0a 58 0a 58 23 69 | 6e 63 6c 75 64 65 20 3c |";.X.X#i|nclude <|
|00005d20| 73 74 64 69 6f 2e 68 3e | 0a 58 65 78 74 65 72 6e |stdio.h>|.Xextern|
|00005d30| 20 69 6e 74 20 65 72 72 | 6e 6f 3b 0a 58 23 69 6e | int err|no;.X#in|
|00005d40| 63 6c 75 64 65 20 3c 73 | 79 73 2f 74 79 70 65 73 |clude <s|ys/types|
|00005d50| 2e 68 3e 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 6e |.h>.X#in|clude <n|
|00005d60| 65 74 69 6e 65 74 2f 69 | 6e 2e 68 3e 0a 58 23 69 |etinet/i|n.h>.X#i|
|00005d70| 6e 63 6c 75 64 65 20 3c | 73 79 73 2f 66 69 6c 65 |nclude <|sys/file|
|00005d80| 2e 68 3e 0a 58 23 69 66 | 64 65 66 20 42 53 44 0a |.h>.X#if|def BSD.|
|00005d90| 58 23 69 6e 63 6c 75 64 | 65 20 3c 6c 69 6d 69 74 |X#includ|e <limit|
|00005da0| 73 2e 68 3e 0a 58 23 65 | 6e 64 69 66 0a 58 65 78 |s.h>.X#e|ndif.Xex|
|00005db0| 74 65 72 6e 20 69 6e 74 | 20 67 65 74 6f 70 74 28 |tern int| getopt(|
|00005dc0| 29 3b 0a 58 65 78 74 65 | 72 6e 20 63 68 61 72 20 |);.Xexte|rn char |
|00005dd0| 2a 6f 70 74 61 72 67 3b | 20 2f 2a 20 74 68 65 73 |*optarg;| /* thes|
|00005de0| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 69 6e 20 67 |e should| be in g|
|00005df0| 65 74 6f 70 74 2e 68 21 | 20 2a 2f 0a 58 65 78 74 |etopt.h!| */.Xext|
|00005e00| 65 72 6e 20 69 6e 74 20 | 6f 70 74 69 6e 64 3b 0a |ern int |optind;.|
|00005e10| 58 23 69 6e 63 6c 75 64 | 65 20 3c 63 74 79 70 65 |X#includ|e <ctype|
|00005e20| 2e 68 3e 0a 58 23 69 6e | 63 6c 75 64 65 20 22 64 |.h>.X#in|clude "d|
|00005e30| 6a 62 65 72 72 2e 68 22 | 0a 58 0a 58 23 69 66 6e |jberr.h"|.X.X#ifn|
|00005e40| 64 65 66 20 41 55 54 48 | 44 49 52 0a 58 23 64 65 |def AUTH|DIR.X#de|
|00005e50| 66 69 6e 65 20 41 55 54 | 48 44 49 52 20 22 2f 75 |fine AUT|HDIR "/u|
|00005e60| 73 72 2f 65 74 63 2f 61 | 75 74 68 22 0a 58 23 65 |sr/etc/a|uth".X#e|
|00005e70| 6e 64 69 66 0a 58 0a 58 | 23 64 65 66 69 6e 65 20 |ndif.X.X|#define |
|00005e80| 45 52 52 28 6e 75 6d 29 | 20 7b 20 70 72 69 6e 74 |ERR(num)| { print|
|00005e90| 66 28 22 25 73 2c 20 25 | 73 3a 20 45 52 52 4f 52 |f("%s, %|s: ERROR|
|00005ea0| 3a 20 55 4e 4b 4e 4f 57 | 4e 2d 45 52 52 4f 52 5c |: UNKNOW|N-ERROR\|
|00005eb0| 72 5c 6e 22 2c 5c 0a 58 | 20 20 20 20 20 20 20 20 |r\n",\.X| |
|00005ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ed0| 20 20 6c 6f 63 61 6c 70 | 6f 72 74 2c 72 65 6d 6f | localp|ort,remo|
|00005ee0| 74 65 70 6f 72 74 29 3b | 20 65 78 69 74 28 6e 75 |teport);| exit(nu|
|00005ef0| 6d 29 3b 20 7d 0a 58 0a | 58 6d 61 69 6e 28 61 72 |m); }.X.|Xmain(ar|
|00005f00| 67 63 2c 61 72 67 76 2c | 65 6e 76 70 29 0a 58 69 |gc,argv,|envp).Xi|
|00005f10| 6e 74 20 61 72 67 63 3b | 0a 58 63 68 61 72 20 2a |nt argc;|.Xchar *|
|00005f20| 61 72 67 76 5b 5d 3b 0a | 58 63 68 61 72 20 2a 65 |argv[];.|Xchar *e|
|00005f30| 6e 76 70 5b 5d 3b 0a 58 | 7b 0a 58 20 69 6e 74 20 |nvp[];.X|{.X int |
|00005f40| 63 68 3b 0a 58 20 63 68 | 61 72 20 6c 6f 63 61 6c |ch;.X ch|ar local|
|00005f50| 70 6f 72 74 5b 31 30 5d | 3b 0a 58 20 69 6e 74 20 |port[10]|;.X int |
|00005f60| 6c 6f 63 61 6c 70 6f 72 | 74 6c 65 6e 20 3d 20 30 |localpor|tlen = 0|
|00005f70| 3b 0a 58 20 63 68 61 72 | 20 72 65 6d 6f 74 65 70 |;.X char| remotep|
|00005f80| 6f 72 74 5b 31 30 5d 3b | 0a 58 20 69 6e 74 20 72 |ort[10];|.X int r|
|00005f90| 65 6d 6f 74 65 70 6f 72 | 74 6c 65 6e 20 3d 20 30 |emotepor|tlen = 0|
|00005fa0| 3b 0a 58 20 69 6e 74 20 | 6c 6f 6f 70 20 3d 20 30 |;.X int |loop = 0|
|00005fb0| 3b 0a 58 20 73 74 72 75 | 63 74 20 73 6f 63 6b 61 |;.X stru|ct socka|
|00005fc0| 64 64 72 5f 69 6e 20 73 | 61 3b 0a 58 20 69 6e 74 |ddr_in s|a;.X int|
|00005fd0| 20 73 61 6c 65 6e 3b 0a | 58 20 69 6e 74 20 61 75 | salen;.|X int au|
|00005fe0| 74 68 66 64 3b 0a 58 20 | 63 68 61 72 20 61 75 74 |thfd;.X |char aut|
|00005ff0| 68 66 6e 5b 73 69 7a 65 | 6f 66 28 41 55 54 48 44 |hfn[size|of(AUTHD|
|00006000| 49 52 29 20 2b 20 33 30 | 5d 3b 0a 58 20 69 6e 74 |IR) + 30|];.X int|
|00006010| 20 6c 6f 63 6b 66 64 3b | 0a 58 20 63 68 61 72 20 | lockfd;|.X char |
|00006020| 6c 6f 63 6b 66 6e 5b 73 | 69 7a 65 6f 66 28 41 55 |lockfn[s|izeof(AU|
|00006030| 54 48 44 49 52 29 20 2b | 20 33 30 5d 3b 20 2f 2a |THDIR) +| 30]; /*|
|00006040| 20 66 6f 72 20 6e 65 77 | 20 6c 6f 63 6b 69 6e 67 | for new| locking|
|00006050| 20 70 72 6f 74 6f 63 6f | 6c 20 2a 2f 0a 58 20 63 | protoco|l */.X c|
|00006060| 68 61 72 20 6c 6f 63 6b | 62 75 66 5b 33 32 5d 3b |har lock|buf[32];|
|00006070| 20 2f 2a 20 35 20 70 69 | 64 2c 20 31 20 3a 2c 20 | /* 5 pi|d, 1 :, |
|00006080| 31 30 20 49 2c 20 31 20 | 2e 2c 20 35 20 52 2c 20 |10 I, 1 |., 5 R, |
|00006090| 31 20 5c 6e 2c 20 38 20 | 55 2c 20 31 20 5c 30 20 |1 \n, 8 |U, 1 \0 |
|000060a0| 2a 2f 0a 58 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |*/.X uns|igned lo|
|000060b0| 6e 67 20 6c 6f 63 6b 69 | 6e 3b 0a 58 20 75 6e 73 |ng locki|n;.X uns|
|000060c0| 69 67 6e 65 64 20 73 68 | 6f 72 74 20 6c 6f 63 6b |igned sh|ort lock|
|000060d0| 70 6f 72 74 3b 0a 58 20 | 69 6e 74 20 72 3b 0a 58 |port;.X |int r;.X|
|000060e0| 20 63 68 61 72 20 62 75 | 66 5b 39 5d 3b 0a 58 20 | char bu|f[9];.X |
|000060f0| 69 6e 74 20 6f 70 74 3b | 0a 58 0a 58 20 77 68 69 |int opt;|.X.X whi|
|00006100| 6c 65 20 28 28 6f 70 74 | 20 3d 20 67 65 74 6f 70 |le ((opt| = getop|
|00006110| 74 28 61 72 67 63 2c 61 | 72 67 76 2c 22 41 43 48 |t(argc,a|rgv,"ACH|
|00006120| 55 56 57 22 29 29 20 21 | 3d 20 45 4f 46 29 0a 58 |UVW")) !|= EOF).X|
|00006130| 20 20 20 73 77 69 74 63 | 68 28 6f 70 74 29 0a 58 | switc|h(opt).X|
|00006140| 20 20 20 20 7b 0a 58 20 | 20 20 20 20 63 61 73 65 | {.X | case|
|00006150| 20 27 41 27 3a 20 28 76 | 6f 69 64 29 20 65 72 72 | 'A': (v|oid) err|
|00006160| 28 61 75 74 68 64 61 75 | 74 68 6f 72 29 3b 20 65 |(authdau|thor); e|
|00006170| 78 69 74 28 31 29 3b 0a | 58 20 20 20 20 20 63 61 |xit(1);.|X ca|
|00006180| 73 65 20 27 43 27 3a 20 | 28 76 6f 69 64 29 20 65 |se 'C': |(void) e|
|00006190| 72 72 28 61 75 74 68 64 | 63 6f 70 79 72 69 67 68 |rr(authd|copyrigh|
|000061a0| 74 29 3b 20 65 78 69 74 | 28 31 29 3b 0a 58 20 20 |t); exit|(1);.X |
|000061b0| 20 20 20 63 61 73 65 20 | 27 48 27 3a 20 28 76 6f | case |'H': (vo|
|000061c0| 69 64 29 20 65 72 72 28 | 61 75 74 68 64 68 65 6c |id) err(|authdhel|
|000061d0| 70 29 3b 20 65 78 69 74 | 28 31 29 3b 0a 58 20 20 |p); exit|(1);.X |
|000061e0| 20 20 20 63 61 73 65 20 | 27 55 27 3a 20 28 76 6f | case |'U': (vo|
|000061f0| 69 64 29 20 65 72 72 28 | 61 75 74 68 64 75 73 61 |id) err(|authdusa|
|00006200| 67 65 29 3b 20 65 78 69 | 74 28 31 29 3b 0a 58 20 |ge); exi|t(1);.X |
|00006210| 20 20 20 20 63 61 73 65 | 20 27 56 27 3a 20 28 76 | case| 'V': (v|
|00006220| 6f 69 64 29 20 65 72 72 | 28 61 75 74 68 64 76 65 |oid) err|(authdve|
|00006230| 72 73 69 6f 6e 29 3b 20 | 65 78 69 74 28 31 29 3b |rsion); |exit(1);|
|00006240| 0a 58 20 20 20 20 20 63 | 61 73 65 20 27 57 27 3a |.X c|ase 'W':|
|00006250| 20 28 76 6f 69 64 29 20 | 65 72 72 28 61 75 74 68 | (void) |err(auth|
|00006260| 64 77 61 72 72 61 6e 74 | 79 29 3b 20 65 78 69 74 |dwarrant|y); exit|
|00006270| 28 31 29 3b 0a 58 20 20 | 20 20 20 63 61 73 65 20 |(1);.X | case |
|00006280| 27 3f 27 3a 20 28 76 6f | 69 64 29 20 65 72 72 28 |'?': (vo|id) err(|
|00006290| 61 75 74 68 64 75 73 61 | 67 65 29 3b 20 65 78 69 |authdusa|ge); exi|
|000062a0| 74 28 31 29 3b 0a 58 20 | 20 20 20 7d 0a 58 20 61 |t(1);.X | }.X a|
|000062b0| 72 67 76 20 2b 3d 20 6f | 70 74 69 6e 64 2c 20 61 |rgv += o|ptind, a|
|000062c0| 72 67 63 20 2d 3d 20 6f | 70 74 69 6e 64 3b 0a 58 |rgc -= o|ptind;.X|
|000062d0| 20 69 66 20 28 2a 61 72 | 67 76 29 0a 58 20 20 7b | if (*ar|gv).X {|
|000062e0| 0a 58 20 20 20 28 76 6f | 69 64 29 20 65 72 72 28 |.X (vo|id) err(|
|000062f0| 61 75 74 68 64 75 73 61 | 67 65 29 3b 20 65 78 69 |authdusa|ge); exi|
|00006300| 74 28 31 29 3b 0a 58 20 | 20 7d 0a 58 0a 58 20 77 |t(1);.X | }.X.X w|
|00006310| 68 69 6c 65 20 28 28 63 | 68 20 3d 20 67 65 74 63 |hile ((c|h = getc|
|00006320| 68 61 72 28 29 29 20 21 | 3d 20 27 2c 27 29 0a 58 |har()) !|= ',').X|
|00006330| 20 20 7b 0a 58 20 20 20 | 69 66 20 28 69 73 61 73 | {.X |if (isas|
|00006340| 63 69 69 28 63 68 29 20 | 26 26 20 69 73 64 69 67 |cii(ch) |&& isdig|
|00006350| 69 74 28 63 68 29 29 0a | 58 20 20 20 20 20 6c 6f |it(ch)).|X lo|
|00006360| 63 61 6c 70 6f 72 74 5b | 6c 6f 63 61 6c 70 6f 72 |calport[|localpor|
|00006370| 74 6c 65 6e 2b 2b 5d 20 | 3d 20 63 68 3b 0a 58 20 |tlen++] |= ch;.X |
|00006380| 20 20 69 66 20 28 6c 6f | 63 61 6c 70 6f 72 74 6c | if (lo|calportl|
|00006390| 65 6e 20 3d 3d 20 36 29 | 20 2f 2a 20 74 6f 75 67 |en == 6)| /* toug|
|000063a0| 68 20 6c 75 63 6b 21 20 | 2a 2f 0a 58 20 20 20 20 |h luck! |*/.X |
|000063b0| 20 65 78 69 74 28 32 29 | 3b 0a 58 20 20 20 69 66 | exit(2)|;.X if|
|000063c0| 20 28 28 2b 2b 6c 6f 6f | 70 29 20 3e 20 31 30 30 | ((++loo|p) > 100|
|000063d0| 30 29 20 2f 2a 20 74 6f | 75 67 68 20 6c 75 63 6b |0) /* to|ugh luck|
|000063e0| 21 20 2a 2f 0a 58 20 20 | 20 20 20 65 78 69 74 28 |! */.X | exit(|
|000063f0| 33 29 3b 0a 58 20 20 7d | 0a 58 20 0a 58 20 77 68 |3);.X }|.X .X wh|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.