home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: part24
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 0a 46 72 |.sources|.unix.Fr|
|00000020| 6f 6d 3a 20 73 70 61 66 | 40 63 73 2e 70 75 72 64 |om: spaf|@cs.purd|
|00000030| 75 65 2e 65 64 75 20 28 | 47 65 6e 65 20 53 70 61 |ue.edu (|Gene Spa|
|00000040| 66 66 6f 72 64 29 0a 53 | 75 62 6a 65 63 74 3a 20 |fford).S|ubject: |
|00000050| 76 32 37 69 31 37 30 3a | 20 74 72 69 70 77 69 72 |v27i170:| tripwir|
|00000060| 65 2d 31 2e 31 20 2d 20 | 73 65 63 75 72 69 74 79 |e-1.1 - |security|
|00000070| 20 69 6e 74 65 67 72 69 | 74 79 20 6d 6f 6e 69 74 | integri|ty monit|
|00000080| 6f 72 2c 20 56 31 2e 31 | 2c 20 50 61 72 74 32 34 |or, V1.1|, Part24|
|00000090| 2f 32 36 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |/26.Refe|rences: |
|000000a0| 3c 31 2e 37 35 36 31 35 | 37 34 30 31 2e 32 31 38 |<1.75615|7401.218|
|000000b0| 36 34 40 67 77 2e 68 6f | 6d 65 2e 76 69 78 2e 63 |64@gw.ho|me.vix.c|
|000000c0| 6f 6d 3e 0a 53 65 6e 64 | 65 72 3a 20 75 6e 69 78 |om>.Send|er: unix|
|000000d0| 2d 73 6f 75 72 63 65 73 | 2d 6d 6f 64 65 72 61 74 |-sources|-moderat|
|000000e0| 6f 72 40 67 77 2e 68 6f | 6d 65 2e 76 69 78 2e 63 |or@gw.ho|me.vix.c|
|000000f0| 6f 6d 0a 41 70 70 72 6f | 76 65 64 3a 20 76 69 78 |om.Appro|ved: vix|
|00000100| 69 65 40 67 77 2e 68 6f | 6d 65 2e 76 69 78 2e 63 |ie@gw.ho|me.vix.c|
|00000110| 6f 6d 0a 0a 53 75 62 6d | 69 74 74 65 64 2d 42 79 |om..Subm|itted-By|
|00000120| 3a 20 73 70 61 66 40 63 | 73 2e 70 75 72 64 75 65 |: spaf@c|s.purdue|
|00000130| 2e 65 64 75 20 28 47 65 | 6e 65 20 53 70 61 66 66 |.edu (Ge|ne Spaff|
|00000140| 6f 72 64 29 0a 50 6f 73 | 74 69 6e 67 2d 4e 75 6d |ord).Pos|ting-Num|
|00000150| 62 65 72 3a 20 56 6f 6c | 75 6d 65 20 32 37 2c 20 |ber: Vol|ume 27, |
|00000160| 49 73 73 75 65 20 31 37 | 30 0a 41 72 63 68 69 76 |Issue 17|0.Archiv|
|00000170| 65 2d 4e 61 6d 65 3a 20 | 74 72 69 70 77 69 72 65 |e-Name: |tripwire|
|00000180| 2d 31 2e 31 2f 70 61 72 | 74 32 34 0a 0a 23 21 20 |-1.1/par|t24..#! |
|00000190| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|000001a0| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|000001b0| 65 2e 20 20 52 65 6d 6f | 76 65 20 61 6e 79 74 68 |e. Remo|ve anyth|
|000001c0| 69 6e 67 20 62 65 66 6f | 72 65 20 74 68 69 73 20 |ing befo|re this |
|000001d0| 6c 69 6e 65 2c 20 74 68 | 65 6e 20 75 6e 70 61 63 |line, th|en unpac|
|000001e0| 6b 0a 23 20 69 74 20 62 | 79 20 73 61 76 69 6e 67 |k.# it b|y saving|
|000001f0| 20 69 74 20 69 6e 74 6f | 20 61 20 66 69 6c 65 20 | it into| a file |
|00000200| 61 6e 64 20 74 79 70 69 | 6e 67 20 22 73 68 20 66 |and typi|ng "sh f|
|00000210| 69 6c 65 22 2e 20 20 54 | 6f 20 6f 76 65 72 77 72 |ile". T|o overwr|
|00000220| 69 74 65 20 65 78 69 73 | 74 69 6e 67 0a 23 20 66 |ite exis|ting.# f|
|00000230| 69 6c 65 73 2c 20 74 79 | 70 65 20 22 73 68 20 66 |iles, ty|pe "sh f|
|00000240| 69 6c 65 20 2d 63 22 2e | 20 20 59 6f 75 20 63 61 |ile -c".| You ca|
|00000250| 6e 20 61 6c 73 6f 20 66 | 65 65 64 20 74 68 69 73 |n also f|eed this|
|00000260| 20 61 73 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 | as stan|dard inp|
|00000270| 75 74 20 76 69 61 0a 23 | 20 75 6e 73 68 61 72 2c |ut via.#| unshar,|
|00000280| 20 6f 72 20 62 79 20 74 | 79 70 69 6e 67 20 22 73 | or by t|yping "s|
|00000290| 68 20 3c 66 69 6c 65 22 | 2c 20 65 2e 67 2e 2e 20 |h <file"|, e.g.. |
|000002a0| 20 49 66 20 74 68 69 73 | 20 61 72 63 68 69 76 65 | If this| archive|
|000002b0| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 2c 20 79 6f | is comp|lete, yo|
|000002c0| 75 0a 23 20 77 69 6c 6c | 20 73 65 65 20 74 68 65 |u.# will| see the|
|000002d0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6d 65 73 73 61 | followi|ng messa|
|000002e0| 67 65 20 61 74 20 74 68 | 65 20 65 6e 64 3a 0a 23 |ge at th|e end:.#|
|000002f0| 09 09 22 45 6e 64 20 6f | 66 20 61 72 63 68 69 76 |.."End o|f archiv|
|00000300| 65 20 32 34 20 28 6f 66 | 20 32 35 29 2e 22 0a 23 |e 24 (of| 25).".#|
|00000310| 20 43 6f 6e 74 65 6e 74 | 73 3a 20 20 74 72 69 70 | Content|s: trip|
|00000320| 77 69 72 65 2d 31 2e 31 | 20 74 72 69 70 77 69 72 |wire-1.1| tripwir|
|00000330| 65 2d 31 2e 31 2f 63 6f | 6e 66 69 67 73 20 74 72 |e-1.1/co|nfigs tr|
|00000340| 69 70 77 69 72 65 2d 31 | 2e 31 2f 63 6f 6e 74 72 |ipwire-1|.1/contr|
|00000350| 69 62 0a 23 20 20 20 74 | 72 69 70 77 69 72 65 2d |ib.# t|ripwire-|
|00000360| 31 2e 31 2f 73 72 63 20 | 74 72 69 70 77 69 72 65 |1.1/src |tripwire|
|00000370| 2d 31 2e 31 2f 74 65 73 | 74 73 20 74 72 69 70 77 |-1.1/tes|ts tripw|
|00000380| 69 72 65 2d 31 2e 31 2f | 46 41 51 0a 23 20 20 20 |ire-1.1/|FAQ.# |
|00000390| 74 72 69 70 77 69 72 65 | 2d 31 2e 31 2f 63 6f 6e |tripwire|-1.1/con|
|000003a0| 66 69 67 73 2f 74 77 2e | 63 6f 6e 66 2e 33 38 36 |figs/tw.|conf.386|
|000003b0| 62 73 64 20 74 72 69 70 | 77 69 72 65 2d 31 2e 31 |bsd trip|wire-1.1|
|000003c0| 2f 73 72 63 2f 63 6f 6e | 66 69 67 2e 70 72 65 2e |/src/con|fig.pre.|
|000003d0| 6c 0a 23 20 20 20 74 72 | 69 70 77 69 72 65 2d 31 |l.# tr|ipwire-1|
|000003e0| 2e 31 2f 4d 61 6b 65 66 | 69 6c 65 20 74 72 69 70 |.1/Makef|ile trip|
|000003f0| 77 69 72 65 2d 31 2e 31 | 2f 63 6f 6e 74 72 69 62 |wire-1.1|/contrib|
|00000400| 2f 52 45 41 44 4d 45 2e | 54 52 49 50 57 49 52 45 |/README.|TRIPWIRE|
|00000410| 0a 23 20 20 20 74 72 69 | 70 77 69 72 65 2d 31 2e |.# tri|pwire-1.|
|00000420| 31 2f 73 72 63 2f 70 72 | 65 65 6e 2e 69 6e 74 65 |1/src/pr|een.inte|
|00000430| 72 70 2e 63 20 74 72 69 | 70 77 69 72 65 2d 31 2e |rp.c tri|pwire-1.|
|00000440| 31 2f 73 72 63 2f 64 62 | 61 73 65 2e 75 70 64 61 |1/src/db|ase.upda|
|00000450| 74 65 2e 63 0a 23 20 20 | 20 74 72 69 70 77 69 72 |te.c.# | tripwir|
|00000460| 65 2d 31 2e 31 2f 73 72 | 63 2f 63 6f 6e 66 69 67 |e-1.1/sr|c/config|
|00000470| 2e 70 72 69 6d 2e 63 20 | 74 72 69 70 77 69 72 65 |.prim.c |tripwire|
|00000480| 2d 31 2e 31 2f 63 6f 6e | 66 69 67 73 2f 74 77 2e |-1.1/con|figs/tw.|
|00000490| 63 6f 6e 66 2e 6e 65 78 | 74 0a 23 20 20 20 74 72 |conf.nex|t.# tr|
|000004a0| 69 70 77 69 72 65 2d 31 | 2e 31 2f 63 6f 6e 74 72 |ipwire-1|.1/contr|
|000004b0| 69 62 2f 6d 64 34 63 6f | 6e 76 65 72 74 2e 73 68 |ib/md4co|nvert.sh|
|000004c0| 0a 23 20 20 20 74 72 69 | 70 77 69 72 65 2d 31 2e |.# tri|pwire-1.|
|000004d0| 31 2f 74 65 73 74 73 2f | 63 72 65 61 74 65 66 69 |1/tests/|createfi|
|000004e0| 6c 65 73 2e 63 20 74 72 | 69 70 77 69 72 65 2d 31 |les.c tr|ipwire-1|
|000004f0| 2e 31 2f 74 65 73 74 73 | 2f 74 65 73 74 2e 74 77 |.1/tests|/test.tw|
|00000500| 70 72 65 2e 73 68 0a 23 | 20 57 72 61 70 70 65 64 |pre.sh.#| Wrapped|
|00000510| 20 62 79 20 73 70 61 66 | 40 75 74 68 65 72 2e 63 | by spaf|@uther.c|
|00000520| 73 2e 70 75 72 64 75 65 | 2e 65 64 75 20 6f 6e 20 |s.purdue|.edu on |
|00000530| 54 68 75 20 44 65 63 20 | 31 36 20 31 31 3a 34 32 |Thu Dec |16 11:42|
|00000540| 3a 34 38 20 31 39 39 33 | 0a 50 41 54 48 3d 2f 62 |:48 1993|.PATH=/b|
|00000550| 69 6e 3a 2f 75 73 72 2f | 62 69 6e 3a 2f 75 73 72 |in:/usr/|bin:/usr|
|00000560| 2f 75 63 62 20 3b 20 65 | 78 70 6f 72 74 20 50 41 |/ucb ; e|xport PA|
|00000570| 54 48 0a 69 66 20 74 65 | 73 74 20 21 20 2d 64 20 |TH.if te|st ! -d |
|00000580| 27 74 72 69 70 77 69 72 | 65 2d 31 2e 31 27 20 3b |'tripwir|e-1.1' ;|
|00000590| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|000005a0| 68 61 72 3a 20 43 72 65 | 61 74 69 6e 67 20 64 69 |har: Cre|ating di|
|000005b0| 72 65 63 74 6f 72 79 20 | 5c 22 27 74 72 69 70 77 |rectory |\"'tripw|
|000005c0| 69 72 65 2d 31 2e 31 27 | 5c 22 0a 20 20 20 20 6d |ire-1.1'|\". m|
|000005d0| 6b 64 69 72 20 27 74 72 | 69 70 77 69 72 65 2d 31 |kdir 'tr|ipwire-1|
|000005e0| 2e 31 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 21 |.1'.fi.i|f test !|
|000005f0| 20 2d 64 20 27 74 72 69 | 70 77 69 72 65 2d 31 2e | -d 'tri|pwire-1.|
|00000600| 31 2f 63 6f 6e 66 69 67 | 73 27 20 3b 20 74 68 65 |1/config|s' ; the|
|00000610| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00000620| 20 43 72 65 61 74 69 6e | 67 20 64 69 72 65 63 74 | Creatin|g direct|
|00000630| 6f 72 79 20 5c 22 27 74 | 72 69 70 77 69 72 65 2d |ory \"'t|ripwire-|
|00000640| 31 2e 31 2f 63 6f 6e 66 | 69 67 73 27 5c 22 0a 20 |1.1/conf|igs'\". |
|00000650| 20 20 20 6d 6b 64 69 72 | 20 27 74 72 69 70 77 69 | mkdir| 'tripwi|
|00000660| 72 65 2d 31 2e 31 2f 63 | 6f 6e 66 69 67 73 27 0a |re-1.1/c|onfigs'.|
|00000670| 66 69 0a 69 66 20 74 65 | 73 74 20 21 20 2d 64 20 |fi.if te|st ! -d |
|00000680| 27 74 72 69 70 77 69 72 | 65 2d 31 2e 31 2f 63 6f |'tripwir|e-1.1/co|
|00000690| 6e 74 72 69 62 27 20 3b | 20 74 68 65 6e 0a 20 20 |ntrib' ;| then. |
|000006a0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 43 72 65 | echo s|har: Cre|
|000006b0| 61 74 69 6e 67 20 64 69 | 72 65 63 74 6f 72 79 20 |ating di|rectory |
|000006c0| 5c 22 27 74 72 69 70 77 | 69 72 65 2d 31 2e 31 2f |\"'tripw|ire-1.1/|
|000006d0| 63 6f 6e 74 72 69 62 27 | 5c 22 0a 20 20 20 20 6d |contrib'|\". m|
|000006e0| 6b 64 69 72 20 27 74 72 | 69 70 77 69 72 65 2d 31 |kdir 'tr|ipwire-1|
|000006f0| 2e 31 2f 63 6f 6e 74 72 | 69 62 27 0a 66 69 0a 69 |.1/contr|ib'.fi.i|
|00000700| 66 20 74 65 73 74 20 21 | 20 2d 64 20 27 74 72 69 |f test !| -d 'tri|
|00000710| 70 77 69 72 65 2d 31 2e | 31 2f 73 72 63 27 20 3b |pwire-1.|1/src' ;|
|00000720| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00000730| 68 61 72 3a 20 43 72 65 | 61 74 69 6e 67 20 64 69 |har: Cre|ating di|
|00000740| 72 65 63 74 6f 72 79 20 | 5c 22 27 74 72 69 70 77 |rectory |\"'tripw|
|00000750| 69 72 65 2d 31 2e 31 2f | 73 72 63 27 5c 22 0a 20 |ire-1.1/|src'\". |
|00000760| 20 20 20 6d 6b 64 69 72 | 20 27 74 72 69 70 77 69 | mkdir| 'tripwi|
|00000770| 72 65 2d 31 2e 31 2f 73 | 72 63 27 0a 66 69 0a 69 |re-1.1/s|rc'.fi.i|
|00000780| 66 20 74 65 73 74 20 21 | 20 2d 64 20 27 74 72 69 |f test !| -d 'tri|
|00000790| 70 77 69 72 65 2d 31 2e | 31 2f 74 65 73 74 73 27 |pwire-1.|1/tests'|
|000007a0| 20 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f | ; then.| echo|
|000007b0| 20 73 68 61 72 3a 20 43 | 72 65 61 74 69 6e 67 20 | shar: C|reating |
|000007c0| 64 69 72 65 63 74 6f 72 | 79 20 5c 22 27 74 72 69 |director|y \"'tri|
|000007d0| 70 77 69 72 65 2d 31 2e | 31 2f 74 65 73 74 73 27 |pwire-1.|1/tests'|
|000007e0| 5c 22 0a 20 20 20 20 6d | 6b 64 69 72 20 27 74 72 |\". m|kdir 'tr|
|000007f0| 69 70 77 69 72 65 2d 31 | 2e 31 2f 74 65 73 74 73 |ipwire-1|.1/tests|
|00000800| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00000810| 27 74 72 69 70 77 69 72 | 65 2d 31 2e 31 2f 46 41 |'tripwir|e-1.1/FA|
|00000820| 51 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |Q' -a "$|{1}" != |
|00000830| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000840| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000850| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00000860| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 74 72 69 70 |ing file| \"'trip|
|00000870| 77 69 72 65 2d 31 2e 31 | 2f 46 41 51 27 5c 22 0a |wire-1.1|/FAQ'\".|
|00000880| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00000890| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 74 72 |Extracti|ng \"'tr|
|000008a0| 69 70 77 69 72 65 2d 31 | 2e 31 2f 46 41 51 27 5c |ipwire-1|.1/FAQ'\|
|000008b0| 22 20 5c 28 33 37 38 38 | 20 63 68 61 72 61 63 74 |" \(3788| charact|
|000008c0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000008d0| 2f 22 20 3e 27 74 72 69 | 70 77 69 72 65 2d 31 2e |/" >'tri|pwire-1.|
|000008e0| 31 2f 46 41 51 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |1/FAQ' <|<'END_OF|
|000008f0| 5f 46 49 4c 45 27 0a 58 | 23 20 24 49 64 3a 20 46 |_FILE'.X|# $Id: F|
|00000900| 41 51 2c 76 20 31 2e 31 | 31 20 31 39 39 33 2f 31 |AQ,v 1.1|1 1993/1|
|00000910| 32 2f 31 35 20 32 33 3a | 30 33 3a 33 35 20 67 65 |2/15 23:|03:35 ge|
|00000920| 6e 65 6b 20 45 78 70 20 | 24 0a 58 0a 58 23 0a 58 |nek Exp |$.X.X#.X|
|00000930| 23 20 46 41 51 20 66 6f | 72 20 54 72 69 70 77 69 |# FAQ fo|r Tripwi|
|00000940| 72 65 0a 58 23 0a 58 0a | 58 20 20 20 20 54 68 69 |re.X#.X.|X Thi|
|00000950| 73 20 66 69 6c 65 20 61 | 6e 73 77 65 72 73 20 66 |s file a|nswers f|
|00000960| 72 65 71 75 65 6e 74 6c | 79 20 61 73 6b 65 64 20 |requentl|y asked |
|00000970| 71 75 65 73 74 69 6f 6e | 73 20 61 62 6f 75 74 20 |question|s about |
|00000980| 54 72 69 70 77 69 72 65 | 2e 0a 58 54 68 65 20 66 |Tripwire|..XThe f|
|00000990| 69 72 73 74 20 73 65 63 | 74 69 6f 6e 20 6f 66 20 |irst sec|tion of |
|000009a0| 74 68 65 20 66 69 6c 65 | 20 63 6f 76 65 72 73 20 |the file| covers |
|000009b0| 54 72 69 70 77 69 72 65 | 20 63 6f 6e 63 65 70 74 |Tripwire| concept|
|000009c0| 73 20 61 6e 64 20 64 65 | 73 69 67 6e 2c 0a 58 77 |s and de|sign,.Xw|
|000009d0| 68 69 6c 65 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |hile the| second |
|000009e0| 73 65 63 74 69 6f 6e 20 | 61 64 64 72 65 73 73 65 |section |addresse|
|000009f0| 73 20 74 72 6f 75 62 6c | 65 73 68 6f 6f 74 69 6e |s troubl|eshootin|
|00000a00| 67 2e 0a 58 0a 58 43 6f | 6e 63 65 70 74 73 3a 0a |g..X.XCo|ncepts:.|
|00000a10| 58 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0a 58 0a 58 51 3a |X=======|==.X.XQ:|
|00000a20| 09 57 68 79 20 64 6f 65 | 73 6e 27 74 20 54 72 69 |.Why doe|sn't Tri|
|00000a30| 70 77 69 72 65 20 65 76 | 65 72 20 74 72 61 76 65 |pwire ev|er trave|
|00000a40| 72 73 65 20 61 63 72 6f | 73 73 20 6d 6f 75 6e 74 |rse acro|ss mount|
|00000a50| 65 64 20 66 69 6c 65 73 | 79 73 74 65 6d 73 3f 0a |ed files|ystems?.|
|00000a60| 58 0a 58 41 3a 09 54 68 | 69 73 20 69 73 20 61 20 |X.XA:.Th|is is a |
|00000a70| 66 65 61 74 75 72 65 2e | 20 20 54 68 69 73 20 62 |feature.| This b|
|00000a80| 65 68 61 76 69 6f 72 20 | 6d 61 6b 65 73 20 69 74 |ehavior |makes it|
|00000a90| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 70 75 74 | possibl|e to put|
|00000aa0| 20 61 0a 58 09 64 69 72 | 65 63 74 6f 72 79 20 28 | a.X.dir|ectory (|
|00000ab0| 65 2e 67 2e 2c 20 27 2f | 27 29 20 69 6e 20 79 6f |e.g., '/|') in yo|
|00000ac0| 75 72 20 74 77 2e 63 6f | 6e 66 69 67 20 66 69 6c |ur tw.co|nfig fil|
|00000ad0| 65 2c 20 61 6e 64 20 79 | 6f 75 20 77 6f 6e 27 74 |e, and y|ou won't|
|00000ae0| 0a 58 09 68 61 76 65 20 | 74 6f 20 77 6f 72 72 79 |.X.have |to worry|
|00000af0| 20 77 68 65 74 68 65 72 | 20 69 74 20 77 69 6c 6c | whether| it will|
|00000b00| 20 74 72 61 76 65 72 73 | 65 20 61 6c 6c 20 74 68 | travers|e all th|
|00000b10| 65 20 6c 6f 63 61 6c 6c | 79 2d 6d 6f 75 6e 74 65 |e locall|y-mounte|
|00000b20| 64 0a 58 09 66 69 6c 65 | 73 79 73 74 65 6d 73 2e |d.X.file|systems.|
|00000b30| 0a 58 0a 58 0a 58 51 3a | 09 57 68 61 74 20 69 73 |.X.X.XQ:|.What is|
|00000b40| 20 74 68 65 20 64 69 66 | 66 65 72 65 6e 63 65 20 | the dif|ference |
|00000b50| 62 65 74 77 65 65 6e 20 | 70 72 75 6e 69 6e 67 20 |between |pruning |
|00000b60| 61 6e 20 65 6e 74 72 79 | 20 69 6e 20 79 6f 75 72 |an entry| in your|
|00000b70| 20 0a 58 09 74 77 2e 63 | 6f 6e 66 69 67 20 66 69 | .X.tw.c|onfig fi|
|00000b80| 6c 65 20 28 76 69 61 20 | 22 21 22 29 20 61 6e 64 |le (via |"!") and|
|00000b90| 20 69 67 6e 6f 72 69 6e | 67 20 65 76 65 72 79 74 | ignorin|g everyt|
|00000ba0| 68 69 6e 67 20 28 76 69 | 61 20 74 68 65 20 22 45 |hing (vi|a the "E|
|00000bb0| 22 20 0a 58 09 74 65 6d | 70 6c 61 74 65 29 3f 0a |" .X.tem|plate)?.|
|00000bc0| 58 0a 58 41 3a 09 49 67 | 6e 6f 72 69 6e 67 20 65 |X.XA:.Ig|noring e|
|00000bd0| 76 65 72 79 74 68 69 6e | 67 20 69 6e 20 61 20 64 |verythin|g in a d|
|00000be0| 69 72 65 63 74 6f 72 79 | 20 73 74 69 6c 6c 20 6d |irectory| still m|
|00000bf0| 6f 6e 69 74 6f 72 73 20 | 66 6f 72 20 61 64 64 65 |onitors |for adde|
|00000c00| 64 20 0a 58 09 61 6e 64 | 20 64 65 6c 65 74 65 64 |d .X.and| deleted|
|00000c10| 20 66 69 6c 65 73 2e 20 | 20 50 72 75 6e 69 6e 67 | files. | Pruning|
|00000c20| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 77 69 6c | a direc|tory wil|
|00000c30| 6c 20 70 72 65 76 65 6e | 74 20 54 72 69 70 77 69 |l preven|t Tripwi|
|00000c40| 72 65 0a 58 09 66 72 6f | 6d 20 65 76 65 6e 20 6c |re.X.fro|m even l|
|00000c50| 6f 6f 6b 69 6e 67 20 69 | 6e 20 74 68 65 20 73 70 |ooking i|n the sp|
|00000c60| 65 63 69 66 69 65 64 20 | 64 69 72 65 63 74 6f 72 |ecified |director|
|00000c70| 79 2e 0a 58 0a 58 0a 58 | 51 3a 09 54 72 69 70 77 |y..X.X.X|Q:.Tripw|
|00000c80| 69 72 65 20 72 75 6e 73 | 20 76 65 72 79 20 73 6c |ire runs| very sl|
|00000c90| 6f 77 6c 79 2e 20 20 57 | 68 61 74 20 63 61 6e 20 |owly. W|hat can |
|00000ca0| 49 20 64 6f 20 74 6f 20 | 6d 61 6b 65 20 69 74 20 |I do to |make it |
|00000cb0| 72 75 6e 20 0a 58 09 66 | 61 73 74 65 72 3f 0a 58 |run .X.f|aster?.X|
|00000cc0| 0a 58 41 3a 09 59 6f 75 | 20 63 61 6e 20 6d 6f 64 |.XA:.You| can mod|
|00000cd0| 69 66 79 20 79 6f 75 72 | 20 74 77 2e 63 6f 6e 66 |ify your| tw.conf|
|00000ce0| 69 67 20 65 6e 74 72 69 | 65 73 20 74 6f 20 73 6b |ig entri|es to sk|
|00000cf0| 69 70 20 74 68 65 20 53 | 6e 65 66 72 75 20 0a 58 |ip the S|nefru .X|
|00000d00| 09 73 69 67 6e 61 74 75 | 72 65 73 20 62 79 20 61 |.signatu|res by a|
|00000d10| 70 70 65 6e 64 69 6e 67 | 20 61 20 22 2d 32 22 20 |ppending| a "-2" |
|00000d20| 74 6f 20 74 68 65 20 69 | 67 6e 6f 72 65 20 66 6c |to the i|gnore fl|
|00000d30| 61 67 73 2e 20 20 4f 72 | 20 79 6f 75 20 63 61 6e |ags. Or| you can|
|00000d40| 0a 58 09 72 75 6e 20 74 | 65 6c 6c 20 54 72 69 70 |.X.run t|ell Trip|
|00000d50| 77 69 72 65 20 61 74 20 | 72 75 6e 2d 74 69 6d 65 |wire at |run-time|
|00000d60| 20 74 6f 20 73 6b 69 70 | 20 53 6e 65 66 72 75 20 | to skip| Snefru |
|00000d70| 62 79 3a 0a 58 09 09 0a | 58 09 09 09 74 72 69 70 |by:.X...|X...trip|
|00000d80| 77 69 72 65 20 2d 69 20 | 32 0a 58 09 09 09 0a 58 |wire -i |2.X....X|
|00000d90| 09 54 68 69 73 20 63 6f | 6d 70 75 74 61 74 69 6f |.This co|mputatio|
|00000da0| 6e 61 6c 6c 79 20 65 78 | 70 65 6e 73 69 76 65 20 |nally ex|pensive |
|00000db0| 6f 70 65 72 61 74 69 6f | 6e 20 6d 61 79 20 6e 6f |operatio|n may no|
|00000dc0| 74 20 62 65 20 6e 65 65 | 64 65 64 20 66 6f 72 20 |t be nee|ded for |
|00000dd0| 0a 58 09 6d 61 6e 79 20 | 61 70 70 6c 69 63 61 74 |.X.many |applicat|
|00000de0| 69 6f 6e 73 2e 20 20 28 | 53 65 65 20 52 45 41 44 |ions. (|See READ|
|00000df0| 4d 45 20 73 65 63 74 69 | 6f 6e 20 6f 6e 20 73 65 |ME secti|on on se|
|00000e00| 63 75 72 69 74 79 20 76 | 73 2e 20 0a 58 09 70 65 |curity v|s. .X.pe|
|00000e10| 72 66 6f 72 6d 61 6e 63 | 65 20 74 72 61 64 65 2d |rformanc|e trade-|
|00000e20| 6f 66 66 73 20 66 6f 72 | 20 66 75 72 74 68 65 72 |offs for| further|
|00000e30| 20 64 65 74 61 69 6c 73 | 2e 29 0a 58 0a 58 54 72 | details|.).X.XTr|
|00000e40| 6f 75 62 6c 65 73 68 6f | 6f 74 69 6e 67 3a 0a 58 |oublesho|oting:.X|
|00000e50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000e60| 0a 58 0a 58 51 3a 09 49 | 20 62 75 69 6c 64 20 54 |.X.XQ:.I| build T|
|00000e70| 72 69 70 77 69 72 65 20 | 61 6e 64 20 74 68 65 20 |ripwire |and the |
|00000e80| 74 65 73 74 20 73 75 69 | 74 65 20 66 61 69 6c 73 |test sui|te fails|
|00000e90| 2e 20 20 57 68 61 74 20 | 64 6f 20 49 20 64 6f 3f |. What |do I do?|
|00000ea0| 0a 58 41 3a 09 52 65 61 | 64 20 74 68 65 20 52 45 |.XA:.Rea|d the RE|
|00000eb0| 41 44 4d 45 20 73 65 63 | 74 69 6f 6e 20 6f 6e 20 |ADME sec|tion on |
|00000ec0| 22 43 6f 6d 6d 6f 6e 20 | 43 6f 6d 70 69 6c 61 74 |"Common |Compilat|
|00000ed0| 69 6f 6e 20 50 72 6f 62 | 6c 65 6d 73 2e 22 0a 58 |ion Prob|lems.".X|
|00000ee0| 0a 58 0a 58 51 3a 09 54 | 72 69 70 77 69 72 65 20 |.X.XQ:.T|ripwire |
|00000ef0| 72 65 70 6f 72 74 73 20 | 74 68 61 74 20 6d 79 20 |reports |that my |
|00000f00| 64 61 74 61 62 61 73 65 | 20 76 65 72 73 69 6f 6e |database| version|
|00000f10| 20 69 73 20 6f 75 74 20 | 6f 66 20 64 61 74 65 2e | is out |of date.|
|00000f20| 20 20 57 68 61 74 0a 58 | 09 73 68 6f 75 6c 64 20 | What.X|.should |
|00000f30| 49 20 64 6f 3f 0a 58 41 | 3a 09 54 68 65 20 64 61 |I do?.XA|:.The da|
|00000f40| 74 61 62 61 73 65 20 66 | 6f 72 6d 61 74 20 75 73 |tabase f|ormat us|
|00000f50| 65 64 20 62 79 20 54 72 | 69 70 77 69 72 65 20 76 |ed by Tr|ipwire v|
|00000f60| 31 2e 30 20 61 6e 64 20 | 76 31 2e 31 20 63 68 61 |1.0 and |v1.1 cha|
|00000f70| 6e 67 65 64 2e 0a 58 09 | 53 70 65 63 69 66 69 61 |nged..X.|Specifia|
|00000f80| 6c 6c 79 2c 20 54 72 69 | 70 77 69 72 65 20 76 31 |lly, Tri|pwire v1|
|00000f90| 2e 31 20 75 73 65 73 20 | 61 20 64 69 66 66 65 72 |.1 uses |a differ|
|00000fa0| 65 6e 74 20 62 61 73 65 | 2d 36 34 20 61 6c 70 68 |ent base|-64 alph|
|00000fb0| 61 62 65 74 2e 0a 58 09 | 55 73 65 20 74 68 65 20 |abet..X.|Use the |
|00000fc0| 70 72 6f 67 72 61 6d 20 | 74 77 63 6f 6e 76 65 72 |program |twconver|
|00000fd0| 74 20 74 6f 20 63 6f 6e | 76 65 72 74 20 62 65 74 |t to con|vert bet|
|00000fe0| 77 65 65 6e 20 74 68 65 | 20 74 77 6f 20 66 6f 72 |ween the| two for|
|00000ff0| 6d 61 74 73 2e 0a 58 09 | 28 54 68 69 73 20 70 72 |mats..X.|(This pr|
|00001000| 6f 67 72 61 6d 20 69 73 | 20 6c 6f 63 61 74 65 64 |ogram is| located|
|00001010| 20 69 6e 20 74 68 65 20 | 2e 2f 61 75 78 20 64 69 | in the |./aux di|
|00001020| 72 65 63 74 6f 72 79 2e | 29 0a 58 0a 58 0a 58 51 |rectory.|).X.X.XQ|
|00001030| 3a 09 57 68 65 72 65 20 | 64 6f 20 49 20 66 69 6e |:.Where |do I fin|
|00001040| 64 20 4c 61 72 72 79 20 | 57 61 6c 6c 27 73 20 70 |d Larry |Wall's p|
|00001050| 61 74 63 68 20 70 72 6f | 67 72 61 6d 3f 0a 58 41 |atch pro|gram?.XA|
|00001060| 3a 09 59 6f 75 20 63 61 | 6e 20 67 65 74 20 69 74 |:.You ca|n get it|
|00001070| 20 76 69 61 20 61 6e 6f | 6e 79 6d 6f 75 73 20 46 | via ano|nymous F|
|00001080| 54 50 20 61 74 20 66 74 | 70 2e 75 75 2e 6e 65 74 |TP at ft|p.uu.net|
|00001090| 3a 2f 70 75 62 2f 70 61 | 74 63 68 2e 74 61 72 2e |:/pub/pa|tch.tar.|
|000010a0| 5a 2e 0a 58 0a 58 0a 58 | 51 3a 20 09 57 68 65 6e |Z..X.X.X|Q: .When|
|000010b0| 20 72 75 6e 6e 69 6e 67 | 20 54 72 69 70 77 69 72 | running| Tripwir|
|000010c0| 65 20 69 6e 20 49 6e 74 | 65 67 72 69 74 79 20 43 |e in Int|egrity C|
|000010d0| 68 65 63 6b 69 6e 67 20 | 6d 6f 64 65 2c 20 54 72 |hecking |mode, Tr|
|000010e0| 69 70 77 69 72 65 0a 58 | 09 66 61 69 6c 73 20 77 |ipwire.X|.fails w|
|000010f0| 68 65 6e 20 69 74 20 74 | 72 69 65 73 20 74 6f 20 |hen it t|ries to |
|00001100| 66 69 6e 64 20 61 20 66 | 69 6c 65 20 77 69 74 68 |find a f|ile with|
|00001110| 20 61 20 6e 61 6d 65 20 | 63 6f 6e 73 69 73 74 69 | a name |consisti|
|00001120| 6e 67 20 6f 66 0a 58 09 | 74 68 6f 75 73 61 6e 64 |ng of.X.|thousand|
|00001130| 73 20 6f 66 20 27 2f 27 | 73 2e 20 20 57 68 61 74 |s of '/'|s. What|
|00001140| 20 77 65 6e 74 20 77 72 | 6f 6e 67 3f 0a 58 0a 58 | went wr|ong?.X.X|
|00001150| 41 3a 09 59 6f 75 72 20 | 73 65 74 74 69 6e 67 20 |A:.Your |setting |
|00001160| 66 6f 72 20 74 68 65 20 | 23 64 65 66 69 6e 65 20 |for the |#define |
|00001170| 44 49 52 45 4e 54 20 76 | 61 6c 75 65 20 69 6e 20 |DIRENT v|alue in |
|00001180| 79 6f 75 72 20 63 6f 6e | 66 2d 3c 6f 73 3e 2e 68 |your con|f-<os>.h|
|00001190| 0a 58 09 66 69 6c 65 20 | 69 73 20 70 72 6f 62 61 |.X.file |is proba|
|000011a0| 62 6c 79 20 73 65 74 20 | 77 72 6f 6e 67 2e 20 20 |bly set |wrong. |
|000011b0| 54 72 79 69 6e 67 20 73 | 77 69 74 63 68 69 6e 67 |Trying s|witching|
|000011c0| 20 74 68 65 20 73 65 74 | 74 69 6e 67 20 61 6e 64 | the set|ting and|
|000011d0| 0a 58 09 73 65 65 20 69 | 66 20 74 68 65 20 70 72 |.X.see i|f the pr|
|000011e0| 6f 62 6c 65 6d 20 67 6f | 65 73 20 61 77 61 79 2e |oblem go|es away.|
|000011f0| 20 20 28 69 2e 65 2e 2c | 20 73 77 69 74 63 68 20 | (i.e.,| switch |
|00001200| 23 64 65 66 69 6e 65 20 | 74 6f 20 0a 58 09 23 75 |#define |to .X.#u|
|00001210| 6e 64 65 66 2c 20 6f 72 | 20 76 69 63 65 20 76 65 |ndef, or| vice ve|
|00001220| 72 73 61 2e 29 0a 58 0a | 58 0a 58 51 3a 09 49 20 |rsa.).X.|X.XQ:.I |
|00001230| 68 61 76 65 20 2f 74 6d | 70 20 69 6e 20 6d 79 20 |have /tm|p in my |
|00001240| 74 77 2e 63 6f 6e 66 69 | 67 20 66 69 6c 65 2c 20 |tw.confi|g file, |
|00001250| 62 75 74 20 6e 6f 6e 65 | 20 6f 66 20 74 68 65 20 |but none| of the |
|00001260| 66 69 6c 65 73 20 69 6e | 20 0a 58 09 74 68 65 20 |files in| .X.the |
|00001270| 64 69 72 65 63 74 6f 72 | 79 20 61 72 65 20 62 65 |director|y are be|
|00001280| 69 6e 67 20 72 65 61 64 | 20 62 79 20 54 72 69 70 |ing read| by Trip|
|00001290| 77 69 72 65 2e 20 20 57 | 68 61 74 27 73 20 67 6f |wire. W|hat's go|
|000012a0| 69 6e 67 20 6f 6e 3f 0a | 58 0a 58 41 3a 09 43 68 |ing on?.|X.XA:.Ch|
|000012b0| 65 63 6b 20 74 6f 20 73 | 65 65 20 74 68 61 74 20 |eck to s|ee that |
|000012c0| 79 6f 75 72 20 2f 74 6d | 70 20 64 69 72 65 63 74 |your /tm|p direct|
|000012d0| 6f 72 79 20 69 73 6e 27 | 74 20 61 20 73 79 6d 62 |ory isn'|t a symb|
|000012e0| 6f 6c 69 63 20 6c 69 6e | 6b 0a 58 09 74 6f 20 61 |olic lin|k.X.to a|
|000012f0| 6e 6f 74 68 65 72 20 66 | 69 6c 65 73 79 73 74 65 |nother f|ilesyste|
|00001300| 6d 2e 20 20 57 68 65 6e | 20 72 65 63 75 72 73 69 |m. When| recursi|
|00001310| 6e 67 20 64 6f 77 6e 20 | 69 6e 74 6f 20 64 69 72 |ng down |into dir|
|00001320| 65 63 74 6f 72 69 65 73 | 2c 0a 58 09 54 72 69 70 |ectories|,.X.Trip|
|00001330| 77 69 72 65 20 6e 65 76 | 65 72 20 74 72 61 76 65 |wire nev|er trave|
|00001340| 72 73 65 73 20 73 79 6d | 62 6f 6c 69 63 20 6c 69 |rses sym|bolic li|
|00001350| 6e 6b 73 20 6f 72 20 65 | 6e 74 65 72 73 20 61 6e |nks or e|nters an|
|00001360| 6f 74 68 65 72 0a 58 09 | 66 69 6c 65 73 79 73 74 |other.X.|filesyst|
|00001370| 65 6d 2e 20 20 0a 58 0a | 58 0a 58 51 3a 09 49 73 |em. .X.|X.XQ:.Is|
|00001380| 20 74 68 65 72 65 20 61 | 6e 79 20 77 61 79 20 49 | there a|ny way I|
|00001390| 20 63 61 6e 20 67 65 74 | 20 54 72 69 70 77 69 72 | can get| Tripwir|
|000013a0| 65 20 74 6f 20 70 72 69 | 6e 74 20 6f 75 74 20 74 |e to pri|nt out t|
|000013b0| 68 65 20 6e 61 6d 65 73 | 20 6f 66 20 74 68 65 0a |he names| of the.|
|000013c0| 58 09 66 69 6c 65 73 20 | 61 73 20 74 68 65 79 20 |X.files |as they |
|000013d0| 61 72 65 20 62 65 69 6e | 67 20 73 63 61 6e 6e 65 |are bein|g scanne|
|000013e0| 64 3f 20 20 49 20 77 61 | 6e 74 20 74 6f 20 6b 6e |d? I wa|nt to kn|
|000013f0| 6f 77 20 77 68 69 63 68 | 20 66 69 6c 65 73 0a 58 |ow which| files.X|
|00001400| 09 54 72 69 70 77 69 72 | 65 20 69 73 20 73 70 65 |.Tripwir|e is spe|
|00001410| 6e 64 69 6e 67 20 61 6c | 6c 20 6f 66 20 69 74 73 |nding al|l of its|
|00001420| 20 74 69 6d 65 20 63 72 | 75 6e 63 68 69 6e 67 2e | time cr|unching.|
|00001430| 0a 58 0a 58 41 3a 09 54 | 72 79 20 75 73 69 6e 67 |.X.XA:.T|ry using|
|00001440| 20 27 74 72 69 70 77 69 | 72 65 20 2d 76 27 2e 20 | 'tripwi|re -v'. |
|00001450| 20 54 68 69 73 20 77 61 | 73 6e 27 74 20 64 6f 63 | This wa|sn't doc|
|00001460| 75 6d 65 6e 74 65 64 20 | 69 6e 20 74 68 65 20 66 |umented |in the f|
|00001470| 69 72 73 74 0a 58 09 74 | 72 69 70 77 69 72 65 2e |irst.X.t|ripwire.|
|00001480| 38 20 6d 61 6e 75 61 6c | 20 70 61 67 65 2e 0a 58 |8 manual| page..X|
|00001490| 0a 58 0a 58 51 3a 09 49 | 20 74 72 79 20 74 6f 20 |.X.XQ:.I| try to |
|000014a0| 69 6e 69 74 69 61 6c 69 | 7a 65 20 74 68 65 20 64 |initiali|ze the d|
|000014b0| 61 74 61 62 61 73 65 20 | 62 79 20 74 79 70 69 6e |atabase |by typin|
|000014c0| 67 20 27 74 72 69 70 77 | 69 72 65 20 2d 69 6e 69 |g 'tripw|ire -ini|
|000014d0| 74 69 61 6c 69 7a 65 27 | 0a 58 09 62 75 74 20 49 |tialize'|.X.but I|
|000014e0| 20 63 61 6e 27 74 20 66 | 69 6e 64 20 74 68 65 20 | can't f|ind the |
|000014f0| 62 69 6e 61 72 79 2e 20 | 20 57 68 65 72 65 20 69 |binary. | Where i|
|00001500| 73 20 74 68 65 20 74 72 | 69 70 77 69 72 65 20 65 |s the tr|ipwire e|
|00001510| 78 65 63 75 74 61 62 6c | 65 3f 0a 58 0a 58 41 3a |xecutabl|e?.X.XA:|
|00001520| 09 2e 2f 73 72 63 2f 74 | 72 69 70 77 69 72 65 20 |../src/t|ripwire |
|00001530| 69 73 20 77 68 65 72 65 | 20 74 68 65 20 62 69 6e |is where| the bin|
|00001540| 61 72 79 20 69 73 20 62 | 75 69 6c 74 2e 20 20 27 |ary is b|uilt. '|
|00001550| 6d 61 6b 65 20 69 6e 73 | 74 61 6c 6c 27 0a 58 09 |make ins|tall'.X.|
|00001560| 77 69 6c 6c 20 69 6e 73 | 74 61 6c 6c 20 69 6e 20 |will ins|tall in |
|00001570| 74 68 65 20 24 28 44 45 | 53 54 44 49 52 29 20 6f |the $(DE|STDIR) o|
|00001580| 66 20 79 6f 75 72 20 63 | 68 6f 69 63 65 2c 20 61 |f your c|hoice, a|
|00001590| 73 20 64 65 66 69 6e 65 | 64 0a 58 09 69 6e 20 74 |s define|d.X.in t|
|000015a0| 68 65 20 74 6f 70 2d 6c | 65 76 65 6c 20 4d 61 6b |he top-l|evel Mak|
|000015b0| 65 66 69 6c 65 2e 0a 58 | 0a 58 0a 58 51 3a 09 49 |efile..X|.X.XQ:.I|
|000015c0| 20 68 61 76 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 | have th|e follow|
|000015d0| 69 6e 67 20 6c 69 6e 65 | 20 69 6e 20 6d 79 20 74 |ing line| in my t|
|000015e0| 77 2e 63 6f 6e 66 69 67 | 20 66 69 6c 65 20 74 6f |w.config| file to|
|000015f0| 20 64 6f 20 68 6f 73 74 | 20 73 70 65 63 69 66 69 | do host| specifi|
|00001600| 63 0a 58 09 61 63 74 69 | 6f 6e 73 2e 20 20 57 68 |c.X.acti|ons. Wh|
|00001610| 79 20 64 6f 65 73 6e 27 | 74 20 69 74 20 77 6f 72 |y doesn'|t it wor|
|00001620| 6b 3f 0a 58 0a 58 09 09 | 40 40 69 66 68 6f 73 74 |k?.X.X..|@@ifhost|
|00001630| 20 63 68 61 70 65 6c 20 | 7c 7c 20 63 68 65 6b 6f | chapel ||| cheko|
|00001640| 76 20 7c 7c 20 63 68 65 | 77 69 65 20 7c 7c 20 64 |v || che|wie || d|
|00001650| 61 74 61 20 7c 7c 20 67 | 75 69 6e 61 6e 20 0a 58 |ata || g|uinan .X|
|00001660| 09 09 09 2e 2e 2e 2e 0a | 58 09 09 40 40 65 6e 64 |........|X..@@end|
|00001670| 69 66 0a 58 0a 58 41 3a | 09 59 6f 75 20 6d 75 73 |if.X.XA:|.You mus|
|00001680| 74 20 70 75 74 20 74 68 | 65 20 68 6f 73 74 6e 61 |t put th|e hostna|
|00001690| 6d 65 73 20 61 73 20 72 | 65 74 75 72 6e 65 64 20 |mes as r|eturned |
|000016a0| 62 79 20 27 68 6f 73 74 | 6e 61 6d 65 27 20 6f 72 |by 'host|name' or|
|000016b0| 20 27 75 6e 61 6d 65 27 | 0a 58 09 28 64 65 70 65 | 'uname'|.X.(depe|
|000016c0| 6e 64 69 6e 67 20 6f 6e | 20 77 68 65 74 68 65 72 |nding on| whether|
|000016d0| 20 79 6f 75 27 72 65 20 | 72 75 6e 6e 69 6e 67 20 | you're |running |
|000016e0| 61 20 42 53 44 20 6f 72 | 20 53 59 53 56 20 64 65 |a BSD or| SYSV de|
|000016f0| 72 69 76 65 64 20 4f 53 | 29 2e 0a 58 09 53 6f 2c |rived OS|)..X.So,|
|00001700| 20 74 68 65 20 63 6f 72 | 72 65 63 74 20 66 6f 72 | the cor|rect for|
|00001710| 6d 20 77 6f 75 6c 64 20 | 62 65 3a 0a 58 0a 58 09 |m would |be:.X.X.|
|00001720| 09 40 40 69 66 68 6f 73 | 74 20 63 68 61 70 65 6c |.@@ifhos|t chapel|
|00001730| 2e 65 6e 74 65 72 70 72 | 69 73 65 2e 66 65 64 20 |.enterpr|ise.fed |
|00001740| 7c 7c 20 63 68 65 6b 6f | 76 2e 65 6e 74 65 72 70 ||| cheko|v.enterp|
|00001750| 72 69 73 65 2e 66 65 64 | 20 2e 2e 2e 0a 58 0a 58 |rise.fed| ....X.X|
|00001760| 09 54 68 65 20 54 72 69 | 70 77 69 72 65 20 70 72 |.The Tri|pwire pr|
|00001770| 65 70 72 6f 63 65 73 73 | 6f 72 20 74 72 69 65 73 |eprocess|or tries|
|00001780| 20 69 74 73 20 62 65 73 | 74 20 74 6f 20 66 69 67 | its bes|t to fig|
|00001790| 75 72 65 20 6f 75 74 20 | 69 66 20 79 6f 75 0a 58 |ure out |if you.X|
|000017a0| 09 68 61 76 65 20 75 73 | 65 64 20 6d 69 73 66 6f |.have us|ed misfo|
|000017b0| 72 6d 65 64 20 68 6f 73 | 74 6e 61 6d 65 73 2e 0a |rmed hos|tnames..|
|000017c0| 58 0a 58 0a 58 47 65 6e | 65 20 26 20 47 65 6e 65 |X.X.XGen|e & Gene|
|000017d0| 0a 58 4b 69 6d 20 20 26 | 20 53 70 61 66 66 6f 72 |.XKim &| Spaffor|
|000017e0| 64 0a 58 0a 58 4c 61 73 | 74 20 75 70 64 61 74 65 |d.X.XLas|t update|
|000017f0| 64 3a 20 44 65 63 65 6d | 62 65 72 20 31 31 2c 20 |d: Decem|ber 11, |
|00001800| 31 39 39 33 0a 58 28 67 | 65 6e 65 6b 40 6d 65 6e |1993.X(g|enek@men|
|00001810| 74 6f 72 2e 63 63 2e 70 | 75 72 64 75 65 2e 65 64 |tor.cc.p|urdue.ed|
|00001820| 75 29 0a 58 28 73 70 61 | 66 40 63 73 2e 70 75 72 |u).X(spa|f@cs.pur|
|00001830| 64 75 65 2e 65 64 75 29 | 0a 58 09 0a 45 4e 44 5f |due.edu)|.X..END_|
|00001840| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00001850| 33 37 38 38 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |3788 -ne| `wc -c |
|00001860| 3c 27 74 72 69 70 77 69 | 72 65 2d 31 2e 31 2f 46 |<'tripwi|re-1.1/F|
|00001870| 41 51 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |AQ'`; th|en. e|
|00001880| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 74 72 69 |cho shar|: \"'tri|
|00001890| 70 77 69 72 65 2d 31 2e | 31 2f 46 41 51 27 5c 22 |pwire-1.|1/FAQ'\"|
|000018a0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000018b0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|000018c0| 65 6e 64 20 6f 66 20 27 | 74 72 69 70 77 69 72 65 |end of '|tripwire|
|000018d0| 2d 31 2e 31 2f 46 41 51 | 27 0a 66 69 0a 69 66 20 |-1.1/FAQ|'.fi.if |
|000018e0| 74 65 73 74 20 2d 66 20 | 27 74 72 69 70 77 69 72 |test -f |'tripwir|
|000018f0| 65 2d 31 2e 31 2f 63 6f | 6e 66 69 67 73 2f 74 77 |e-1.1/co|nfigs/tw|
|00001900| 2e 63 6f 6e 66 2e 33 38 | 36 62 73 64 27 20 2d 61 |.conf.38|6bsd' -a|
|00001910| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00001920| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00001930| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00001940| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00001950| 69 6c 65 20 5c 22 27 74 | 72 69 70 77 69 72 65 2d |ile \"'t|ripwire-|
|00001960| 31 2e 31 2f 63 6f 6e 66 | 69 67 73 2f 74 77 2e 63 |1.1/conf|igs/tw.c|
|00001970| 6f 6e 66 2e 33 38 36 62 | 73 64 27 5c 22 0a 65 6c |onf.386b|sd'\".el|
|00001980| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00001990| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 74 72 69 70 |tracting| \"'trip|
|000019a0| 77 69 72 65 2d 31 2e 31 | 2f 63 6f 6e 66 69 67 73 |wire-1.1|/configs|
|000019b0| 2f 74 77 2e 63 6f 6e 66 | 2e 33 38 36 62 73 64 27 |/tw.conf|.386bsd'|
|000019c0| 5c 22 20 5c 28 33 36 37 | 38 20 63 68 61 72 61 63 |\" \(367|8 charac|
|000019d0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000019e0| 2f 2f 22 20 3e 27 74 72 | 69 70 77 69 72 65 2d 31 |//" >'tr|ipwire-1|
|000019f0| 2e 31 2f 63 6f 6e 66 69 | 67 73 2f 74 77 2e 63 6f |.1/confi|gs/tw.co|
|00001a00| 6e 66 2e 33 38 36 62 73 | 64 27 20 3c 3c 27 45 4e |nf.386bs|d' <<'EN|
|00001a10| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 20 24 49 |D_OF_FIL|E'.X# $I|
|00001a20| 64 3a 20 74 77 2e 63 6f | 6e 66 2e 33 38 36 62 73 |d: tw.co|nf.386bs|
|00001a30| 64 2c 76 20 31 2e 31 20 | 31 39 39 33 2f 31 31 2f |d,v 1.1 |1993/11/|
|00001a40| 32 32 20 30 36 3a 33 38 | 3a 30 31 20 67 65 6e 65 |22 06:38|:01 gene|
|00001a50| 6b 20 45 78 70 20 24 0a | 58 23 0a 58 23 20 74 72 |k Exp $.|X#.X# tr|
|00001a60| 69 70 77 69 72 65 2e 63 | 6f 6e 66 69 67 0a 58 23 |ipwire.c|onfig.X#|
|00001a70| 20 47 65 6e 65 72 69 63 | 20 76 65 72 73 69 6f 6e | Generic| version|
|00001a80| 20 66 6f 72 20 33 38 36 | 42 53 44 0a 58 23 20 20 | for 386|BSD.X# |
|00001a90| 57 69 6c 6c 20 6e 65 65 | 64 20 65 64 69 74 69 6e |Will nee|d editin|
|00001aa0| 67 2e 2e 2e 73 65 65 20 | 63 6f 6d 6d 65 6e 74 73 |g...see |comments|
|00001ab0| 20 62 65 6c 6f 77 0a 58 | 23 0a 58 23 20 54 68 69 | below.X|#.X# Thi|
|00001ac0| 73 20 66 69 6c 65 20 63 | 6f 6e 74 61 69 6e 73 20 |s file c|ontains |
|00001ad0| 61 20 6c 69 73 74 20 6f | 66 20 66 69 6c 65 73 20 |a list o|f files |
|00001ae0| 61 6e 64 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |and dire|ctories |
|00001af0| 74 68 61 74 20 53 79 73 | 74 65 6d 20 0a 58 23 20 |that Sys|tem .X# |
|00001b00| 50 72 65 65 6e 65 72 20 | 77 69 6c 6c 20 73 63 61 |Preener |will sca|
|00001b10| 6e 2e 20 20 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |n. Info|rmation |
|00001b20| 63 6f 6c 6c 65 63 74 65 | 64 20 66 72 6f 6d 20 74 |collecte|d from t|
|00001b30| 68 65 73 65 20 66 69 6c | 65 73 20 77 69 6c 6c 20 |hese fil|es will |
|00001b40| 62 65 20 0a 58 23 20 73 | 74 6f 72 65 64 20 69 6e |be .X# s|tored in|
|00001b50| 20 74 68 65 20 74 72 69 | 70 77 69 72 65 2e 64 61 | the tri|pwire.da|
|00001b60| 74 61 62 61 73 65 20 66 | 69 6c 65 2e 0a 58 23 0a |tabase f|ile..X#.|
|00001b70| 58 23 20 46 6f 72 6d 61 | 74 3a 20 09 09 09 5b 21 |X# Forma|t: ...[!|
|00001b80| 7c 3d 5d 20 65 6e 74 72 | 79 20 5b 69 67 6e 6f 72 ||=] entr|y [ignor|
|00001b90| 65 2d 66 6c 61 67 73 5d | 0a 58 23 0a 58 23 20 77 |e-flags]|.X#.X# w|
|00001ba0| 68 65 72 65 3a 09 20 27 | 21 27 20 73 69 67 6e 69 |here:. '|!' signi|
|00001bb0| 66 69 65 73 20 74 68 65 | 20 65 6e 74 72 79 20 69 |fies the| entry i|
|00001bc0| 73 20 74 6f 20 62 65 20 | 70 72 75 6e 65 64 20 28 |s to be |pruned (|
|00001bd0| 69 6e 63 6c 75 73 69 76 | 65 29 20 66 72 6f 6d 0a |inclusiv|e) from.|
|00001be0| 58 23 09 09 09 09 74 68 | 65 20 6c 69 73 74 20 6f |X#....th|e list o|
|00001bf0| 66 20 66 69 6c 65 73 20 | 74 6f 20 62 65 20 73 63 |f files |to be sc|
|00001c00| 61 6e 6e 65 64 2e 0a 58 | 23 09 09 20 27 3d 27 20 |anned..X|#.. '=' |
|00001c10| 73 69 67 6e 69 66 69 65 | 73 20 74 68 65 20 65 6e |signifie|s the en|
|00001c20| 74 72 79 20 69 73 20 74 | 6f 20 62 65 20 61 64 64 |try is t|o be add|
|00001c30| 65 64 2c 20 62 75 74 20 | 69 66 20 69 74 20 69 73 |ed, but |if it is|
|00001c40| 0a 58 23 09 09 09 09 61 | 20 64 69 72 65 63 74 6f |.X#....a| directo|
|00001c50| 72 79 2c 20 74 68 65 6e | 20 61 6c 6c 20 69 74 73 |ry, then| all its|
|00001c60| 20 63 6f 6e 74 65 6e 74 | 73 20 61 72 65 20 70 72 | content|s are pr|
|00001c70| 75 6e 65 64 0a 58 23 09 | 09 09 09 28 75 73 65 66 |uned.X#.|...(usef|
|00001c80| 75 6c 20 66 6f 72 20 2f | 74 6d 70 29 2e 0a 58 23 |ul for /|tmp)..X#|
|00001c90| 0a 58 23 20 77 68 65 72 | 65 3a 09 65 6e 74 72 79 |.X# wher|e:.entry|
|00001ca0| 20 69 73 20 74 68 65 20 | 61 62 73 6f 6c 75 74 65 | is the |absolute|
|00001cb0| 20 70 61 74 68 6e 61 6d | 65 20 6f 66 20 61 20 66 | pathnam|e of a f|
|00001cc0| 69 6c 65 20 6f 72 20 61 | 20 64 69 72 65 63 74 6f |ile or a| directo|
|00001cd0| 72 79 0a 58 23 0a 58 23 | 20 77 68 65 72 65 20 69 |ry.X#.X#| where i|
|00001ce0| 67 6e 6f 72 65 2d 66 6c | 61 67 73 20 61 72 65 20 |gnore-fl|ags are |
|00001cf0| 69 6e 20 74 68 65 20 66 | 6f 72 6d 61 74 3a 0a 58 |in the f|ormat:.X|
|00001d00| 23 09 09 5b 74 65 6d 70 | 6c 61 74 65 5d 5b 20 5b |#..[temp|late][ [|
|00001d10| 2b 7c 2d 5d 5b 70 69 6e | 75 67 73 61 6d 31 32 5d |+|-][pin|ugsam12]|
|00001d20| 20 2e 2e 2e 20 5d 0a 58 | 23 0a 58 23 20 09 2d 20 | ... ].X|#.X# .- |
|00001d30| 3a 20 20 69 67 6e 6f 72 | 65 20 74 68 65 20 66 6f |: ignor|e the fo|
|00001d40| 6c 6c 6f 77 69 6e 67 20 | 61 74 72 69 62 75 74 65 |llowing |atribute|
|00001d50| 73 0a 58 23 09 2b 20 3a | 20 20 64 6f 20 6e 6f 74 |s.X#.+ :| do not|
|00001d60| 20 69 67 6e 6f 72 65 20 | 74 68 65 20 66 6f 6c 6c | ignore |the foll|
|00001d70| 6f 77 69 6e 67 20 61 74 | 74 72 69 62 75 74 65 73 |owing at|tributes|
|00001d80| 0a 58 23 0a 58 23 09 70 | 20 3a 20 20 70 65 72 6d |.X#.X#.p| : perm|
|00001d90| 69 73 73 69 6f 6e 20 61 | 6e 64 20 66 69 6c 65 20 |ission a|nd file |
|00001da0| 6d 6f 64 65 20 62 69 74 | 73 20 09 61 3a 20 61 63 |mode bit|s .a: ac|
|00001db0| 63 65 73 73 20 74 69 6d | 65 73 74 61 6d 70 0a 58 |cess tim|estamp.X|
|00001dc0| 23 09 69 20 3a 20 20 69 | 6e 6f 64 65 20 6e 75 6d |#.i : i|node num|
|00001dd0| 62 65 72 09 09 09 6d 3a | 20 6d 6f 64 69 66 69 63 |ber...m:| modific|
|00001de0| 61 74 69 6f 6e 20 74 69 | 6d 65 73 74 61 6d 70 0a |ation ti|mestamp.|
|00001df0| 58 23 09 6e 20 3a 20 20 | 6e 75 6d 62 65 72 20 6f |X#.n : |number o|
|00001e00| 66 20 6c 69 6e 6b 73 20 | 28 72 65 66 20 63 6f 75 |f links |(ref cou|
|00001e10| 6e 74 29 09 63 3a 20 69 | 6e 6f 64 65 20 63 72 65 |nt).c: i|node cre|
|00001e20| 61 74 69 6f 6e 20 74 69 | 6d 65 73 74 61 6d 70 0a |ation ti|mestamp.|
|00001e30| 58 23 09 75 20 3a 20 20 | 75 73 65 72 20 69 64 20 |X#.u : |user id |
|00001e40| 6f 66 20 6f 77 6e 65 72 | 09 09 09 31 3a 20 73 69 |of owner|...1: si|
|00001e50| 67 6e 61 74 75 72 65 20 | 31 0a 58 23 09 67 20 3a |gnature |1.X#.g :|
|00001e60| 20 20 67 72 6f 75 70 20 | 69 64 20 6f 66 20 6f 77 | group |id of ow|
|00001e70| 6e 65 72 09 09 09 32 3a | 20 73 69 67 6e 61 74 75 |ner...2:| signatu|
|00001e80| 72 65 20 32 0a 58 23 09 | 73 20 3a 20 20 73 69 7a |re 2.X#.|s : siz|
|00001e90| 65 20 6f 66 20 66 69 6c | 65 0a 58 23 0a 58 23 0a |e of fil|e.X#.X#.|
|00001ea0| 58 23 20 45 78 3a 20 20 | 20 54 68 65 20 66 6f 6c |X# Ex: | The fol|
|00001eb0| 6c 6f 77 69 6e 67 20 65 | 6e 74 72 79 20 77 69 6c |lowing e|ntry wil|
|00001ec0| 6c 20 73 63 61 6e 20 61 | 6c 6c 20 74 68 65 20 66 |l scan a|ll the f|
|00001ed0| 69 6c 65 73 20 69 6e 20 | 2f 65 74 63 2c 20 61 6e |iles in |/etc, an|
|00001ee0| 64 20 72 65 70 6f 72 74 | 0a 58 23 09 61 6e 79 20 |d report|.X#.any |
|00001ef0| 63 68 61 6e 67 65 73 20 | 69 6e 20 6d 6f 64 65 20 |changes |in mode |
|00001f00| 62 69 74 73 2c 20 69 6e | 6f 64 65 20 6e 75 6d 62 |bits, in|ode numb|
|00001f10| 65 72 2c 20 72 65 66 65 | 72 65 6e 63 65 20 63 6f |er, refe|rence co|
|00001f20| 75 6e 74 2c 20 75 69 64 | 2c 0a 58 23 09 67 69 64 |unt, uid|,.X#.gid|
|00001f30| 2c 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 20 61 |, modifi|cation a|
|00001f40| 6e 64 20 63 72 65 61 74 | 69 6f 6e 20 74 69 6d 65 |nd creat|ion time|
|00001f50| 73 74 61 6d 70 2c 20 61 | 6e 64 20 74 68 65 20 73 |stamp, a|nd the s|
|00001f60| 69 67 6e 61 74 75 72 65 | 73 2e 0a 58 23 09 48 6f |ignature|s..X#.Ho|
|00001f70| 77 65 76 65 72 2c 20 69 | 74 20 77 69 6c 6c 20 69 |wever, i|t will i|
|00001f80| 67 6e 6f 72 65 20 61 6e | 79 20 63 68 61 6e 67 65 |gnore an|y change|
|00001f90| 73 20 69 6e 20 74 68 65 | 20 61 63 63 65 73 73 20 |s in the| access |
|00001fa0| 74 69 6d 65 73 74 61 6d | 70 2e 0a 58 23 0a 58 23 |timestam|p..X#.X#|
|00001fb0| 09 2f 65 74 63 09 2b 70 | 69 6e 75 67 73 6d 31 32 |./etc.+p|inugsm12|
|00001fc0| 2d 61 0a 58 23 0a 58 23 | 20 54 68 65 20 66 6f 6c |-a.X#.X#| The fol|
|00001fd0| 6c 6f 77 69 6e 67 20 74 | 65 6d 70 6c 61 74 65 73 |lowing t|emplates|
|00001fe0| 20 68 61 76 65 20 62 65 | 65 6e 20 70 72 65 2d 64 | have be|en pre-d|
|00001ff0| 65 66 69 6e 65 64 20 74 | 6f 20 6d 61 6b 65 20 74 |efined t|o make t|
|00002000| 68 65 73 65 20 6c 6f 6e | 67 20 69 67 6e 6f 72 65 |hese lon|g ignore|
|00002010| 0a 58 23 20 6d 61 73 6b | 20 64 65 73 63 72 69 70 |.X# mask| descrip|
|00002020| 74 69 6f 6e 73 20 75 6e | 65 63 65 73 73 61 72 79 |tions un|ecessary|
|00002030| 2e 0a 58 23 0a 58 23 20 | 54 65 6d 70 6c 61 74 65 |..X#.X# |Template|
|00002040| 73 3a 20 09 28 64 65 66 | 61 75 6c 74 29 09 52 20 |s: .(def|ault).R |
|00002050| 3a 20 20 5b 52 5d 65 61 | 64 2d 6f 6e 6c 79 20 28 |: [R]ea|d-only (|
|00002060| 2b 70 69 6e 75 67 73 6d | 31 32 2d 61 29 0a 58 23 |+pinugsm|12-a).X#|
|00002070| 09 09 09 09 4c 20 3a 20 | 20 5b 4c 5d 6f 67 20 66 |....L : | [L]og f|
|00002080| 69 6c 65 20 28 2b 70 69 | 6e 75 67 2d 73 61 6d 31 |ile (+pi|nug-sam1|
|00002090| 32 29 0a 58 23 09 09 09 | 09 4e 20 3a 20 20 69 67 |2).X#...|.N : ig|
|000020a0| 6e 6f 72 65 20 5b 4e 5d | 6f 74 68 69 6e 67 20 28 |nore [N]|othing (|
|000020b0| 2b 70 69 6e 75 73 67 73 | 61 6d 63 31 32 29 0a 58 |+pinusgs|amc12).X|
|000020c0| 23 09 09 09 09 45 20 3a | 20 20 69 67 6e 6f 72 65 |#....E :| ignore|
|000020d0| 20 5b 45 5d 76 65 72 79 | 74 68 69 6e 67 20 28 2d | [E]very|thing (-|
|000020e0| 70 69 6e 75 73 67 73 61 | 6d 63 31 32 29 0a 58 23 |pinusgsa|mc12).X#|
|000020f0| 0a 58 23 20 42 79 20 64 | 65 66 61 75 6c 74 2c 20 |.X# By d|efault, |
|00002100| 54 72 69 70 77 69 72 65 | 20 75 73 65 73 20 74 68 |Tripwire| uses th|
|00002110| 65 20 52 20 74 65 6d 70 | 6c 61 74 65 20 2d 2d 20 |e R temp|late -- |
|00002120| 69 74 20 69 67 6e 6f 72 | 65 73 0a 58 23 20 6f 6e |it ignor|es.X# on|
|00002130| 6c 79 20 74 68 65 20 61 | 63 63 65 73 73 20 74 69 |ly the a|ccess ti|
|00002140| 6d 65 73 74 61 6d 70 2e | 0a 58 23 0a 58 23 20 59 |mestamp.|.X#.X# Y|
|00002150| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 65 6d 70 6c |ou can u|se templ|
|00002160| 61 74 65 73 20 77 69 74 | 68 20 6d 6f 64 69 66 69 |ates wit|h modifi|
|00002170| 65 72 73 2c 20 6c 69 6b | 65 3a 0a 58 23 09 45 78 |ers, lik|e:.X#.Ex|
|00002180| 3a 20 20 2f 65 74 63 2f | 6c 70 09 45 2b 75 67 0a |: /etc/|lp.E+ug.|
|00002190| 58 23 0a 58 23 09 45 78 | 61 6d 70 6c 65 20 63 6f |X#.X#.Ex|ample co|
|000021a0| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 66 69 6c 65 |nfigurat|ion file|
|000021b0| 3a 0a 58 23 09 09 2f 65 | 74 63 09 09 52 09 23 20 |:.X#../e|tc..R.# |
|000021c0| 61 6c 6c 20 73 79 73 74 | 65 6d 20 66 69 6c 65 73 |all syst|em files|
|000021d0| 0a 58 23 09 09 21 2f 65 | 74 63 2f 6c 70 09 52 09 |.X#..!/e|tc/lp.R.|
|000021e0| 23 20 2e 2e 2e 62 75 74 | 20 6e 6f 74 20 74 68 6f |# ...but| not tho|
|000021f0| 73 65 20 6c 6f 67 73 0a | 58 23 09 09 3d 2f 74 6d |se logs.|X#..=/tm|
|00002200| 70 09 09 4e 09 23 20 6a | 75 73 74 20 74 68 65 20 |p..N.# j|ust the |
|00002210| 64 69 72 65 63 74 6f 72 | 79 2c 20 6e 6f 74 20 69 |director|y, not i|
|00002220| 74 73 20 66 69 6c 65 73 | 0a 58 23 0a 58 23 20 4e |ts files|.X#.X# N|
|00002230| 6f 74 65 20 74 68 65 20 | 64 69 66 66 65 72 65 6e |ote the |differen|
|00002240| 63 65 20 62 65 74 77 65 | 65 6e 20 70 72 75 6e 69 |ce betwe|en pruni|
|00002250| 6e 67 20 28 76 69 61 20 | 22 21 22 29 20 61 6e 64 |ng (via |"!") and|
|00002260| 20 69 67 6e 6f 72 69 6e | 67 20 65 76 65 72 79 74 | ignorin|g everyt|
|00002270| 68 69 6e 67 0a 58 23 20 | 28 76 69 61 20 22 45 22 |hing.X# |(via "E"|
|00002280| 20 74 65 6d 70 6c 61 74 | 65 29 3a 20 20 49 67 6e | templat|e): Ign|
|00002290| 6f 72 69 6e 67 20 65 76 | 65 72 79 74 68 69 6e 67 |oring ev|erything|
|000022a0| 20 69 6e 20 61 20 64 69 | 72 65 63 74 6f 72 79 20 | in a di|rectory |
|000022b0| 73 74 69 6c 6c 20 6d 6f | 6e 69 74 6f 72 73 0a 58 |still mo|nitors.X|
|000022c0| 23 20 66 6f 72 20 61 64 | 64 65 64 20 61 6e 64 20 |# for ad|ded and |
|000022d0| 64 65 6c 65 74 65 64 20 | 66 69 6c 65 73 2e 20 20 |deleted |files. |
|000022e0| 50 72 75 6e 69 6e 67 20 | 61 20 64 69 72 65 63 74 |Pruning |a direct|
|000022f0| 6f 72 79 20 77 69 6c 6c | 20 70 72 65 76 65 6e 74 |ory will| prevent|
|00002300| 20 54 72 69 70 77 69 72 | 65 0a 58 23 20 66 72 6f | Tripwir|e.X# fro|
|00002310| 6d 20 65 76 65 6e 20 6c | 6f 6f 6b 69 6e 67 20 69 |m even l|ooking i|
|00002320| 6e 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |n the sp|ecified |
|00002330| 64 69 72 65 63 74 6f 72 | 79 2e 0a 58 23 0a 58 23 |director|y..X#.X#|
|00002340| 0a 58 23 20 54 72 69 70 | 77 69 72 65 20 72 75 6e |.X# Trip|wire run|
|00002350| 6e 69 6e 67 20 73 6c 6f | 77 6c 79 3f 20 20 4d 6f |ning slo|wly? Mo|
|00002360| 64 69 66 79 20 79 6f 75 | 72 20 74 72 69 70 77 69 |dify you|r tripwi|
|00002370| 72 65 2e 63 6f 6e 66 69 | 67 20 65 6e 74 72 69 65 |re.confi|g entrie|
|00002380| 73 20 74 6f 0a 58 23 20 | 69 67 6e 6f 72 65 20 74 |s to.X# |ignore t|
|00002390| 68 65 20 28 73 69 67 6e | 61 74 75 72 65 20 32 29 |he (sign|ature 2)|
|000023a0| 20 61 74 74 72 69 62 75 | 74 65 20 77 68 65 6e 20 | attribu|te when |
|000023b0| 74 68 69 73 20 63 6f 6d | 70 75 74 61 74 69 6f 6e |this com|putation|
|000023c0| 61 6c 6c 79 2d 65 78 6f | 72 62 69 74 61 6e 74 20 |ally-exo|rbitant |
|000023d0| 0a 58 23 20 70 72 6f 74 | 65 63 74 69 6f 6e 20 69 |.X# prot|ection i|
|000023e0| 73 20 6e 6f 74 20 6e 65 | 65 64 65 64 2e 20 20 28 |s not ne|eded. (|
|000023f0| 53 65 65 20 52 45 41 44 | 4d 45 20 61 6e 64 20 64 |See READ|ME and d|
|00002400| 65 73 69 67 6e 20 64 6f | 63 75 6d 65 6e 74 20 66 |esign do|cument f|
|00002410| 6f 72 20 66 75 72 74 68 | 65 72 0a 58 23 20 64 65 |or furth|er.X# de|
|00002420| 74 61 69 6c 73 2e 29 0a | 58 23 0a 58 0a 58 23 20 |tails.).|X#.X.X# |
|00002430| 20 46 69 72 73 74 2c 20 | 72 6f 6f 74 27 73 20 22 | First, |root's "|
|00002440| 68 6f 6d 65 22 0a 58 3d | 2f 09 09 4c 0a 58 2f 2e |home".X=|/..L.X/.|
|00002450| 72 68 6f 73 74 73 09 52 | 09 23 20 6d 61 79 20 6e |rhosts.R|.# may n|
|00002460| 6f 74 20 65 78 69 73 74 | 0a 58 2f 2e 70 72 6f 66 |ot exist|.X/.prof|
|00002470| 69 6c 65 09 52 09 23 20 | 6d 61 79 20 6e 6f 74 20 |ile.R.# |may not |
|00002480| 65 78 69 73 74 0a 58 2f | 2e 63 73 68 72 63 09 09 |exist.X/|.cshrc..|
|00002490| 52 09 23 20 6d 61 79 20 | 6e 6f 74 20 65 78 69 73 |R.# may |not exis|
|000024a0| 74 0a 58 2f 2e 6c 6f 67 | 69 6e 09 09 52 09 23 20 |t.X/.log|in..R.# |
|000024b0| 6d 61 79 20 6e 6f 74 20 | 65 78 69 73 74 0a 58 2f |may not |exist.X/|
|000024c0| 2e 65 78 72 63 09 09 52 | 09 23 20 6d 61 79 20 6e |.exrc..R|.# may n|
|000024d0| 6f 74 20 65 78 69 73 74 | 0a 58 2f 2e 6c 6f 67 6f |ot exist|.X/.logo|
|000024e0| 75 74 09 52 09 23 20 6d | 61 79 20 6e 6f 74 20 65 |ut.R.# m|ay not e|
|000024f0| 78 69 73 74 0a 58 2f 2e | 65 6d 61 63 73 09 09 52 |xist.X/.|emacs..R|
|00002500| 09 23 20 6d 61 79 20 6e | 6f 74 20 65 78 69 73 74 |.# may n|ot exist|
|00002510| 0a 58 2f 2e 66 6f 72 77 | 61 72 64 09 52 09 23 20 |.X/.forw|ard.R.# |
|00002520| 6d 61 79 20 6e 6f 74 20 | 65 78 69 73 74 0a 58 2f |may not |exist.X/|
|00002530| 2e 6e 65 74 72 63 09 09 | 52 09 23 20 6d 61 79 20 |.netrc..|R.# may |
|00002540| 6e 6f 74 20 65 78 69 73 | 74 0a 58 0a 58 23 20 55 |not exis|t.X.X# U|
|00002550| 6e 69 78 20 69 74 73 65 | 6c 66 0a 58 2f 33 38 36 |nix itse|lf.X/386|
|00002560| 62 73 64 09 09 52 0a 58 | 0a 58 23 20 2f 62 69 6e |bsd..R.X|.X# /bin|
|00002570| 20 61 6e 64 20 65 78 63 | 65 70 74 69 6f 6e 73 0a | and exc|eptions.|
|00002580| 58 2f 62 69 6e 09 09 52 | 2d 32 0a 58 2f 62 69 6e |X/bin..R|-2.X/bin|
|00002590| 2f 6d 61 69 6c 09 52 0a | 58 2f 62 69 6e 2f 72 63 |/mail.R.|X/bin/rc|
|000025a0| 70 09 52 0a 58 2f 62 69 | 6e 2f 72 6e 65 77 73 09 |p.R.X/bi|n/rnews.|
|000025b0| 52 0a 58 0a 58 23 20 2f | 64 65 76 0a 58 2f 64 65 |R.X.X# /|dev.X/de|
|000025c0| 76 09 20 09 4c 0a 58 0a | 58 23 20 2f 65 74 63 20 |v. .L.X.|X# /etc |
|000025d0| 61 6e 64 20 65 78 63 65 | 70 74 69 6f 6e 73 0a 58 |and exce|ptions.X|
|000025e0| 2f 65 74 63 09 09 09 52 | 2d 32 0a 58 2f 65 74 63 |/etc...R|-2.X/etc|
|000025f0| 2f 61 6c 69 61 73 65 73 | 09 20 09 4c 0a 58 2f 65 |/aliases|. .L.X/e|
|00002600| 74 63 2f 64 61 69 6c 79 | 09 09 4c 0a 58 2f 65 74 |tc/daily|..L.X/et|
|00002610| 63 2f 64 69 73 6b 74 61 | 62 09 09 4c 0a 58 2f 65 |c/diskta|b..L.X/e|
|00002620| 74 63 2f 64 75 6d 70 64 | 61 74 65 73 09 09 4c 0a |tc/dumpd|ates..L.|
|00002630| 58 2f 65 74 63 2f 6d 61 | 73 74 65 72 2e 70 61 73 |X/etc/ma|ster.pas|
|00002640| 73 77 64 09 4c 0a 58 2f | 65 74 63 2f 6d 6f 6e 74 |swd.L.X/|etc/mont|
|00002650| 68 6c 79 09 09 4c 0a 58 | 2f 65 74 63 2f 6d 6f 74 |hly..L.X|/etc/mot|
|00002660| 64 09 09 4c 0a 58 2f 65 | 74 63 2f 70 61 73 73 77 |d..L.X/e|tc/passw|
|00002670| 64 09 09 4c 0a 58 2f 65 | 74 63 2f 70 77 64 2e 64 |d..L.X/e|tc/pwd.d|
|00002680| 62 09 09 4c 0a 58 2f 65 | 74 63 2f 73 70 77 64 2e |b..L.X/e|tc/spwd.|
|00002690| 64 62 09 09 4c 0a 58 2f | 65 74 63 2f 75 75 63 70 |db..L.X/|etc/uucp|
|000026a0| 09 09 4c 0a 58 2f 65 74 | 63 2f 77 65 65 6b 6c 79 |..L.X/et|c/weekly|
|000026b0| 09 09 4c 0a 58 0a 58 23 | 20 2f 68 6f 6d 65 0a 58 |..L.X.X#| /home.X|
|000026c0| 3d 2f 68 6f 6d 65 0a 58 | 0a 58 23 20 2f 6e 65 77 |=/home.X|.X# /new|
|000026d0| 73 2f 6c 69 62 0a 58 2f | 6e 65 77 73 2f 6c 69 62 |s/lib.X/|news/lib|
|000026e0| 2f 69 6e 65 77 73 09 09 | 52 0a 58 2f 6e 65 77 73 |/inews..|R.X/news|
|000026f0| 2f 6c 69 62 2f 6e 6e 6d | 61 73 74 65 72 09 52 0a |/lib/nnm|aster.R.|
|00002700| 58 0a 58 23 20 2f 72 6f | 6f 74 0a 58 2f 72 6f 6f |X.X# /ro|ot.X/roo|
|00002710| 74 09 09 09 52 2d 32 0a | 58 2f 72 6f 6f 74 2f 2e |t...R-2.|X/root/.|
|00002720| 68 69 73 74 6f 72 79 09 | 09 4c 0a 58 0a 58 23 20 |history.|.L.X.X# |
|00002730| 2f 73 62 69 6e 0a 58 2f | 73 62 69 6e 09 09 09 52 |/sbin.X/|sbin...R|
|00002740| 2d 32 0a 58 0a 58 23 20 | 2f 75 73 72 2f 62 69 6e |-2.X.X# |/usr/bin|
|00002750| 0a 58 2f 75 73 72 2f 62 | 69 6e 09 09 52 2d 32 0a |.X/usr/b|in..R-2.|
|00002760| 58 0a 58 2f 75 73 72 2f | 69 6e 63 6c 75 64 65 09 |X.X/usr/|include.|
|00002770| 09 52 2d 31 32 0a 58 0a | 58 2f 75 73 72 2f 6c 69 |.R-12.X.|X/usr/li|
|00002780| 62 09 09 52 2d 32 0a 58 | 0a 58 2f 75 73 72 2f 6c |b..R-2.X|.X/usr/l|
|00002790| 69 62 65 78 65 63 09 09 | 52 2d 32 0a 58 0a 58 2f |ibexec..|R-2.X.X/|
|000027a0| 75 73 72 2f 6c 6f 63 61 | 6c 2f 62 69 6e 09 09 52 |usr/loca|l/bin..R|
|000027b0| 2d 32 0a 58 0a 58 2f 75 | 73 72 2f 6c 6f 63 61 6c |-2.X.X/u|sr/local|
|000027c0| 2f 65 74 63 09 09 4c 0a | 58 0a 58 2f 75 73 72 2f |/etc..L.|X.X/usr/|
|000027d0| 6c 6f 63 61 6c 2f 6c 69 | 62 2f 6d 61 69 6c 09 4c |local/li|b/mail.L|
|000027e0| 0a 58 0a 58 2f 75 73 72 | 2f 73 62 69 6e 09 09 52 |.X.X/usr|/sbin..R|
|000027f0| 2d 32 0a 58 0a 58 2f 75 | 73 72 2f 73 72 63 2f 62 |-2.X.X/u|sr/src/b|
|00002800| 69 6e 09 09 52 2d 32 0a | 58 2f 75 73 72 2f 73 72 |in..R-2.|X/usr/sr|
|00002810| 63 2f 6c 69 62 09 09 52 | 2d 32 0a 58 2f 75 73 72 |c/lib..R|-2.X/usr|
|00002820| 2f 73 72 63 2f 6c 69 62 | 65 78 65 63 09 52 2d 32 |/src/lib|exec.R-2|
|00002830| 0a 58 2f 75 73 72 2f 73 | 72 63 2f 73 62 69 6e 09 |.X/usr/s|rc/sbin.|
|00002840| 09 52 2d 32 0a 58 2f 75 | 73 72 2f 73 72 63 2f 75 |.R-2.X/u|sr/src/u|
|00002850| 73 72 2e 62 69 6e 09 52 | 2d 32 0a 58 2f 75 73 72 |sr.bin.R|-2.X/usr|
|00002860| 2f 73 72 63 2f 75 73 72 | 2e 73 62 69 6e 09 52 2d |/src/usr|.sbin.R-|
|00002870| 32 0a 58 2f 75 73 72 2f | 73 72 63 2f 73 79 73 2e |2.X/usr/|src/sys.|
|00002880| 33 38 36 62 73 64 09 52 | 2d 32 0a 58 21 2f 75 73 |386bsd.R|-2.X!/us|
|00002890| 72 2f 73 72 63 2f 73 79 | 73 2e 33 38 36 62 73 64 |r/src/sy|s.386bsd|
|000028a0| 2f 63 6f 6d 70 69 6c 65 | 0a 58 21 2f 75 73 72 2f |/compile|.X!/usr/|
|000028b0| 73 72 63 2f 73 79 73 2e | 33 38 36 62 73 64 2f 63 |src/sys.|386bsd/c|
|000028c0| 6f 6e 66 0a 58 21 2f 75 | 73 72 2f 73 72 63 2f 73 |onf.X!/u|sr/src/s|
|000028d0| 79 73 2e 33 38 36 62 73 | 64 2f 69 33 38 36 2f 63 |ys.386bs|d/i386/c|
|000028e0| 6f 6e 66 0a 58 0a 58 23 | 23 23 23 23 23 23 23 23 |onf.X.X#|########|
|000028f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002900| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002910| 23 23 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |##.END_O|F_FILE.i|
|00002920| 66 20 74 65 73 74 20 33 | 36 37 38 20 2d 6e 65 20 |f test 3|678 -ne |
|00002930| 60 77 63 20 2d 63 20 3c | 27 74 72 69 70 77 69 72 |`wc -c <|'tripwir|
|00002940| 65 2d 31 2e 31 2f 63 6f | 6e 66 69 67 73 2f 74 77 |e-1.1/co|nfigs/tw|
|00002950| 2e 63 6f 6e 66 2e 33 38 | 36 62 73 64 27 60 3b 20 |.conf.38|6bsd'`; |
|00002960| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00002970| 61 72 3a 20 5c 22 27 74 | 72 69 70 77 69 72 65 2d |ar: \"'t|ripwire-|
|00002980| 31 2e 31 2f 63 6f 6e 66 | 69 67 73 2f 74 77 2e 63 |1.1/conf|igs/tw.c|
|00002990| 6f 6e 66 2e 33 38 36 62 | 73 64 27 5c 22 20 75 6e |onf.386b|sd'\" un|
|000029a0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000029b0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|000029c0| 20 6f 66 20 27 74 72 69 | 70 77 69 72 65 2d 31 2e | of 'tri|pwire-1.|
|000029d0| 31 2f 63 6f 6e 66 69 67 | 73 2f 74 77 2e 63 6f 6e |1/config|s/tw.con|
|000029e0| 66 2e 33 38 36 62 73 64 | 27 0a 66 69 0a 69 66 20 |f.386bsd|'.fi.if |
|000029f0| 74 65 73 74 20 2d 66 20 | 27 74 72 69 70 77 69 72 |test -f |'tripwir|
|00002a00| 65 2d 31 2e 31 2f 73 72 | 63 2f 63 6f 6e 66 69 67 |e-1.1/sr|c/config|
|00002a10| 2e 70 72 65 2e 6c 27 20 | 2d 61 20 22 24 7b 31 7d |.pre.l' |-a "${1}|
|00002a20| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00002a30| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00002a40| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00002a50| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00002a60| 27 74 72 69 70 77 69 72 | 65 2d 31 2e 31 2f 73 72 |'tripwir|e-1.1/sr|
|00002a70| 63 2f 63 6f 6e 66 69 67 | 2e 70 72 65 2e 6c 27 5c |c/config|.pre.l'\|
|00002a80| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00002a90| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00002aa0| 74 72 69 70 77 69 72 65 | 2d 31 2e 31 2f 73 72 63 |tripwire|-1.1/src|
|00002ab0| 2f 63 6f 6e 66 69 67 2e | 70 72 65 2e 6c 27 5c 22 |/config.|pre.l'\"|
|00002ac0| 20 5c 28 33 32 32 34 20 | 63 68 61 72 61 63 74 65 | \(3224 |characte|
|00002ad0| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00002ae0| 22 20 3e 27 74 72 69 70 | 77 69 72 65 2d 31 2e 31 |" >'trip|wire-1.1|
|00002af0| 2f 73 72 63 2f 63 6f 6e | 66 69 67 2e 70 72 65 2e |/src/con|fig.pre.|
|00002b00| 6c 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |l' <<'EN|D_OF_FIL|
|00002b10| 45 27 0a 58 25 7b 0a 58 | 2f 2a 20 24 49 64 3a 20 |E'.X%{.X|/* $Id: |
|00002b20| 63 6f 6e 66 69 67 2e 70 | 72 65 2e 6c 2c 76 20 31 |config.p|re.l,v 1|
|00002b30| 2e 38 20 31 39 39 33 2f | 31 32 2f 30 32 20 31 38 |.8 1993/|12/02 18|
|00002b40| 3a 30 33 3a 31 37 20 67 | 65 6e 65 6b 20 45 78 70 |:03:17 g|enek Exp|
|00002b50| 20 24 20 2a 2f 0a 58 0a | 58 2f 2a 0a 58 20 2a 20 | $ */.X.|X/*.X * |
|00002b60| 63 6f 6e 66 69 67 2e 70 | 72 65 2e 6c 0a 58 20 2a |config.p|re.l.X *|
|00002b70| 0a 58 20 2a 09 6c 65 78 | 69 63 61 6c 20 61 6e 61 |.X *.lex|ical ana|
|00002b80| 6c 79 7a 65 72 20 66 6f | 72 20 70 72 65 70 72 6f |lyzer fo|r prepro|
|00002b90| 63 65 73 73 69 6e 67 20 | 74 77 2e 63 6f 6e 66 69 |cessing |tw.confi|
|00002ba0| 67 20 66 69 6c 65 73 2e | 0a 58 20 2a 0a 58 20 2a |g files.|.X *.X *|
|00002bb0| 09 6e 6f 74 65 20 74 68 | 61 74 20 65 73 63 61 70 |.note th|at escap|
|00002bc0| 65 64 20 73 65 71 75 65 | 6e 63 65 73 20 69 6e 20 |ed seque|nces in |
|00002bd0| 74 68 65 20 3c 73 74 72 | 69 6e 67 3e 20 74 6f 6b |the <str|ing> tok|
|00002be0| 65 6e 20 6d 75 73 74 20 | 62 65 20 0a 58 20 2a 09 |en must |be .X *.|
|00002bf0| 65 78 70 61 6e 64 65 64 | 20 6d 61 6e 75 61 6c 6c |expanded| manuall|
|00002c00| 79 2e 0a 58 20 2a 0a 58 | 20 2a 20 47 65 6e 65 20 |y..X *.X| * Gene |
|00002c10| 4b 69 6d 0a 58 20 2a 20 | 50 75 72 64 75 65 20 55 |Kim.X * |Purdue U|
|00002c20| 6e 69 76 65 72 73 69 74 | 79 0a 58 20 2a 20 4f 63 |niversit|y.X * Oc|
|00002c30| 74 6f 62 65 72 20 34 2c | 20 31 39 39 32 0a 58 20 |tober 4,| 1992.X |
|00002c40| 2a 2f 0a 58 0a 58 09 09 | 09 2f 2a 20 0a 58 09 09 |*/.X.X..|./* .X..|
|00002c50| 09 20 2a 20 6e 6f 74 65 | 20 74 68 61 74 20 73 74 |. * note| that st|
|00002c60| 72 69 6e 67 73 20 63 61 | 6e 20 63 6f 6e 74 61 69 |rings ca|n contai|
|00002c70| 6e 20 27 40 27 73 2c 20 | 62 75 74 20 74 68 65 79 |n '@'s, |but they|
|00002c80| 0a 58 09 09 09 20 2a 20 | 63 61 6e 6e 6f 74 20 73 |.X... * |cannot s|
|00002c90| 74 61 72 74 20 77 69 74 | 68 20 74 68 65 6d 21 20 |tart wit|h them! |
|00002ca0| 0a 58 09 09 09 20 2a 0a | 58 09 09 09 20 2a 20 73 |.X... *.|X... * s|
|00002cb0| 69 6d 69 6c 61 72 6c 79 | 2c 20 77 65 20 63 61 6e |imilarly|, we can|
|00002cc0| 20 68 61 76 65 20 23 27 | 73 20 69 6e 20 73 74 72 | have #'|s in str|
|00002cd0| 69 6e 67 73 2c 20 62 75 | 74 20 74 68 65 79 0a 58 |ings, bu|t they.X|
|00002ce0| 09 09 09 20 2a 20 63 61 | 6e 6e 6f 74 20 62 65 20 |... * ca|nnot be |
|00002cf0| 74 68 65 20 66 69 72 73 | 74 20 63 68 61 72 61 63 |the firs|t charac|
|00002d00| 74 65 72 21 20 0a 58 09 | 09 09 20 2a 2f 0a 58 0a |ter! .X.|.. */.X.|
|00002d10| 58 25 7d 0a 58 0a 58 57 | 53 09 09 09 5b 20 5c 74 |X%}.X.XW|S...[ \t|
|00002d20| 5d 0a 58 43 4f 4d 4d 45 | 4e 54 09 09 09 5b 23 5d |].XCOMME|NT...[#]|
|00002d30| 0a 58 45 4f 4c 09 09 09 | 5b 5c 6e 5d 0a 58 44 49 |.XEOL...|[\n].XDI|
|00002d40| 52 45 43 54 49 56 45 09 | 09 40 7b 32 2c 32 7d 0a |RECTIVE.|.@{2,2}.|
|00002d50| 58 53 54 52 49 4e 47 09 | 09 09 28 5b 5e 20 5c 74 |XSTRING.|..([^ \t|
|00002d60| 5c 6e 5c 23 5c 28 5c 29 | 5d 7c 5c 5c 2e 29 2b 28 |\n\#\(\)|]|\\.)+(|
|00002d70| 5b 5e 20 5c 74 5c 6e 5c | 28 5c 29 5d 7c 5c 5c 2e |[^ \t\n\|(\)]|\\.|
|00002d80| 29 2a 0a 58 4c 50 41 52 | 45 4e 09 09 09 5b 5c 28 |)*.XLPAR|EN...[\(|
|00002d90| 5d 0a 58 52 50 41 52 45 | 4e 09 09 09 5b 5c 29 5d |].XRPARE|N...[\)]|
|00002da0| 0a 58 41 4e 44 41 4e 44 | 09 09 09 5c 26 7b 32 2c |.XANDAND|...\&{2,|
|00002db0| 32 7d 0a 58 4f 52 4f 52 | 09 09 09 5c 7c 7b 32 2c |2}.XOROR|...\|{2,|
|00002dc0| 32 7d 0a 58 42 53 4c 41 | 53 48 09 09 09 5b 5c 5c |2}.XBSLA|SH...[\\|
|00002dd0| 5d 0a 58 0a 58 25 25 0a | 58 0a 58 7b 57 53 7d 2b |].X.X%%.|X.X{WS}+|
|00002de0| 09 09 09 7b 20 2f 2a 20 | 65 61 74 20 73 70 61 63 |...{ /* |eat spac|
|00002df0| 65 73 20 2a 2f 20 7d 0a | 58 7b 42 53 4c 41 53 48 |es */ }.|X{BSLASH|
|00002e00| 7d 7b 45 4f 4c 7d 09 09 | 7b 20 20 20 0a 58 09 09 |}{EOL}..|{ .X..|
|00002e10| 09 20 20 20 20 2f 2a 20 | 65 61 74 20 6c 69 6e 65 |. /* |eat line|
|00002e20| 20 63 6f 6e 74 69 6e 75 | 61 74 69 6f 6e 73 20 2a | continu|ations *|
|00002e30| 2f 20 0a 58 09 09 09 20 | 20 20 20 6c 69 6e 65 6e |/ .X... | linen|
|00002e40| 75 6d 62 65 72 2b 2b 3b | 20 0a 58 09 09 09 7d 0a |umber++;| .X...}.|
|00002e50| 58 7b 43 4f 4d 4d 45 4e | 54 7d 5b 5e 5c 6e 5d 2a |X{COMMEN|T}[^\n]*|
|00002e60| 09 09 7b 20 2f 2a 20 65 | 61 74 20 63 6f 6d 6d 65 |..{ /* e|at comme|
|00002e70| 6e 74 73 20 2a 2f 20 7d | 0a 58 0a 58 5e 7b 44 49 |nts */ }|.X.X^{DI|
|00002e80| 52 45 43 54 49 56 45 7d | 7b 57 53 7d 2a 69 6e 63 |RECTIVE}|{WS}*inc|
|00002e90| 6c 75 64 65 09 7b 20 72 | 65 74 75 72 6e 20 49 4e |lude.{ r|eturn IN|
|00002ea0| 43 4c 55 44 45 3b 20 7d | 0a 58 5e 7b 44 49 52 45 |CLUDE; }|.X^{DIRE|
|00002eb0| 43 54 49 56 45 7d 7b 57 | 53 7d 2a 64 65 66 69 6e |CTIVE}{W|S}*defin|
|00002ec0| 65 09 09 7b 20 72 65 74 | 75 72 6e 20 44 45 46 49 |e..{ ret|urn DEFI|
|00002ed0| 4e 45 3b 20 7d 0a 58 5e | 7b 44 49 52 45 43 54 49 |NE; }.X^|{DIRECTI|
|00002ee0| 56 45 7d 7b 57 53 7d 2a | 75 6e 64 65 66 09 09 7b |VE}{WS}*|undef..{|
|00002ef0| 20 72 65 74 75 72 6e 20 | 55 4e 44 45 46 3b 20 7d | return |UNDEF; }|
|00002f00| 0a 58 5e 7b 44 49 52 45 | 43 54 49 56 45 7d 7b 57 |.X^{DIRE|CTIVE}{W|
|00002f10| 53 7d 2a 69 66 64 65 66 | 09 09 7b 20 72 65 74 75 |S}*ifdef|..{ retu|
|00002f20| 72 6e 20 49 46 44 45 46 | 3b 20 7d 0a 58 5e 7b 44 |rn IFDEF|; }.X^{D|
|00002f30| 49 52 45 43 54 49 56 45 | 7d 7b 57 53 7d 2a 69 66 |IRECTIVE|}{WS}*if|
|00002f40| 6e 64 65 66 09 09 7b 20 | 72 65 74 75 72 6e 20 49 |ndef..{ |return I|
|00002f50| 46 4e 44 45 46 3b 20 7d | 0a 58 5e 7b 44 49 52 45 |FNDEF; }|.X^{DIRE|
|00002f60| 43 54 49 56 45 7d 7b 57 | 53 7d 2a 69 66 68 6f 73 |CTIVE}{W|S}*ifhos|
|00002f70| 74 09 09 7b 20 72 65 74 | 75 72 6e 20 49 46 48 4f |t..{ ret|urn IFHO|
|00002f80| 53 54 3b 20 7d 0a 58 5e | 7b 44 49 52 45 43 54 49 |ST; }.X^|{DIRECTI|
|00002f90| 56 45 7d 7b 57 53 7d 2a | 69 66 6e 68 6f 73 74 09 |VE}{WS}*|ifnhost.|
|00002fa0| 7b 20 72 65 74 75 72 6e | 20 49 46 4e 48 4f 53 54 |{ return| IFNHOST|
|00002fb0| 3b 20 7d 0a 58 5e 7b 44 | 49 52 45 43 54 49 56 45 |; }.X^{D|IRECTIVE|
|00002fc0| 7d 7b 57 53 7d 2a 63 6f | 6e 74 65 6e 74 73 09 7b |}{WS}*co|ntents.{|
|00002fd0| 20 72 65 74 75 72 6e 20 | 43 4f 4e 54 45 4e 54 53 | return |CONTENTS|
|00002fe0| 3b 20 7d 0a 58 5e 7b 44 | 49 52 45 43 54 49 56 45 |; }.X^{D|IRECTIVE|
|00002ff0| 7d 7b 57 53 7d 2a 64 62 | 61 73 65 76 65 72 73 69 |}{WS}*db|aseversi|
|00003000| 6f 6e 09 7b 20 72 65 74 | 75 72 6e 20 44 42 41 53 |on.{ ret|urn DBAS|
|00003010| 45 56 45 52 53 49 4f 4e | 3b 20 7d 0a 58 5e 7b 44 |EVERSION|; }.X^{D|
|00003020| 49 52 45 43 54 49 56 45 | 7d 7b 57 53 7d 2a 65 6c |IRECTIVE|}{WS}*el|
|00003030| 73 65 09 09 7b 20 72 65 | 74 75 72 6e 20 45 4c 53 |se..{ re|turn ELS|
|00003040| 45 3b 20 7d 0a 58 5e 7b | 44 49 52 45 43 54 49 56 |E; }.X^{|DIRECTIV|
|00003050| 45 7d 7b 57 53 7d 2a 65 | 6e 64 69 66 09 09 7b 20 |E}{WS}*e|ndif..{ |
|00003060| 72 65 74 75 72 6e 20 45 | 4e 44 49 46 3b 20 7d 0a |return E|NDIF; }.|
|00003070| 58 5e 7b 44 49 52 45 43 | 54 49 56 45 7d 7b 57 53 |X^{DIREC|TIVE}{WS|
|00003080| 7d 2a 65 63 68 6f 09 09 | 7b 20 72 65 74 75 72 6e |}*echo..|{ return|
|00003090| 20 45 43 48 4f 54 48 49 | 53 3b 20 7d 0a 58 7b 45 | ECHOTHI|S; }.X{E|
|000030a0| 4f 4c 7d 09 09 09 7b 20 | 6c 69 6e 65 6e 75 6d 62 |OL}...{ |linenumb|
|000030b0| 65 72 2b 2b 3b 20 72 65 | 74 75 72 6e 20 45 4f 4c |er++; re|turn EOL|
|000030c0| 3b 20 7d 0a 58 7b 41 4e | 44 41 4e 44 7d 09 09 7b |; }.X{AN|DAND}..{|
|000030d0| 20 72 65 74 75 72 6e 20 | 41 4e 44 41 4e 44 3b 20 | return |ANDAND; |
|000030e0| 7d 0a 58 7b 4f 52 4f 52 | 7d 09 09 09 7b 20 72 65 |}.X{OROR|}...{ re|
|000030f0| 74 75 72 6e 20 4f 52 4f | 52 3b 20 7d 0a 58 7b 4c |turn ORO|R; }.X{L|
|00003100| 50 41 52 45 4e 7d 09 09 | 7b 20 72 65 74 75 72 6e |PAREN}..|{ return|
|00003110| 20 4c 50 41 52 45 4e 3b | 20 7d 0a 58 7b 52 50 41 | LPAREN;| }.X{RPA|
|00003120| 52 45 4e 7d 09 09 7b 20 | 72 65 74 75 72 6e 20 52 |REN}..{ |return R|
|00003130| 50 41 52 45 4e 3b 20 7d | 0a 58 7b 53 54 52 49 4e |PAREN; }|.X{STRIN|
|00003140| 47 7d 09 09 7b 0a 58 20 | 20 20 20 63 68 61 72 20 |G}..{.X | char |
|00003150| 2a 70 63 69 6e 2c 20 2a | 70 63 6f 75 74 2c 20 6d |*pcin, *|pcout, m|
|00003160| 61 63 72 6f 5b 31 30 32 | 34 5d 2c 20 2a 70 63 6d |acro[102|4], *pcm|
|00003170| 3b 0a 58 20 20 20 20 63 | 68 61 72 20 6f 75 74 73 |;.X c|har outs|
|00003180| 74 72 69 6e 67 5b 31 30 | 32 34 5d 3b 0a 58 20 20 |tring[10|24];.X |
|00003190| 20 20 63 68 61 72 20 2a | 70 63 74 6d 70 3b 0a 58 | char *|pctmp;.X|
|000031a0| 0a 58 20 20 20 20 79 79 | 74 65 78 74 5b 79 79 6c |.X yy|text[yyl|
|000031b0| 65 6e 67 5d 20 3d 20 27 | 5c 30 27 3b 0a 58 20 20 |eng] = '|\0';.X |
|000031c0| 20 20 79 79 6c 76 61 6c | 2e 73 74 72 69 6e 67 20 | yylval|.string |
|000031d0| 3d 20 79 79 74 65 78 74 | 3b 0a 58 0a 58 20 20 20 |= yytext|;.X.X |
|000031e0| 20 53 50 44 45 42 55 47 | 28 32 30 29 20 7b 20 70 | SPDEBUG|(20) { p|
|000031f0| 72 69 6e 74 66 28 22 2d | 2d 2d 28 70 72 65 73 74 |rintf("-|--(prest|
|00003200| 72 69 6e 67 29 2d 2d 2d | 3e 20 25 73 5c 6e 22 2c |ring)---|> %s\n",|
|00003210| 20 79 79 74 65 78 74 29 | 3b 20 7d 0a 58 0a 58 20 | yytext)|; }.X.X |
|00003220| 20 20 20 70 63 69 6e 20 | 3d 20 79 79 74 65 78 74 | pcin |= yytext|
|00003230| 3b 0a 58 20 20 20 20 70 | 63 6f 75 74 20 3d 20 6f |;.X p|cout = o|
|00003240| 75 74 73 74 72 69 6e 67 | 3b 0a 58 20 20 20 20 66 |utstring|;.X f|
|00003250| 6f 72 20 28 3b 20 2a 70 | 63 69 6e 3b 20 70 63 69 |or (; *p|cin; pci|
|00003260| 6e 2b 2b 29 20 7b 0a 58 | 09 2f 2a 20 63 68 65 63 |n++) {.X|./* chec|
|00003270| 6b 20 66 6f 72 20 6d 61 | 63 72 6f 20 65 78 70 61 |k for ma|cro expa|
|00003280| 6e 73 69 6f 6e 20 2a 2f | 0a 58 09 69 66 20 28 2a |nsion */|.X.if (*|
|00003290| 70 63 69 6e 20 3d 3d 20 | 27 40 27 20 26 26 20 2a |pcin == |'@' && *|
|000032a0| 28 70 63 69 6e 2b 31 29 | 20 26 26 20 2a 28 70 63 |(pcin+1)| && *(pc|
|000032b0| 69 6e 2b 31 29 20 3d 3d | 20 27 40 27 29 20 7b 0a |in+1) ==| '@') {.|
|000032c0| 58 09 20 20 20 20 69 6e | 74 20 63 75 72 6c 79 6d |X. in|t curlym|
|000032d0| 6f 64 65 20 3d 20 30 3b | 09 09 2f 2a 20 62 6f 75 |ode = 0;|../* bou|
|000032e0| 6e 64 65 64 20 62 79 20 | 27 7b 27 20 61 6e 64 20 |nded by |'{' and |
|000032f0| 27 7d 27 20 2a 2f 0a 58 | 09 20 20 20 20 70 63 6d |'}' */.X|. pcm|
|00003300| 20 3d 20 6d 61 63 72 6f | 3b 0a 58 09 20 20 20 20 | = macro|;.X. |
|00003310| 70 63 69 6e 20 2b 3d 20 | 32 3b 0a 58 09 20 20 20 |pcin += |2;.X. |
|00003320| 20 77 68 69 6c 65 20 28 | 2a 70 63 69 6e 20 26 26 | while (|*pcin &&|
|00003330| 20 69 73 61 6c 6e 75 6d | 28 2a 70 63 69 6e 29 20 | isalnum|(*pcin) |
|00003340| 7c 7c 20 2a 70 63 69 6e | 20 3d 3d 20 27 5f 27 20 ||| *pcin| == '_' |
|00003350| 7c 7c 0a 58 09 09 09 09 | 09 2a 70 63 69 6e 20 3d |||.X....|.*pcin =|
|00003360| 3d 20 27 7b 27 20 7c 7c | 20 2a 70 63 69 6e 20 3d |= '{' ||| *pcin =|
|00003370| 3d 20 27 7d 27 29 20 7b | 0a 58 09 09 69 66 20 28 |= '}') {|.X..if (|
|00003380| 2a 70 63 69 6e 20 3d 3d | 20 27 7b 27 29 20 7b 0a |*pcin ==| '{') {.|
|00003390| 58 09 09 20 20 20 20 2f | 2a 20 6e 65 73 74 65 64 |X.. /|* nested|
|000033a0| 20 63 75 72 6c 69 65 73 | 20 61 72 65 20 6e 6f 74 | curlies| are not|
|000033b0| 20 61 6c 6c 6f 77 65 64 | 21 20 2a 2f 0a 58 09 09 | allowed|! */.X..|
|000033c0| 20 20 20 20 69 66 20 28 | 63 75 72 6c 79 6d 6f 64 | if (|curlymod|
|000033d0| 65 29 20 7b 0a 58 09 09 | 09 66 70 72 69 6e 74 66 |e) {.X..|.fprintf|
|000033e0| 28 73 74 64 65 72 72 2c | 20 22 77 61 72 6e 69 6e |(stderr,| "warnin|
|000033f0| 67 3a 20 6c 69 6e 65 20 | 25 64 3a 20 6e 65 73 74 |g: line |%d: nest|
|00003400| 65 64 20 60 7b 7d 27 20 | 65 78 70 72 65 73 73 69 |ed `{}' |expressi|
|00003410| 6f 6e 73 20 61 72 65 20 | 6e 6f 74 20 61 6c 6c 6f |ons are |not allo|
|00003420| 77 65 64 21 5c 6e 22 2c | 20 6c 69 6e 65 6e 75 6d |wed!\n",| linenum|
|00003430| 62 65 72 29 3b 0a 58 09 | 09 20 20 20 20 7d 20 65 |ber);.X.|. } e|
|00003440| 6c 73 65 20 7b 0a 58 09 | 09 09 63 75 72 6c 79 6d |lse {.X.|..curlym|
|00003450| 6f 64 65 20 3d 20 31 3b | 0a 58 09 09 20 20 20 20 |ode = 1;|.X.. |
|00003460| 7d 0a 58 09 09 20 20 20 | 20 70 63 69 6e 2b 2b 3b |}.X.. | pcin++;|
|00003470| 0a 58 09 09 20 20 20 20 | 63 6f 6e 74 69 6e 75 65 |.X.. |continue|
|00003480| 3b 0a 58 09 09 7d 0a 58 | 09 09 69 66 20 28 63 75 |;.X..}.X|..if (cu|
|00003490| 72 6c 79 6d 6f 64 65 20 | 26 26 20 2a 70 63 69 6e |rlymode |&& *pcin|
|000034a0| 20 3d 3d 20 27 7d 27 29 | 20 7b 0a 58 09 09 20 20 | == '}')| {.X.. |
|000034b0| 20 20 70 63 69 6e 2b 2b | 3b 0a 58 09 09 20 20 20 | pcin++|;.X.. |
|000034c0| 20 63 75 72 6c 79 6d 6f | 64 65 20 3d 20 30 3b 0a | curlymo|de = 0;.|
|000034d0| 58 09 09 20 20 20 20 62 | 72 65 61 6b 3b 0a 58 09 |X.. b|reak;.X.|
|000034e0| 09 7d 0a 58 0a 58 09 09 | 2a 70 63 6d 2b 2b 20 3d |.}.X.X..|*pcm++ =|
|000034f0| 20 2a 70 63 69 6e 2b 2b | 3b 0a 58 09 20 20 20 20 | *pcin++|;.X. |
|00003500| 7d 0a 58 09 20 20 20 20 | 2a 70 63 6d 2b 2b 20 3d |}.X. |*pcm++ =|
|00003510| 20 27 5c 30 27 3b 0a 58 | 0a 58 09 20 20 20 20 53 | '\0';.X|.X. S|
|00003520| 50 44 45 42 55 47 28 32 | 30 29 20 7b 20 70 72 69 |PDEBUG(2|0) { pri|
|00003530| 6e 74 66 28 22 2d 2d 28 | 6d 61 63 72 6f 29 2d 2d |ntf("--(|macro)--|
|00003540| 3e 20 25 73 5c 6e 22 2c | 20 6d 61 63 72 6f 29 3b |> %s\n",| macro);|
|00003550| 20 7d 0a 58 0a 58 09 20 | 20 20 20 2f 2a 20 65 78 | }.X.X. | /* ex|
|00003560| 70 61 6e 64 20 6d 61 63 | 72 6f 20 2a 2f 0a 58 09 |pand mac|ro */.X.|
|00003570| 20 20 20 20 69 66 20 28 | 74 77 5f 6d 61 63 5f 69 | if (|tw_mac_i|
|00003580| 66 64 65 66 28 6d 61 63 | 72 6f 29 20 3d 3d 20 30 |fdef(mac|ro) == 0|
|00003590| 29 20 7b 0a 58 09 09 66 | 70 72 69 6e 74 66 28 73 |) {.X..f|printf(s|
|000035a0| 74 64 65 72 72 2c 20 22 | 77 61 72 6e 69 6e 67 3a |tderr, "|warning:|
|000035b0| 20 75 6e 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 64 | uniniti|alized d|
|000035c0| 69 72 65 63 74 69 76 65 | 20 27 25 73 27 20 61 74 |irective| '%s' at|
|000035d0| 20 6c 69 6e 65 20 25 64 | 20 69 6e 20 63 6f 6e 66 | line %d| in conf|
|000035e0| 69 67 20 66 69 6c 65 5c | 6e 5c 74 27 25 73 27 20 |ig file\|n\t'%s' |
|000035f0| 21 5c 6e 5c 74 5c 74 28 | 48 69 6e 74 3a 20 6d 61 |!\n\t\t(|Hint: ma|
|00003600| 79 62 65 20 61 20 6d 69 | 73 73 70 65 6c 6c 65 64 |ybe a mi|sspelled|
|00003610| 20 64 69 72 65 63 74 69 | 76 65 3f 29 5c 6e 22 2c | directi|ve?)\n",|
|00003620| 20 6d 61 63 72 6f 2c 20 | 6c 69 6e 65 6e 75 6d 62 | macro, |linenumb|
|00003630| 65 72 2c 0a 58 09 09 09 | 09 09 63 75 72 72 70 61 |er,.X...|..currpa|
|00003640| 72 73 65 66 69 6c 65 29 | 3b 0a 58 09 20 20 20 20 |rsefile)|;.X. |
|00003650| 7d 20 65 6c 73 65 20 7b | 0a 58 09 09 2f 2a 20 65 |} else {|.X../* e|
|00003660| 6c 73 65 20 73 75 62 73 | 74 69 74 75 74 65 20 69 |lse subs|titute i|
|00003670| 6e 20 74 68 65 20 69 6e | 70 75 74 20 73 74 72 65 |n the in|put stre|
|00003680| 61 6d 20 2a 2f 0a 58 09 | 09 70 63 74 6d 70 20 3d |am */.X.|.pctmp =|
|00003690| 20 74 77 5f 6d 61 63 5f | 64 65 72 65 66 65 72 65 | tw_mac_|derefere|
|000036a0| 6e 63 65 28 6d 61 63 72 | 6f 29 3b 0a 58 09 09 61 |nce(macr|o);.X..a|
|000036b0| 73 73 65 72 74 28 70 63 | 74 6d 70 20 21 3d 20 4e |ssert(pc|tmp != N|
|000036c0| 55 4c 4c 29 3b 0a 58 09 | 09 53 50 44 45 42 55 47 |ULL);.X.|.SPDEBUG|
|000036d0| 28 32 30 29 20 7b 20 70 | 72 69 6e 74 66 28 22 2d |(20) { p|rintf("-|
|000036e0| 2d 28 64 6d 61 63 72 6f | 29 2d 2d 3e 20 25 73 5c |-(dmacro|)--> %s\|
|000036f0| 6e 22 2c 20 70 63 74 6d | 70 29 3b 20 7d 0a 58 0a |n", pctm|p); }.X.|
|00003700| 58 09 09 73 74 72 63 70 | 79 28 70 63 6f 75 74 2c |X..strcp|y(pcout,|
|00003710| 20 70 63 74 6d 70 29 3b | 0a 58 09 09 70 63 6f 75 | pctmp);|.X..pcou|
|00003720| 74 20 2b 3d 20 73 74 72 | 6c 65 6e 28 70 63 74 6d |t += str|len(pctm|
|00003730| 70 29 3b 0a 58 09 20 20 | 20 20 7d 0a 58 09 20 20 |p);.X. | }.X. |
|00003740| 20 20 70 63 69 6e 2d 2d | 3b 09 09 09 2f 2a 20 72 | pcin--|;.../* r|
|00003750| 65 77 69 6e 64 20 66 6f | 72 20 6c 6f 6f 70 20 2a |ewind fo|r loop *|
|00003760| 2f 0a 58 09 20 20 20 20 | 63 6f 6e 74 69 6e 75 65 |/.X. |continue|
|00003770| 3b 0a 58 09 7d 0a 58 09 | 2a 70 63 6f 75 74 2b 2b |;.X.}.X.|*pcout++|
|00003780| 20 3d 20 2a 70 63 69 6e | 3b 0a 58 20 20 20 20 7d | = *pcin|;.X }|
|00003790| 0a 58 20 20 20 20 2a 70 | 63 6f 75 74 2b 2b 20 3d |.X *p|cout++ =|
|000037a0| 20 27 5c 30 27 3b 0a 58 | 0a 58 0a 58 20 20 20 20 | '\0';.X|.X.X |
|000037b0| 79 79 6c 76 61 6c 2e 73 | 74 72 69 6e 67 20 3d 20 |yylval.s|tring = |
|000037c0| 6f 75 74 73 74 72 69 6e | 67 3b 0a 58 20 20 20 20 |outstrin|g;.X |
|000037d0| 69 66 20 28 79 61 63 63 | 64 65 62 75 67 6c 65 76 |if (yacc|debuglev|
|000037e0| 65 6c 20 3e 20 31 30 29 | 20 0a 58 09 70 72 69 6e |el > 10)| .X.prin|
|000037f0| 74 66 28 22 2d 2d 28 53 | 54 52 49 4e 47 29 2d 2d |tf("--(S|TRING)--|
|00003800| 3e 20 25 73 5c 6e 22 2c | 20 6f 75 74 73 74 72 69 |> %s\n",| outstri|
|00003810| 6e 67 29 3b 0a 58 20 20 | 20 20 72 65 74 75 72 6e |ng);.X | return|
|00003820| 20 53 54 52 49 4e 47 3b | 0a 58 0a 58 7d 0a 58 0a | STRING;|.X.X}.X.|
|00003830| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00003840| 65 73 74 20 33 32 32 34 | 20 2d 6e 65 20 60 77 63 |est 3224| -ne `wc|
|00003850| 20 2d 63 20 3c 27 74 72 | 69 70 77 69 72 65 2d 31 | -c <'tr|ipwire-1|
|00003860| 2e 31 2f 73 72 63 2f 63 | 6f 6e 66 69 67 2e 70 72 |.1/src/c|onfig.pr|
|00003870| 65 2e 6c 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |e.l'`; t|hen. |
|00003880| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 74 72 |echo sha|r: \"'tr|
|00003890| 69 70 77 69 72 65 2d 31 | 2e 31 2f 73 72 63 2f 63 |ipwire-1|.1/src/c|
|000038a0| 6f 6e 66 69 67 2e 70 72 | 65 2e 6c 27 5c 22 20 75 |onfig.pr|e.l'\" u|
|000038b0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|000038c0| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|000038d0| 64 20 6f 66 20 27 74 72 | 69 70 77 69 72 65 2d 31 |d of 'tr|ipwire-1|
|000038e0| 2e 31 2f 73 72 63 2f 63 | 6f 6e 66 69 67 2e 70 72 |.1/src/c|onfig.pr|
|000038f0| 65 2e 6c 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |e.l'.fi.|if test |
|00003900| 2d 66 20 27 74 72 69 70 | 77 69 72 65 2d 31 2e 31 |-f 'trip|wire-1.1|
|00003910| 2f 4d 61 6b 65 66 69 6c | 65 27 20 2d 61 20 22 24 |/Makefil|e' -a "$|
|00003920| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00003930| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00003940| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00003950| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00003960| 20 5c 22 27 74 72 69 70 | 77 69 72 65 2d 31 2e 31 | \"'trip|wire-1.1|
|00003970| 2f 4d 61 6b 65 66 69 6c | 65 27 5c 22 0a 65 6c 73 |/Makefil|e'\".els|
|00003980| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00003990| 72 61 63 74 69 6e 67 20 | 5c 22 27 74 72 69 70 77 |racting |\"'tripw|
|000039a0| 69 72 65 2d 31 2e 31 2f | 4d 61 6b 65 66 69 6c 65 |ire-1.1/|Makefile|
|000039b0| 27 5c 22 20 5c 28 33 31 | 39 31 20 63 68 61 72 61 |'\" \(31|91 chara|
|000039c0| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|000039d0| 58 2f 2f 22 20 3e 27 74 | 72 69 70 77 69 72 65 2d |X//" >'t|ripwire-|
|000039e0| 31 2e 31 2f 4d 61 6b 65 | 66 69 6c 65 27 20 3c 3c |1.1/Make|file' <<|
|000039f0| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 23 |'END_OF_|FILE'.X#|
|00003a00| 20 24 49 64 3a 20 4d 61 | 6b 65 66 69 6c 65 2c 76 | $Id: Ma|kefile,v|
|00003a10| 20 31 2e 31 30 20 31 39 | 39 33 2f 31 32 2f 31 35 | 1.10 19|93/12/15|
|00003a20| 20 32 33 3a 30 33 3a 33 | 36 20 67 65 6e 65 6b 20 | 23:03:3|6 genek |
|00003a30| 45 78 70 20 24 0a 58 23 | 0a 58 23 20 09 54 72 69 |Exp $.X#|.X# .Tri|
|00003a40| 70 77 69 72 65 20 62 75 | 69 6c 64 0a 58 23 0a 58 |pwire bu|ild.X#.X|
|00003a50| 23 20 20 53 65 65 20 74 | 68 65 20 52 45 41 44 4d |# See t|he READM|
|00003a60| 45 20 66 69 6c 65 20 62 | 65 66 6f 72 65 20 72 75 |E file b|efore ru|
|00003a70| 6e 6e 69 6e 67 20 74 68 | 69 73 21 0a 58 23 0a 58 |nning th|is!.X#.X|
|00003a80| 0a 58 23 23 23 0a 58 23 | 23 23 20 20 20 53 74 61 |.X###.X#|## Sta|
|00003a90| 72 74 20 6f 66 20 75 73 | 65 72 2d 6d 6f 64 69 66 |rt of us|er-modif|
|00003aa0| 69 65 64 20 73 65 74 74 | 69 6e 67 73 0a 58 23 23 |ied sett|ings.X##|
|00003ab0| 23 20 20 20 45 78 61 6d | 69 6e 65 20 74 68 65 73 |# Exam|ine thes|
|00003ac0| 65 20 61 6e 64 20 63 68 | 61 6e 67 65 20 74 68 65 |e and ch|ange the|
|00003ad0| 20 6f 6e 65 73 20 74 68 | 61 74 20 6e 65 65 64 20 | ones th|at need |
|00003ae0| 74 6f 20 62 65 0a 58 23 | 23 23 20 20 20 41 6c 74 |to be.X#|## Alt|
|00003af0| 65 72 65 64 20 6f 6e 20 | 79 6f 75 72 20 73 79 73 |ered on |your sys|
|00003b00| 74 65 6d 0a 58 23 23 23 | 0a 58 0a 58 23 20 64 65 |tem.X###|.X.X# de|
|00003b10| 73 74 69 6e 61 74 69 6f | 6e 20 64 69 72 65 63 74 |stinatio|n direct|
|00003b20| 6f 72 79 20 66 6f 72 20 | 66 69 6e 61 6c 20 65 78 |ory for |final ex|
|00003b30| 65 63 75 74 61 62 6c 65 | 73 0a 58 44 45 53 54 44 |ecutable|s.XDESTD|
|00003b40| 49 52 20 3d 20 2f 73 65 | 63 75 72 65 70 6c 61 63 |IR = /se|cureplac|
|00003b50| 65 2f 62 69 6e 0a 58 0a | 58 23 20 64 65 73 74 69 |e/bin.X.|X# desti|
|00003b60| 6e 61 74 69 6f 6e 20 66 | 6f 72 20 6d 61 6e 20 70 |nation f|or man p|
|00003b70| 61 67 65 73 0a 58 4d 41 | 4e 44 49 52 20 20 3d 20 |ages.XMA|NDIR = |
|00003b80| 2f 75 73 72 2f 6d 61 6e | 0a 58 0a 58 23 20 73 79 |/usr/man|.X.X# sy|
|00003b90| 73 74 65 6d 20 75 74 69 | 6c 69 74 69 65 73 0a 58 |stem uti|lities.X|
|00003ba0| 4c 45 58 09 3d 20 6c 65 | 78 0a 58 23 4c 45 58 09 |LEX.= le|x.X#LEX.|
|00003bb0| 3d 20 66 6c 65 78 09 09 | 09 23 20 46 6f 72 20 74 |= flex..|.# For t|
|00003bc0| 68 65 20 47 4e 55 20 63 | 72 6f 77 64 0a 58 0a 58 |he GNU c|rowd.X.X|
|00003bd0| 59 41 43 43 09 3d 20 79 | 61 63 63 0a 58 23 59 41 |YACC.= y|acc.X#YA|
|00003be0| 43 43 09 3d 20 62 69 73 | 6f 6e 09 09 09 23 20 46 |CC.= bis|on...# F|
|00003bf0| 6f 72 20 74 68 65 20 47 | 4e 55 20 63 72 6f 77 64 |or the G|NU crowd|
|00003c00| 0a 58 0a 58 23 20 66 6f | 72 20 53 56 52 34 20 6d |.X.X# fo|r SVR4 m|
|00003c10| 61 6b 65 20 28 6d 75 73 | 74 20 62 65 20 61 20 42 |ake (mus|t be a B|
|00003c20| 6f 75 72 6e 65 2d 74 79 | 70 65 20 73 68 65 6c 6c |ourne-ty|pe shell|
|00003c30| 29 0a 58 53 48 45 4c 4c | 09 3d 20 2f 62 69 6e 2f |).XSHELL|.= /bin/|
|00003c40| 73 68 0a 58 23 53 48 45 | 4c 4c 09 3d 20 2f 62 69 |sh.X#SHE|LL.= /bi|
|00003c50| 6e 2f 6b 73 68 09 09 23 | 20 41 6e 6f 74 68 65 72 |n/ksh..#| Another|
|00003c60| 20 63 6f 6d 6d 6f 6e 20 | 73 68 65 6c 6c 0a 58 23 | common |shell.X#|
|00003c70| 53 48 45 4c 4c 09 3d 20 | 2f 62 69 6e 2f 62 61 73 |SHELL.= |/bin/bas|
|00003c80| 68 09 09 23 20 46 6f 72 | 20 74 68 65 20 47 4e 55 |h..# For| the GNU|
|00003c90| 20 66 61 6e 61 74 69 63 | 73 0a 58 0a 58 23 20 79 | fanatic|s.X.X# y|
|00003ca0| 6f 75 20 63 61 6e 20 75 | 73 65 20 41 4e 53 49 20 |ou can u|se ANSI |
|00003cb0| 43 20 69 66 20 79 6f 75 | 20 6c 69 6b 65 2c 20 62 |C if you| like, b|
|00003cc0| 75 74 20 4b 26 52 20 69 | 73 20 65 71 75 61 6c 6c |ut K&R i|s equall|
|00003cd0| 79 20 66 69 6e 65 2e 0a | 58 43 43 20 20 20 20 20 |y fine..|XCC |
|00003ce0| 3d 20 63 63 09 09 09 23 | 20 63 6f 6d 6d 6f 6e 0a |= cc...#| common.|
|00003cf0| 58 23 43 43 20 20 20 20 | 20 3d 20 67 63 63 09 09 |X#CC | = gcc..|
|00003d00| 09 23 20 61 6c 73 6f 20 | 63 6f 6d 6d 6f 6e 0a 58 |.# also |common.X|
|00003d10| 23 43 43 09 3d 20 2f 75 | 73 72 2f 63 63 73 2f 62 |#CC.= /u|sr/ccs/b|
|00003d20| 69 6e 2f 63 63 09 23 20 | 50 79 72 61 6d 69 64 20 |in/cc.# |Pyramid |
|00003d30| 44 43 2f 4f 53 78 20 28 | 53 56 52 34 29 0a 58 0a |DC/OSx (|SVR4).X.|
|00003d40| 58 43 46 4c 41 47 53 20 | 3d 20 2d 4f 09 09 09 23 |XCFLAGS |= -O...#|
|00003d50| 20 63 6f 6d 6d 6f 6e 20 | 0a 58 23 43 46 4c 41 47 | common |.X#CFLAG|
|00003d60| 53 20 3d 20 2d 67 20 09 | 09 09 23 20 63 6f 6d 6d |S = -g .|..# comm|
|00003d70| 6f 6e 20 0a 58 23 43 46 | 4c 41 47 53 20 3d 20 2d |on .X#CF|LAGS = -|
|00003d80| 67 09 09 09 23 20 64 65 | 62 75 67 67 69 6e 67 0a |g...# de|bugging.|
|00003d90| 58 23 43 46 4c 41 47 53 | 20 3d 20 2d 4f 20 2d 63 |X#CFLAGS| = -O -c|
|00003da0| 63 6b 72 09 09 23 20 53 | 47 49 0a 58 23 09 4e 4f |ckr..# S|GI.X#.NO|
|00003db0| 54 45 3a 20 73 6f 6d 65 | 20 76 65 72 73 69 6f 6e |TE: some| version|
|00003dc0| 73 20 6f 66 20 74 68 65 | 20 48 50 20 43 20 63 6f |s of the| HP C co|
|00003dd0| 6d 70 69 6c 65 72 20 6f | 70 74 69 6d 69 7a 65 72 |mpiler o|ptimizer|
|00003de0| 20 62 72 65 61 6b 73 20 | 73 6e 65 66 72 75 2e 63 | breaks |snefru.c|
|00003df0| 21 20 20 0a 58 23 09 09 | 63 6f 6e 73 69 64 65 72 |! .X#..|consider|
|00003e00| 20 72 65 63 6f 6d 70 69 | 6c 69 6e 67 20 74 68 69 | recompi|ling thi|
|00003e10| 73 20 66 69 6c 65 20 73 | 65 70 65 72 61 74 65 6c |s file s|eperatel|
|00003e20| 79 20 77 69 74 68 6f 75 | 74 20 6f 70 74 69 6d 69 |y withou|t optimi|
|00003e30| 7a 61 74 69 6f 6e 0a 58 | 23 43 46 4c 41 47 53 20 |zation.X|#CFLAGS |
|00003e40| 3d 20 2d 4f 20 2d 41 61 | 20 2d 4e 09 09 23 20 48 |= -O -Aa| -N..# H|
|00003e50| 50 2f 55 58 20 61 6e 73 | 69 0a 58 23 43 46 4c 41 |P/UX ans|i.X#CFLA|
|00003e60| 47 53 20 3d 20 2d 4f 20 | 2d 41 63 20 2d 4e 09 09 |GS = -O |-Ac -N..|
|00003e70| 23 20 48 50 2f 55 58 20 | 4b 26 52 0a 58 23 43 46 |# HP/UX |K&R.X#CF|
|00003e80| 4c 41 47 53 20 3d 20 2d | 4f 20 2d 41 63 20 2d 4e |LAGS = -|O -Ac -N|
|00003e90| 20 2d 57 6c 2c 2d 61 2c | 61 72 63 68 69 76 65 20 | -Wl,-a,|archive |
|00003ea0| 20 20 20 23 20 48 50 2f | 55 58 20 4b 26 52 2c 20 | # HP/|UX K&R, |
|00003eb0| 69 6e 73 75 72 65 20 61 | 72 63 68 69 76 65 64 2c |insure a|rchived,|
|00003ec0| 20 73 74 61 74 69 63 20 | 6c 69 6e 6b 0a 58 23 43 | static |link.X#C|
|00003ed0| 46 4c 41 47 53 20 3d 20 | 2d 73 79 73 74 79 70 65 |FLAGS = |-systype|
|00003ee0| 20 62 73 64 34 33 09 23 | 20 45 54 41 2f 31 30 20 | bsd43.#| ETA/10 |
|00003ef0| 28 53 56 52 33 29 0a 58 | 23 43 46 4c 41 47 53 20 |(SVR3).X|#CFLAGS |
|00003f00| 3d 20 2d 73 79 73 74 79 | 70 65 20 62 73 64 34 33 |= -systy|pe bsd43|
|00003f10| 09 23 20 4d 49 50 53 20 | 52 49 53 43 2f 4f 53 20 |.# MIPS |RISC/OS |
|00003f20| 34 2e 35 78 0a 58 23 43 | 46 4c 41 47 53 20 3d 20 |4.5x.X#C|FLAGS = |
|00003f30| 2d 4f 20 2d 61 6e 73 69 | 09 09 23 20 67 6e 75 20 |-O -ansi|..# gnu |
|00003f40| 43 43 0a 58 23 43 46 4c | 41 47 53 20 3d 20 2d 4f |CC.X#CFL|AGS = -O|
|00003f50| 20 2d 61 6e 73 69 20 2d | 57 20 2d 57 72 65 74 75 | -ansi -|W -Wretu|
|00003f60| 72 6e 2d 74 79 70 65 20 | 2d 57 73 77 69 74 63 68 |rn-type |-Wswitch|
|00003f70| 20 2d 57 73 68 61 64 6f | 77 20 23 20 67 6e 75 20 | -Wshado|w # gnu |
|00003f80| 43 43 20 77 2f 61 6c 6c | 20 77 61 72 6e 69 6e 67 |CC w/all| warning|
|00003f90| 73 0a 58 23 43 46 4c 41 | 47 53 20 3d 20 2d 4f 47 |s.X#CFLA|GS = -OG|
|00003fa0| 09 09 09 23 20 50 79 72 | 61 6d 69 64 20 4f 53 78 |...# Pyr|amid OSx|
|00003fb0| 0a 58 23 43 46 4c 41 47 | 53 20 3d 20 2d 4f 20 2d |.X#CFLAG|S = -O -|
|00003fc0| 4b 6f 6c 64 09 09 23 20 | 50 79 72 61 6d 69 64 20 |Kold..# |Pyramid |
|00003fd0| 44 43 2f 4f 53 78 20 28 | 53 56 52 34 29 0a 58 0a |DC/OSx (|SVR4).X.|
|00003fe0| 58 23 20 61 20 43 20 70 | 72 65 70 72 6f 63 65 73 |X# a C p|reproces|
|00003ff0| 73 6f 72 20 28 74 6f 20 | 62 75 69 6c 64 20 69 6e |sor (to |build in|
|00004000| 6f 64 65 2e 68 29 0a 58 | 43 50 50 09 3d 20 63 63 |ode.h).X|CPP.= cc|
|00004010| 20 2d 45 09 09 09 23 20 | 63 6f 6d 6d 6f 6e 0a 58 | -E...# |common.X|
|00004020| 23 43 50 50 09 3d 20 2f | 75 73 72 2f 6c 69 62 2f |#CPP.= /|usr/lib/|
|00004030| 63 70 70 09 09 23 20 6f | 6e 20 6f 6c 64 65 72 20 |cpp..# o|n older |
|00004040| 73 79 73 74 65 6d 73 0a | 58 23 43 50 50 09 3d 20 |systems.|X#CPP.= |
|00004050| 2f 6c 69 62 2f 63 70 70 | 09 09 23 20 6f 6e 20 6f |/lib/cpp|..# on o|
|00004060| 6c 64 65 72 20 73 79 73 | 74 65 6d 73 0a 58 0a 58 |lder sys|tems.X.X|
|00004070| 23 20 6d 61 6b 65 20 73 | 75 72 65 20 6c 69 62 72 |# make s|ure libr|
|00004080| 61 72 69 65 73 20 61 72 | 65 20 6e 6f 74 20 6c 69 |aries ar|e not li|
|00004090| 6e 6b 65 64 20 64 79 6e | 61 6d 69 63 61 6c 6c 79 |nked dyn|amically|
|000040a0| 20 28 61 73 20 61 20 73 | 65 63 75 72 69 74 79 20 | (as a s|ecurity |
|000040b0| 6d 65 61 73 75 72 65 29 | 0a 58 4c 44 46 4c 41 47 |measure)|.XLDFLAG|
|000040c0| 53 3d 09 09 09 23 20 63 | 6f 6d 6d 6f 6e 0a 58 23 |S=...# c|ommon.X#|
|000040d0| 4c 44 46 4c 41 47 53 3d | 20 2d 6e 6f 6e 5f 73 68 |LDFLAGS=| -non_sh|
|000040e0| 61 72 65 64 09 09 23 20 | 4f 53 46 2f 31 0a 58 23 |ared..# |OSF/1.X#|
|000040f0| 4c 44 46 4c 41 47 53 3d | 20 2d 42 73 74 61 74 69 |LDFLAGS=| -Bstati|
|00004100| 63 09 09 23 20 53 75 6e | 4f 53 0a 58 23 4c 44 46 |c..# Sun|OS.X#LDF|
|00004110| 4c 41 47 53 3d 20 2d 64 | 6e 09 09 09 23 20 50 79 |LAGS= -d|n...# Py|
|00004120| 72 61 6d 69 64 20 44 43 | 2f 4f 53 78 20 28 53 56 |ramid DC|/OSx (SV|
|00004130| 52 34 29 0a 58 0a 58 23 | 20 6c 69 62 72 61 72 69 |R4).X.X#| librari|
|00004140| 65 73 0a 58 4c 49 42 53 | 20 3d 20 09 09 09 09 23 |es.XLIBS| = ....#|
|00004150| 20 63 6f 6d 6d 6f 6e 0a | 58 23 4c 49 42 53 20 3d | common.|X#LIBS =|
|00004160| 20 2d 6c 6d 61 6c 6c 6f | 63 20 2d 6c 73 75 6e 20 | -lmallo|c -lsun |
|00004170| 2d 6c 63 5f 73 09 23 20 | 49 52 49 58 20 34 2e 30 |-lc_s.# |IRIX 4.0|
|00004180| 0a 58 23 4c 49 42 53 20 | 3d 20 2d 6c 78 09 09 09 |.X#LIBS |= -lx...|
|00004190| 23 20 58 65 6e 69 78 0a | 58 23 4c 49 42 53 20 3d |# Xenix.|X#LIBS =|
|000041a0| 20 2d 6c 62 73 64 09 09 | 09 23 20 4d 49 50 53 20 | -lbsd..|.# MIPS |
|000041b0| 52 49 53 43 2f 4f 53 0a | 58 23 4c 49 42 53 20 3d |RISC/OS.|X#LIBS =|
|000041c0| 20 2d 6c 67 6e 75 6d 61 | 6c 6c 6f 63 20 20 20 20 | -lgnuma|lloc |
|000041d0| 20 20 20 20 20 20 20 23 | 20 45 6e 63 6f 72 65 20 | #| Encore |
|000041e0| 2f 20 55 4d 41 58 20 56 | 0a 58 0a 58 0a 58 23 20 |/ UMAX V|.X.X.X# |
|000041f0| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 20 68 61 76 |If you d|on't hav|
|00004200| 65 20 74 68 65 20 69 6e | 73 74 61 6c 6c 20 63 6f |e the in|stall co|
|00004210| 6d 6d 61 6e 64 2c 20 79 | 6f 75 20 6e 65 65 64 20 |mmand, y|ou need |
|00004220| 74 6f 20 72 65 70 6c 61 | 63 65 0a 58 23 20 74 68 |to repla|ce.X# th|
|00004230| 65 20 75 73 65 20 6f 66 | 20 69 74 20 6c 61 74 65 |e use of| it late|
|00004240| 72 20 69 6e 20 74 68 65 | 20 6d 61 6b 65 66 69 6c |r in the| makefil|
|00004250| 65 20 77 69 74 68 20 61 | 20 63 70 20 61 6e 64 20 |e with a| cp and |
|00004260| 63 68 6d 6f 64 0a 58 49 | 4e 53 54 41 4c 4c 3d 20 |chmod.XI|NSTALL= |
|00004270| 2f 75 73 72 2f 62 69 6e | 2f 69 6e 73 74 61 6c 6c |/usr/bin|/install|
|00004280| 09 23 20 63 6f 6d 6d 6f | 6e 0a 58 23 49 4e 53 54 |.# commo|n.X#INST|
|00004290| 41 4c 4c 3d 20 2f 75 73 | 72 2f 75 63 62 2f 69 6e |ALL= /us|r/ucb/in|
|000042a0| 73 74 61 6c 6c 09 23 20 | 50 79 72 61 6d 69 64 20 |stall.# |Pyramid |
|000042b0| 44 43 2f 4f 53 78 20 28 | 53 56 52 34 29 0a 58 23 |DC/OSx (|SVR4).X#|
|000042c0| 49 4e 53 54 41 4c 4c 3d | 20 2f 65 74 63 2f 69 6e |INSTALL=| /etc/in|
|000042d0| 73 74 61 6c 6c 09 09 23 | 20 50 79 72 61 6d 69 64 |stall..#| Pyramid|
|000042e0| 20 4f 53 78 0a 58 23 49 | 4e 53 54 41 4c 4c 3d 20 | OSx.X#I|NSTALL= |
|000042f0| 2f 62 69 6e 2f 63 70 09 | 09 23 20 6e 6f 20 69 6e |/bin/cp.|.# no in|
|00004300| 73 74 61 6c 6c 0a 58 0a | 58 23 20 68 6f 77 20 79 |stall.X.|X# how y|
|00004310| 6f 75 20 67 65 74 20 68 | 6f 73 74 6e 61 6d 65 20 |ou get h|ostname |
|00004320| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 28 42 53 44 |informat|ion (BSD|
|00004330| 20 76 73 2e 20 53 59 53 | 56 20 73 74 79 6c 65 29 | vs. SYS|V style)|
|00004340| 0a 58 48 4f 53 54 4e 41 | 4d 45 09 3d 20 22 68 6f |.XHOSTNA|ME.= "ho|
|00004350| 73 74 6e 61 6d 65 22 09 | 09 23 20 42 53 44 0a 58 |stname".|.# BSD.X|
|00004360| 23 48 4f 53 54 4e 41 4d | 45 09 3d 20 22 75 6e 61 |#HOSTNAM|E.= "una|
|00004370| 6d 65 20 2d 6e 22 09 09 | 23 20 53 79 73 74 65 6d |me -n"..|# System|
|00004380| 20 56 20 0a 58 0a 58 0a | 58 23 23 23 0a 58 23 23 | V .X.X.|X###.X##|
|00004390| 23 20 20 20 45 6e 64 20 | 6f 66 20 75 73 65 72 2d |# End |of user-|
|000043a0| 6d 6f 64 69 66 69 65 64 | 20 73 65 74 74 69 6e 67 |modified| setting|
|000043b0| 73 0a 58 23 23 23 20 20 | 20 59 6f 75 20 73 68 6f |s.X### | You sho|
|000043c0| 75 6c 64 20 6e 6f 74 20 | 6e 65 65 64 20 74 6f 20 |uld not |need to |
|000043d0| 63 68 61 6e 67 65 20 61 | 6e 79 74 68 69 6e 67 20 |change a|nything |
|000043e0| 61 66 74 65 72 20 74 68 | 69 73 0a 58 23 23 23 0a |after th|is.X###.|
|000043f0| 58 0a 58 44 49 53 54 09 | 09 3d 20 74 72 69 70 77 |X.XDIST.|.= tripw|
|00004400| 69 72 65 2d 31 2e 31 0a | 58 0a 58 61 6c 6c 3a 0a |ire-1.1.|X.Xall:.|
|00004410| 58 09 28 63 64 20 61 75 | 78 3b 20 6d 61 6b 65 20 |X.(cd au|x; make |
|00004420| 43 43 3d 24 28 43 43 29 | 20 43 46 4c 41 47 53 3d |CC=$(CC)| CFLAGS=|
|00004430| 22 24 28 43 46 4c 41 47 | 53 29 22 20 20 5c 0a 58 |"$(CFLAG|S)" \.X|
|00004440| 09 09 4c 44 46 4c 41 47 | 53 3d 22 24 28 4c 44 46 |..LDFLAG|S="$(LDF|
|00004450| 4c 41 47 53 29 22 20 43 | 50 50 3d 22 24 28 43 50 |LAGS)" C|PP="$(CP|
|00004460| 50 29 22 20 53 48 45 4c | 4c 3d 24 28 53 48 45 4c |P)" SHEL|L=$(SHEL|
|00004470| 4c 29 20 61 6c 6c 29 0a | 58 09 28 63 64 20 73 72 |L) all).|X.(cd sr|
|00004480| 63 3b 20 6d 61 6b 65 20 | 43 43 3d 24 28 43 43 29 |c; make |CC=$(CC)|
|00004490| 20 43 46 4c 41 47 53 3d | 22 24 28 43 46 4c 41 47 | CFLAGS=|"$(CFLAG|
|000044a0| 53 29 22 20 4c 49 42 53 | 3d 22 24 28 4c 49 42 53 |S)" LIBS|="$(LIBS|
|000044b0| 29 22 20 5c 0a 58 09 09 | 4c 44 46 4c 41 47 53 3d |)" \.X..|LDFLAGS=|
|000044c0| 22 24 28 4c 44 46 4c 41 | 47 53 29 22 20 43 50 50 |"$(LDFLA|GS)" CPP|
|000044d0| 3d 22 24 28 43 50 50 29 | 22 20 53 48 45 4c 4c 3d |="$(CPP)|" SHELL=|
|000044e0| 24 28 53 48 45 4c 4c 29 | 20 61 6c 6c 29 0a 58 0a |$(SHELL)| all).X.|
|000044f0| 58 69 6e 73 74 61 6c 6c | 3a 20 61 6c 6c 0a 58 09 |Xinstall|: all.X.|
|00004500| 28 63 64 20 73 72 63 3b | 20 6d 61 6b 65 20 49 4e |(cd src;| make IN|
|00004510| 53 54 41 4c 4c 3d 24 28 | 49 4e 53 54 41 4c 4c 29 |STALL=$(|INSTALL)|
|00004520| 20 44 45 53 54 44 49 52 | 3d 24 28 44 45 53 54 44 | DESTDIR|=$(DESTD|
|00004530| 49 52 29 20 69 6e 73 74 | 61 6c 6c 29 0a 58 09 28 |IR) inst|all).X.(|
|00004540| 63 64 20 6d 61 6e 3b 20 | 6d 61 6b 65 20 49 4e 53 |cd man; |make INS|
|00004550| 54 41 4c 4c 3d 24 28 49 | 4e 53 54 41 4c 4c 29 20 |TALL=$(I|NSTALL) |
|00004560| 4d 41 4e 44 49 52 3d 24 | 28 4d 41 4e 44 49 52 29 |MANDIR=$|(MANDIR)|
|00004570| 20 69 6e 73 74 61 6c 6c | 29 0a 58 0a 58 74 65 73 | install|).X.Xtes|
|00004580| 74 3a 09 61 6c 6c 0a 58 | 09 28 63 64 20 74 65 73 |t:.all.X|.(cd tes|
|00004590| 74 73 3b 20 6d 61 6b 65 | 20 48 4f 53 54 4e 41 4d |ts; make| HOSTNAM|
|000045a0| 45 3d 24 28 48 4f 53 54 | 4e 41 4d 45 29 20 44 49 |E=$(HOST|NAME) DI|
|000045b0| 53 54 3d 24 28 44 49 53 | 54 29 20 53 48 45 4c 4c |ST=$(DIS|T) SHELL|
|000045c0| 3d 24 28 53 48 45 4c 4c | 29 29 0a 58 0a 58 63 6c |=$(SHELL|)).X.Xcl|
|000045d0| 65 61 6e 3a 0a 58 09 28 | 63 64 20 73 72 63 3b 20 |ean:.X.(|cd src; |
|000045e0| 6d 61 6b 65 20 63 6c 65 | 61 6e 29 0a 58 09 28 63 |make cle|an).X.(c|
|000045f0| 64 20 6d 61 6e 3b 20 6d | 61 6b 65 20 63 6c 65 61 |d man; m|ake clea|
|00004600| 6e 29 0a 58 09 28 63 64 | 20 61 75 78 3b 20 6d 61 |n).X.(cd| aux; ma|
|00004610| 6b 65 20 63 6c 65 61 6e | 29 0a 58 09 28 63 64 20 |ke clean|).X.(cd |
|00004620| 74 65 73 74 73 3b 20 6d | 61 6b 65 20 63 6c 65 61 |tests; m|ake clea|
|00004630| 6e 29 0a 58 09 72 6d 20 | 2d 66 20 63 6f 72 65 20 |n).X.rm |-f core |
|00004640| 20 0a 58 0a 58 63 6c 6f | 62 62 65 72 3a 20 63 6c | .X.Xclo|bber: cl|
|00004650| 65 61 6e 0a 58 09 28 63 | 64 20 73 72 63 3b 20 6d |ean.X.(c|d src; m|
|00004660| 61 6b 65 20 63 6c 6f 62 | 62 65 72 29 0a 58 09 28 |ake clob|ber).X.(|
|00004670| 63 64 20 6d 61 6e 3b 20 | 6d 61 6b 65 20 63 6c 65 |cd man; |make cle|
|00004680| 61 6e 29 0a 58 09 28 63 | 64 20 61 75 78 3b 20 6d |an).X.(c|d aux; m|
|00004690| 61 6b 65 20 63 6c 65 61 | 6e 29 0a 58 09 28 63 64 |ake clea|n).X.(cd|
|000046a0| 20 74 65 73 74 73 3b 20 | 6d 61 6b 65 20 63 6c 65 | tests; |make cle|
|000046b0| 61 6e 29 0a 58 09 72 6d | 20 2d 66 20 63 6f 72 65 |an).X.rm| -f core|
|000046c0| 20 20 0a 58 09 72 6d 20 | 2d 66 20 2a 2f 2a 5f 70 | .X.rm |-f */*_p|
|000046d0| 75 72 65 5f 2a 2e 6f 20 | 73 69 67 73 2f 2a 2f 2a |ure_*.o |sigs/*/*|
|000046e0| 5f 70 75 72 65 5f 2a 2e | 6f 0a 45 4e 44 5f 4f 46 |_pure_*.|o.END_OF|
|000046f0| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 33 31 |_FILE.if| test 31|
|00004700| 39 31 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |91 -ne `|wc -c <'|
|00004710| 74 72 69 70 77 69 72 65 | 2d 31 2e 31 2f 4d 61 6b |tripwire|-1.1/Mak|
|00004720| 65 66 69 6c 65 27 60 3b | 20 74 68 65 6e 0a 20 20 |efile'`;| then. |
|00004730| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00004740| 74 72 69 70 77 69 72 65 | 2d 31 2e 31 2f 4d 61 6b |tripwire|-1.1/Mak|
|00004750| 65 66 69 6c 65 27 5c 22 | 20 75 6e 70 61 63 6b 65 |efile'\"| unpacke|
|00004760| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00004770| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|00004780| 74 72 69 70 77 69 72 65 | 2d 31 2e 31 2f 4d 61 6b |tripwire|-1.1/Mak|
|00004790| 65 66 69 6c 65 27 0a 66 | 69 0a 69 66 20 74 65 73 |efile'.f|i.if tes|
|000047a0| 74 20 2d 66 20 27 74 72 | 69 70 77 69 72 65 2d 31 |t -f 'tr|ipwire-1|
|000047b0| 2e 31 2f 63 6f 6e 74 72 | 69 62 2f 52 45 41 44 4d |.1/contr|ib/READM|
|000047c0| 45 2e 54 52 49 50 57 49 | 52 45 27 20 2d 61 20 22 |E.TRIPWI|RE' -a "|
|000047d0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000047e0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000047f0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00004800| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00004810| 65 20 5c 22 27 74 72 69 | 70 77 69 72 65 2d 31 2e |e \"'tri|pwire-1.|
|00004820| 31 2f 63 6f 6e 74 72 69 | 62 2f 52 45 41 44 4d 45 |1/contri|b/README|
|00004830| 2e 54 52 49 50 57 49 52 | 45 27 5c 22 0a 65 6c 73 |.TRIPWIR|E'\".els|
|00004840| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00004850| 72 61 63 74 69 6e 67 20 | 5c 22 27 74 72 69 70 77 |racting |\"'tripw|
|00004860| 69 72 65 2d 31 2e 31 2f | 63 6f 6e 74 72 69 62 2f |ire-1.1/|contrib/|
|00004870| 52 45 41 44 4d 45 2e 54 | 52 49 50 57 49 52 45 27 |README.T|RIPWIRE'|
|00004880| 5c 22 20 5c 28 33 31 33 | 36 20 63 68 61 72 61 63 |\" \(313|6 charac|
|00004890| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000048a0| 2f 2f 22 20 3e 27 74 72 | 69 70 77 69 72 65 2d 31 |//" >'tr|ipwire-1|
|000048b0| 2e 31 2f 63 6f 6e 74 72 | 69 62 2f 52 45 41 44 4d |.1/contr|ib/READM|
|000048c0| 45 2e 54 52 49 50 57 49 | 52 45 27 20 3c 3c 27 45 |E.TRIPWI|RE' <<'E|
|000048d0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 20 4c |ND_OF_FI|LE'.X# L|
|000048e0| 61 6e 63 65 20 42 61 69 | 6c 65 79 20 3c 6c 72 62 |ance Bai|ley <lrb|
|000048f0| 40 63 74 72 67 2e 72 72 | 69 2e 75 77 6f 2e 63 61 |@ctrg.rr|i.uwo.ca|
|00004900| 3e 0a 58 23 0a 58 0a 58 | 54 52 49 50 57 49 52 45 |>.X#.X.X|TRIPWIRE|
|00004910| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 0a 58 54 52 |.X------|--.X.XTR|
|00004920| 49 50 57 49 52 45 20 69 | 73 20 61 20 73 63 72 69 |IPWIRE i|s a scri|
|00004930| 70 74 20 64 65 73 69 67 | 6e 65 64 20 74 6f 20 6d |pt desig|ned to m|
|00004940| 61 6b 65 20 65 61 73 69 | 65 72 20 74 68 65 20 72 |ake easi|er the r|
|00004950| 75 6e 6e 69 6e 67 20 6f | 66 20 74 72 69 70 77 69 |unning o|f tripwi|
|00004960| 72 65 20 6f 6e 20 0a 58 | 6d 75 6c 74 69 70 6c 65 |re on .X|multiple|
|00004970| 20 6d 61 63 68 69 6e 65 | 73 2c 20 62 75 74 20 77 | machine|s, but w|
|00004980| 69 74 68 20 6f 6e 6c 79 | 20 6f 6e 65 20 66 6c 6f |ith only| one flo|
|00004990| 70 70 79 20 64 72 69 76 | 65 20 61 76 61 69 6c 61 |ppy driv|e availa|
|000049a0| 62 6c 65 2e 0a 58 0a 58 | 0a 58 41 20 73 61 66 65 |ble..X.X|.XA safe|
|000049b0| 2c 20 61 6e 64 20 72 65 | 63 6f 6d 6d 65 6e 64 65 |, and re|commende|
|000049c0| 64 20 62 79 20 67 65 6e | 65 2c 20 6d 61 6e 6e 65 |d by gen|e, manne|
|000049d0| 72 20 6f 66 20 72 75 6e | 6e 69 6e 67 20 74 72 69 |r of run|ning tri|
|000049e0| 70 77 69 72 65 20 69 73 | 20 74 6f 20 6b 65 65 70 |pwire is| to keep|
|000049f0| 0a 58 74 68 65 20 64 61 | 74 61 62 61 73 65 73 20 |.Xthe da|tabases |
|00004a00| 61 6e 64 20 74 68 65 20 | 63 6f 6e 66 69 67 20 66 |and the |config f|
|00004a10| 69 6c 65 73 20 6f 6e 20 | 61 20 72 65 61 64 20 6f |iles on |a read o|
|00004a20| 6e 6c 79 20 66 6c 6f 70 | 70 79 2e 20 41 20 73 61 |nly flop|py. A sa|
|00004a30| 66 65 72 20 73 74 69 6c | 6c 20 0a 58 61 70 70 72 |fer stil|l .Xappr|
|00004a40| 6f 61 63 68 20 69 73 20 | 74 6f 20 61 6c 73 6f 20 |oach is |to also |
|00004a50| 73 74 6f 72 65 20 74 68 | 65 20 62 69 6e 61 72 69 |store th|e binari|
|00004a60| 65 73 20 6f 6e 20 74 68 | 65 20 66 6c 6f 70 70 79 |es on th|e floppy|
|00004a70| 2e 20 20 55 6e 66 6f 72 | 74 75 6e 61 74 65 6c 79 |. Unfor|tunately|
|00004a80| 2c 20 69 66 0a 58 79 6f | 75 20 6f 6e 6c 79 20 68 |, if.Xyo|u only h|
|00004a90| 61 76 65 20 6f 6e 65 20 | 66 6c 6f 70 70 79 2c 20 |ave one |floppy, |
|00004aa0| 79 6f 75 20 63 61 6e 20 | 72 75 6e 20 6f 75 74 20 |you can |run out |
|00004ab0| 6f 66 20 73 70 61 63 65 | 20 77 68 69 6c 65 20 74 |of space| while t|
|00004ac0| 72 79 69 6e 67 20 74 6f | 20 73 75 70 70 6f 72 74 |rying to| support|
|00004ad0| 0a 58 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 6d 61 |.Xa numb|er of ma|
|00004ae0| 63 68 69 6e 65 73 2f 70 | 6c 61 74 66 6f 72 6d 73 |chines/p|latforms|
|00004af0| 20 6f 6e 20 6f 6e 65 20 | 66 6c 6f 70 70 79 2e 20 | on one |floppy. |
|00004b00| 54 68 65 20 6f 62 76 69 | 6f 75 73 20 73 6f 6c 75 |The obvi|ous solu|
|00004b10| 74 69 6f 6e 20 69 73 20 | 0a 58 63 6f 6d 70 72 65 |tion is |.Xcompre|
|00004b20| 73 73 69 6f 6e 20 6f 66 | 20 73 6f 6d 65 20 73 6f |ssion of| some so|
|00004b30| 72 74 2e 0a 58 0a 58 0a | 58 54 52 49 50 57 49 52 |rt..X.X.|XTRIPWIR|
|00004b40| 45 20 69 73 20 64 65 73 | 69 67 6e 65 64 20 74 6f |E is des|igned to|
|00004b50| 20 74 61 6b 65 20 63 6f | 6d 70 72 65 73 73 65 64 | take co|mpressed|
|00004b60| 20 62 69 6e 61 72 69 65 | 73 20 61 6e 64 20 64 61 | binarie|s and da|
|00004b70| 74 61 62 61 73 65 73 2c | 20 64 65 63 6f 6d 70 72 |tabases,| decompr|
|00004b80| 65 73 73 0a 58 74 68 65 | 6d 20 69 6e 74 6f 20 61 |ess.Xthe|m into a|
|00004b90| 20 63 6c 65 61 6e 20 77 | 6f 72 6b 69 6e 67 20 61 | clean w|orking a|
|00004ba0| 72 65 61 20 61 6e 64 20 | 72 75 6e 20 74 68 65 20 |rea and |run the |
|00004bb0| 5b 6e 65 77 6c 79 20 75 | 6e 63 6f 6d 70 72 65 73 |[newly u|ncompres|
|00004bc0| 73 65 64 5d 20 62 69 6e | 61 72 79 20 0a 58 61 63 |sed] bin|ary .Xac|
|00004bd0| 63 6f 72 64 69 6e 67 20 | 74 6f 20 74 68 65 20 61 |cording |to the a|
|00004be0| 70 70 72 6f 70 72 69 61 | 74 65 20 63 6f 6e 66 69 |ppropria|te confi|
|00004bf0| 67 20 66 69 6c 65 2e 0a | 58 0a 58 0a 58 54 6f 20 |g file..|X.X.XTo |
|00004c00| 75 73 65 20 54 52 49 50 | 57 49 52 45 2c 20 0a 58 |use TRIP|WIRE, .X|
|00004c10| 0a 58 31 29 20 0a 58 73 | 65 74 20 75 70 20 79 6f |.X1) .Xs|et up yo|
|00004c20| 75 72 20 63 6f 6e 66 69 | 67 2e 68 20 61 73 20 66 |ur confi|g.h as f|
|00004c30| 6f 6c 6c 6f 77 73 20 28 | 2a 62 65 66 6f 72 65 2a |ollows (|*before*|
|00004c40| 20 63 6f 6d 70 69 6c 69 | 6e 67 20 3a 29 0a 58 0a | compili|ng :).X.|
|00004c50| 58 23 64 65 66 69 6e 65 | 20 43 4f 4e 46 49 47 5f |X#define| CONFIG_|
|00004c60| 50 41 54 48 09 22 2f 75 | 73 72 2f 6c 6f 63 61 6c |PATH."/u|sr/local|
|00004c70| 2f 61 64 6d 2f 74 63 68 | 65 63 6b 2f 74 72 69 70 |/adm/tch|eck/trip|
|00004c80| 77 69 72 65 2e 63 6f 6e | 66 69 67 73 22 0a 58 23 |wire.con|figs".X#|
|00004c90| 64 65 66 69 6e 65 20 44 | 41 54 41 42 41 53 45 5f |define D|ATABASE_|
|00004ca0| 50 41 54 48 09 22 2e 2f | 44 61 74 61 62 61 73 65 |PATH."./|Database|
|00004cb0| 73 22 0a 58 0a 58 23 64 | 65 66 69 6e 65 20 43 4f |s".X.X#d|efine CO|
|00004cc0| 4e 46 49 47 5f 46 49 4c | 45 20 09 22 74 72 69 70 |NFIG_FIL|E ."trip|
|00004cd0| 77 69 72 65 2e 63 6f 6e | 66 69 67 5f 40 22 0a 58 |wire.con|fig_@".X|
|00004ce0| 23 64 65 66 69 6e 65 20 | 44 41 54 41 42 41 53 45 |#define |DATABASE|
|00004cf0| 5f 46 49 4c 45 09 22 74 | 72 69 70 77 69 72 65 2e |_FILE."t|ripwire.|
|00004d00| 64 61 74 61 62 61 73 65 | 5f 40 22 0a 58 0a 58 0a |database|_@".X.X.|
|00004d10| 58 0a 58 32 29 20 73 65 | 74 20 75 70 20 61 20 66 |X.X2) se|t up a f|
|00004d20| 6c 6f 70 70 79 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |loppy as| follows|
|00004d30| 20 0a 58 0a 58 2f 66 6c | 6f 70 70 79 2f 44 61 74 | .X.X/fl|oppy/Dat|
|00004d40| 61 62 61 73 65 73 0a 58 | 09 09 20 20 20 20 20 2d |abases.X|.. -|
|00004d50| 2d 20 64 69 72 65 63 74 | 6f 72 79 2c 20 63 6f 6e |- direct|ory, con|
|00004d60| 74 61 69 6e 73 20 63 6f | 6d 70 72 65 73 73 65 64 |tains co|mpressed|
|00004d70| 20 44 61 74 61 62 61 73 | 65 73 20 6f 66 20 74 68 | Databas|es of th|
|00004d80| 65 0a 58 09 09 09 66 6f | 72 6d 3a 20 20 74 72 69 |e.X...fo|rm: tri|
|00004d90| 70 77 69 72 65 2e 64 61 | 74 61 62 61 73 65 5f 58 |pwire.da|tabase_X|
|00004da0| 58 58 2e 73 75 62 2e 64 | 6f 2e 6d 61 69 6e 0a 58 |XX.sub.d|o.main.X|
|00004db0| 09 09 09 74 72 69 70 77 | 69 72 65 2e 64 61 74 61 |...tripw|ire.data|
|00004dc0| 62 61 73 65 5f 59 59 59 | 2e 73 75 62 2e 64 6f 2e |base_YYY|.sub.do.|
|00004dd0| 6d 61 69 6e 0a 58 0a 58 | 09 09 09 77 68 65 72 65 |main.X.X|...where|
|00004de0| 20 58 58 58 2e 73 75 62 | 2e 64 6f 2e 6d 61 69 6e | XXX.sub|.do.main|
|00004df0| 20 61 6e 64 20 59 59 59 | 2e 73 75 62 2e 64 6f 2e | and YYY|.sub.do.|
|00004e00| 6d 61 69 6e 20 61 72 65 | 0a 58 09 09 09 68 6f 73 |main are|.X...hos|
|00004e10| 74 6e 61 6d 65 73 20 28 | 61 73 20 72 65 74 75 72 |tnames (|as retur|
|00004e20| 6e 65 64 20 62 79 20 74 | 68 65 20 68 6f 73 74 6e |ned by t|he hostn|
|00004e30| 61 6d 65 28 31 29 20 63 | 6f 6d 6d 61 6e 64 29 0a |ame(1) c|ommand).|
|00004e40| 58 09 09 09 6f 66 20 6d | 61 63 68 69 6e 65 73 20 |X...of m|achines |
|00004e50| 79 6f 75 20 61 72 65 20 | 6d 6f 6e 69 74 6f 72 69 |you are |monitori|
|00004e60| 6e 67 2e 0a 58 0a 58 09 | 09 09 54 68 65 72 65 20 |ng..X.X.|..There |
|00004e70| 77 69 6c 6c 20 62 65 20 | 61 20 75 6e 69 71 75 65 |will be |a unique|
|00004e80| 20 64 61 74 61 62 61 73 | 65 20 66 6f 72 20 65 61 | databas|e for ea|
|00004e90| 63 68 20 6d 61 63 68 69 | 6e 65 2e 0a 58 0a 58 0a |ch machi|ne..X.X.|
|00004ea0| 58 2f 66 6c 6f 70 70 79 | 2f 74 72 69 70 77 69 72 |X/floppy|/tripwir|
|00004eb0| 65 2e 63 6f 6e 66 69 67 | 73 0a 58 09 09 20 20 20 |e.config|s.X.. |
|00004ec0| 20 20 2d 2d 20 64 69 72 | 65 63 74 6f 72 79 20 63 | -- dir|ectory c|
|00004ed0| 6f 6e 74 61 69 6e 69 6e | 67 20 63 6f 6d 70 72 65 |ontainin|g compre|
|00004ee0| 73 73 65 64 20 62 69 6e | 61 72 69 65 73 20 66 6f |ssed bin|aries fo|
|00004ef0| 72 20 65 61 63 68 20 6f | 66 0a 58 09 09 09 79 6f |r each o|f.X...yo|
|00004f00| 75 72 20 73 79 73 74 65 | 6d 73 2e 20 20 54 68 65 |ur syste|ms. The|
|00004f10| 73 65 20 61 72 65 20 6e | 61 6d 65 64 20 66 6f 72 |se are n|amed for|
|00004f20| 20 74 68 65 20 68 6f 73 | 74 6e 61 6d 65 20 6f 66 | the hos|tname of|
|00004f30| 0a 58 09 09 09 74 68 65 | 20 73 79 73 74 65 6d 2e |.X...the| system.|
|00004f40| 20 20 43 6f 6e 74 69 6e | 75 69 6e 67 20 74 68 65 | Contin|uing the|
|00004f50| 20 61 62 6f 76 65 20 65 | 78 61 6d 70 6c 65 2c 20 | above e|xample, |
|00004f60| 77 65 20 77 6f 75 6c 64 | 0a 58 09 09 09 68 61 76 |we would|.X...hav|
|00004f70| 65 0a 58 0a 58 09 09 09 | 2f 66 6c 6f 70 70 79 2f |e.X.X...|/floppy/|
|00004f80| 74 72 69 70 77 69 72 65 | 2e 63 6f 6e 66 69 67 73 |tripwire|.configs|
|00004f90| 2f 58 58 58 2e 73 75 62 | 2e 64 6f 2e 6d 61 69 6e |/XXX.sub|.do.main|
|00004fa0| 0a 58 09 09 09 2f 66 6c | 6f 70 70 79 2f 74 72 69 |.X.../fl|oppy/tri|
|00004fb0| 70 77 69 72 65 2e 63 6f | 6e 66 69 67 73 2f 59 59 |pwire.co|nfigs/YY|
|00004fc0| 59 2e 73 75 62 2e 64 6f | 2e 6d 61 69 6e 0a 58 0a |Y.sub.do|.main.X.|
|00004fd0| 58 09 09 09 69 66 20 58 | 58 58 20 61 6e 64 20 59 |X...if X|XX and Y|
|00004fe0| 59 59 20 77 65 72 65 20 | 74 68 65 20 73 61 6d 65 |YY were |the same|
|00004ff0| 20 70 6c 61 74 66 6f 72 | 6d 2c 20 74 68 65 6e 20 | platfor|m, then |
|00005000| 61 20 73 69 6e 67 6c 65 | 0a 58 09 09 09 66 69 6c |a single|.X...fil|
|00005010| 65 20 77 69 74 68 20 74 | 77 6f 20 6c 69 6e 6b 73 |e with t|wo links|
|00005020| 20 74 6f 20 74 68 65 20 | 69 6e 6f 64 65 20 63 6f | to the |inode co|
|00005030| 75 6c 64 20 62 65 20 75 | 73 65 64 2e 0a 58 0a 58 |uld be u|sed..X.X|
|00005040| 0a 58 0a 58 2f 66 6c 6f | 70 70 79 2f 74 72 69 70 |.X.X/flo|ppy/trip|
|00005050| 77 69 72 65 2e 63 6f 6e | 66 69 67 73 0a 58 0a 58 |wire.con|figs.X.X|
|00005060| 09 09 20 20 20 20 20 2d | 2d 20 64 69 72 65 63 74 |.. -|- direct|
|00005070| 6f 72 79 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |ory cont|aining t|
|00005080| 68 65 20 2a 75 6e 63 6f | 6d 70 72 65 73 73 65 64 |he *unco|mpressed|
|00005090| 2a 0a 58 09 09 09 63 6f | 6e 66 69 67 75 72 61 74 |*.X...co|nfigurat|
|000050a0| 69 6f 6e 20 66 69 6c 65 | 73 20 65 61 63 68 20 6f |ion file|s each o|
|000050b0| 66 20 79 6f 75 72 20 73 | 79 73 74 65 6d 73 2e 20 |f your s|ystems. |
|000050c0| 20 54 68 65 73 65 20 61 | 72 65 0a 58 09 09 09 6e | These a|re.X...n|
|000050d0| 61 6d 65 64 20 74 72 69 | 70 77 69 72 65 2e 63 6f |amed tri|pwire.co|
|000050e0| 6e 66 69 67 5f 58 58 58 | 2e 73 75 62 2e 64 6f 6d |nfig_XXX|.sub.dom|
|000050f0| 2e 61 69 6e 20 61 6e 64 | 0a 58 09 09 09 74 72 69 |.ain and|.X...tri|
|00005100| 70 77 69 72 65 2e 63 6f | 6e 66 69 67 5f 59 59 59 |pwire.co|nfig_YYY|
|00005110| 2e 73 75 62 2e 64 6f 6d | 2e 61 69 6e 0a 58 0a 58 |.sub.dom|.ain.X.X|
|00005120| 09 09 09 49 74 20 69 73 | 20 65 78 70 65 63 74 65 |...It is| expecte|
|00005130| 64 20 74 68 61 74 20 65 | 61 63 68 20 68 6f 73 74 |d that e|ach host|
|00005140| 20 77 69 6c 6c 20 68 61 | 76 65 20 61 20 75 6e 69 | will ha|ve a uni|
|00005150| 71 75 65 0a 58 09 09 09 | 63 6f 6e 66 69 67 20 66 |que.X...|config f|
|00005160| 69 6c 65 2c 20 61 6c 74 | 68 6f 75 67 68 20 69 74 |ile, alt|hough it|
|00005170| 20 69 73 20 70 6f 73 73 | 69 62 6c 65 20 74 68 61 | is poss|ible tha|
|00005180| 74 20 64 69 73 6b 2d 73 | 70 61 72 73 65 0a 58 09 |t disk-s|parse.X.|
|00005190| 09 09 63 6c 69 65 6e 74 | 73 20 6d 69 67 68 74 20 |..client|s might |
|000051a0| 73 68 61 72 65 20 63 6f | 6e 66 69 67 73 2e 20 49 |share co|nfigs. I|
|000051b0| 6e 20 74 68 69 73 20 63 | 61 73 65 2c 20 75 73 65 |n this c|ase, use|
|000051c0| 20 6d 75 6c 74 69 70 6c | 65 0a 58 09 09 09 6c 69 | multipl|e.X...li|
|000051d0| 6e 6b 73 20 74 6f 20 74 | 68 65 20 73 61 6d 65 20 |nks to t|he same |
|000051e0| 63 6f 6e 66 69 67 20 66 | 69 6c 65 2e 0a 58 0a 58 |config f|ile..X.X|
|000051f0| 0a 58 33 29 20 66 6f 72 | 20 65 61 63 68 20 6e 65 |.X3) for| each ne|
|00005200| 65 64 65 64 20 70 6c 61 | 74 66 6f 72 6d 3a 0a 58 |eded pla|tform:.X|
|00005210| 20 20 20 2d 62 75 69 6c | 64 20 74 68 65 20 62 69 | -buil|d the bi|
|00005220| 6e 61 72 79 0a 58 20 20 | 20 2d 72 75 6e 20 74 68 |nary.X | -run th|
|00005230| 65 20 62 69 6e 61 72 79 | 20 74 72 69 70 77 69 72 |e binary| tripwir|
|00005240| 65 20 74 6f 20 63 72 65 | 61 74 65 20 74 68 65 20 |e to cre|ate the |
|00005250| 64 61 74 61 62 61 73 65 | 0a 58 20 20 20 2d 63 6f |database|.X -co|
|00005260| 6d 70 72 65 73 73 20 74 | 68 65 20 62 69 6e 61 72 |mpress t|he binar|
|00005270| 79 20 61 6e 64 20 74 68 | 65 20 64 61 74 61 62 61 |y and th|e databa|
|00005280| 73 65 20 61 6e 64 20 73 | 74 6f 72 65 20 74 68 65 |se and s|tore the|
|00005290| 6d 20 6f 6e 74 6f 20 74 | 68 65 20 66 6c 6f 70 70 |m onto t|he flopp|
|000052a0| 79 0a 58 0a 58 0a 58 34 | 29 20 4d 61 72 6b 20 74 |y.X.X.X4|) Mark t|
|000052b0| 68 65 20 66 6c 6f 70 70 | 79 20 72 65 61 64 6f 6e |he flopp|y readon|
|000052c0| 6c 79 2c 20 72 65 2d 6d | 6f 75 6e 74 20 61 6e 64 |ly, re-m|ount and|
|000052d0| 20 65 78 70 6f 72 74 20 | 74 6f 20 6e 65 65 64 65 | export |to neede|
|000052e0| 64 20 6d 61 63 68 69 6e | 65 73 2e 20 4e 46 53 2d |d machin|es. NFS-|
|000052f0| 6d 6f 75 6e 74 20 0a 58 | 20 20 20 74 68 65 20 66 |mount .X| the f|
|00005300| 6c 6f 70 70 79 20 61 73 | 20 2f 75 73 72 2f 6c 6f |loppy as| /usr/lo|
|00005310| 63 61 6c 2f 61 64 6d 2f | 74 63 68 65 63 6b 20 28 |cal/adm/|tcheck (|
|00005320| 6f 72 20 65 64 69 74 20 | 74 68 65 20 54 52 49 50 |or edit |the TRIP|
|00005330| 57 49 52 45 20 73 63 72 | 69 70 74 20 74 6f 20 72 |WIRE scr|ipt to r|
|00005340| 65 66 6c 65 63 74 0a 58 | 20 20 20 79 6f 75 72 20 |eflect.X| your |
|00005350| 70 72 65 66 65 72 65 6e | 63 65 29 2e 20 20 55 73 |preferen|ce). Us|
|00005360| 65 20 61 20 73 79 6d 6c | 69 6e 6b 20 6f 6e 20 74 |e a syml|ink on t|
|00005370| 68 65 20 66 6c 6f 70 70 | 79 27 73 20 6c 6f 63 61 |he flopp|y's loca|
|00005380| 6c 20 68 6f 73 74 20 74 | 6f 20 70 6f 69 6e 74 20 |l host t|o point |
|00005390| 0a 58 20 20 20 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |.X /us|r/local/|
|000053a0| 61 64 6d 2f 74 63 68 65 | 63 6b 20 74 6f 20 74 68 |adm/tche|ck to th|
|000053b0| 65 20 66 6c 6f 70 70 79 | 20 69 66 20 79 6f 75 20 |e floppy| if you |
|000053c0| 63 61 6e 27 74 20 63 6f | 6e 74 72 6f 6c 20 61 20 |can't co|ntrol a |
|000053d0| 66 6c 6f 70 70 79 27 73 | 0a 58 20 20 20 6d 6f 75 |floppy's|.X mou|
|000053e0| 6e 74 20 70 6f 69 6e 74 | 20 28 73 74 75 70 69 64 |nt point| (stupid|
|000053f0| 20 4e 65 58 54 29 2e 0a | 58 0a 58 35 29 20 54 52 | NeXT)..|X.X5) TR|
|00005400| 49 50 57 49 52 45 20 6f | 70 65 72 61 74 65 73 20 |IPWIRE o|perates |
|00005410| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 58 0a 58 09 |as follo|ws:.X.X.|
|00005420| 63 64 20 74 68 65 20 74 | 68 65 20 2f 74 6d 70 20 |cd the t|he /tmp |
|00005430| 61 72 65 61 0a 58 09 66 | 6f 72 63 61 62 6c 79 20 |area.X.f|orcably |
|00005440| 72 65 6d 6f 76 65 20 61 | 6e 79 20 68 69 65 72 61 |remove a|ny hiera|
|00005450| 72 63 68 79 20 63 61 6c | 6c 65 64 20 74 63 68 65 |rchy cal|led tche|
|00005460| 63 6b 2e 72 75 6e 0a 58 | 09 63 72 65 61 74 65 20 |ck.run.X|.create |
|00005470| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 74 63 |the dire|ctory tc|
|00005480| 68 65 63 6b 2e 72 75 6e | 2c 20 6d 6f 76 65 20 74 |heck.run|, move t|
|00005490| 6f 20 69 74 20 61 6e 64 | 20 63 72 65 61 74 65 20 |o it and| create |
|000054a0| 61 20 44 61 74 61 62 61 | 73 65 73 0a 58 09 20 20 |a Databa|ses.X. |
|000054b0| 20 20 64 69 72 65 63 74 | 6f 72 79 0a 58 09 75 6e | direct|ory.X.un|
|000054c0| 63 6f 6d 70 72 65 73 73 | 20 74 68 65 20 6e 65 65 |compress| the nee|
|000054d0| 64 65 64 20 62 69 6e 61 | 72 79 20 61 6e 64 20 64 |ded bina|ry and d|
|000054e0| 61 74 61 62 61 73 65 20 | 61 6e 64 20 73 74 6f 72 |atabase |and stor|
|000054f0| 65 20 74 68 65 6d 20 69 | 6e 20 2e 20 20 61 6e 64 |e them i|n . and|
|00005500| 0a 58 09 20 20 20 20 44 | 61 74 61 62 61 73 65 73 |.X. D|atabases|
|00005510| 0a 58 09 72 75 6e 20 74 | 72 69 70 77 69 72 65 2c |.X.run t|ripwire,|
|00005520| 20 6d 61 69 6c 69 6e 67 | 20 74 68 65 20 6f 75 74 | mailing| the out|
|00005530| 70 75 74 20 74 6f 20 72 | 6f 6f 74 0a 58 09 6d 6f |put to r|oot.X.mo|
|00005540| 76 65 20 62 61 63 6b 20 | 74 6f 20 74 68 65 20 2f |ve back |to the /|
|00005550| 74 6d 70 20 61 72 65 61 | 20 61 6e 64 20 72 65 6d |tmp area| and rem|
|00005560| 6f 76 65 20 74 68 65 20 | 74 63 68 65 63 6b 2e 72 |ove the |tcheck.r|
|00005570| 75 6e 20 68 69 65 72 61 | 72 63 68 79 0a 58 0a 58 |un hiera|rchy.X.X|
|00005580| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00005590| 74 65 73 74 20 33 31 33 | 36 20 2d 6e 65 20 60 77 |test 313|6 -ne `w|
|000055a0| 63 20 2d 63 20 3c 27 74 | 72 69 70 77 69 72 65 2d |c -c <'t|ripwire-|
|000055b0| 31 2e 31 2f 63 6f 6e 74 | 72 69 62 2f 52 45 41 44 |1.1/cont|rib/READ|
|000055c0| 4d 45 2e 54 52 49 50 57 | 49 52 45 27 60 3b 20 74 |ME.TRIPW|IRE'`; t|
|000055d0| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|000055e0| 72 3a 20 5c 22 27 74 72 | 69 70 77 69 72 65 2d 31 |r: \"'tr|ipwire-1|
|000055f0| 2e 31 2f 63 6f 6e 74 72 | 69 62 2f 52 45 41 44 4d |.1/contr|ib/READM|
|00005600| 45 2e 54 52 49 50 57 49 | 52 45 27 5c 22 20 75 6e |E.TRIPWI|RE'\" un|
|00005610| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00005620| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00005630| 20 6f 66 20 27 74 72 69 | 70 77 69 72 65 2d 31 2e | of 'tri|pwire-1.|
|00005640| 31 2f 63 6f 6e 74 72 69 | 62 2f 52 45 41 44 4d 45 |1/contri|b/README|
|00005650| 2e 54 52 49 50 57 49 52 | 45 27 0a 66 69 0a 69 66 |.TRIPWIR|E'.fi.if|
|00005660| 20 74 65 73 74 20 2d 66 | 20 27 74 72 69 70 77 69 | test -f| 'tripwi|
|00005670| 72 65 2d 31 2e 31 2f 73 | 72 63 2f 70 72 65 65 6e |re-1.1/s|rc/preen|
|00005680| 2e 69 6e 74 65 72 70 2e | 63 27 20 2d 61 20 22 24 |.interp.|c' -a "$|
|00005690| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|000056a0| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|000056b0| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|000056c0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|000056d0| 20 5c 22 27 74 72 69 70 | 77 69 72 65 2d 31 2e 31 | \"'trip|wire-1.1|
|000056e0| 2f 73 72 63 2f 70 72 65 | 65 6e 2e 69 6e 74 65 72 |/src/pre|en.inter|
|000056f0| 70 2e 63 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |p.c'\".e|lse.echo|
|00005700| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00005710| 67 20 5c 22 27 74 72 69 | 70 77 69 72 65 2d 31 2e |g \"'tri|pwire-1.|
|00005720| 31 2f 73 72 63 2f 70 72 | 65 65 6e 2e 69 6e 74 65 |1/src/pr|een.inte|
|00005730| 72 70 2e 63 27 5c 22 20 | 5c 28 33 30 36 36 20 63 |rp.c'\" |\(3066 c|
|00005740| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00005750| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 74 72 69 70 77 |"s/^X//"| >'tripw|
|00005760| 69 72 65 2d 31 2e 31 2f | 73 72 63 2f 70 72 65 65 |ire-1.1/|src/pree|
|00005770| 6e 2e 69 6e 74 65 72 70 | 2e 63 27 20 3c 3c 27 45 |n.interp|.c' <<'E|
|00005780| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 69 66 |ND_OF_FI|LE'.X#if|
|00005790| 6e 64 65 66 20 6c 69 6e | 74 0a 58 73 74 61 74 69 |ndef lin|t.Xstati|
|000057a0| 63 20 63 68 61 72 20 72 | 63 73 69 64 5b 5d 20 3d |c char r|csid[] =|
|000057b0| 20 22 24 49 64 3a 20 70 | 72 65 65 6e 2e 69 6e 74 | "$Id: p|reen.int|
|000057c0| 65 72 70 2e 63 2c 76 20 | 31 2e 31 31 20 31 39 39 |erp.c,v |1.11 199|
|000057d0| 33 2f 31 32 2f 31 32 20 | 30 31 3a 33 39 3a 30 31 |3/12/12 |01:39:01|
|000057e0| 20 67 65 6e 65 6b 20 45 | 78 70 20 24 22 3b 0a 58 | genek E|xp $";.X|
|000057f0| 23 65 6e 64 69 66 0a 58 | 0a 58 2f 2a 0a 58 20 2a |#endif.X|.X/*.X *|
|00005800| 20 70 72 65 65 6e 2e 69 | 6e 74 65 72 70 2e 63 0a | preen.i|nterp.c.|
|00005810| 58 20 2a 0a 58 20 2a 09 | 69 6e 74 65 72 70 72 65 |X *.X *.|interpre|
|00005820| 74 20 74 68 65 20 64 69 | 66 66 73 20 62 65 74 77 |t the di|ffs betw|
|00005830| 65 65 6e 20 74 68 65 20 | 64 61 74 61 62 61 73 65 |een the |database|
|00005840| 20 66 69 6c 65 73 0a 58 | 20 2a 0a 58 20 2a 20 47 | files.X| *.X * G|
|00005850| 65 6e 65 20 4b 69 6d 0a | 58 20 2a 20 50 75 72 64 |ene Kim.|X * Purd|
|00005860| 75 65 20 55 6e 69 76 65 | 72 73 69 74 79 0a 58 20 |ue Unive|rsity.X |
|00005870| 2a 2f 0a 58 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |*/.X.X#i|nclude "|
|00005880| 2e 2e 2f 69 6e 63 6c 75 | 64 65 2f 63 6f 6e 66 69 |../inclu|de/confi|
|00005890| 67 2e 68 22 0a 58 23 69 | 6e 63 6c 75 64 65 20 3c |g.h".X#i|nclude <|
|000058a0| 73 74 64 69 6f 2e 68 3e | 0a 58 23 69 66 64 65 66 |stdio.h>|.X#ifdef|
|000058b0| 20 53 54 44 4c 49 42 48 | 0a 58 23 69 6e 63 6c 75 | STDLIBH|.X#inclu|
|000058c0| 64 65 20 3c 73 74 64 6c | 69 62 2e 68 3e 0a 58 23 |de <stdl|ib.h>.X#|
|000058d0| 65 6e 64 69 66 0a 58 23 | 69 66 64 65 66 20 53 54 |endif.X#|ifdef ST|
|000058e0| 52 49 4e 47 48 0a 58 23 | 69 6e 63 6c 75 64 65 20 |RINGH.X#|include |
|000058f0| 3c 73 74 72 69 6e 67 2e | 68 3e 0a 58 23 65 6c 73 |<string.|h>.X#els|
|00005900| 65 0a 58 23 69 6e 63 6c | 75 64 65 20 3c 73 74 72 |e.X#incl|ude <str|
|00005910| 69 6e 67 73 2e 68 3e 0a | 58 23 65 6e 64 69 66 0a |ings.h>.|X#endif.|
|00005920| 58 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 70 |X#includ|e <sys/p|
|00005930| 61 72 61 6d 2e 68 3e 0a | 58 23 69 66 64 65 66 20 |aram.h>.|X#ifdef |
|00005940| 5f 5f 53 54 44 43 5f 5f | 0a 58 23 20 69 6e 63 6c |__STDC__|.X# incl|
|00005950| 75 64 65 20 3c 73 79 73 | 2f 74 79 70 65 73 2e 68 |ude <sys|/types.h|
|00005960| 3e 0a 58 23 20 69 6e 63 | 6c 75 64 65 20 3c 73 79 |>.X# inc|lude <sy|
|00005970| 73 2f 73 74 61 74 2e 68 | 3e 0a 58 23 65 6e 64 69 |s/stat.h|>.X#endi|
|00005980| 66 0a 58 23 69 66 20 28 | 64 65 66 69 6e 65 64 28 |f.X#if (|defined(|
|00005990| 53 59 53 56 29 20 26 26 | 20 28 53 59 53 56 20 3c |SYSV) &&| (SYSV <|
|000059a0| 20 33 29 29 0a 58 23 20 | 69 6e 63 6c 75 64 65 20 | 3)).X# |include |
|000059b0| 3c 6c 69 6d 69 74 73 2e | 68 3e 0a 58 23 65 6e 64 |<limits.|h>.X#end|
|000059c0| 69 66 09 2f 2a 20 53 56 | 52 32 20 2a 2f 0a 58 23 |if./* SV|R2 */.X#|
|000059d0| 69 6e 63 6c 75 64 65 20 | 22 2e 2e 2f 69 6e 63 6c |include |"../incl|
|000059e0| 75 64 65 2f 6c 69 73 74 | 2e 68 22 0a 58 23 69 6e |ude/list|.h".X#in|
|000059f0| 63 6c 75 64 65 20 22 2e | 2e 2f 69 6e 63 6c 75 64 |clude ".|./includ|
|00005a00| 65 2f 74 72 69 70 77 69 | 72 65 2e 68 22 0a 58 0a |e/tripwi|re.h".X.|
|00005a10| 58 09 09 09 09 09 2f 2a | 20 74 68 65 20 64 69 66 |X...../*| the dif|
|00005a20| 66 20 6c 69 73 74 73 20 | 2a 2f 0a 58 73 74 72 75 |f lists |*/.Xstru|
|00005a30| 63 74 20 6c 69 73 74 20 | 2a 64 69 66 66 5f 61 64 |ct list |*diff_ad|
|00005a40| 64 65 64 5f 6c 69 73 74 | 20 3d 20 4e 55 4c 4c 2c |ded_list| = NULL,|
|00005a50| 0a 58 09 20 20 20 20 2a | 64 69 66 66 5f 64 65 6c |.X. *|diff_del|
|00005a60| 65 74 65 64 5f 6c 69 73 | 74 20 3d 20 4e 55 4c 4c |eted_lis|t = NULL|
|00005a70| 2c 0a 58 09 20 20 20 20 | 2a 64 69 66 66 5f 63 68 |,.X. |*diff_ch|
|00005a80| 61 6e 67 65 64 5f 6c 69 | 73 74 20 3d 20 4e 55 4c |anged_li|st = NUL|
|00005a90| 4c 3b 0a 58 0a 58 09 09 | 09 09 09 2f 2a 20 68 6f |L;.X.X..|.../* ho|
|00005aa0| 77 20 6d 61 6e 79 20 69 | 6e 20 65 61 63 68 20 6c |w many i|n each l|
|00005ab0| 69 73 74 20 2a 2f 0a 58 | 69 6e 74 20 64 69 66 66 |ist */.X|int diff|
|00005ac0| 5f 61 64 64 65 64 5f 6e | 75 6d 20 3d 20 30 2c 0a |_added_n|um = 0,.|
|00005ad0| 58 20 20 20 20 64 69 66 | 66 5f 63 68 61 6e 67 65 |X dif|f_change|
|00005ae0| 64 5f 6e 75 6d 20 3d 20 | 30 2c 0a 58 20 20 20 20 |d_num = |0,.X |
|00005af0| 64 69 66 66 5f 64 65 6c | 65 74 65 64 5f 6e 75 6d |diff_del|eted_num|
|00005b00| 20 3d 20 30 2c 0a 58 20 | 20 20 20 64 69 66 66 5f | = 0,.X | diff_|
|00005b10| 75 6e 69 67 6e 6f 72 65 | 64 5f 6e 75 6d 20 3d 20 |unignore|d_num = |
|00005b20| 30 3b 0a 58 0a 58 2f 2a | 0a 58 20 2a 20 70 72 65 |0;.X.X/*|.X * pre|
|00005b30| 65 6e 5f 69 6e 74 65 72 | 70 28 46 49 4c 45 20 2a |en_inter|p(FILE *|
|00005b40| 66 70 69 6e 29 0a 58 20 | 2a 0a 58 20 2a 09 64 6f |fpin).X |*.X *.do|
|00005b50| 20 74 68 65 20 61 63 74 | 75 61 6c 20 69 6e 74 65 | the act|ual inte|
|00005b60| 72 70 72 65 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |rpreatio|n of the|
|00005b70| 20 64 69 66 66 20 6f 75 | 74 70 75 74 2c 20 67 65 | diff ou|tput, ge|
|00005b80| 6e 65 72 61 74 65 64 20 | 62 79 0a 58 20 2a 09 64 |nerated |by.X *.d|
|00005b90| 69 66 66 69 6e 67 20 74 | 68 65 20 74 77 6f 20 64 |iffing t|he two d|
|00005ba0| 61 74 61 62 61 73 65 20 | 66 69 6c 65 73 2e 0a 58 |atabase |files..X|
|00005bb0| 20 2a 2f 0a 58 0a 58 76 | 6f 69 64 0a 58 70 72 65 | */.X.Xv|oid.Xpre|
|00005bc0| 65 6e 5f 69 6e 74 65 72 | 70 20 28 66 70 69 6e 29 |en_inter|p (fpin)|
|00005bd0| 0a 58 20 20 20 20 46 49 | 4c 45 20 2a 66 70 69 6e |.X FI|LE *fpin|
|00005be0| 3b 0a 58 7b 0a 58 20 20 | 20 20 63 68 61 72 20 73 |;.X{.X | char s|
|00005bf0| 5b 31 30 32 34 5d 3b 0a | 58 20 20 20 20 63 68 61 |[1024];.|X cha|
|00005c00| 72 20 6b 65 79 5b 4d 41 | 58 50 41 54 48 4c 45 4e |r key[MA|XPATHLEN|
|00005c10| 2b 32 35 36 5d 2c 20 76 | 61 6c 75 65 5b 35 31 32 |+256], v|alue[512|
|00005c20| 5d 3b 0a 58 20 20 20 20 | 73 74 72 75 63 74 20 6c |];.X |struct l|
|00005c30| 69 73 74 5f 65 6c 65 6d | 20 2a 70 6c 69 73 74 3b |ist_elem| *plist;|
|00005c40| 0a 58 0a 58 20 20 20 20 | 69 66 20 28 21 71 75 69 |.X.X |if (!qui|
|00005c50| 65 74 6d 6f 64 65 29 0a | 58 09 66 70 72 69 6e 74 |etmode).|X.fprint|
|00005c60| 66 28 73 74 64 65 72 72 | 2c 20 22 23 23 23 20 50 |f(stderr|, "### P|
|00005c70| 68 61 73 65 20 34 3a 20 | 20 20 53 65 61 72 63 68 |hase 4: | Search|
|00005c80| 69 6e 67 20 66 6f 72 20 | 69 6e 63 6f 6e 73 69 73 |ing for |inconsis|
|00005c90| 74 65 6e 63 69 65 73 5c | 6e 22 29 3b 0a 58 0a 58 |tencies\|n");.X.X|
|00005ca0| 20 20 20 20 2f 2a 20 73 | 74 61 72 74 20 72 65 61 | /* s|tart rea|
|00005cb0| 64 69 6e 67 20 69 6e 20 | 6c 69 6e 65 73 20 66 72 |ding in |lines fr|
|00005cc0| 6f 6d 20 74 68 65 20 6e | 65 77 20 64 61 74 61 62 |om the n|ew datab|
|00005cd0| 61 73 65 20 2a 2f 0a 58 | 20 20 20 20 77 68 69 6c |ase */.X| whil|
|00005ce0| 65 20 28 66 67 65 74 73 | 28 73 2c 20 73 69 7a 65 |e (fgets|(s, size|
|00005cf0| 6f 66 28 73 29 2c 20 66 | 70 69 6e 29 20 21 3d 20 |of(s), f|pin) != |
|00005d00| 4e 55 4c 4c 29 20 7b 0a | 58 09 63 68 61 72 20 2a |NULL) {.|X.char *|
|00005d10| 6f 6c 64 76 61 6c 75 65 | 3b 0a 58 09 73 74 61 74 |oldvalue|;.X.stat|
|00005d20| 69 63 20 69 6e 74 20 63 | 6f 75 6e 74 6c 69 6e 65 |ic int c|ountline|
|00005d30| 73 20 3d 20 31 3b 0a 58 | 0a 58 09 63 6f 75 6e 74 |s = 1;.X|.X.count|
|00005d40| 6c 69 6e 65 73 2b 2b 3b | 0a 58 0a 58 09 2f 2a 20 |lines++;|.X.X./* |
|00005d50| 69 73 20 69 74 20 61 20 | 63 6f 6d 6d 65 6e 74 3f |is it a |comment?|
|00005d60| 20 2a 2f 0a 58 09 69 66 | 20 28 73 5b 30 5d 20 3d | */.X.if| (s[0] =|
|00005d70| 3d 20 27 23 27 29 0a 58 | 09 20 20 20 20 63 6f 6e |= '#').X|. con|
|00005d80| 74 69 6e 75 65 3b 0a 58 | 09 69 66 20 28 73 5b 30 |tinue;.X|.if (s[0|
|00005d90| 5d 20 3d 3d 20 27 40 27 | 20 26 26 20 73 5b 31 5d |] == '@'| && s[1]|
|00005da0| 20 3d 3d 20 27 40 27 29 | 0a 58 09 20 20 20 20 63 | == '@')|.X. c|
|00005db0| 6f 6e 74 69 6e 75 65 3b | 0a 58 0a 58 09 2f 2a 0a |ontinue;|.X.X./*.|
|00005dc0| 58 09 20 2a 20 69 66 20 | 69 74 27 73 20 69 6e 20 |X. * if |it's in |
|00005dd0| 74 68 65 20 6c 69 73 74 | 3a 0a 58 09 20 2a 09 66 |the list|:.X. *.f|
|00005de0| 6c 61 67 20 61 73 20 53 | 45 45 4e 0a 58 09 20 2a |lag as S|EEN.X. *|
|00005df0| 09 61 29 20 69 66 20 69 | 74 27 73 20 74 68 65 20 |.a) if i|t's the |
|00005e00| 73 61 6d 65 2c 20 6e 65 | 78 74 3b 0a 58 09 20 2a |same, ne|xt;.X. *|
|00005e10| 09 62 29 20 69 66 20 69 | 74 27 73 20 64 69 66 66 |.b) if i|t's diff|
|00005e20| 65 72 65 6e 74 2c 20 69 | 74 27 73 20 43 48 41 4e |erent, i|t's CHAN|
|00005e30| 47 45 44 3b 0a 58 09 20 | 2a 20 6f 74 68 65 72 77 |GED;.X. |* otherw|
|00005e40| 69 73 65 2c 0a 58 09 20 | 2a 09 69 74 27 73 20 41 |ise,.X. |*.it's A|
|00005e50| 44 44 45 44 0a 58 09 20 | 2a 0a 58 09 20 2a 20 73 |DDED.X. |*.X. * s|
|00005e60| 63 61 6e 20 65 6e 74 69 | 72 65 20 6c 69 73 74 2c |can enti|re list,|
|00005e70| 20 66 69 6e 64 20 61 6c | 6c 20 21 53 45 45 4e 0a | find al|l !SEEN.|
|00005e80| 58 09 20 2a 09 74 68 65 | 79 27 72 65 20 44 45 4c |X. *.the|y're DEL|
|00005e90| 45 54 45 44 0a 58 09 20 | 2a 2f 0a 58 0a 58 09 2f |ETED.X. |*/.X.X./|
|00005ea0| 2a 20 28 74 68 69 73 20 | 73 68 6f 75 6c 64 20 6e |* (this |should n|
|00005eb0| 65 76 65 72 20 68 61 70 | 70 65 6e 20 73 69 6e 63 |ever hap|pen sinc|
|00005ec0| 65 20 69 74 20 77 61 73 | 20 61 6c 72 65 61 64 79 |e it was| already|
|00005ed0| 20 70 72 65 70 72 6f 63 | 65 73 73 65 64 21 29 20 | preproc|essed!) |
|00005ee0| 2a 2f 0a 58 09 69 66 20 | 28 73 74 72 69 6e 67 5f |*/.X.if |(string_|
|00005ef0| 73 70 6c 69 74 5f 73 70 | 61 63 65 28 73 2c 20 6b |split_sp|ace(s, k|
|00005f00| 65 79 2c 20 76 61 6c 75 | 65 29 20 3c 20 30 29 20 |ey, valu|e) < 0) |
|00005f10| 7b 0a 58 09 20 20 20 20 | 66 70 72 69 6e 74 66 28 |{.X. |fprintf(|
|00005f20| 73 74 64 65 72 72 2c 20 | 0a 58 09 20 20 20 20 09 |stderr, |.X. .|
|00005f30| 22 25 73 3a 20 66 61 74 | 61 6c 20 70 61 72 73 65 |"%s: fat|al parse|
|00005f40| 20 65 72 72 6f 72 20 69 | 6e 20 70 72 65 70 72 6f | error i|n prepro|
|00005f50| 63 65 73 73 65 64 20 64 | 61 74 61 62 61 73 65 20 |cessed d|atabase |
|00005f60| 66 69 6c 65 2c 20 6c 69 | 6e 65 20 25 64 5c 6e 21 |file, li|ne %d\n!|
|00005f70| 22 2c 0a 58 09 09 70 72 | 6f 67 6e 61 6d 65 2c 20 |",.X..pr|ogname, |
|00005f80| 63 6f 75 6e 74 6c 69 6e | 65 73 29 3b 0a 58 09 20 |countlin|es);.X. |
|00005f90| 20 20 20 65 78 69 74 28 | 31 29 3b 0a 58 09 7d 0a | exit(|1);.X.}.|
|00005fa0| 58 0a 58 09 2f 2a 20 69 | 66 20 66 69 6c 65 20 69 |X.X./* i|f file i|
|00005fb0| 73 20 69 6e 20 73 61 76 | 65 64 20 64 61 74 61 62 |s in sav|ed datab|
|00005fc0| 61 73 65 20 2a 2f 0a 58 | 09 69 66 20 28 28 6f 6c |ase */.X|.if ((ol|
|00005fd0| 64 76 61 6c 75 65 20 3d | 20 6c 69 73 74 5f 6c 6f |dvalue =| list_lo|
|00005fe0| 6f 6b 75 70 28 6b 65 79 | 2c 20 26 6f 6c 64 64 62 |okup(key|, &olddb|
|00005ff0| 61 73 65 5f 6c 69 73 74 | 29 29 20 21 3d 20 4e 55 |ase_list|)) != NU|
|00006000| 4c 4c 29 20 7b 0a 58 0a | 58 09 20 20 20 20 6c 69 |LL) {.X.|X. li|
|00006010| 73 74 5f 73 65 74 66 6c | 61 67 28 6b 65 79 2c 20 |st_setfl|ag(key, |
|00006020| 46 4c 41 47 5f 53 45 45 | 4e 2c 20 26 6f 6c 64 64 |FLAG_SEE|N, &oldd|
|00006030| 62 61 73 65 5f 6c 69 73 | 74 29 3b 0a 58 0a 58 09 |base_lis|t);.X.X.|
|00006040| 20 20 20 20 2f 2a 20 77 | 61 73 20 69 74 20 43 48 | /* w|as it CH|
|00006050| 41 4e 47 45 44 3f 20 2a | 2f 0a 58 09 20 20 20 20 |ANGED? *|/.X. |
|00006060| 69 66 20 28 73 74 72 63 | 6d 70 28 76 61 6c 75 65 |if (strc|mp(value|
|00006070| 2c 20 6f 6c 64 76 61 6c | 75 65 29 20 21 3d 20 30 |, oldval|ue) != 0|
|00006080| 29 20 7b 0a 58 0a 58 53 | 50 44 45 42 55 47 28 36 |) {.X.XS|PDEBUG(6|
|00006090| 29 20 70 72 69 6e 74 66 | 28 22 2d 2d 28 63 68 61 |) printf|("--(cha|
|000060a0| 6e 67 65 64 20 25 73 29 | 2d 2d 2d 2d 2d 2d 76 76 |nged %s)|------vv|
|000060b0| 76 5c 6e 22 2c 20 6b 65 | 79 29 3b 0a 58 53 50 44 |v\n", ke|y);.XSPD|
|000060c0| 45 42 55 47 28 36 29 20 | 70 72 69 6e 74 66 28 22 |EBUG(6) |printf("|
|000060d0| 3e 25 73 3e 25 73 5c 6e | 22 2c 20 6f 6c 64 76 61 |>%s>%s\n|", oldva|
|000060e0| 6c 75 65 2c 20 76 61 6c | 75 65 29 3b 0a 58 0a 58 |lue, val|ue);.X.X|
|000060f0| 09 09 6c 69 73 74 5f 73 | 65 74 28 6b 65 79 2c 20 |..list_s|et(key, |
|00006100| 76 61 6c 75 65 2c 20 30 | 2c 20 26 64 69 66 66 5f |value, 0|, &diff_|
|00006110| 63 68 61 6e 67 65 64 5f | 6c 69 73 74 29 3b 0a 58 |changed_|list);.X|
|00006120| 09 09 64 69 66 66 5f 63 | 68 61 6e 67 65 64 5f 6e |..diff_c|hanged_n|
|00006130| 75 6d 2b 2b 3b 0a 58 09 | 20 20 20 20 7d 0a 58 09 |um++;.X.| }.X.|
|00006140| 20 20 20 20 2f 2a 20 65 | 6c 73 65 20 73 6b 69 70 | /* e|lse skip|
|00006150| 20 69 74 20 2a 2f 0a 58 | 09 20 20 20 20 65 6c 73 | it */.X|. els|
|00006160| 65 0a 58 09 09 63 6f 6e | 74 69 6e 75 65 3b 0a 58 |e.X..con|tinue;.X|
|00006170| 0a 58 09 7d 0a 58 09 2f | 2a 20 65 6c 73 65 20 69 |.X.}.X./|* else i|
|00006180| 74 27 73 20 62 65 65 6e | 20 41 44 44 45 44 20 2a |t's been| ADDED *|
|00006190| 2f 0a 58 09 65 6c 73 65 | 20 7b 0a 58 09 20 20 20 |/.X.else| {.X. |
|000061a0| 20 6c 69 73 74 5f 73 65 | 74 28 6b 65 79 2c 20 76 | list_se|t(key, v|
|000061b0| 61 6c 75 65 2c 20 30 2c | 20 26 64 69 66 66 5f 61 |alue, 0,| &diff_a|
|000061c0| 64 64 65 64 5f 6c 69 73 | 74 29 3b 0a 58 09 20 20 |dded_lis|t);.X. |
|000061d0| 20 20 64 69 66 66 5f 61 | 64 64 65 64 5f 6e 75 6d | diff_a|dded_num|
|000061e0| 2b 2b 3b 0a 58 09 7d 0a | 58 20 20 20 20 7d 0a 58 |++;.X.}.|X }.X|
|000061f0| 0a 58 20 20 20 20 2f 2a | 20 6c 6f 6f 6b 20 66 6f |.X /*| look fo|
|00006200| 72 20 44 45 4c 45 54 45 | 44 20 65 6e 74 72 69 65 |r DELETE|D entrie|
|00006210| 73 20 2a 2f 0a 58 20 20 | 20 20 69 66 20 28 6c 69 |s */.X | if (li|
|00006220| 73 74 5f 6f 70 65 6e 28 | 26 6f 6c 64 64 62 61 73 |st_open(|&olddbas|
|00006230| 65 5f 6c 69 73 74 29 20 | 3c 20 30 29 20 7b 0a 58 |e_list) |< 0) {.X|
|00006240| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00006250| 20 22 70 72 65 65 6e 5f | 69 6e 74 65 72 70 3a 20 | "preen_|interp: |
|00006260| 6c 69 73 74 5f 6f 70 65 | 6e 28 29 20 66 61 69 6c |list_ope|n() fail|
|00006270| 65 64 21 5c 6e 22 29 3b | 0a 58 09 65 78 69 74 28 |ed!\n");|.X.exit(|
|00006280| 31 29 3b 0a 58 20 20 20 | 20 7d 0a 58 0a 58 20 20 |1);.X | }.X.X |
|00006290| 20 20 77 68 69 6c 65 20 | 28 28 70 6c 69 73 74 20 | while |((plist |
|000062a0| 3d 20 6c 69 73 74 5f 67 | 65 74 28 26 6f 6c 64 64 |= list_g|et(&oldd|
|000062b0| 62 61 73 65 5f 6c 69 73 | 74 29 29 20 21 3d 20 4e |base_lis|t)) != N|
|000062c0| 55 4c 4c 29 20 7b 0a 58 | 0a 58 09 2f 2a 20 73 6b |ULL) {.X|.X./* sk|
|000062d0| 69 70 20 65 6e 74 72 69 | 65 73 20 74 68 61 74 20 |ip entri|es that |
|000062e0| 68 61 76 65 20 61 6c 72 | 65 61 64 79 20 62 65 65 |have alr|eady bee|
|000062f0| 6e 20 73 65 65 6e 20 2a | 2f 0a 58 09 69 66 20 28 |n seen *|/.X.if (|
|00006300| 70 6c 69 73 74 2d 3e 66 | 6c 61 67 20 26 20 46 4c |plist->f|lag & FL|
|00006310| 41 47 5f 53 45 45 4e 29 | 0a 58 09 20 20 20 20 63 |AG_SEEN)|.X. c|
|00006320| 6f 6e 74 69 6e 75 65 3b | 0a 58 0a 58 09 6c 69 73 |ontinue;|.X.X.lis|
|00006330| 74 5f 73 65 74 28 70 6c | 69 73 74 2d 3e 76 61 72 |t_set(pl|ist->var|
|00006340| 6e 61 6d 65 2c 20 70 6c | 69 73 74 2d 3e 76 61 72 |name, pl|ist->var|
|00006350| 76 61 6c 75 65 2c 20 30 | 2c 20 26 64 69 66 66 5f |value, 0|, &diff_|
|00006360| 64 65 6c 65 74 65 64 5f | 6c 69 73 74 29 3b 0a 58 |deleted_|list);.X|
|00006370| 09 64 69 66 66 5f 64 65 | 6c 65 74 65 64 5f 6e 75 |.diff_de|leted_nu|
|00006380| 6d 2b 2b 3b 0a 58 20 20 | 20 20 7d 0a 58 0a 58 20 |m++;.X | }.X.X |
|00006390| 20 20 20 69 66 20 28 6c | 69 73 74 5f 63 6c 6f 73 | if (l|ist_clos|
|000063a0| 65 28 26 6f 6c 64 64 62 | 61 73 65 5f 6c 69 73 74 |e(&olddb|ase_list|
|000063b0| 29 20 3c 20 30 29 20 7b | 0a 58 09 66 70 72 69 6e |) < 0) {|.X.fprin|
|000063c0| 74 66 28 73 74 64 65 72 | 72 2c 20 22 70 72 65 65 |tf(stder|r, "pree|
|000063d0| 6e 5f 69 6e 74 65 72 70 | 3a 20 6c 69 73 74 5f 6f |n_interp|: list_o|
|000063e0| 70 65 6e 28 29 20 66 61 | 69 6c 65 64 21 5c 6e 22 |pen() fa|iled!\n"|
|000063f0| 29 3b 0a 58 09 65 78 69 | 74 28 31 29 3b 0a 58 20 |);.X.exi|t(1);.X |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.