home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (V7), file CHANGES, mode 660 , uid 0 , gid 12 , size 24023 , seconds 4167573556
| default
| |
98%
| file
| data
| default
| |
100%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 43 48 41 4e 47 45 53 00 | 00 00 00 00 00 00 00 00 |CHANGES.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 36 | 36 30 20 00 20 20 20 20 |.... 6|60 . |
|00000070| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00000080| 20 20 32 34 30 32 33 20 | 20 34 31 36 37 35 37 33 | 24023 | 4167573|
|00000090| 35 35 36 20 20 20 35 30 | 36 34 00 20 00 00 00 00 |556 50|64. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 09 09 47 61 74 65 64 20 | 63 68 61 6e 67 65 73 20 |..Gated |changes |
|00000210| 62 79 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |by versi|on numbe|
|00000220| 72 0a 0a 54 68 65 73 65 | 20 61 72 65 20 74 68 65 |r..These| are the|
|00000230| 20 63 68 61 6e 67 65 73 | 20 62 65 74 77 65 65 6e | changes| between|
|00000240| 20 31 2e 33 2e 31 20 61 | 6e 64 20 74 68 65 20 63 | 1.3.1 a|nd the c|
|00000250| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 3a 0a |urrent v|ersion:.|
|00000260| 0a 09 31 2e 20 20 54 68 | 65 20 45 47 50 20 63 6f |..1. Th|e EGP co|
|00000270| 64 65 20 61 6e 64 20 62 | 65 65 6e 20 72 65 77 6f |de and b|een rewo|
|00000280| 72 6b 65 64 20 62 79 20 | 54 68 6f 6d 61 73 20 4e |rked by |Thomas N|
|00000290| 61 72 74 65 6e 2e 20 20 | 4d 6f 73 74 0a 09 20 20 |arten. |Most.. |
|000002a0| 20 20 69 6d 70 6f 72 74 | 61 6e 74 6c 79 2c 20 74 | import|antly, t|
|000002b0| 68 65 20 74 69 6d 69 6e | 67 20 68 61 73 20 62 65 |he timin|g has be|
|000002c0| 65 6e 20 69 6d 70 72 6f | 76 65 64 2e 20 20 49 6e |en impro|ved. In|
|000002d0| 20 61 64 64 69 74 69 6f | 6e 2c 0a 09 20 20 20 20 | additio|n,.. |
|000002e0| 67 61 74 65 64 20 77 69 | 6c 6c 20 6e 6f 77 20 6c |gated wi|ll now l|
|000002f0| 6f 67 20 69 6d 70 6f 72 | 74 61 6e 74 20 45 47 50 |og impor|tant EGP|
|00000300| 20 73 74 61 74 65 20 63 | 68 61 6e 67 65 73 20 74 | state c|hanges t|
|00000310| 6f 20 74 68 65 0a 09 20 | 20 20 20 73 79 73 6c 6f |o the.. | syslo|
|00000320| 67 2e 20 0a 09 20 20 20 | 20 0a 09 32 2e 20 20 53 |g. .. | ..2. S|
|00000330| 75 6e 20 4f 53 20 33 2e | 34 20 64 6f 65 73 20 6e |un OS 3.|4 does n|
|00000340| 6f 74 20 70 72 6f 70 65 | 72 6c 79 20 68 61 6e 64 |ot prope|rly hand|
|00000350| 6c 65 20 74 77 6f 20 73 | 75 62 6e 65 74 74 65 64 |le two s|ubnetted|
|00000360| 20 6e 65 74 77 6f 72 6b | 73 2c 0a 09 20 20 20 20 | network|s,.. |
|00000370| 67 61 74 65 64 20 68 61 | 73 20 62 65 65 6e 20 6d |gated ha|s been m|
|00000380| 6f 64 69 66 69 65 64 20 | 74 6f 20 72 65 63 6f 67 |odified |to recog|
|00000390| 6e 69 7a 65 20 74 68 69 | 73 20 63 6f 6e 64 69 74 |nize thi|s condit|
|000003a0| 69 6f 6e 2e 0a 0a 09 33 | 2e 20 20 54 68 65 20 52 |ion....3|. The R|
|000003b0| 49 50 20 74 6f 20 48 45 | 4c 4c 4f 20 74 72 61 6e |IP to HE|LLO tran|
|000003c0| 73 6c 61 74 69 6f 6e 20 | 74 61 62 6c 65 20 68 61 |slation |table ha|
|000003d0| 73 20 62 65 65 6e 20 75 | 70 64 61 74 65 64 20 61 |s been u|pdated a|
|000003e0| 74 20 74 68 65 0a 09 20 | 20 20 20 73 75 67 67 65 |t the.. | sugge|
|000003f0| 73 74 69 6f 6e 20 6f 66 | 20 44 61 76 65 20 4d 69 |stion of| Dave Mi|
|00000400| 6c 6c 73 2e 20 20 48 45 | 4c 4c 4f 20 70 72 6f 63 |lls. HE|LLO proc|
|00000410| 65 73 73 69 6e 67 20 68 | 61 73 20 62 65 65 6e 0a |essing h|as been.|
|00000420| 09 20 20 20 20 6d 6f 64 | 69 66 69 65 64 20 74 6f |. mod|ified to|
|00000430| 20 6d 6f 72 65 20 63 6c | 6f 73 65 6c 79 20 72 65 | more cl|osely re|
|00000440| 73 65 6d 62 6c 65 20 74 | 68 61 74 20 6f 66 20 74 |semble t|hat of t|
|00000450| 68 65 20 46 75 7a 7a 62 | 61 6c 6c 2e 20 0a 09 20 |he Fuzzb|all. .. |
|00000460| 20 20 20 47 61 74 65 64 | 20 61 73 73 75 6d 65 73 | Gated| assumes|
|00000470| 20 74 68 61 74 20 61 6c | 6c 20 48 45 4c 4c 4f 20 | that al|l HELLO |
|00000480| 70 61 63 6b 65 74 73 20 | 61 72 72 69 76 65 20 6f |packets |arrive o|
|00000490| 76 65 72 20 61 6e 20 45 | 74 68 65 72 6e 65 74 0a |ver an E|thernet.|
|000004a0| 09 20 20 20 20 69 6e 74 | 65 72 66 61 63 65 20 61 |. int|erface a|
|000004b0| 6e 64 20 61 64 64 73 20 | 31 30 30 6d 73 20 74 6f |nd adds |100ms to|
|000004c0| 20 74 68 65 20 64 65 6c | 61 79 20 6f 6e 20 61 72 | the del|ay on ar|
|000004d0| 72 69 76 61 6c 2e 20 54 | 68 69 73 0a 09 20 20 20 |rival. T|his.. |
|000004e0| 20 69 6d 70 6c 69 65 73 | 20 74 68 61 74 20 67 61 | implies| that ga|
|000004f0| 74 65 64 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 62 |ted shou|ld not b|
|00000500| 65 20 75 73 65 64 20 74 | 6f 20 65 78 63 68 61 6e |e used t|o exchan|
|00000510| 67 65 20 48 45 4c 4c 4f | 0a 09 20 20 20 20 69 6e |ge HELLO|.. in|
|00000520| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 76 65 72 20 6e |formatio|n over n|
|00000530| 6f 6e 2d 45 74 68 65 72 | 6e 65 74 20 69 6e 74 65 |on-Ether|net inte|
|00000540| 72 66 61 63 65 73 20 61 | 73 20 69 74 20 6d 61 6b |rfaces a|s it mak|
|00000550| 65 73 20 6e 6f 0a 09 20 | 20 20 20 61 74 74 65 6d |es no.. | attem|
|00000560| 70 74 20 74 6f 20 70 72 | 6f 70 65 72 6c 79 20 63 |pt to pr|operly c|
|00000570| 61 6c 63 75 6c 61 74 65 | 20 74 68 65 20 64 65 6c |alculate| the del|
|00000580| 61 79 2e 0a 0a 09 20 20 | 20 20 48 45 4c 4c 4f 20 |ay.... | HELLO |
|00000590| 72 6f 75 74 65 73 20 6d | 75 73 74 20 62 65 20 32 |routes m|ust be 2|
|000005a0| 35 25 20 62 65 74 74 65 | 72 20 6f 72 20 77 6f 72 |5% bette|r or wor|
|000005b0| 73 65 20 74 68 61 6e 20 | 74 68 65 20 65 78 69 73 |se than |the exis|
|000005c0| 74 69 6e 67 0a 09 20 20 | 20 20 72 6f 75 74 65 20 |ting.. | route |
|000005d0| 66 6f 72 20 61 20 63 68 | 61 6e 67 65 20 74 6f 20 |for a ch|ange to |
|000005e0| 6f 63 63 75 72 20 28 62 | 65 74 74 65 72 20 74 6f |occur (b|etter to|
|000005f0| 20 73 77 69 74 63 68 20 | 74 6f 20 61 20 48 45 4c | switch |to a HEL|
|00000600| 4c 4f 0a 09 20 20 20 20 | 72 6f 75 74 65 2c 20 77 |LO.. |route, w|
|00000610| 6f 72 73 65 20 74 6f 20 | 75 70 64 61 74 65 20 74 |orse to |update t|
|00000620| 68 65 20 6d 65 74 72 69 | 63 20 69 6e 20 75 73 65 |he metri|c in use|
|00000630| 29 2e 20 20 50 72 65 76 | 69 6f 75 73 6c 79 20 74 |). Prev|iously t|
|00000640| 68 65 0a 09 20 20 20 20 | 63 6f 6d 70 61 72 69 73 |he.. |comparis|
|00000650| 6f 6e 20 77 61 73 20 61 | 20 66 69 78 65 64 20 31 |on was a| fixed 1|
|00000660| 30 30 6d 73 2e 0a 0a 09 | 20 20 20 20 47 61 74 65 |00ms....| Gate|
|00000670| 64 20 6e 6f 77 20 72 65 | 63 6f 67 6e 69 7a 65 73 |d now re|cognizes|
|00000680| 20 74 68 65 20 46 75 7a | 7a 62 61 6c 6c 20 68 6f | the Fuz|zball ho|
|00000690| 6c 64 64 6f 77 6e 20 62 | 69 74 20 61 6e 64 20 69 |lddown b|it and i|
|000006a0| 67 6e 6f 72 65 73 0a 09 | 20 20 20 20 74 68 65 20 |gnores..| the |
|000006b0| 72 6f 75 74 65 2c 20 75 | 6e 6c 65 73 73 20 69 74 |route, u|nless it|
|000006c0| 20 69 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | is the |current |
|000006d0| 72 6f 75 74 65 2c 20 74 | 68 65 6e 20 74 68 65 20 |route, t|hen the |
|000006e0| 74 69 6d 65 72 20 69 73 | 0a 09 20 20 20 20 72 65 |timer is|.. re|
|000006f0| 73 65 74 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |set so t|hat the |
|00000700| 72 6f 75 74 65 20 64 6f | 65 73 20 6e 6f 74 20 65 |route do|es not e|
|00000710| 78 70 69 72 65 2e 20 20 | 41 20 6d 65 73 73 61 67 |xpire. |A messag|
|00000720| 65 20 69 73 0a 09 20 20 | 20 20 70 72 69 6e 74 65 |e is.. | printe|
|00000730| 64 20 77 68 65 6e 20 61 | 20 72 6f 75 74 65 20 69 |d when a| route i|
|00000740| 6e 20 75 73 65 20 69 73 | 20 69 6e 20 46 75 7a 7a |n use is| in Fuzz|
|00000750| 62 61 6c 6c 20 68 6f 6c | 64 64 6f 77 6e 2e 0a 0a |ball hol|ddown...|
|00000760| 09 34 2e 20 20 41 20 6e | 65 77 20 64 65 66 69 6e |.4. A n|ew defin|
|00000770| 65 20 69 73 20 73 75 70 | 70 6f 72 74 65 64 2c 20 |e is sup|ported, |
|00000780| 4c 4f 47 5f 46 41 43 49 | 4c 49 54 59 2c 20 74 68 |LOG_FACI|LITY, th|
|00000790| 61 74 20 61 6c 6c 6f 77 | 73 20 67 61 74 65 64 27 |at allow|s gated'|
|000007a0| 73 0a 09 20 20 20 20 73 | 79 73 6c 6f 67 20 6f 75 |s.. s|yslog ou|
|000007b0| 74 70 75 74 20 74 6f 20 | 62 65 20 72 65 64 69 72 |tput to |be redir|
|000007c0| 65 63 74 65 64 20 6f 6e | 20 73 79 73 74 65 6d 73 |ected on| systems|
|000007d0| 20 74 68 61 74 20 73 75 | 70 70 6f 72 74 20 74 68 | that su|pport th|
|000007e0| 65 0a 09 20 20 20 20 42 | 53 44 20 34 2e 33 20 73 |e.. B|SD 4.3 s|
|000007f0| 79 73 6c 6f 67 20 66 61 | 63 69 6c 69 74 79 2e 20 |yslog fa|cility. |
|00000800| 20 54 68 69 73 20 77 69 | 6c 6c 20 61 73 73 69 73 | This wi|ll assis|
|00000810| 74 20 69 6e 20 64 65 61 | 6c 69 6e 67 20 77 69 74 |t in dea|ling wit|
|00000820| 68 0a 09 20 20 20 20 74 | 68 65 20 76 6f 6c 75 6d |h.. t|he volum|
|00000830| 65 20 6f 66 20 73 79 73 | 6c 6f 67 20 69 6e 66 6f |e of sys|log info|
|00000840| 72 6d 61 74 69 6f 6e 20 | 67 61 74 65 64 20 63 61 |rmation |gated ca|
|00000850| 6e 20 70 72 6f 64 75 63 | 65 2e 0a 0a 09 35 2e 20 |n produc|e....5. |
|00000860| 20 41 6e 20 72 63 73 69 | 64 20 76 61 72 69 61 62 | An rcsi|d variab|
|00000870| 6c 65 20 68 61 73 20 62 | 65 65 6e 20 61 64 64 65 |le has b|een adde|
|00000880| 64 20 74 6f 20 65 61 63 | 68 20 73 6f 75 72 63 65 |d to eac|h source|
|00000890| 20 66 69 6c 65 20 74 6f | 20 61 69 64 0a 09 20 20 | file to| aid.. |
|000008a0| 20 20 69 6e 20 69 64 65 | 6e 74 69 66 69 6e 67 20 | in ide|ntifing |
|000008b0| 74 68 65 20 72 65 76 69 | 73 69 6f 6e 20 6c 65 76 |the revi|sion lev|
|000008c0| 65 6c 20 6f 66 20 67 61 | 74 65 64 2e 20 20 54 68 |el of ga|ted. Th|
|000008d0| 65 20 76 65 72 73 69 6f | 6e 20 49 44 0a 09 20 20 |e versio|n ID.. |
|000008e0| 20 20 6f 66 20 67 61 74 | 65 64 20 69 6e 20 67 65 | of gat|ed in ge|
|000008f0| 6e 65 72 61 6c 20 69 73 | 20 64 65 72 69 76 65 64 |neral is| derived|
|00000900| 20 66 72 6f 6d 20 74 68 | 65 20 6c 61 74 65 73 74 | from th|e latest|
|00000910| 20 72 65 76 69 73 69 6f | 6e 0a 09 20 20 20 20 6c | revisio|n.. l|
|00000920| 65 76 65 6c 20 6f 66 20 | 74 68 65 20 69 6e 64 69 |evel of |the indi|
|00000930| 76 69 64 75 61 6c 20 73 | 6f 75 72 63 65 20 66 69 |vidual s|ource fi|
|00000940| 6c 65 73 2e 0a 0a 09 36 | 2e 20 20 4c 69 6d 69 74 |les....6|. Limit|
|00000950| 65 64 20 73 75 70 70 6f | 72 74 20 66 6f 72 20 66 |ed suppo|rt for f|
|00000960| 69 78 65 64 20 6d 65 74 | 72 69 63 73 2e 20 20 54 |ixed met|rics. T|
|00000970| 68 65 20 27 66 69 78 65 | 64 6d 65 74 72 69 63 27 |he 'fixe|dmetric'|
|00000980| 20 63 6c 61 75 73 65 0a | 09 20 20 20 20 69 6e 20 | clause.|. in |
|00000990| 74 68 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |the conf|iguratio|
|000009a0| 6e 20 66 69 6c 65 20 61 | 6c 6c 6f 77 73 20 61 20 |n file a|llows a |
|000009b0| 66 69 78 65 64 20 6d 65 | 74 72 69 63 20 70 65 72 |fixed me|tric per|
|000009c0| 0a 09 20 20 20 20 69 6e | 74 65 72 66 61 63 65 20 |.. in|terface |
|000009d0| 70 65 72 20 70 72 6f 74 | 6f 63 6f 6c 20 28 52 49 |per prot|ocol (RI|
|000009e0| 50 20 6f 72 20 48 45 4c | 4c 4f 29 2e 20 20 41 6c |P or HEL|LO). Al|
|000009f0| 6c 20 6f 75 74 62 6f 75 | 6e 64 20 6d 65 74 72 69 |l outbou|nd metri|
|00000a00| 63 73 0a 09 20 20 20 20 | 6f 6e 20 74 68 65 20 73 |cs.. |on the s|
|00000a10| 70 65 63 69 66 69 65 64 | 20 69 6e 74 65 72 66 61 |pecified| interfa|
|00000a20| 63 65 20 74 68 61 74 20 | 61 72 65 20 6e 6f 74 20 |ce that |are not |
|00000a30| 69 6e 66 69 6e 69 74 79 | 20 77 69 6c 6c 20 62 65 |infinity| will be|
|00000a40| 20 73 65 74 0a 09 20 20 | 20 20 74 6f 20 74 68 65 | set.. | to the|
|00000a50| 20 73 70 65 63 69 66 69 | 65 64 20 6d 65 74 72 69 | specifi|ed metri|
|00000a60| 63 2e 0a 0a 09 37 2e 20 | 20 57 68 65 6e 20 61 20 |c....7. | When a |
|00000a70| 63 75 72 72 65 6e 74 6c | 79 20 61 63 74 69 76 65 |currentl|y active|
|00000a80| 20 72 6f 75 74 65 20 63 | 6f 6d 65 73 20 69 6e 20 | route c|omes in |
|00000a90| 61 73 20 69 6e 66 69 6e | 69 74 79 20 6f 72 0a 09 |as infin|ity or..|
|00000aa0| 20 20 20 20 67 72 65 61 | 74 65 72 2c 20 67 61 74 | grea|ter, gat|
|00000ab0| 65 64 20 6c 6f 67 73 20 | 61 6e 20 55 4e 52 45 41 |ed logs |an UNREA|
|00000ac0| 43 48 41 42 4c 45 20 6d | 65 73 73 61 67 65 2e 0a |CHABLE m|essage..|
|00000ad0| 0a 54 68 65 73 65 20 61 | 72 65 20 74 68 65 20 63 |.These a|re the c|
|00000ae0| 68 61 6e 67 65 73 20 69 | 6e 20 76 65 72 73 69 6f |hanges i|n versio|
|00000af0| 6e 20 31 2e 33 2e 31 20 | 6f 66 20 67 61 74 65 64 |n 1.3.1 |of gated|
|00000b00| 20 66 72 6f 6d 20 74 68 | 65 20 70 72 65 76 69 6f | from th|e previo|
|00000b10| 75 73 0a 76 65 72 73 69 | 6f 6e 73 20 6f 66 20 67 |us.versi|ons of g|
|00000b20| 61 74 65 64 3a 0a 0a 09 | 31 2e 20 20 54 68 65 72 |ated:...|1. Ther|
|00000b30| 65 20 69 73 20 6e 6f 77 | 20 61 20 76 65 72 73 69 |e is now| a versi|
|00000b40| 6f 6e 20 49 44 20 6e 75 | 6d 62 65 72 2e 20 20 54 |on ID nu|mber. T|
|00000b50| 68 69 73 20 6e 65 77 20 | 76 65 72 73 69 6f 6e 0a |his new |version.|
|00000b60| 09 20 20 20 20 69 73 20 | 6b 6e 6f 77 6e 20 61 73 |. is |known as|
|00000b70| 20 31 2e 33 2e 31 2e 0a | 0a 09 32 2e 20 20 49 6e | 1.3.1..|..2. In|
|00000b80| 20 74 68 65 20 67 61 74 | 65 64 2e 63 6f 6e 66 20 | the gat|ed.conf |
|00000b90| 66 69 6c 65 2c 20 61 6c | 6c 20 72 65 66 65 72 65 |file, al|l refere|
|00000ba0| 6e 63 65 73 20 74 6f 20 | 61 20 50 54 50 20 69 6e |nces to |a PTP in|
|00000bb0| 74 65 72 66 61 63 65 0a | 09 20 20 20 20 6d 75 73 |terface.|. mus|
|00000bc0| 74 20 75 73 65 20 74 68 | 65 20 44 45 53 54 49 4e |t use th|e DESTIN|
|00000bd0| 41 54 49 4f 4e 20 61 64 | 64 72 65 73 73 2e 20 20 |ATION ad|dress. |
|00000be0| 54 68 69 73 20 69 73 20 | 65 78 61 63 74 6c 79 20 |This is |exactly |
|00000bf0| 6f 70 70 6f 73 69 74 65 | 0a 09 20 20 20 20 74 68 |opposite|.. th|
|00000c00| 65 20 6f 6c 64 20 76 65 | 72 73 69 6f 6e 73 20 77 |e old ve|rsions w|
|00000c10| 68 69 63 68 20 75 73 65 | 64 20 74 68 65 20 73 6f |hich use|d the so|
|00000c20| 75 72 63 65 20 61 64 64 | 72 65 73 73 20 6f 66 20 |urce add|ress of |
|00000c30| 61 20 50 54 50 20 6c 69 | 6e 6b 2e 0a 09 20 20 20 |a PTP li|nk... |
|00000c40| 20 54 68 69 73 20 69 73 | 20 74 68 65 20 6f 6e 6c | This is| the onl|
|00000c50| 79 20 63 68 61 6e 67 65 | 20 79 6f 75 20 73 68 6f |y change| you sho|
|00000c60| 75 6c 64 20 68 61 76 65 | 20 74 6f 20 6d 61 6b 65 |uld have| to make|
|00000c70| 20 66 6f 72 0a 09 20 20 | 20 20 63 6f 6d 70 61 74 | for.. | compat|
|00000c80| 69 62 69 6c 69 74 79 20 | 77 69 74 68 20 79 6f 75 |ibility |with you|
|00000c90| 72 20 65 78 69 73 74 69 | 6e 67 20 67 61 74 65 64 |r existi|ng gated|
|00000ca0| 2e 63 6f 6e 66 2e 0a 0a | 09 33 2e 20 20 53 70 6c |.conf...|.3. Spl|
|00000cb0| 69 74 2d 68 6f 72 69 7a | 6f 6e 20 69 73 20 69 6d |it-horiz|on is im|
|00000cc0| 70 6c 65 6d 65 6e 74 65 | 64 20 70 72 6f 70 65 72 |plemente|d proper|
|00000cd0| 6c 79 2e 20 20 54 68 69 | 73 20 69 6e 63 6c 75 64 |ly. Thi|s includ|
|00000ce0| 65 73 0a 09 20 20 20 20 | 77 69 74 68 20 66 6c 61 |es.. |with fla|
|00000cf0| 73 68 2d 75 70 64 61 74 | 65 73 2e 20 20 53 70 6c |sh-updat|es. Spl|
|00000d00| 69 74 20 68 6f 72 69 7a | 6f 6e 20 68 61 73 20 62 |it horiz|on has b|
|00000d10| 65 65 6e 20 66 69 78 65 | 64 20 69 6e 20 74 68 65 |een fixe|d in the|
|00000d20| 0a 09 20 20 20 20 70 61 | 72 61 6c 6c 65 6c 20 70 |.. pa|rallel p|
|00000d30| 72 6f 74 6f 63 6f 6c 20 | 65 6e 76 69 72 6f 6e 6d |rotocol |environm|
|00000d40| 65 6e 74 2e 20 20 28 73 | 65 65 20 6d 79 20 6d 65 |ent. (s|ee my me|
|00000d50| 73 73 61 67 65 20 74 6f | 20 74 68 65 0a 09 20 20 |ssage to| the.. |
|00000d60| 20 20 6e 73 66 6e 65 74 | 20 6d 61 69 6c 69 6e 67 | nsfnet| mailing|
|00000d70| 20 6c 69 73 74 29 0a 0a | 09 34 2e 20 20 54 68 65 | list)..|.4. The|
|00000d80| 20 63 6f 64 65 20 68 61 | 73 20 62 65 65 6e 20 63 | code ha|s been c|
|00000d90| 6c 65 61 6e 65 64 20 75 | 70 20 61 6e 64 20 6d 61 |leaned u|p and ma|
|00000da0| 64 65 20 61 73 20 63 6f | 6e 73 69 73 74 65 6e 74 |de as co|nsistent|
|00000db0| 20 61 73 0a 09 20 20 20 | 20 70 6f 73 73 69 62 6c | as.. | possibl|
|00000dc0| 65 2e 20 20 74 68 65 20 | 73 79 73 6c 6f 67 20 75 |e. the |syslog u|
|00000dd0| 74 69 6c 69 74 79 20 68 | 61 73 20 62 65 65 6e 20 |tility h|as been |
|00000de0| 75 73 65 64 20 65 78 74 | 65 6e 73 69 76 65 6c 79 |used ext|ensively|
|00000df0| 2e 0a 0a 09 35 2e 20 20 | 63 65 72 74 61 69 6e 20 |....5. |certain |
|00000e00| 73 6f 75 72 63 65 20 66 | 69 6c 65 73 20 77 65 72 |source f|iles wer|
|00000e10| 65 20 6d 65 72 67 65 64 | 20 61 6e 64 20 72 65 6e |e merged| and ren|
|00000e20| 61 6d 65 64 20 66 6f 72 | 0a 09 20 20 20 20 63 6f |amed for|.. co|
|00000e30| 6e 73 69 73 74 65 6e 63 | 79 2e 0a 0a 09 36 2e 20 |nsistenc|y....6. |
|00000e40| 20 50 54 50 20 6c 69 6e | 6b 73 20 61 72 65 20 64 | PTP lin|ks are d|
|00000e50| 65 61 6c 74 20 77 69 74 | 68 20 6d 6f 72 65 20 63 |ealt wit|h more c|
|00000e60| 6f 6e 73 69 73 74 65 6e | 74 6c 79 2e 20 20 54 68 |onsisten|tly. Th|
|00000e70| 65 20 6b 6c 75 64 67 65 | 20 66 6f 72 0a 09 20 20 |e kludge| for.. |
|00000e80| 20 20 53 4c 49 50 6e 65 | 74 20 6c 69 6e 6b 73 20 | SLIPne|t links |
|00000e90| 69 73 20 67 6f 6e 65 2e | 0a 0a 09 37 2e 20 20 54 |is gone.|...7. T|
|00000ea0| 68 65 72 65 20 69 73 20 | 61 20 32 20 6d 69 6e 75 |here is |a 2 minu|
|00000eb0| 74 65 20 68 6f 6c 64 20 | 64 6f 77 6e 20 66 6f 72 |te hold |down for|
|00000ec0| 20 61 6c 6c 20 70 72 6f | 74 6f 63 6f 6c 73 2e 0a | all pro|tocols..|
|00000ed0| 0a 09 38 2e 20 20 54 68 | 65 20 69 6e 74 65 72 66 |..8. Th|e interf|
|00000ee0| 61 63 65 20 63 6f 64 65 | 20 68 61 73 20 62 65 65 |ace code| has bee|
|00000ef0| 6e 20 62 65 65 66 65 64 | 20 75 70 20 63 6f 6e 73 |n beefed| up cons|
|00000f00| 69 64 65 72 61 62 6c 79 | 2e 0a 20 20 20 20 20 20 |iderably|.. |
|00000f10| 20 20 20 20 20 20 59 6f | 75 20 63 61 6e 20 6e 6f | Yo|u can no|
|00000f20| 77 20 63 68 61 6e 67 65 | 20 69 6e 74 65 72 66 61 |w change| interfa|
|00000f30| 63 65 20 66 6c 61 67 73 | 20 6f 6e 20 74 68 65 20 |ce flags| on the |
|00000f40| 66 6c 79 20 77 69 74 68 | 6f 75 74 0a 09 20 20 20 |fly with|out.. |
|00000f50| 20 72 65 73 74 61 72 74 | 69 6e 67 20 67 61 74 65 | restart|ing gate|
|00000f60| 64 2e 20 20 67 61 74 65 | 64 20 63 68 65 63 6b 73 |d. gate|d checks|
|00000f70| 20 74 68 65 6d 20 65 76 | 65 72 79 20 33 30 20 73 | them ev|ery 30 s|
|00000f80| 65 63 6f 6e 64 73 2e 0a | 09 20 20 20 20 59 6f 75 |econds..|. You|
|00000f90| 20 63 61 6e 20 63 68 61 | 6e 67 65 20 61 20 6e 65 | can cha|nge a ne|
|00000fa0| 74 6d 61 73 6b 2c 20 61 | 64 64 72 65 73 73 2c 20 |tmask, a|ddress, |
|00000fb0| 6d 65 74 72 69 63 2c 20 | 61 6e 64 20 62 72 6f 61 |metric, |and broa|
|00000fc0| 64 63 61 73 74 0a 09 20 | 20 20 20 61 64 64 72 65 |dcast.. | addre|
|00000fd0| 73 73 20 77 69 74 68 6f | 75 74 20 73 74 6f 70 70 |ss witho|ut stopp|
|00000fe0| 69 6e 67 20 67 61 74 65 | 64 2e 20 20 59 6f 75 20 |ing gate|d. You |
|00000ff0| 6d 75 73 74 20 66 69 72 | 73 74 20 69 66 63 6f 6e |must fir|st ifcon|
|00001000| 66 69 67 0a 09 20 20 20 | 20 74 68 65 20 69 6e 74 |fig.. | the int|
|00001010| 65 72 66 61 63 65 20 64 | 6f 77 6e 20 28 66 6f 72 |erface d|own (for|
|00001020| 20 61 62 6f 75 74 20 31 | 35 20 73 65 63 6f 6e 64 | about 1|5 second|
|00001030| 73 29 20 61 6e 64 20 74 | 68 65 6e 20 62 72 69 6e |s) and t|hen brin|
|00001040| 67 0a 09 20 20 20 20 69 | 74 20 62 61 63 6b 20 75 |g.. i|t back u|
|00001050| 70 2e 20 20 67 61 74 65 | 64 20 77 69 6c 6c 20 6d |p. gate|d will m|
|00001060| 61 6b 65 20 74 68 65 20 | 63 68 61 6e 67 65 73 2e |ake the |changes.|
|00001070| 20 20 59 6f 75 20 6e 65 | 65 64 20 6e 6f 74 0a 09 | You ne|ed not..|
|00001080| 20 20 20 20 62 72 69 6e | 67 20 74 68 65 20 69 6e | brin|g the in|
|00001090| 74 65 72 66 61 63 65 20 | 64 6f 77 6e 2f 75 70 20 |terface |down/up |
|000010a0| 66 6f 72 20 6f 6e 6c 79 | 20 66 6c 61 67 20 63 68 |for only| flag ch|
|000010b0| 61 6e 67 65 73 2e 0a 0a | 09 39 2e 20 20 49 6e 74 |anges...|.9. Int|
|000010c0| 65 72 66 61 63 65 73 20 | 61 72 65 20 64 79 6e 61 |erfaces |are dyna|
|000010d0| 6d 69 63 61 6c 6c 79 20 | 74 69 6d 65 64 20 6f 75 |mically |timed ou|
|000010e0| 74 2e 20 20 41 6e 20 69 | 6e 74 65 72 66 61 63 65 |t. An i|nterface|
|000010f0| 20 74 69 6d 65 72 0a 09 | 20 20 20 20 77 69 6c 6c | timer..| will|
|00001100| 20 74 69 6d 65 20 6f 75 | 74 20 77 68 65 6e 20 6e | time ou|t when n|
|00001110| 6f 20 52 49 50 20 6f 72 | 20 48 45 4c 4c 4f 20 70 |o RIP or| HELLO p|
|00001120| 61 63 6b 65 74 73 20 61 | 72 65 20 62 65 69 6e 67 |ackets a|re being|
|00001130| 0a 09 20 20 20 20 72 65 | 63 65 69 76 65 64 20 6f |.. re|ceived o|
|00001140| 6e 20 74 68 61 74 20 69 | 6e 74 65 72 66 61 63 65 |n that i|nterface|
|00001150| 2e 20 20 69 6d 70 20 69 | 6e 74 65 72 66 61 63 65 |. imp i|nterface|
|00001160| 73 20 73 65 6e 64 20 61 | 0a 09 20 20 20 20 52 49 |s send a|.. RI|
|00001170| 50 2f 48 45 4c 4c 4f 20 | 70 61 63 6b 65 74 20 74 |P/HELLO |packet t|
|00001180| 6f 20 69 74 73 65 6c 66 | 20 6f 76 65 72 20 74 68 |o itself| over th|
|00001190| 65 20 69 6e 74 65 72 66 | 61 63 65 2e 20 74 68 61 |e interf|ace. tha|
|000011a0| 74 20 69 73 0a 09 20 20 | 20 20 68 6f 77 20 61 6e |t is.. | how an|
|000011b0| 20 69 6d 70 20 69 6e 74 | 65 72 66 61 63 65 20 74 | imp int|erface t|
|000011c0| 69 6d 65 72 20 69 73 20 | 63 68 65 63 6b 65 64 2e |imer is |checked.|
|000011d0| 20 20 49 6e 74 65 72 66 | 61 63 65 73 20 74 68 61 | Interf|aces tha|
|000011e0| 74 0a 09 20 20 20 20 68 | 61 76 65 20 62 65 65 6e |t.. h|ave been|
|000011f0| 20 74 69 6d 65 64 20 6f | 75 74 20 61 75 74 6f 6d | timed o|ut autom|
|00001200| 61 74 69 63 61 6c 6c 79 | 20 61 72 65 20 72 65 2d |atically| are re-|
|00001210| 69 6e 73 74 61 6c 6c 65 | 64 20 69 6e 0a 09 20 20 |installe|d in.. |
|00001220| 20 20 74 68 65 20 72 6f | 75 74 69 6e 67 20 74 61 | the ro|uting ta|
|00001230| 62 6c 65 73 20 77 68 65 | 6e 20 74 68 65 79 20 63 |bles whe|n they c|
|00001240| 6f 6d 65 20 62 61 63 6b | 2e 20 20 4f 66 20 63 6f |ome back|. Of co|
|00001250| 75 72 73 65 2c 20 69 66 | 0a 09 20 20 20 20 79 6f |urse, if|.. yo|
|00001260| 75 20 61 72 65 20 6e 6f | 74 20 61 20 52 49 50 20 |u are no|t a RIP |
|00001270| 6f 72 20 48 45 4c 4c 4f | 20 73 75 70 70 6c 69 65 |or HELLO| supplie|
|00001280| 72 2c 20 69 6e 74 65 72 | 66 61 63 65 73 20 77 69 |r, inter|faces wi|
|00001290| 6c 6c 20 4e 4f 54 0a 09 | 20 20 20 20 62 65 20 74 |ll NOT..| be t|
|000012a0| 69 6d 65 64 20 6f 75 74 | 2e 0a 0a 09 31 30 2e 20 |imed out|....10. |
|000012b0| 41 20 63 6f 6e 66 69 67 | 20 66 69 6c 65 20 6f 70 |A config| file op|
|000012c0| 74 69 6f 6e 20 68 61 73 | 20 62 65 65 6e 20 61 64 |tion has| been ad|
|000012d0| 64 65 64 20 74 6f 20 70 | 72 65 76 65 6e 74 20 74 |ded to p|revent t|
|000012e0| 68 65 20 74 69 6d 69 6e | 67 0a 09 20 20 20 20 6f |he timin|g.. o|
|000012f0| 75 74 20 6f 66 20 63 65 | 72 74 61 69 6e 20 69 6e |ut of ce|rtain in|
|00001300| 74 65 72 66 61 63 65 73 | 2e 20 20 54 48 65 20 73 |terfaces|. THe s|
|00001310| 79 74 61 78 20 69 73 20 | 61 73 20 66 6f 6c 6c 6f |ytax is |as follo|
|00001320| 77 73 3a 0a 0a 09 20 20 | 20 20 70 61 73 73 69 76 |ws:... | passiv|
|00001330| 65 69 6e 74 65 72 66 61 | 63 65 73 20 69 6e 74 5f |einterfa|ces int_|
|00001340| 61 64 64 72 20 5b 69 6e | 74 5f 61 64 64 72 5d 20 |addr [in|t_addr] |
|00001350| 2e 2e 2e 2e 2e 2e 0a 0a | 09 20 20 20 20 54 68 65 |........|. The|
|00001360| 20 69 6e 74 65 72 66 61 | 63 65 73 20 6c 69 73 74 | interfa|ces list|
|00001370| 65 64 20 77 69 6c 6c 20 | 6e 6f 74 20 70 61 72 74 |ed will |not part|
|00001380| 69 63 69 70 61 74 65 20 | 69 6e 20 74 68 65 20 72 |icipate |in the r|
|00001390| 6f 75 74 69 6e 67 0a 09 | 20 20 20 20 74 69 6d 65 |outing..| time|
|000013a0| 6f 75 74 20 73 63 68 65 | 6d 65 20 64 65 73 63 72 |out sche|me descr|
|000013b0| 69 62 65 64 20 69 6e 20 | 43 48 41 4e 47 45 20 23 |ibed in |CHANGE #|
|000013c0| 39 2e 20 20 20 52 65 6d | 65 6d 62 65 72 2c 20 74 |9. Rem|ember, t|
|000013d0| 68 65 0a 09 20 20 20 20 | 50 54 50 20 69 6e 74 65 |he.. |PTP inte|
|000013e0| 72 66 61 63 65 73 20 6c | 69 73 74 65 64 20 6d 75 |rfaces l|isted mu|
|000013f0| 73 74 20 62 65 20 73 70 | 65 63 69 66 69 65 64 20 |st be sp|ecified |
|00001400| 77 69 74 68 20 74 68 65 | 69 72 0a 09 20 20 20 20 |with the|ir.. |
|00001410| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 61 64 64 72 |destinat|ion addr|
|00001420| 65 73 73 2e 0a 0a 09 31 | 31 2e 20 52 49 50 20 6e |ess....1|1. RIP n|
|00001430| 6f 77 20 6c 69 73 74 65 | 6e 73 20 61 6e 64 20 70 |ow liste|ns and p|
|00001440| 72 6f 70 61 67 61 74 65 | 73 20 48 4f 53 54 20 72 |ropagate|s HOST r|
|00001450| 6f 75 74 65 73 2e 20 20 | 54 68 69 73 20 77 61 73 |outes. |This was|
|00001460| 20 74 68 65 0a 09 20 20 | 20 20 73 74 72 61 74 65 | the.. | strate|
|00001470| 67 79 20 74 61 6b 65 6e | 20 66 6f 72 20 64 65 61 |gy taken| for dea|
|00001480| 6c 69 6e 67 20 77 69 74 | 68 20 50 54 50 20 72 6f |ling wit|h PTP ro|
|00001490| 75 74 65 73 20 69 6e 20 | 61 20 63 6f 6e 73 69 73 |utes in |a consis|
|000014a0| 74 65 6e 74 0a 09 20 20 | 20 20 6d 61 6e 6e 65 72 |tent.. | manner|
|000014b0| 2e 20 20 41 6e 79 20 72 | 6f 75 74 65 20 6c 65 61 |. Any r|oute lea|
|000014c0| 72 6e 65 64 20 76 69 61 | 20 61 20 48 4f 53 54 20 |rned via| a HOST |
|000014d0| 72 65 64 69 72 65 63 74 | 20 77 69 6c 20 4e 4f 54 |redirect| wil NOT|
|000014e0| 0a 09 20 20 20 20 62 65 | 20 70 72 6f 70 61 67 61 |.. be| propaga|
|000014f0| 74 65 64 2e 20 20 41 20 | 72 6f 75 74 65 20 6c 65 |ted. A |route le|
|00001500| 61 72 6e 65 64 20 76 69 | 61 20 61 6e 79 20 52 45 |arned vi|a any RE|
|00001510| 44 49 52 45 43 54 20 77 | 69 6c 6c 20 6e 6f 74 0a |DIRECT w|ill not.|
|00001520| 09 20 20 20 20 62 65 20 | 70 72 6f 70 61 67 61 74 |. be |propagat|
|00001530| 65 64 2e 0a 0a 09 31 32 | 2e 20 54 68 65 20 69 6e |ed....12|. The in|
|00001540| 74 65 72 6e 61 6c 20 67 | 61 74 65 64 20 72 6f 75 |ternal g|ated rou|
|00001550| 74 69 6e 67 20 74 61 62 | 6c 65 73 20 68 61 76 65 |ting tab|les have|
|00001560| 20 62 65 65 6e 20 6d 65 | 72 67 65 64 20 69 6e 74 | been me|rged int|
|00001570| 6f 20 6f 6e 65 2e 0a 09 | 20 20 20 20 41 6c 73 6f |o one...| Also|
|00001580| 2c 20 74 68 65 20 68 61 | 73 68 69 6e 67 20 66 75 |, the ha|shing fu|
|00001590| 63 74 69 6f 6e 20 66 6f | 72 20 74 68 65 20 72 6f |ction fo|r the ro|
|000015a0| 75 74 65 20 74 61 62 6c | 65 20 6e 6f 77 20 70 61 |ute tabl|e now pa|
|000015b0| 72 61 6c 6c 65 6c 73 0a | 09 20 20 20 20 74 68 65 |rallels.|. the|
|000015c0| 20 6f 6e 65 20 75 73 65 | 64 20 62 79 20 74 68 65 | one use|d by the|
|000015d0| 20 34 2e 33 42 53 44 20 | 6b 65 72 6e 65 6c 2e 0a | 4.3BSD |kernel..|
|000015e0| 0a 09 31 33 2e 20 53 75 | 70 70 6f 72 74 20 66 6f |..13. Su|pport fo|
|000015f0| 72 20 68 6f 73 74 20 73 | 74 61 74 69 63 20 72 6f |r host s|tatic ro|
|00001600| 75 74 65 73 20 61 6e 64 | 20 68 6f 73 74 20 72 65 |utes and| host re|
|00001610| 73 74 72 69 63 74 69 6f | 6e 73 20 68 61 76 65 20 |strictio|ns have |
|00001620| 62 65 65 6e 0a 09 20 20 | 20 20 61 64 64 65 64 2e |been.. | added.|
|00001630| 20 20 54 48 65 20 6e 65 | 77 20 63 6f 6e 66 69 67 | THe ne|w config|
|00001640| 20 66 69 6c 65 20 6b 65 | 79 77 6f 72 64 73 20 66 | file ke|ywords f|
|00001650| 6f 72 20 74 68 65 20 68 | 6f 73 74 73 20 61 72 65 |or the h|osts are|
|00001660| 3a 0a 0a 09 20 20 20 20 | 61 6e 6e 6f 75 6e 63 65 |:... |announce|
|00001670| 68 6f 73 74 0a 09 20 20 | 20 20 64 6f 6e 6f 74 61 |host.. | donota|
|00001680| 6e 6e 6f 75 6e 63 65 68 | 6f 73 74 0a 09 20 20 20 |nnounceh|ost.. |
|00001690| 20 64 6f 6e 6f 74 6c 69 | 73 74 65 6e 68 6f 73 74 | donotli|stenhost|
|000016a0| 0a 0a 09 20 20 20 20 54 | 68 65 20 77 68 6f 6c 65 |... T|he whole|
|000016b0| 20 73 79 6e 74 61 78 20 | 72 65 6d 61 69 6e 73 20 | syntax |remains |
|000016c0| 74 68 65 20 73 61 6d 65 | 20 61 73 20 74 68 65 20 |the same| as the |
|000016d0| 6e 65 74 20 72 65 73 74 | 72 69 63 74 69 6f 6e 20 |net rest|riction |
|000016e0| 61 6e 64 0a 09 20 20 20 | 20 73 74 61 74 69 63 20 |and.. | static |
|000016f0| 73 79 6e 74 61 78 3a 0a | 0a 09 20 20 20 20 22 6b |syntax:.|.. "k|
|00001700| 65 79 77 6f 72 64 22 20 | 68 6f 73 74 5f 61 64 64 |eyword" |host_add|
|00001710| 72 20 69 6e 74 66 20 69 | 6e 74 5f 61 64 64 72 20 |r intf i|nt_addr |
|00001720| 2e 2e 2e 20 70 72 6f 74 | 6f 20 7b 72 69 70 7c 65 |... prot|o {rip|e|
|00001730| 67 70 7c 68 65 6c 6c 6f | 7d 20 2e 2e 2e 0a 0a 09 |gp|hello|} ......|
|00001740| 20 20 20 20 46 6f 72 20 | 73 74 61 74 69 63 20 68 | For |static h|
|00001750| 6f 73 74 20 72 6f 75 74 | 65 73 3a 0a 0a 09 20 20 |ost rout|es:... |
|00001760| 20 20 68 6f 73 74 20 68 | 6f 73 74 5f 61 64 64 72 | host h|ost_addr|
|00001770| 20 67 61 74 65 77 61 79 | 20 67 61 74 65 5f 61 64 | gateway| gate_ad|
|00001780| 64 72 20 6d 65 74 72 69 | 63 20 23 20 7b 72 69 70 |dr metri|c # {rip|
|00001790| 7c 68 65 6c 6c 6f 7c 65 | 67 70 7d 0a 0a 09 20 20 ||hello|e|gp}... |
|000017a0| 20 20 50 6c 65 61 73 65 | 20 73 65 65 20 74 68 65 | Please| see the|
|000017b0| 20 6d 61 6e 20 70 61 67 | 65 20 66 6f 72 20 74 68 | man pag|e for th|
|000017c0| 65 20 63 6f 6d 70 6c 65 | 74 65 20 73 79 6e 74 61 |e comple|te synta|
|000017d0| 78 2e 0a 0a 09 31 34 2e | 20 46 6c 61 73 68 2d 75 |x....14.| Flash-u|
|000017e0| 70 64 61 74 65 20 63 6f | 64 65 20 68 61 73 20 62 |pdate co|de has b|
|000017f0| 65 65 6e 20 66 69 78 65 | 64 2e 20 20 53 70 6c 69 |een fixe|d. Spli|
|00001800| 74 2d 68 6f 72 69 7a 6f | 6e 20 61 6e 64 0a 09 20 |t-horizo|n and.. |
|00001810| 20 20 20 72 65 73 74 72 | 69 63 74 69 6f 6e 73 20 | restr|ictions |
|00001820| 61 72 65 20 61 70 70 6c | 69 65 64 20 70 72 6f 70 |are appl|ied prop|
|00001830| 65 72 6c 79 2e 20 20 41 | 6c 73 6f 2c 20 69 6e 73 |erly. A|lso, ins|
|00001840| 74 65 61 64 20 6f 66 20 | 73 65 6e 64 69 6e 67 0a |tead of |sending.|
|00001850| 09 20 20 20 20 6f 75 74 | 20 61 20 62 75 72 73 74 |. out| a burst|
|00001860| 20 6f 66 20 52 49 50 20 | 70 61 63 6b 65 74 73 20 | of RIP |packets |
|00001870| 77 69 74 68 20 6f 6e 65 | 20 63 68 61 6e 67 65 64 |with one| changed|
|00001880| 20 6e 65 74 20 69 6e 20 | 65 61 63 68 2c 0a 09 20 | net in |each,.. |
|00001890| 20 20 20 6f 6e 65 20 70 | 61 63 6b 65 74 20 69 73 | one p|acket is|
|000018a0| 20 73 65 6e 74 20 77 69 | 74 68 20 74 68 65 20 63 | sent wi|th the c|
|000018b0| 68 61 6e 67 65 64 20 72 | 6f 75 74 65 73 20 66 6f |hanged r|outes fo|
|000018c0| 72 20 74 68 65 20 66 6c | 61 73 68 0a 09 20 20 20 |r the fl|ash.. |
|000018d0| 20 75 70 64 61 74 65 20 | 70 65 72 69 6f 64 2e 0a | update |period..|
|000018e0| 0a 09 31 35 2e 20 74 68 | 65 20 52 49 50 5f 54 52 |..15. th|e RIP_TR|
|000018f0| 41 43 45 2a 20 63 6f 6d | 6d 61 6e 64 73 20 61 72 |ACE* com|mands ar|
|00001900| 65 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 2e 0a 0a |e implem|ented...|
|00001910| 09 31 36 2e 20 54 68 65 | 20 48 45 4c 4c 4f 20 64 |.16. The| HELLO d|
|00001920| 65 66 61 75 6c 74 20 72 | 6f 75 74 65 20 69 73 20 |efault r|oute is |
|00001930| 6e 6f 77 20 6d 61 70 70 | 65 64 20 69 6e 74 6f 20 |now mapp|ed into |
|00001940| 74 68 65 20 55 4e 49 58 | 20 64 65 66 61 75 6c 74 |the UNIX| default|
|00001950| 0a 09 20 20 20 20 77 68 | 65 6e 20 74 68 65 72 65 |.. wh|en there|
|00001960| 20 69 73 20 6e 6f 20 55 | 4e 49 58 20 64 65 66 61 | is no U|NIX defa|
|00001970| 75 6c 74 20 72 6f 75 74 | 65 20 61 76 61 69 6c 61 |ult rout|e availa|
|00001980| 62 6c 65 2e 20 20 54 68 | 65 20 48 45 4c 4c 4f 0a |ble. Th|e HELLO.|
|00001990| 09 20 20 20 20 64 65 66 | 61 75 6c 74 20 28 6e 65 |. def|ault (ne|
|000019a0| 74 20 31 30 29 20 69 73 | 20 66 69 72 73 74 20 70 |t 10) is| first p|
|000019b0| 72 6f 63 65 73 73 65 64 | 20 61 73 20 6e 65 74 20 |rocessed| as net |
|000019c0| 31 30 20 62 79 20 55 4e | 49 58 2e 20 20 49 66 0a |10 by UN|IX. If.|
|000019d0| 09 20 20 20 20 74 68 65 | 72 65 20 69 73 20 6e 6f |. the|re is no|
|000019e0| 20 64 65 66 61 75 6c 74 | 20 67 61 74 65 77 61 79 | default| gateway|
|000019f0| 20 69 6e 20 74 68 65 20 | 72 6f 75 74 69 6e 67 20 | in the |routing |
|00001a00| 74 61 62 6c 65 73 2c 20 | 55 4e 49 58 0a 09 20 20 |tables, |UNIX.. |
|00001a10| 20 20 74 72 65 61 74 73 | 20 74 68 69 73 20 48 45 | treats| this HE|
|00001a20| 4c 4c 4f 20 6e 65 74 20 | 31 30 20 61 73 20 74 68 |LLO net |10 as th|
|00001a30| 65 20 55 4e 49 58 20 64 | 65 66 61 75 6c 74 20 30 |e UNIX d|efault 0|
|00001a40| 2e 30 2e 30 2e 30 20 61 | 6e 64 0a 09 20 20 20 20 |.0.0.0 a|nd.. |
|00001a50| 61 63 74 75 61 6c 6c 79 | 20 69 6e 73 74 61 6c 6c |actually| install|
|00001a60| 73 20 61 20 64 65 66 61 | 75 6c 74 20 72 6f 75 74 |s a defa|ult rout|
|00001a70| 65 2e 20 54 68 69 73 20 | 77 61 79 2c 20 61 6e 20 |e. This |way, an |
|00001a80| 4e 53 46 6e 65 74 0a 09 | 20 20 20 20 62 61 63 6b |NSFnet..| back|
|00001a90| 62 6f 6e 65 20 73 69 74 | 65 20 73 68 6f 75 6c 64 |bone sit|e should|
|00001aa0| 20 6e 65 76 65 72 20 62 | 65 20 77 69 74 68 6f 75 | never b|e withou|
|00001ab0| 74 20 61 20 64 65 66 61 | 75 6c 74 20 69 66 20 74 |t a defa|ult if t|
|00001ac0| 68 65 69 72 0a 09 20 20 | 20 20 6c 6f 63 61 6c 20 |heir.. | local |
|00001ad0| 64 65 66 61 75 6c 74 20 | 28 41 52 50 41 20 67 61 |default |(ARPA ga|
|00001ae0| 74 65 77 61 79 29 20 67 | 6f 65 73 20 61 77 61 79 |teway) g|oes away|
|00001af0| 2e 0a 0a 09 31 37 2e 20 | 54 68 65 20 52 49 50 20 |....17. |The RIP |
|00001b00| 74 6f 20 48 45 4c 4c 4f | 2c 20 61 6e 64 20 74 68 |to HELLO|, and th|
|00001b10| 65 20 48 45 4c 4c 4f 20 | 74 6f 20 52 49 50 20 6d |e HELLO |to RIP m|
|00001b20| 65 74 72 69 63 20 6d 61 | 70 70 69 6e 67 20 77 61 |etric ma|pping wa|
|00001b30| 73 0a 09 20 20 20 20 63 | 68 61 6e 67 65 64 2e 20 |s.. c|hanged. |
|00001b40| 20 4c 6f 6f 6b 20 69 6e | 20 6d 61 70 6d 65 74 72 | Look in| mapmetr|
|00001b50| 69 63 28 29 20 69 6e 20 | 72 74 5f 74 61 62 6c 65 |ic() in |rt_table|
|00001b60| 2e 63 20 66 6f 72 20 74 | 68 65 0a 09 20 20 20 20 |.c for t|he.. |
|00001b70| 64 65 74 61 69 6c 73 2e | 0a 0a 09 31 38 2e 20 41 |details.|...18. A|
|00001b80| 6c 6c 20 6d 65 74 72 69 | 63 73 20 61 72 65 20 73 |ll metri|cs are s|
|00001b90| 74 6f 72 65 64 20 69 6e | 74 65 72 6e 61 6c 6c 79 |tored in|ternally|
|00001ba0| 20 62 79 20 67 61 74 65 | 64 20 61 73 20 74 69 6d | by gate|d as tim|
|00001bb0| 65 2d 64 65 6c 61 79 20 | 69 6e 0a 09 20 20 20 20 |e-delay |in.. |
|00001bc0| 6d 69 6c 6c 69 73 65 63 | 6f 6e 64 73 2e 20 20 54 |millisec|onds. T|
|00001bd0| 68 65 20 52 49 50 20 6d | 65 74 72 69 63 20 69 73 |he RIP m|etric is|
|00001be0| 20 6d 61 70 70 65 64 20 | 74 6f 20 48 45 4c 4c 4f | mapped |to HELLO|
|00001bf0| 20 61 6e 64 20 70 72 6f | 63 65 73 73 65 64 2e 0a | and pro|cessed..|
|00001c00| 0a 09 31 39 2e 20 54 68 | 65 20 6e 6f 74 69 6f 6e |..19. Th|e notion|
|00001c10| 20 6f 66 20 73 75 62 6e | 65 74 20 69 6e 74 65 72 | of subn|et inter|
|00001c20| 66 61 63 65 73 20 61 72 | 65 20 73 75 70 70 6f 72 |faces ar|e suppor|
|00001c30| 74 65 64 2e 20 20 54 68 | 69 73 20 77 61 79 2c 0a |ted. Th|is way,.|
|00001c40| 09 20 20 20 20 73 75 62 | 6e 65 74 73 20 64 6f 6e |. sub|nets don|
|00001c50| 27 74 20 67 65 74 20 52 | 49 50 70 65 64 20 77 68 |'t get R|IPped wh|
|00001c60| 65 72 65 20 70 65 6f 70 | 6c 65 20 64 6f 6e 27 74 |ere peop|le don't|
|00001c70| 20 77 61 6e 74 20 74 68 | 65 6d 20 74 6f 2e 0a 09 | want th|em to...|
|00001c80| 20 20 20 20 49 66 20 61 | 20 67 61 74 65 77 61 79 | If a| gateway|
|00001c90| 20 69 73 20 67 61 74 65 | 77 61 79 69 6e 67 20 32 | is gate|waying 2|
|00001ca0| 20 73 75 62 6e 65 74 74 | 65 64 20 63 6c 61 73 73 | subnett|ed class|
|00001cb0| 20 42 20 6e 65 74 77 6f | 72 6b 73 2c 0a 09 20 20 | B netwo|rks,.. |
|00001cc0| 20 20 74 68 65 20 73 75 | 62 6e 65 74 20 72 6f 75 | the su|bnet rou|
|00001cd0| 74 65 73 20 61 72 65 20 | 6e 6f 74 20 70 72 6f 70 |tes are |not prop|
|00001ce0| 61 67 61 74 65 64 20 77 | 68 65 72 65 20 74 68 65 |agated w|here the|
|00001cf0| 79 20 73 68 6f 75 6c 64 | 6e 27 74 20 62 65 2e 0a |y should|n't be..|
|00001d00| 09 20 20 20 20 4a 75 73 | 74 20 74 68 65 20 43 6c |. Jus|t the Cl|
|00001d10| 61 73 73 20 42 20 6e 65 | 74 77 6f 72 6b 20 69 73 |ass B ne|twork is|
|00001d20| 20 52 49 50 70 65 64 20 | 74 6f 20 74 68 65 20 61 | RIPped |to the a|
|00001d30| 70 70 72 6f 70 72 69 61 | 74 65 20 69 6e 74 65 72 |ppropria|te inter|
|00001d40| 66 61 63 65 2e 0a 0a 09 | 32 30 2e 20 53 65 6e 64 |face....|20. Send|
|00001d50| 69 6e 67 20 67 61 74 65 | 64 20 61 20 53 49 47 49 |ing gate|d a SIGI|
|00001d60| 4e 54 2c 20 77 69 6c 6c | 20 63 61 75 73 65 20 69 |NT, will| cause i|
|00001d70| 74 20 74 6f 20 64 75 6d | 70 20 69 74 73 20 72 6f |t to dum|p its ro|
|00001d80| 75 74 69 6e 67 0a 09 20 | 20 20 20 6b 6e 6f 77 6c |uting.. | knowl|
|00001d90| 65 64 67 65 20 74 6f 20 | 2f 75 73 72 2f 74 6d 70 |edge to |/usr/tmp|
|00001da0| 2f 67 61 74 65 64 5f 64 | 75 6d 70 2e 0a 09 20 20 |/gated_d|ump... |
|00001db0| 20 20 28 6b 69 6c 6c 20 | 2d 49 4e 54 20 60 63 61 | (kill |-INT `ca|
|00001dc0| 74 20 2f 65 74 63 2f 67 | 61 74 65 64 2e 70 69 64 |t /etc/g|ated.pid|
|00001dd0| 60 29 20 20 20 4f 6e 63 | 65 20 74 68 69 73 20 73 |`) Onc|e this s|
|00001de0| 69 67 6e 61 6c 20 69 73 | 0a 09 20 20 20 20 72 65 |ignal is|.. re|
|00001df0| 63 65 69 76 65 64 20 62 | 79 20 67 61 74 65 64 2c |ceived b|y gated,|
|00001e00| 20 69 74 20 77 69 6c 6c | 20 73 63 68 65 64 75 6c | it will| schedul|
|00001e10| 65 20 61 20 74 68 65 20 | 64 75 6d 70 20 74 6f 20 |e a the |dump to |
|00001e20| 74 61 6b 65 20 70 6c 61 | 63 65 0a 09 20 20 20 20 |take pla|ce.. |
|00001e30| 77 69 74 68 69 6e 20 74 | 68 65 20 6e 65 78 74 20 |within t|he next |
|00001e40| 36 30 20 73 65 63 6f 6e | 64 73 20 28 4d 41 58 49 |60 secon|ds (MAXI|
|00001e50| 4d 55 4d 29 2e 0a 0a 09 | 32 31 2e 20 61 20 63 6f |MUM)....|21. a co|
|00001e60| 6e 66 69 67 20 6f 70 74 | 69 6f 6e 20 74 6f 20 66 |nfig opt|ion to f|
|00001e70| 69 6c 74 65 72 20 6f 6e | 20 74 68 65 20 73 6f 75 |ilter on| the sou|
|00001e80| 72 63 65 20 6f 66 20 69 | 6e 66 6f 72 6d 61 74 69 |rce of i|nformati|
|00001e90| 6f 6e 20 66 6f 72 20 61 | 0a 09 20 20 20 20 73 70 |on for a|.. sp|
|00001ea0| 65 63 69 66 69 65 64 20 | 6e 65 74 77 6f 72 6b 20 |ecified |network |
|00001eb0| 6f 72 20 68 6f 73 74 20 | 68 61 73 20 62 65 65 6e |or host |has been|
|00001ec0| 20 61 64 64 65 64 2e 20 | 20 46 6f 72 20 65 78 61 | added. | For exa|
|00001ed0| 6d 70 6c 65 3a 0a 0a 09 | 20 20 20 20 6c 69 73 74 |mple:...| list|
|00001ee0| 65 6e 20 31 32 38 2e 38 | 34 20 67 61 74 65 77 61 |en 128.8|4 gatewa|
|00001ef0| 79 20 31 32 38 2e 31 32 | 31 2e 35 30 2e 31 20 31 |y 128.12|1.50.1 1|
|00001f00| 32 38 2e 31 32 31 2e 35 | 31 2e 35 20 70 72 6f 74 |28.121.5|1.5 prot|
|00001f10| 6f 20 72 69 70 0a 0a 09 | 20 20 20 20 54 68 69 73 |o rip...| This|
|00001f20| 20 6d 65 61 6e 73 20 74 | 6f 20 6f 6e 6c 79 20 6c | means t|o only l|
|00001f30| 69 73 74 65 6e 20 74 6f | 20 69 6e 66 6f 72 6d 61 |isten to| informa|
|00001f40| 74 69 6f 6e 20 61 62 6f | 75 74 20 31 32 38 2e 38 |tion abo|ut 128.8|
|00001f50| 34 20 66 72 6f 6d 0a 09 | 20 20 20 20 67 61 74 65 |4 from..| gate|
|00001f60| 77 61 79 73 20 31 32 38 | 2e 31 32 31 2e 35 30 2e |ways 128|.121.50.|
|00001f70| 31 20 61 6e 64 20 31 32 | 38 2e 31 32 31 2e 35 30 |1 and 12|8.121.50|
|00001f80| 2e 35 20 76 69 61 20 74 | 68 65 20 70 72 6f 74 6f |.5 via t|he proto|
|00001f90| 63 6f 6c 20 72 69 70 2e | 0a 09 20 20 20 20 49 67 |col rip.|.. Ig|
|00001fa0| 6e 6f 72 65 20 61 6c 6c | 20 6f 74 68 65 72 20 69 |nore all| other i|
|00001fb0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|00001fc0| 20 31 32 38 2e 38 34 0a | 0a 09 20 20 20 20 54 68 | 128.84.|.. Th|
|00001fd0| 65 20 73 61 6d 65 20 69 | 73 20 74 72 75 65 20 66 |e same i|s true f|
|00001fe0| 6f 72 20 61 20 68 6f 73 | 74 3a 0a 0a 09 20 20 20 |or a hos|t:... |
|00001ff0| 20 6c 69 73 74 65 6e 68 | 6f 73 74 20 31 32 38 2e | listenh|ost 128.|
|00002000| 38 34 2e 31 2e 31 20 67 | 61 74 65 77 61 79 20 31 |84.1.1 g|ateway 1|
|00002010| 32 38 2e 31 32 31 2e 35 | 30 2e 35 20 70 72 6f 74 |28.121.5|0.5 prot|
|00002020| 6f 20 72 69 70 0a 09 20 | 20 20 20 0a 09 20 20 20 |o rip.. | .. |
|00002030| 20 0a 09 32 32 2e 20 53 | 75 70 70 6f 72 74 20 77 | ..22. S|upport w|
|00002040| 61 73 20 61 64 64 65 64 | 20 74 6f 20 68 61 6e 64 |as added| to hand|
|00002050| 6c 65 20 69 6e 74 65 72 | 66 61 63 65 20 6d 65 74 |le inter|face met|
|00002060| 72 69 63 73 20 66 6f 72 | 20 74 68 6f 73 65 0a 09 |rics for| those..|
|00002070| 20 20 20 20 70 72 69 6d | 69 74 69 76 65 20 73 79 | prim|itive sy|
|00002080| 73 74 65 6d 73 20 74 68 | 61 74 20 64 6f 6e 27 74 |stems th|at don't|
|00002090| 20 73 75 70 70 6f 72 74 | 20 69 74 2e 20 20 49 6e | support| it. In|
|000020a0| 20 74 68 65 20 63 6f 6e | 66 20 66 69 6c 65 3a 0a | the con|f file:.|
|000020b0| 0a 09 20 20 20 20 69 6e | 74 65 72 66 61 63 65 6d |.. in|terfacem|
|000020c0| 65 74 72 69 63 20 69 6e | 74 5f 61 64 64 72 20 6d |etric in|t_addr m|
|000020d0| 65 74 72 69 63 23 0a 0a | 09 20 20 20 20 69 6e 74 |etric#..|. int|
|000020e0| 65 72 66 61 63 65 6d 65 | 74 72 69 63 20 31 32 38 |erfaceme|tric 128|
|000020f0| 2e 38 34 2e 32 35 33 2e | 32 30 30 20 35 0a 0a 09 |.84.253.|200 5...|
|00002100| 20 20 20 20 59 6f 75 20 | 6d 75 73 74 20 68 61 76 | You |must hav|
|00002110| 65 20 6f 6e 65 20 6c 69 | 6e 65 20 66 6f 72 20 65 |e one li|ne for e|
|00002120| 61 63 68 20 69 6e 74 65 | 72 66 61 63 65 20 79 6f |ach inte|rface yo|
|00002130| 75 20 77 61 6e 74 20 74 | 6f 20 70 72 6f 76 69 64 |u want t|o provid|
|00002140| 65 0a 09 20 20 20 20 61 | 20 6d 65 74 72 69 63 20 |e.. a| metric |
|00002150| 66 6f 72 2e 20 20 41 6c | 73 6f 2c 20 74 68 69 73 |for. Al|so, this|
|00002160| 20 77 69 6c 6c 20 6f 76 | 65 72 72 69 64 65 20 79 | will ov|erride y|
|00002170| 6f 75 72 20 73 79 73 74 | 65 6d 73 20 69 6e 74 65 |our syst|ems inte|
|00002180| 72 66 61 63 65 0a 09 20 | 20 20 20 6d 65 74 72 69 |rface.. | metri|
|00002190| 63 20 69 66 20 74 68 65 | 20 73 79 73 74 65 6d 20 |c if the| system |
|000021a0| 73 75 70 70 6f 72 74 73 | 20 69 74 20 28 61 6c 61 |supports| it (ala|
|000021b0| 20 34 2e 33 42 53 44 29 | 2e 0a 09 20 20 20 20 0a | 4.3BSD)|... .|
|000021c0| 09 32 33 2e 20 4d 65 74 | 72 69 63 20 52 65 63 6f |.23. Met|ric Reco|
|000021d0| 6e 73 74 69 74 75 74 69 | 6f 6e 20 77 61 73 20 61 |nstituti|on was a|
|000021e0| 64 64 65 64 20 28 65 76 | 65 6e 20 74 68 6f 75 67 |dded (ev|en thoug|
|000021f0| 68 20 69 74 20 69 73 20 | 76 65 72 79 0a 09 20 20 |h it is |very.. |
|00002200| 20 20 64 61 6e 67 65 72 | 6f 75 73 29 2e 20 20 54 | danger|ous). T|
|00002210| 68 69 73 20 6f 6e 65 20 | 69 73 20 66 6f 72 20 43 |his one |is for C|
|00002220| 68 75 63 6b 20 61 74 20 | 52 75 74 67 65 72 73 21 |huck at |Rutgers!|
|00002230| 20 20 3a 5e 29 0a 09 20 | 20 20 20 69 6e 20 74 68 | :^).. | in th|
|00002240| 65 20 63 6f 6e 66 20 66 | 69 6c 65 3a 0a 0a 09 20 |e conf f|ile:... |
|00002250| 20 20 20 72 65 63 6f 6e | 73 74 6d 65 74 72 69 63 | recon|stmetric|
|00002260| 20 69 6e 74 5f 61 64 64 | 72 20 6d 65 74 72 69 63 | int_add|r metric|
|00002270| 23 0a 0a 09 20 20 20 20 | 72 65 63 6f 6e 73 74 6d |#... |reconstm|
|00002280| 65 74 72 69 63 20 31 32 | 38 2e 38 34 2e 32 33 38 |etric 12|8.84.238|
|00002290| 2e 32 30 30 20 36 0a 0a | 09 20 20 20 20 54 68 69 |.200 6..|. Thi|
|000022a0| 73 20 6d 65 61 6e 73 20 | 74 68 61 74 20 61 6e 79 |s means |that any|
|000022b0| 20 52 49 50 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | RIP inf|ormation|
|000022c0| 20 63 6f 6d 69 6e 67 20 | 69 6e 74 6f 20 74 68 69 | coming |into thi|
|000022d0| 73 20 69 6e 74 65 72 66 | 61 63 65 0a 09 20 20 20 |s interf|ace.. |
|000022e0| 20 77 69 6c 6c 20 67 65 | 74 20 69 74 73 20 6d 65 | will ge|t its me|
|000022f0| 74 72 69 63 20 73 65 74 | 20 74 6f 20 36 20 28 65 |tric set| to 6 (e|
|00002300| 78 63 65 70 74 20 69 6e | 66 69 6e 69 74 79 20 6f |xcept in|finity o|
|00002310| 66 20 63 6f 75 72 73 65 | 29 2e 20 20 54 48 69 73 |f course|). THis|
|00002320| 0a 09 20 20 20 20 69 73 | 20 61 20 64 61 6e 67 65 |.. is| a dange|
|00002330| 72 6f 75 73 20 6c 6f 6f | 70 20 63 72 65 61 74 6f |rous loo|p creato|
|00002340| 72 2e 20 20 55 53 45 20 | 57 49 54 48 20 43 41 55 |r. USE |WITH CAU|
|00002350| 54 49 4f 4e 2e 0a 0a 09 | 32 34 2e 20 53 65 6e 64 |TION....|24. Send|
|00002360| 69 6e 67 20 67 61 74 65 | 64 20 61 20 53 49 47 48 |ing gate|d a SIGH|
|00002370| 55 50 20 77 69 6c 6c 20 | 74 6f 67 67 6c 65 20 69 |UP will |toggle i|
|00002380| 74 73 20 64 65 62 75 67 | 67 69 6e 67 2e 20 20 45 |ts debug|ging. E|
|00002390| 78 61 6d 70 6c 65 3a 0a | 0a 09 20 20 20 20 53 74 |xample:.|.. St|
|000023a0| 61 72 74 20 67 61 74 65 | 64 20 77 69 74 68 20 22 |art gate|d with "|
|000023b0| 2d 74 69 65 72 70 22 20 | 66 6c 61 67 73 20 74 6f |-tierp" |flags to|
|000023c0| 20 2f 74 6d 70 2f 67 61 | 74 65 64 2e 6c 6f 67 2e | /tmp/ga|ted.log.|
|000023d0| 20 20 49 74 20 69 73 20 | 6e 6f 77 0a 09 20 20 20 | It is |now.. |
|000023e0| 20 6c 6f 67 67 69 6e 67 | 2e 20 20 53 65 6e 64 20 | logging|. Send |
|000023f0| 61 20 6b 69 6c 6c 20 2d | 48 55 50 20 60 63 61 74 |a kill -|HUP `cat|
|00002400| 20 2f 65 74 63 2f 67 61 | 74 65 64 2e 70 69 64 60 | /etc/ga|ted.pid`|
|00002410| 2c 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 0a |, the fo|llowing.|
|00002420| 09 20 20 20 20 68 61 70 | 70 65 6e 73 3a 0a 0a 09 |. hap|pens:...|
|00002430| 09 2d 20 6c 6f 67 67 69 | 6e 67 20 69 73 20 74 65 |.- loggi|ng is te|
|00002440| 72 6d 69 6e 61 74 65 64 | 0a 09 20 20 20 20 20 20 |rminated|.. |
|00002450| 20 20 2d 20 2f 74 6d 70 | 2f 67 61 74 65 64 2e 6c | - /tmp|/gated.l|
|00002460| 6f 67 20 28 6f 72 20 77 | 68 61 74 65 76 65 72 20 |og (or w|hatever |
|00002470| 79 6f 75 20 61 72 65 20 | 75 73 69 6e 67 21 29 20 |you are |using!) |
|00002480| 69 73 20 63 6c 6f 73 65 | 64 2e 0a 0a 09 20 20 20 |is close|d.... |
|00002490| 20 20 72 6d 20 67 61 74 | 65 64 2e 6c 6f 67 20 6f | rm gat|ed.log o|
|000024a0| 72 20 6d 76 20 69 74 0a | 0a 09 20 20 20 20 20 73 |r mv it.|.. s|
|000024b0| 65 6e 64 20 61 6e 6f 74 | 68 65 72 20 6b 69 6c 6c |end anot|her kill|
|000024c0| 20 2d 48 55 50 3a 0a 0a | 09 20 20 20 20 20 20 20 | -HUP:..|. |
|000024d0| 20 2d 20 2f 74 6d 70 2f | 67 61 74 65 64 2e 6c 6f | - /tmp/|gated.lo|
|000024e0| 67 20 69 73 20 63 72 65 | 61 74 65 64 20 61 6e 64 |g is cre|ated and|
|000024f0| 20 6f 70 65 6e 65 64 20 | 28 61 70 70 65 6e 64 65 | opened |(appende|
|00002500| 64 20 74 6f 20 69 66 0a | 09 20 20 20 20 20 20 20 |d to if.|. |
|00002510| 20 20 20 61 6c 72 65 61 | 64 79 20 74 68 65 72 65 | alrea|dy there|
|00002520| 29 0a 09 09 2d 20 6c 6f | 67 67 69 6e 67 20 69 73 |)...- lo|gging is|
|00002530| 20 74 75 72 6e 65 64 20 | 62 61 63 6b 20 6f 6e 20 | turned |back on |
|00002540| 28 77 68 61 74 65 76 65 | 72 20 77 61 73 20 73 70 |(whateve|r was sp|
|00002550| 65 63 69 66 69 65 64 20 | 69 6e 0a 09 20 20 20 20 |ecified |in.. |
|00002560| 20 20 20 20 20 20 74 68 | 65 20 63 6f 6d 6d 61 6e | th|e comman|
|00002570| 64 20 6c 69 6e 65 29 0a | 0a 09 20 20 20 20 20 54 |d line).|.. T|
|00002580| 68 69 73 20 69 73 20 75 | 73 65 66 75 6c 20 69 6e |his is u|seful in|
|00002590| 20 68 61 76 69 6e 67 20 | 72 6f 74 61 74 69 6e 67 | having |rotating|
|000025a0| 20 6c 6f 67 20 66 69 6c | 65 73 20 6d 75 63 68 20 | log fil|es much |
|000025b0| 6c 69 6b 65 20 73 79 73 | 6c 6f 67 0a 09 20 20 20 |like sys|log.. |
|000025c0| 20 20 64 6f 65 73 2e 0a | 0a 09 32 35 2e 20 20 4d | does..|..25. M|
|000025d0| 61 63 68 69 6e 65 73 20 | 6e 6f 77 20 73 75 70 70 |achines |now supp|
|000025e0| 6f 72 74 65 64 20 69 6e | 63 6c 75 64 65 3a 20 53 |orted in|clude: S|
|000025f0| 75 6e 4f 53 20 33 2e 58 | 2c 20 42 53 44 34 2e 32 |unOS 3.X|, BSD4.2|
|00002600| 2c 20 47 6f 75 6c 64 20 | 55 54 58 2f 33 32 0a 09 |, Gould |UTX/32..|
|00002610| 20 20 20 20 20 28 73 65 | 65 20 4d 61 6b 65 66 69 | (se|e Makefi|
|00002620| 6c 65 20 66 6f 72 20 73 | 75 70 70 6f 72 74 65 64 |le for s|upported|
|00002630| 20 6d 61 63 68 69 6e 65 | 73 29 0a 0a 09 32 36 2e | machine|s)...26.|
|00002640| 20 20 4d 69 73 63 65 6c | 6c 61 6e 65 6f 75 73 20 | Miscel|laneous |
|00002650| 73 6d 61 6c 6c 20 6e 61 | 67 67 69 6e 67 20 62 75 |small na|gging bu|
|00002660| 67 73 20 77 65 72 65 20 | 66 69 78 65 64 2e 0a 0a |gs were |fixed...|
|00002670| 09 32 37 2e 20 20 47 61 | 74 65 64 20 6e 6f 77 20 |.27. Ga|ted now |
|00002680| 6b 65 65 70 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |keeps a |list of |
|00002690| 61 63 74 69 76 65 20 67 | 61 74 65 77 61 79 73 20 |active g|ateways |
|000026a0| 28 70 61 72 74 69 63 69 | 70 61 74 69 6e 67 0a 09 |(partici|pating..|
|000026b0| 20 20 20 20 20 69 6e 20 | 61 20 73 75 70 70 6f 72 | in |a suppor|
|000026c0| 74 65 64 20 72 6f 75 74 | 69 6e 67 20 70 72 6f 74 |ted rout|ing prot|
|000026d0| 6f 63 6f 6c 29 20 70 65 | 72 20 69 6e 74 65 72 66 |ocol) pe|r interf|
|000026e0| 61 63 65 2e 20 54 68 65 | 20 6c 69 73 74 0a 09 20 |ace. The| list.. |
|000026f0| 20 20 20 20 69 6e 63 6c | 75 64 65 73 20 74 68 65 | incl|udes the|
|00002700| 20 61 64 64 72 65 73 73 | 20 6f 66 20 74 68 65 20 | address| of the |
|00002710| 67 61 74 65 77 61 79 2c | 20 77 68 61 74 20 72 6f |gateway,| what ro|
|00002720| 75 74 69 6e 67 20 70 72 | 6f 74 6f 63 6f 6c 73 0a |uting pr|otocols.|
|00002730| 09 20 20 20 20 20 61 72 | 65 20 62 65 69 6e 67 20 |. ar|e being |
|00002740| 75 73 65 64 20 62 79 20 | 74 68 61 74 20 67 61 74 |used by |that gat|
|00002750| 65 77 61 79 20 61 6e 64 | 20 61 20 74 69 6d 65 72 |eway and| a timer|
|00002760| 2e 20 20 49 20 66 6f 75 | 6e 64 20 74 68 69 73 0a |. I fou|nd this.|
|00002770| 09 20 20 20 20 20 6e 65 | 63 65 73 73 61 72 79 20 |. ne|cessary |
|00002780| 69 6e 20 64 65 61 6c 69 | 6e 67 20 77 69 74 68 20 |in deali|ng with |
|00002790| 73 70 6c 69 74 20 68 6f | 72 69 7a 6f 6e 20 69 6e |split ho|rizon in|
|000027a0| 20 61 20 70 61 72 61 6c | 6c 65 6c 0a 09 20 20 20 | a paral|lel.. |
|000027b0| 20 20 72 6f 75 74 69 6e | 67 20 70 72 6f 74 6f 63 | routin|g protoc|
|000027c0| 6f 6c 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 2e 0a |ol envir|onment..|
|000027d0| 0a 09 32 38 2e 20 20 47 | 61 74 65 64 20 77 61 73 |..28. G|ated was|
|000027e0| 20 6c 69 6e 74 65 64 20 | 64 6f 77 6e 20 74 6f 20 | linted |down to |
|000027f0| 32 20 6c 69 6e 65 73 20 | 6f 66 20 74 68 65 20 66 |2 lines |of the f|
|00002800| 6c 75 66 66 79 20 73 74 | 75 66 66 2e 2e 2e 2e 0a |luffy st|uff.....|
|00002810| 0a 09 32 39 2e 20 20 54 | 68 65 20 22 61 6e 6e 6f |..29. T|he "anno|
|00002820| 75 6e 63 65 22 20 61 6e | 64 20 22 6e 6f 61 6e 6e |unce" an|d "noann|
|00002830| 6f 75 6e 63 65 22 20 73 | 74 61 74 65 6d 65 6e 74 |ounce" s|tatement|
|00002840| 73 20 69 6e 20 74 68 65 | 20 63 6f 6e 66 69 67 0a |s in the| config.|
|00002850| 09 20 20 20 20 20 66 69 | 6c 65 20 63 61 6e 20 6e |. fi|le can n|
|00002860| 6f 77 20 62 65 20 61 70 | 70 6c 69 65 64 20 6f 6e |ow be ap|plied on|
|00002870| 20 61 20 70 65 72 20 69 | 6e 74 65 72 66 61 63 65 | a per i|nterface|
|00002880| 20 62 61 73 69 73 20 69 | 6e 73 74 65 61 64 0a 09 | basis i|nstead..|
|00002890| 20 20 20 20 20 6f 66 20 | 6f 6e 6c 79 20 67 6c 6f | of |only glo|
|000028a0| 62 61 6c 6c 79 2e 20 20 | 50 72 65 76 69 6f 75 73 |bally. |Previous|
|000028b0| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 67 61 74 | version|s of gat|
|000028c0| 65 64 20 6f 6e 6c 79 20 | 61 6c 6c 6f 77 65 64 0a |ed only |allowed.|
|000028d0| 09 20 20 20 20 20 74 68 | 65 20 73 70 65 63 69 66 |. th|e specif|
|000028e0| 69 63 61 74 69 6f 6e 20 | 6f 66 20 65 69 74 68 65 |ication |of eithe|
|000028f0| 72 20 74 68 65 20 22 61 | 6e 6e 6f 75 6e 63 65 22 |r the "a|nnounce"|
|00002900| 20 6f 72 20 22 6e 6f 61 | 6e 6e 6f 75 6e 63 65 22 | or "noa|nnounce"|
|00002910| 0a 09 20 20 20 20 20 73 | 65 70 61 72 61 74 65 2c |.. s|eparate,|
|00002920| 20 62 75 74 20 6e 65 76 | 65 72 20 74 6f 67 65 74 | but nev|er toget|
|00002930| 68 65 72 2e 20 20 54 68 | 65 72 65 20 77 61 73 20 |her. Th|ere was |
|00002940| 6e 6f 20 63 68 61 6e 67 | 65 20 6f 66 0a 09 20 20 |no chang|e of.. |
|00002950| 20 20 20 73 79 6e 74 61 | 78 2c 20 67 61 74 65 64 | synta|x, gated|
|00002960| 20 69 6e 74 65 72 6e 61 | 6c 73 20 77 65 72 65 20 | interna|ls were |
|00002970| 6a 75 73 74 20 6d 61 64 | 65 20 73 6d 61 72 74 65 |just mad|e smarte|
|00002980| 72 2e 0a 09 20 20 20 20 | 20 54 68 65 20 66 69 72 |r... | The fir|
|00002990| 73 74 20 22 7b 6e 6f 7d | 61 6e 6e 6f 75 6e 63 65 |st "{no}|announce|
|000029a0| 20 6e 65 74 23 20 69 6e | 74 66 20 61 6c 6c 20 2e | net# in|tf all .|
|000029b0| 2e 2e 2e 2e 22 20 77 69 | 6c 6c 20 6d 61 6b 65 0a |...." wi|ll make.|
|000029c0| 09 20 20 20 20 20 67 61 | 74 65 64 20 61 70 70 6c |. ga|ted appl|
|000029d0| 79 20 74 68 65 20 63 6c | 61 75 73 65 20 67 6c 6f |y the cl|ause glo|
|000029e0| 62 61 6c 6c 79 20 62 65 | 63 61 75 73 65 20 79 6f |bally be|cause yo|
|000029f0| 75 20 73 70 65 63 69 66 | 69 65 64 20 61 6c 6c 0a |u specif|ied all.|
|00002a00| 09 20 20 20 20 20 69 6e | 74 65 72 66 61 63 65 73 |. in|terfaces|
|00002a10| 2e 0a 0a 72 65 61 74 73 | 20 74 68 69 73 20 48 45 |...reats| this HE|
|00002a20| 4c 4c 4f 20 6e 65 74 20 | 31 30 20 61 73 20 74 68 |LLO net |10 as th|
|00002a30| 65 20 55 4e 49 58 20 64 | 65 66 61 75 6c 74 20 30 |e UNIX d|efault 0|
|00002a40| 2e 30 2e 30 2e 30 20 61 | 6e 64 0a 09 20 20 20 20 |.0.0.0 a|nd.. |
|00002a50| 61 63 74 75 61 6c 6c 79 | 20 69 6e 73 74 61 6c 6c |actually| install|
|00002a60| 73 20 61 20 64 65 66 61 | 75 6c 74 20 72 6f 75 74 |s a defa|ult rout|
|00002a70| 65 2e 20 54 68 69 73 20 | 77 61 79 2c 20 61 6e 20 |e. This |way, an |
|00002a80| 4e 53 46 6e 65 74 0a 09 | 20 20 20 20 62 61 63 6b |NSFnet..| back|
|00002a90| 62 6f 6e 65 20 73 69 74 | 65 20 73 68 6f 75 6c 64 |bone sit|e should|
|00002aa0| 20 6e 65 76 65 72 20 62 | 65 20 77 69 74 68 6f 75 | never b|e withou|
|00002ab0| 74 20 61 20 64 65 66 61 | 75 6c 74 20 69 66 20 74 |t a defa|ult if t|
|00002ac0| 68 65 69 72 0a 09 20 20 | 20 20 6c 6f 63 61 6c 20 |heir.. | local |
|00002ad0| 64 65 66 61 75 6c 74 20 | 28 41 52 50 41 20 67 61 |default |(ARPA ga|
|00002ae0| 74 65 77 61 79 29 20 67 | 6f 65 73 20 61 77 61 79 |teway) g|oes away|
|00002af0| 2e 0a 0a 09 31 37 2e 20 | 54 68 65 20 52 49 50 20 |....17. |The RIP |
|00002b00| 74 6f 20 48 45 4c 4c 4f | 2c 20 61 6e 64 20 74 68 |to HELLO|, and th|
|00002b10| 65 20 48 45 4c 4c 4f 20 | 74 6f 20 52 49 50 20 6d |e HELLO |to RIP m|
|00002b20| 65 74 72 69 63 20 6d 61 | 70 70 69 6e 67 20 77 61 |etric ma|pping wa|
|00002b30| 73 0a 09 20 20 20 20 63 | 68 61 6e 67 65 64 2e 20 |s.. c|hanged. |
|00002b40| 20 4c 6f 6f 6b 20 69 6e | 20 6d 61 70 6d 65 74 72 | Look in| mapmetr|
|00002b50| 69 63 28 29 20 69 6e 20 | 72 74 5f 74 61 62 6c 65 |ic() in |rt_table|
|00002b60| 2e 63 20 66 6f 72 20 74 | 68 65 0a 09 20 20 20 20 |.c for t|he.. |
|00002b70| 64 65 74 61 69 6c 73 2e | 0a 0a 09 31 38 2e 20 41 |details.|...18. A|
|00002b80| 6c 6c 20 6d 65 74 72 69 | 63 73 20 61 72 65 20 73 |ll metri|cs are s|
|00002b90| 74 6f 72 65 64 20 69 6e | 74 65 72 6e 61 6c 6c 79 |tored in|ternally|
|00002ba0| 20 62 79 20 67 61 74 65 | 64 20 61 73 20 74 69 6d | by gate|d as tim|
|00002bb0| 65 2d 64 65 6c 61 79 20 | 69 6e 0a 09 20 20 20 20 |e-delay |in.. |
|00002bc0| 6d 69 6c 6c 69 73 65 63 | 6f 6e 64 73 2e 20 20 54 |millisec|onds. T|
|00002bd0| 68 65 20 52 49 50 20 6d | 65 74 72 69 63 20 69 73 |he RIP m|etric is|
|00002be0| 20 6d 61 70 70 65 64 20 | 74 6f 20 48 45 4c 4c 4f | mapped |to HELLO|
|00002bf0| 20 61 6e 64 20 70 72 6f | 63 65 73 73 65 64 2e 0a | and pro|cessed..|
|00002c00| 4d 61 6b 65 66 69 6c 65 | 00 00 00 00 00 00 00 00 |Makefile|........|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 20 20 20 36 | 36 30 20 00 20 20 20 20 |.... 6|60 . |
|00002c70| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00002c80| 20 20 20 32 35 32 32 20 | 20 34 32 31 32 33 33 37 | 2522 | 4212337|
|00002c90| 35 34 34 20 20 20 35 34 | 37 33 00 20 00 00 00 00 |544 54|73. ....|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 23 0a 23 09 4d 61 6b 65 | 66 69 6c 65 20 66 6f 72 |#.#.Make|file for|
|00002e10| 20 67 61 74 65 64 20 72 | 6f 6f 74 20 64 69 72 65 | gated r|oot dire|
|00002e20| 63 74 6f 72 79 0a 23 0a | 23 09 54 68 69 73 20 4d |ctory.#.|#.This M|
|00002e30| 61 6b 65 66 69 6c 65 20 | 6a 75 73 74 20 69 6e 76 |akefile |just inv|
|00002e40| 6f 6b 65 73 20 74 68 65 | 20 6d 61 6b 65 66 69 6c |okes the| makefil|
|00002e50| 65 73 20 69 6e 20 74 68 | 65 20 70 72 6f 70 65 72 |es in th|e proper|
|00002e60| 0a 23 09 73 75 62 64 69 | 72 65 63 74 6f 72 69 65 |.#.subdi|rectorie|
|00002e70| 73 0a 23 0a 23 09 6d 61 | 6b 65 20 09 09 09 43 6f |s.#.#.ma|ke ...Co|
|00002e80| 6d 70 69 6c 65 20 74 68 | 65 20 73 6f 75 72 63 65 |mpile th|e source|
|00002e90| 0a 23 09 6d 61 6b 65 20 | 69 6e 73 74 61 6c 6c 2d |.#.make |install-|
|00002ea0| 6d 61 6e 09 49 6e 73 74 | 61 6c 6c 20 74 68 65 20 |man.Inst|all the |
|00002eb0| 6d 61 6e 20 70 61 67 65 | 0a 23 09 6d 61 6b 65 20 |man page|.#.make |
|00002ec0| 69 6e 73 74 61 6c 6c 09 | 09 49 6e 73 74 61 6c 6c |install.|.Install|
|00002ed0| 20 74 68 65 20 73 6f 75 | 72 63 65 20 61 6e 64 20 | the sou|rce and |
|00002ee0| 6d 61 6e 20 70 61 67 65 | 0a 23 09 6d 61 6b 65 20 |man page|.#.make |
|00002ef0| 64 69 73 74 09 09 4d 61 | 6b 65 20 61 20 64 69 73 |dist..Ma|ke a dis|
|00002f00| 74 72 69 62 75 74 69 6f | 6e 20 74 61 72 20 66 69 |tributio|n tar fi|
|00002f10| 6c 65 0a 0a 53 52 43 46 | 49 4c 45 53 09 3d 09 73 |le..SRCF|ILES.=.s|
|00002f20| 72 63 2f 4d 61 6b 65 66 | 69 6c 65 20 73 72 63 2f |rc/Makef|ile src/|
|00002f30| 46 49 4c 45 53 20 73 72 | 63 2f 2a 2e 5b 63 68 5d |FILES sr|c/*.[ch]|
|00002f40| 20 73 72 63 2f 76 65 72 | 73 69 6f 6e 2e 61 77 6b | src/ver|sion.awk|
|00002f50| 0a 41 4c 54 53 52 43 46 | 49 4c 45 53 09 3d 09 73 |.ALTSRCF|ILES.=.s|
|00002f60| 72 63 2e 61 6c 74 2f 4d | 61 6b 65 66 69 6c 65 20 |rc.alt/M|akefile |
|00002f70| 73 72 63 2e 61 6c 74 2f | 46 49 4c 45 53 20 73 72 |src.alt/|FILES sr|
|00002f80| 63 2e 61 6c 74 2f 2a 2e | 5b 63 68 5d 20 73 72 63 |c.alt/*.|[ch] src|
|00002f90| 2e 61 6c 74 2f 76 65 72 | 73 69 6f 6e 2e 61 77 6b |.alt/ver|sion.awk|
|00002fa0| 0a 52 4f 4f 54 46 49 4c | 45 53 09 3d 09 43 48 41 |.ROOTFIL|ES.=.CHA|
|00002fb0| 4e 47 45 53 20 4d 61 6b | 65 66 69 6c 65 20 52 45 |NGES Mak|efile RE|
|00002fc0| 41 44 4d 45 20 54 4f 44 | 4f 0a 52 4f 4f 54 44 49 |ADME TOD|O.ROOTDI|
|00002fd0| 52 53 09 3d 09 61 75 78 | 20 63 6f 6e 66 20 6d 61 |RS.=.aux| conf ma|
|00002fe0| 6e 0a 54 41 52 46 49 4c | 45 53 09 3d 09 24 7b 52 |n.TARFIL|ES.=.${R|
|00002ff0| 4f 4f 54 46 49 4c 45 53 | 7d 20 24 7b 52 4f 4f 54 |OOTFILES|} ${ROOT|
|00003000| 44 49 52 53 7d 20 24 7b | 53 52 43 46 49 4c 45 53 |DIRS} ${|SRCFILES|
|00003010| 7d 0a 41 4c 54 46 49 4c | 45 53 09 3d 09 24 7b 52 |}.ALTFIL|ES.=.${R|
|00003020| 4f 4f 54 46 49 4c 45 53 | 7d 20 24 7b 52 4f 4f 54 |OOTFILES|} ${ROOT|
|00003030| 44 49 52 53 7d 20 24 7b | 41 4c 54 53 52 43 46 49 |DIRS} ${|ALTSRCFI|
|00003040| 4c 45 53 7d 0a 54 41 52 | 46 49 4c 45 09 09 3d 09 |LES}.TAR|FILE..=.|
|00003050| 74 61 72 2f 67 61 74 65 | 64 2e 74 61 72 2e 6e 65 |tar/gate|d.tar.ne|
|00003060| 77 0a 54 45 53 54 46 49 | 4c 45 09 3d 09 74 61 72 |w.TESTFI|LE.=.tar|
|00003070| 2f 67 61 74 65 64 2e 74 | 61 72 2e 74 65 73 74 0a |/gated.t|ar.test.|
|00003080| 41 4c 54 46 49 4c 45 09 | 09 3d 09 74 61 72 2f 67 |ALTFILE.|.=.tar/g|
|00003090| 61 74 65 64 2e 74 61 72 | 2e 61 6c 74 0a 0a 67 61 |ated.tar|.alt..ga|
|000030a0| 74 65 64 3a 09 73 72 63 | 0a 09 28 63 64 20 73 72 |ted:.src|..(cd sr|
|000030b0| 63 3b 20 6d 61 6b 65 29 | 0a 0a 69 6e 73 74 61 6c |c; make)|..instal|
|000030c0| 6c 3a 09 73 72 63 20 6d | 61 6e 20 69 6e 73 74 61 |l:.src m|an insta|
|000030d0| 6c 6c 2d 6d 61 6e 0a 09 | 28 63 64 20 73 72 63 3b |ll-man..|(cd src;|
|000030e0| 20 6d 61 6b 65 20 69 6e | 73 74 61 6c 6c 29 0a 0a | make in|stall)..|
|000030f0| 69 6e 73 74 61 6c 6c 2d | 6d 61 6e 3a 0a 09 28 63 |install-|man:..(c|
|00003100| 64 20 6d 61 6e 3b 20 6d | 61 6b 65 20 69 6e 73 74 |d man; m|ake inst|
|00003110| 61 6c 6c 29 0a 0a 64 69 | 73 74 3a 09 24 7b 54 41 |all)..di|st:.${TA|
|00003120| 52 46 49 4c 45 7d 0a 0a | 24 7b 54 41 52 46 49 4c |RFILE}..|${TARFIL|
|00003130| 45 7d 3a 09 24 7b 54 41 | 52 46 49 4c 45 53 7d 0a |E}:.${TA|RFILES}.|
|00003140| 09 28 63 64 20 73 72 63 | 3b 20 6d 61 6b 65 20 76 |.(cd src|; make v|
|00003150| 65 72 73 69 6f 6e 2e 63 | 29 0a 09 74 61 72 20 63 |ersion.c|)..tar c|
|00003160| 66 20 24 7b 54 41 52 46 | 49 4c 45 7d 20 24 7b 54 |f ${TARF|ILE} ${T|
|00003170| 41 52 46 49 4c 45 53 7d | 0a 09 63 6f 6d 70 72 65 |ARFILES}|..compre|
|00003180| 73 73 20 2d 63 20 24 7b | 54 41 52 46 49 4c 45 7d |ss -c ${|TARFILE}|
|00003190| 20 3e 20 24 7b 54 41 52 | 46 49 4c 45 7d 2e 5a 0a | > ${TAR|FILE}.Z.|
|000031a0| 09 75 75 65 6e 63 6f 64 | 65 20 24 7b 54 41 52 46 |.uuencod|e ${TARF|
|000031b0| 49 4c 45 7d 2e 5a 20 67 | 61 74 65 64 2e 74 61 72 |ILE}.Z g|ated.tar|
|000031c0| 2e 5a 20 3e 20 24 7b 54 | 41 52 46 49 4c 45 7d 2e |.Z > ${T|ARFILE}.|
|000031d0| 5a 75 0a 0a 61 6c 74 2d | 64 69 73 74 3a 09 24 7b |Zu..alt-|dist:.${|
|000031e0| 41 4c 54 46 49 4c 45 7d | 0a 0a 24 7b 41 4c 54 46 |ALTFILE}|..${ALTF|
|000031f0| 49 4c 45 7d 3a 09 24 7b | 41 4c 54 46 49 4c 45 53 |ILE}:.${|ALTFILES|
|00003200| 7d 0a 09 28 63 64 20 73 | 72 63 2e 61 6c 74 3b 20 |}..(cd s|rc.alt; |
|00003210| 6d 61 6b 65 20 76 65 72 | 73 69 6f 6e 2e 63 29 0a |make ver|sion.c).|
|00003220| 09 74 61 72 20 63 66 20 | 24 7b 41 4c 54 46 49 4c |.tar cf |${ALTFIL|
|00003230| 45 7d 20 24 7b 41 4c 54 | 46 49 4c 45 53 7d 0a 09 |E} ${ALT|FILES}..|
|00003240| 63 6f 6d 70 72 65 73 73 | 20 2d 63 20 24 7b 41 4c |compress| -c ${AL|
|00003250| 54 46 49 4c 45 7d 20 3e | 20 24 7b 41 4c 54 46 49 |TFILE} >| ${ALTFI|
|00003260| 4c 45 7d 2e 5a 0a 0a 74 | 65 73 74 2d 64 69 73 74 |LE}.Z..t|est-dist|
|00003270| 3a 09 24 7b 54 45 53 54 | 46 49 4c 45 7d 0a 0a 24 |:.${TEST|FILE}..$|
|00003280| 7b 54 45 53 54 46 49 4c | 45 7d 3a 09 24 7b 53 52 |{TESTFIL|E}:.${SR|
|00003290| 43 46 49 4c 45 53 7d 0a | 09 28 63 64 20 73 72 63 |CFILES}.|.(cd src|
|000032a0| 3b 20 6d 61 6b 65 20 76 | 65 72 73 69 6f 6e 2e 63 |; make v|ersion.c|
|000032b0| 29 0a 09 74 61 72 20 63 | 66 20 24 7b 54 45 53 54 |)..tar c|f ${TEST|
|000032c0| 46 49 4c 45 7d 20 24 7b | 53 52 43 46 49 4c 45 53 |FILE} ${|SRCFILES|
|000032d0| 7d 0a 0a 74 61 70 65 3a | 0a 09 28 63 64 20 73 72 |}..tape:|..(cd sr|
|000032e0| 63 3b 20 6d 61 6b 65 20 | 76 65 72 73 69 6f 6e 2e |c; make |version.|
|000032f0| 63 29 0a 09 74 61 72 20 | 63 76 20 24 7b 54 41 52 |c)..tar |cv ${TAR|
|00003300| 46 49 4c 45 53 7d 0a 0a | 72 74 61 70 65 3a 0a 09 |FILES}..|rtape:..|
|00003310| 28 63 64 20 73 72 63 3b | 20 6d 61 6b 65 20 76 65 |(cd src;| make ve|
|00003320| 72 73 69 6f 6e 2e 63 29 | 0a 09 72 74 61 72 20 63 |rsion.c)|..rtar c|
|00003330| 76 66 20 74 63 67 6f 75 | 6c 64 3a 2f 64 65 76 2f |vf tcgou|ld:/dev/|
|00003340| 72 6d 74 31 36 20 24 7b | 54 41 52 46 49 4c 45 53 |rmt16 ${|TARFILES|
|00003350| 7d 0a 4f 4e 2e 0a 0a 09 | 32 34 2e 20 53 65 6e 64 |}.ON....|24. Send|
|00003360| 69 6e 67 20 67 61 74 65 | 64 20 61 20 53 49 47 48 |ing gate|d a SIGH|
|00003370| 55 50 20 77 69 6c 6c 20 | 74 6f 67 67 6c 65 20 69 |UP will |toggle i|
|00003380| 74 73 20 64 65 62 75 67 | 67 69 6e 67 2e 20 20 45 |ts debug|ging. E|
|00003390| 78 61 6d 70 6c 65 3a 0a | 0a 09 20 20 20 20 53 74 |xample:.|.. St|
|000033a0| 61 72 74 20 67 61 74 65 | 64 20 77 69 74 68 20 22 |art gate|d with "|
|000033b0| 2d 74 69 65 72 70 22 20 | 66 6c 61 67 73 20 74 6f |-tierp" |flags to|
|000033c0| 20 2f 74 6d 70 2f 67 61 | 74 65 64 2e 6c 6f 67 2e | /tmp/ga|ted.log.|
|000033d0| 20 20 49 74 20 69 73 20 | 6e 6f 77 0a 09 20 20 20 | It is |now.. |
|000033e0| 20 6c 6f 67 67 69 6e 67 | 2e 20 20 53 65 6e 64 20 | logging|. Send |
|000033f0| 61 20 6b 69 6c 6c 20 2d | 48 55 50 20 60 63 61 74 |a kill -|HUP `cat|
|00003400| 52 45 41 44 4d 45 00 00 | 00 00 00 00 00 00 00 00 |README..|........|
|00003410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 20 20 20 36 | 36 30 20 00 20 20 20 20 |.... 6|60 . |
|00003470| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00003480| 20 20 20 34 34 31 33 20 | 20 34 31 37 30 30 33 34 | 4413 | 4170034|
|00003490| 35 35 30 20 20 20 34 37 | 30 36 00 20 00 00 00 00 |550 47|06. ....|
|000034a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 0a 49 4e 53 54 41 4c 4c | 41 54 49 4f 4e 20 4f 46 |.INSTALL|ATION OF|
|00003610| 20 47 41 54 45 44 20 20 | 76 65 72 73 69 6f 6e 20 | GATED |version |
|00003620| 31 2e 33 2e 31 0a 0a 09 | 31 2e 20 63 64 20 73 72 |1.3.1...|1. cd sr|
|00003630| 63 2c 20 65 64 69 74 20 | 4d 61 6b 65 66 69 6c 65 |c, edit |Makefile|
|00003640| 20 74 6f 20 73 75 69 74 | 20 79 6f 75 72 20 6d 61 | to suit| your ma|
|00003650| 63 68 69 6e 65 2c 20 22 | 6d 61 6b 65 20 69 6e 73 |chine, "|make ins|
|00003660| 74 61 6c 6c 22 0a 0a 09 | 32 2e 20 63 64 20 6d 61 |tall"...|2. cd ma|
|00003670| 6e 2c 20 69 6e 73 74 61 | 6c 6c 20 6d 61 6e 20 70 |n, insta|ll man p|
|00003680| 61 67 65 20 69 6e 20 2f | 75 73 72 2f 6d 61 6e 2f |age in /|usr/man/|
|00003690| 6d 61 6e 38 0a 0a 09 33 | 2e 20 6d 61 6b 65 20 75 |man8...3|. make u|
|000036a0| 70 20 61 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |p a conf|iguratio|
|000036b0| 6e 20 66 69 6c 65 2e 20 | 20 54 68 69 73 20 69 73 |n file. | This is|
|000036c0| 20 6e 6f 74 20 74 6f 6f | 20 68 61 72 64 2e 20 20 | not too| hard. |
|000036d0| 53 61 6d 70 6c 65 0a 09 | 20 20 20 63 6f 6e 66 69 |Sample..| confi|
|000036e0| 67 20 66 69 6c 65 73 20 | 61 72 65 20 69 6e 20 74 |g files |are in t|
|000036f0| 68 65 20 63 6f 6e 66 20 | 64 69 72 65 63 74 6f 72 |he conf |director|
|00003700| 79 20 61 6e 64 20 74 68 | 65 20 6d 61 6e 20 70 61 |y and th|e man pa|
|00003710| 67 65 0a 09 20 20 20 65 | 78 70 6c 61 69 6e 73 20 |ge.. e|xplains |
|00003720| 61 6c 6c 20 63 6f 6e 66 | 69 67 20 6f 70 74 69 6f |all conf|ig optio|
|00003730| 6e 73 2e 20 20 69 6e 73 | 74 61 6c 6c 20 74 68 65 |ns. ins|tall the|
|00003740| 20 63 6f 6e 66 69 67 20 | 66 69 6c 65 20 69 6e 0a | config |file in.|
|00003750| 09 20 20 20 2f 65 74 63 | 2f 67 61 74 65 64 2e 63 |. /etc|/gated.c|
|00003760| 6f 6e 66 0a 0a 09 34 2e | 20 54 61 6b 65 20 63 6f |onf...4.| Take co|
|00003770| 76 65 72 20 61 6e 64 20 | 2e 2e 2e 2e 20 46 49 52 |ver and |.... FIR|
|00003780| 45 20 49 54 20 55 50 21 | 0a 0a 09 35 2e 20 54 61 |E IT UP!|...5. Ta|
|00003790| 6b 65 20 61 20 6c 6f 6f | 6b 20 61 74 20 74 68 65 |ke a loo|k at the|
|000037a0| 20 61 75 78 2f 20 64 69 | 72 65 63 74 6f 72 79 20 | aux/ di|rectory |
|000037b0| 66 6f 72 20 73 6f 6d 65 | 20 68 61 6e 64 79 20 73 |for some| handy s|
|000037c0| 63 72 69 70 74 73 2e 0a | 0a 52 75 6e 6e 69 6e 67 |cripts..|.Running|
|000037d0| 20 48 45 4c 4c 4f 20 61 | 6e 64 2f 6f 72 20 45 47 | HELLO a|nd/or EG|
|000037e0| 50 20 6f 6e 20 34 2e 32 | 20 62 61 73 65 64 20 73 |P on 4.2| based s|
|000037f0| 79 73 74 65 6d 73 3a 0a | 0a 09 49 66 20 79 6f 75 |ystems:.|..If you|
|00003800| 20 77 6f 75 6c 64 20 6c | 69 6b 65 20 74 6f 20 72 | would l|ike to r|
|00003810| 75 6e 20 48 45 4c 4c 4f | 20 6f 72 20 45 47 50 20 |un HELLO| or EGP |
|00003820| 6f 6e 20 61 20 34 2e 32 | 20 62 61 73 65 64 20 73 |on a 4.2| based s|
|00003830| 79 73 74 65 6d 20 73 75 | 63 68 20 61 73 0a 09 55 |ystem su|ch as..U|
|00003840| 6c 74 72 69 78 20 31 2e | 32 20 61 6e 64 20 53 75 |ltrix 1.|2 and Su|
|00003850| 6e 4f 53 20 33 2e 78 20 | 79 6f 75 20 77 69 6c 6c |nOS 3.x |you will|
|00003860| 20 6e 65 65 64 20 74 6f | 20 61 64 64 20 74 68 65 | need to| add the|
|00003870| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 64 65 20 | followi|ng code |
|00003880| 74 6f 20 74 68 65 0a 09 | 66 6f 6c 6c 6f 77 69 6e |to the..|followin|
|00003890| 67 20 6d 6f 64 75 6c 65 | 73 20 61 6e 64 20 72 65 |g module|s and re|
|000038a0| 62 75 69 6c 64 20 79 6f | 75 72 20 6b 65 72 6e 65 |build yo|ur kerne|
|000038b0| 6c 2e 20 0a 0a 09 2f 73 | 79 73 2f 6e 65 74 69 6e |l. .../s|ys/netin|
|000038c0| 65 74 2f 69 6e 2e 68 3a | 0a 0a 23 64 65 66 69 6e |et/in.h:|..#defin|
|000038d0| 65 20 49 50 50 52 4f 54 | 4f 5f 45 47 50 09 09 38 |e IPPROT|O_EGP..8|
|000038e0| 09 09 2f 2a 20 65 78 74 | 65 72 69 6f 72 20 67 61 |../* ext|erior ga|
|000038f0| 74 65 77 61 79 20 70 72 | 6f 74 6f 63 6f 6c 20 2a |teway pr|otocol *|
|00003900| 2f 0a 0a 23 64 65 66 69 | 6e 65 20 49 50 50 52 4f |/..#defi|ne IPPRO|
|00003910| 54 4f 5f 48 45 4c 4c 4f | 09 09 36 33 09 09 2f 2a |TO_HELLO|..63../*|
|00003920| 20 46 75 7a 7a 62 61 6c | 6c 20 48 45 4c 4c 4f 20 | Fuzzbal|l HELLO |
|00003930| 70 72 6f 74 6f 63 6f 6c | 20 2a 2f 0a 0a 09 2f 73 |protocol| */.../s|
|00003940| 79 73 2f 6e 65 74 69 6e | 65 74 2f 69 6e 5f 70 72 |ys/netin|et/in_pr|
|00003950| 6f 74 6f 2e 63 0a 0a 0a | 20 7b 20 53 4f 43 4b 5f |oto.c...| { SOCK_|
|00003960| 52 41 57 2c 09 50 46 5f | 49 4e 45 54 2c 09 49 50 |RAW,.PF_|INET,.IP|
|00003970| 50 52 4f 54 4f 5f 48 45 | 4c 4c 4f 2c 09 50 52 5f |PROTO_HE|LLO,.PR_|
|00003980| 41 54 4f 4d 49 43 7c 50 | 52 5f 41 44 44 52 2c 0a |ATOMIC|P|R_ADDR,.|
|00003990| 20 20 20 72 69 70 5f 69 | 6e 70 75 74 2c 09 72 69 | rip_i|nput,.ri|
|000039a0| 70 5f 6f 75 74 70 75 74 | 2c 09 30 2c 09 30 2c 0a |p_output|,.0,.0,.|
|000039b0| 20 20 20 72 61 77 5f 75 | 73 72 72 65 71 2c 0a 20 | raw_u|srreq,. |
|000039c0| 20 20 30 2c 09 09 30 2c | 09 09 30 2c 09 09 30 2c | 0,..0,|..0,..0,|
|000039d0| 0a 20 7d 2c 0a 20 7b 20 | 53 4f 43 4b 5f 52 41 57 |. },. { |SOCK_RAW|
|000039e0| 2c 09 50 46 5f 49 4e 45 | 54 2c 09 49 50 50 52 4f |,.PF_INE|T,.IPPRO|
|000039f0| 54 4f 5f 45 47 50 2c 09 | 50 52 5f 41 54 4f 4d 49 |TO_EGP,.|PR_ATOMI|
|00003a00| 43 7c 50 52 5f 41 44 44 | 52 2c 0a 20 20 20 72 69 |C|PR_ADD|R,. ri|
|00003a10| 70 5f 69 6e 70 75 74 2c | 09 72 69 70 5f 6f 75 74 |p_input,|.rip_out|
|00003a20| 70 75 74 2c 09 30 2c 09 | 30 2c 0a 20 20 20 72 61 |put,.0,.|0,. ra|
|00003a30| 77 5f 75 73 72 72 65 71 | 2c 0a 20 20 20 30 2c 09 |w_usrreq|,. 0,.|
|00003a40| 09 30 2c 09 09 30 2c 09 | 09 30 2c 0a 20 7d 2c 0a |.0,..0,.|.0,. },.|
|00003a50| 0a 0a 50 6c 65 61 73 65 | 20 72 65 70 6f 72 74 20 |..Please| report |
|00003a60| 61 6e 79 20 42 55 47 53 | 2c 20 63 6f 6d 6d 65 6e |any BUGS|, commen|
|00003a70| 74 73 2c 20 46 69 78 65 | 73 20 74 6f 20 6d 65 3a |ts, Fixe|s to me:|
|00003a80| 0a 0a 09 4a 65 66 66 72 | 65 79 20 43 20 48 6f 6e |...Jeffr|ey C Hon|
|00003a90| 69 67 0a 09 43 6f 72 6e | 65 6c 6c 20 54 68 65 6f |ig..Corn|ell Theo|
|00003aa0| 72 79 20 43 65 6e 74 65 | 72 0a 09 32 36 35 20 4f |ry Cente|r..265 O|
|00003ab0| 6c 69 6e 20 48 61 6c 6c | 0a 09 43 6f 72 6e 65 6c |lin Hall|..Cornel|
|00003ac0| 6c 20 55 6e 69 76 65 72 | 73 69 74 79 0a 09 49 74 |l Univer|sity..It|
|00003ad0| 68 61 63 61 2c 20 4e 59 | 20 20 31 34 38 35 33 0a |haca, NY| 14853.|
|00003ae0| 0a 09 36 30 37 2f 32 35 | 35 2d 38 36 38 36 0a 0a |..607/25|5-8686..|
|00003af0| 09 6a 63 68 40 74 63 67 | 6f 75 6c 64 2e 74 6e 2e |.jch@tcg|ould.tn.|
|00003b00| 63 6f 72 6e 65 6c 6c 2e | 65 64 75 0a 09 7b 75 63 |cornell.|edu..{uc|
|00003b10| 62 76 61 78 2c 75 75 6e | 65 74 2c 64 65 63 76 61 |bvax,uun|et,decva|
|00003b20| 78 2c 63 6f 72 6e 65 6c | 6c 7d 21 74 63 67 6f 75 |x,cornel|l}!tcgou|
|00003b30| 6c 64 2e 74 6e 2e 63 6f | 72 6e 65 6c 6c 2e 65 64 |ld.tn.co|rnell.ed|
|00003b40| 75 21 6a 63 68 0a 09 70 | 79 72 61 6d 69 64 21 62 |u!jch..p|yramid!b|
|00003b50| 61 74 63 6f 6d 70 75 74 | 65 72 21 66 65 64 6f 72 |atcomput|er!fedor|
|00003b60| 0a 0a 49 66 20 79 6f 75 | 20 6e 65 65 64 20 61 73 |..If you| need as|
|00003b70| 73 69 73 74 61 6e 63 65 | 20 6f 72 20 68 61 76 65 |sistance| or have|
|00003b80| 20 61 6e 79 20 71 75 65 | 73 74 69 6f 6e 73 2c 20 | any que|stions, |
|00003b90| 50 6c 65 61 73 65 20 63 | 6f 6e 74 61 63 74 20 6d |Please c|ontact m|
|00003ba0| 65 2e 20 20 44 6f 6e 27 | 74 0a 62 61 6e 67 20 79 |e. Don'|t.bang y|
|00003bb0| 6f 75 72 20 68 65 61 64 | 20 61 67 61 69 6e 73 74 |our head| against|
|00003bc0| 20 74 68 65 20 77 61 6c | 6c 2e 20 20 49 20 77 69 | the wal|l. I wi|
|00003bd0| 6c 6c 20 74 72 79 20 74 | 6f 20 68 65 6c 70 2e 20 |ll try t|o help. |
|00003be0| 0a 0a 49 6e 20 6f 72 64 | 65 72 20 74 68 61 74 20 |..In ord|er that |
|00003bf0| 49 20 6b 6e 6f 77 20 77 | 68 6f 20 74 6f 20 73 65 |I know w|ho to se|
|00003c00| 6e 64 20 62 75 67 20 66 | 69 78 65 73 20 61 6e 64 |nd bug f|ixes and|
|00003c10| 20 75 70 64 61 74 65 73 | 20 74 6f 2c 20 49 20 68 | updates| to, I h|
|00003c20| 61 76 65 0a 63 72 65 61 | 74 65 64 20 61 20 6d 61 |ave.crea|ted a ma|
|00003c30| 69 6c 69 6e 67 20 6c 69 | 73 74 20 66 6f 72 20 70 |iling li|st for p|
|00003c40| 65 6f 70 6c 65 20 72 75 | 6e 6e 69 6e 67 20 67 61 |eople ru|nning ga|
|00003c50| 74 65 64 2e 20 20 49 66 | 20 79 6f 75 20 61 72 65 |ted. If| you are|
|00003c60| 20 72 75 6e 6e 69 6e 67 | 0a 67 61 74 65 64 2c 20 | running|.gated, |
|00003c70| 70 6c 65 61 73 65 20 67 | 65 74 20 6f 6e 20 74 68 |please g|et on th|
|00003c80| 69 73 20 6c 69 73 74 2e | 20 20 53 65 6e 64 20 79 |is list.| Send y|
|00003c90| 6f 75 72 20 72 65 71 75 | 65 73 74 20 74 6f 3a 0a |our requ|est to:.|
|00003ca0| 0a 42 79 20 49 4e 54 45 | 52 4e 45 54 3a 0a 09 67 |.By INTE|RNET:..g|
|00003cb0| 61 74 65 64 2d 70 65 6f | 70 6c 65 2d 72 65 71 75 |ated-peo|ple-requ|
|00003cc0| 65 73 74 40 64 65 76 76 | 61 78 2e 74 6e 2e 63 6f |est@devv|ax.tn.co|
|00003cd0| 72 6e 65 6c 6c 2e 65 64 | 75 0a 0a 42 79 20 55 55 |rnell.ed|u..By UU|
|00003ce0| 43 50 3a 0a 09 7b 75 63 | 62 76 61 78 2c 75 75 6e |CP:..{uc|bvax,uun|
|00003cf0| 65 74 2c 64 65 63 76 61 | 78 7d 21 64 65 76 76 61 |et,decva|x}!devva|
|00003d00| 78 2e 74 6e 2e 63 6f 72 | 6e 65 6c 6c 2e 65 64 75 |x.tn.cor|nell.edu|
|00003d10| 21 67 61 74 65 64 2d 70 | 65 6f 70 6c 65 2d 72 65 |!gated-p|eople-re|
|00003d20| 71 75 65 73 74 0a 09 7b | 72 6f 63 68 65 73 74 65 |quest..{|rocheste|
|00003d30| 72 2c 64 65 63 76 61 78 | 2c 75 77 2d 62 65 61 76 |r,decvax|,uw-beav|
|00003d40| 65 72 7d 21 63 6f 72 6e | 65 6c 6c 21 64 65 76 76 |er}!corn|ell!devv|
|00003d50| 61 78 21 67 61 74 65 64 | 2d 70 65 6f 70 6c 65 2d |ax!gated|-people-|
|00003d60| 72 65 71 75 65 73 74 0a | 09 7b 77 61 72 72 69 6f |request.|.{warrio|
|00003d70| 72 2c 67 6f 75 6c 64 2c | 70 79 72 61 6d 69 64 7d |r,gould,|pyramid}|
|00003d80| 21 62 61 74 63 6f 6d 70 | 75 74 65 72 21 64 65 76 |!batcomp|uter!dev|
|00003d90| 76 61 78 21 67 61 74 65 | 64 2d 70 65 6f 70 6c 65 |vax!gate|d-people|
|00003da0| 2d 72 65 71 75 65 73 74 | 0a 0a 4f 6e 65 20 6f 66 |-request|..One of|
|00003db0| 20 74 68 65 73 65 20 68 | 61 73 20 67 6f 74 20 74 | these h|as got t|
|00003dc0| 6f 20 77 6f 72 6b 2e 20 | 20 49 66 20 79 6f 75 20 |o work. | If you |
|00003dd0| 66 69 6e 64 20 6f 6e 65 | 20 74 68 61 74 20 62 6f |find one| that bo|
|00003de0| 75 6e 63 65 73 20 6c 65 | 74 20 6d 65 20 6b 6e 6f |unces le|t me kno|
|00003df0| 77 2e 20 0a 0a 54 68 65 | 20 6f 6e 6c 79 20 74 68 |w. ..The| only th|
|00003e00| 69 6e 67 20 49 20 61 73 | 6b 20 6f 66 20 74 68 69 |ing I as|k of thi|
|00003e10| 73 20 6c 69 73 74 20 69 | 73 20 74 68 61 74 20 61 |s list i|s that a|
|00003e20| 6c 6c 20 62 75 67 20 66 | 69 78 65 73 20 61 6e 64 |ll bug f|ixes and|
|00003e30| 20 65 6e 68 61 6e 63 65 | 6d 65 6e 74 73 0a 62 65 | enhance|ments.be|
|00003e40| 20 73 65 6e 74 20 74 6f | 20 6d 65 20 66 6f 72 20 | sent to| me for |
|00003e50| 74 65 73 74 69 6e 67 20 | 61 6e 64 20 74 68 65 6e |testing |and then|
|00003e60| 20 49 20 77 69 6c 6c 20 | 6f 66 66 69 63 69 61 6c | I will |official|
|00003e70| 6c 79 20 73 65 6e 64 20 | 6f 75 74 20 74 68 65 0a |ly send |out the.|
|00003e80| 66 69 78 2f 65 6e 68 61 | 6e 63 65 6d 65 6e 74 2e |fix/enha|ncement.|
|00003e90| 20 20 49 74 20 77 69 6c | 6c 20 6d 61 6b 65 20 6c | It wil|l make l|
|00003ea0| 69 66 65 20 65 61 73 69 | 65 72 20 6f 6e 20 61 6c |ife easi|er on al|
|00003eb0| 6c 20 6f 66 20 75 73 2e | 20 20 49 20 77 69 6c 6c |l of us.| I will|
|00003ec0| 20 70 6f 73 74 20 61 0a | 67 72 65 65 74 69 6e 67 | post a.|greeting|
|00003ed0| 20 74 6f 20 74 68 65 20 | 6c 69 73 74 20 77 68 65 | to the |list whe|
|00003ee0| 6e 20 49 20 67 65 74 20 | 65 6e 6f 75 67 68 20 72 |n I get |enough r|
|00003ef0| 65 73 70 6f 6e 73 65 73 | 2e 20 0a 0a 54 68 61 6e |esponses|. ..Than|
|00003f00| 6b 73 2e 0a 0a 4a 65 66 | 66 0a 0a 75 6e 63 65 22 |ks...Jef|f..unce"|
|00003f10| 0a 09 20 20 20 20 20 73 | 65 70 61 72 61 74 65 2c |.. s|eparate,|
|00003f20| 20 62 75 74 20 6e 65 76 | 65 72 20 74 6f 67 65 74 | but nev|er toget|
|00003f30| 68 65 72 2e 20 20 54 68 | 65 72 65 20 77 61 73 20 |her. Th|ere was |
|00003f40| 6e 6f 20 63 68 61 6e 67 | 65 20 6f 66 0a 09 20 20 |no chang|e of.. |
|00003f50| 20 20 20 73 79 6e 74 61 | 78 2c 20 67 61 74 65 64 | synta|x, gated|
|00003f60| 20 69 6e 74 65 72 6e 61 | 6c 73 20 77 65 72 65 20 | interna|ls were |
|00003f70| 6a 75 73 74 20 6d 61 64 | 65 20 73 6d 61 72 74 65 |just mad|e smarte|
|00003f80| 72 2e 0a 09 20 20 20 20 | 20 54 68 65 20 66 69 72 |r... | The fir|
|00003f90| 73 74 20 22 7b 6e 6f 7d | 61 6e 6e 6f 75 6e 63 65 |st "{no}|announce|
|00003fa0| 20 6e 65 74 23 20 69 6e | 74 66 20 61 6c 6c 20 2e | net# in|tf all .|
|00003fb0| 2e 2e 2e 2e 22 20 77 69 | 6c 6c 20 6d 61 6b 65 0a |...." wi|ll make.|
|00003fc0| 09 20 20 20 20 20 67 61 | 74 65 64 20 61 70 70 6c |. ga|ted appl|
|00003fd0| 79 20 74 68 65 20 63 6c | 61 75 73 65 20 67 6c 6f |y the cl|ause glo|
|00003fe0| 62 61 6c 6c 79 20 62 65 | 63 61 75 73 65 20 79 6f |bally be|cause yo|
|00003ff0| 75 20 73 70 65 63 69 66 | 69 65 64 20 61 6c 6c 0a |u specif|ied all.|
|00004000| 54 4f 44 4f 00 00 00 00 | 00 00 00 00 00 00 00 00 |TODO....|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 20 20 20 36 | 36 30 20 00 20 20 20 20 |.... 6|60 . |
|00004070| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00004080| 20 20 20 20 37 34 33 20 | 20 34 31 35 35 33 32 30 | 743 | 4155320|
|00004090| 35 33 34 20 20 20 34 35 | 30 33 00 20 00 00 00 00 |534 45|03. ....|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 0a 09 46 6f 72 20 74 68 | 65 20 66 75 74 75 72 65 |..For th|e future|
|00004210| 3f 0a 0a 09 2d 20 67 65 | 74 20 74 6f 20 77 72 69 |?...- ge|t to wri|
|00004220| 74 69 6e 67 20 61 6e 20 | 69 6d 70 6c 65 6d 65 6e |ting an |implemen|
|00004230| 74 61 74 69 6f 6e 20 70 | 61 70 65 72 2e 2e 2e 0a |tation p|aper....|
|00004240| 0a 09 2d 20 53 6f 6d 65 | 20 73 6f 72 74 20 6f 66 |..- Some| sort of|
|00004250| 20 53 47 4d 50 20 6d 6f | 6e 69 74 6f 72 69 6e 67 | SGMP mo|nitoring|
|00004260| 2e 20 20 48 61 76 65 6e | 27 74 20 64 65 63 69 64 |. Haven|'t decid|
|00004270| 65 64 20 6f 6e 20 61 0a | 09 20 20 72 65 61 6c 20 |ed on a.|. real |
|00004280| 67 6f 6f 64 20 77 61 79 | 20 79 65 74 20 61 73 20 |good way| yet as |
|00004290| 79 6f 75 20 64 6f 6e 27 | 74 20 77 61 6e 74 20 74 |you don'|t want t|
|000042a0| 6f 20 62 6f 67 20 64 6f | 77 6e 20 74 68 65 0a 09 |o bog do|wn the..|
|000042b0| 20 20 72 6f 75 74 69 6e | 67 20 70 72 6f 63 65 73 | routin|g proces|
|000042c0| 73 2e 20 20 47 61 74 65 | 64 20 68 61 73 20 6c 6f |s. Gate|d has lo|
|000042d0| 61 64 73 20 6f 66 20 67 | 72 65 61 74 20 69 6e 66 |ads of g|reat inf|
|000042e0| 6f 20 61 62 6f 75 74 20 | 74 68 65 0a 09 20 20 67 |o about |the.. g|
|000042f0| 61 74 65 77 61 79 2c 20 | 6a 75 73 74 20 68 61 76 |ateway, |just hav|
|00004300| 65 20 74 6f 20 67 65 74 | 20 69 74 20 6f 75 74 2e |e to get| it out.|
|00004310| 0a 0a 09 2d 20 46 61 6c | 6c 62 61 63 6b 20 72 6f |...- Fal|lback ro|
|00004320| 75 74 69 6e 67 20 6d 6f | 64 73 2e 20 20 20 41 63 |uting mo|ds. Ac|
|00004330| 74 75 61 6c 6c 79 20 73 | 6f 6f 6e 65 72 20 74 68 |tually s|ooner th|
|00004340| 61 6e 20 79 6f 75 20 74 | 68 69 6e 6b 2e 0a 0a 09 |an you t|hink....|
|00004350| 2d 20 50 72 6f 78 79 20 | 52 49 50 3f 20 20 59 55 |- Proxy |RIP? YU|
|00004360| 43 4b 2e 0a 0a 09 2d 20 | 73 6f 6d 65 20 73 6f 72 |CK....- |some sor|
|00004370| 74 20 6f 66 20 72 6f 75 | 74 65 20 68 69 73 74 6f |t of rou|te histo|
|00004380| 72 79 20 6d 65 63 68 61 | 6e 69 73 6d 20 66 6f 72 |ry mecha|nism for|
|00004390| 20 65 61 63 68 20 61 63 | 74 69 76 65 20 70 72 6f | each ac|tive pro|
|000043a0| 74 6f 63 6f 6c 2e 0a 0a | 09 2d 20 64 65 74 61 69 |tocol...|.- detai|
|000043b0| 6c 65 64 20 22 64 65 66 | 61 75 6c 74 22 20 72 6f |led "def|ault" ro|
|000043c0| 75 74 65 20 70 72 6f 63 | 65 73 73 69 6e 67 20 6d |ute proc|essing m|
|000043d0| 61 79 20 6e 65 65 64 20 | 73 6f 6d 65 20 77 6f 72 |ay need |some wor|
|000043e0| 6b 0a 0a 6e 20 34 2e 32 | 20 62 61 73 65 64 20 73 |k..n 4.2| based s|
|000043f0| 79 73 74 65 6d 73 3a 0a | 0a 09 49 66 20 79 6f 75 |ystems:.|..If you|
|00004400| 61 75 78 2f 00 00 00 00 | 00 00 00 00 00 00 00 00 |aux/....|........|
|00004410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 00 20 20 20 37 | 37 35 20 00 20 20 20 20 |.... 7|75 . |
|00004470| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00004480| 20 20 20 20 20 20 30 20 | 20 34 31 35 35 33 32 30 | 0 | 4155320|
|00004490| 35 33 31 20 20 20 34 35 | 34 30 00 20 00 00 00 00 |531 45|40. ....|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 61 75 78 2f 67 77 2d 6d | 6f 6e 00 00 00 00 00 00 |aux/gw-m|on......|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 20 20 20 37 | 35 30 20 00 20 20 20 20 |.... 7|50 . |
|00004670| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00004680| 20 20 20 31 35 36 37 20 | 20 34 31 35 35 33 32 30 | 1567 | 4155320|
|00004690| 35 33 30 20 20 20 35 37 | 36 30 00 20 00 00 00 00 |530 57|60. ....|
|000046a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 23 21 2f 62 69 6e 2f 63 | 73 68 0a 0a 73 65 74 20 |#!/bin/c|sh..set |
|00004810| 42 49 4e 44 49 52 3d 2f | 6d 75 2f 66 65 64 6f 72 |BINDIR=/|mu/fedor|
|00004820| 2f 62 69 6e 0a 73 65 74 | 20 4c 4f 47 44 49 52 3d |/bin.set| LOGDIR=|
|00004830| 2f 6d 75 2f 66 65 64 6f | 72 2f 77 6f 72 6b 2f 6d |/mu/fedo|r/work/m|
|00004840| 6f 6e 69 74 6f 72 0a 0a | 2f 62 69 6e 2f 64 61 74 |onitor..|/bin/dat|
|00004850| 65 09 09 09 09 09 09 3e | 20 20 24 4c 4f 47 44 49 |e......>| $LOGDI|
|00004860| 52 2f 67 77 2d 6d 6f 6e | 2e 6c 6f 67 0a 65 63 68 |R/gw-mon|.log.ech|
|00004870| 6f 20 22 20 22 09 09 09 | 09 09 09 3e 3e 20 24 4c |o " "...|...>> $L|
|00004880| 4f 47 44 49 52 2f 67 77 | 2d 6d 6f 6e 2e 6c 6f 67 |OGDIR/gw|-mon.log|
|00004890| 0a 65 63 68 6f 20 22 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.echo "=|========|
|000048a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000048b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000048c0| 3d 3d 22 09 3e 3e 20 24 | 4c 4f 47 44 49 52 2f 67 |==".>> $|LOGDIR/g|
|000048d0| 77 2d 6d 6f 6e 2e 6c 6f | 67 0a 65 63 68 6f 20 22 |w-mon.lo|g.echo "|
|000048e0| 20 22 09 09 09 09 09 09 | 3e 3e 20 24 4c 4f 47 44 | "......|>> $LOGD|
|000048f0| 49 52 2f 67 77 2d 6d 6f | 6e 2e 6c 6f 67 0a 24 42 |IR/gw-mo|n.log.$B|
|00004900| 49 4e 44 49 52 2f 63 68 | 65 6b 20 24 2a 09 09 09 |INDIR/ch|ek $*...|
|00004910| 09 09 09 3e 3e 20 24 4c | 4f 47 44 49 52 2f 67 77 |...>> $L|OGDIR/gw|
|00004920| 2d 6d 6f 6e 2e 6c 6f 67 | 0a 65 63 68 6f 20 22 20 |-mon.log|.echo " |
|00004930| 22 09 09 09 09 09 09 3e | 3e 20 24 4c 4f 47 44 49 |"......>|> $LOGDI|
|00004940| 52 2f 67 77 2d 6d 6f 6e | 2e 6c 6f 67 0a 65 63 68 |R/gw-mon|.log.ech|
|00004950| 6f 20 22 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |o "=====|========|
|00004960| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004970| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 22 09 |========|======".|
|00004980| 3e 3e 20 24 4c 4f 47 44 | 49 52 2f 67 77 2d 6d 6f |>> $LOGD|IR/gw-mo|
|00004990| 6e 2e 6c 6f 67 0a 65 63 | 68 6f 20 22 20 22 09 09 |n.log.ec|ho " "..|
|000049a0| 09 09 09 09 3e 3e 20 24 | 4c 4f 47 44 49 52 2f 67 |....>> $|LOGDIR/g|
|000049b0| 77 2d 6d 6f 6e 2e 6c 6f | 67 0a 24 42 49 4e 44 49 |w-mon.lo|g.$BINDI|
|000049c0| 52 2f 72 65 64 63 68 65 | 6b 20 24 2a 09 09 09 09 |R/redche|k $*....|
|000049d0| 09 3e 3e 20 24 4c 4f 47 | 44 49 52 2f 67 77 2d 6d |.>> $LOG|DIR/gw-m|
|000049e0| 6f 6e 2e 6c 6f 67 0a 65 | 63 68 6f 20 22 20 22 09 |on.log.e|cho " ".|
|000049f0| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00004a00| 67 77 2d 6d 6f 6e 2e 6c | 6f 67 0a 65 63 68 6f 20 |gw-mon.l|og.echo |
|00004a10| 22 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |"=======|========|
|00004a20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004a30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 22 09 3e 3e |========|====".>>|
|00004a40| 20 24 4c 4f 47 44 49 52 | 2f 67 77 2d 6d 6f 6e 2e | $LOGDIR|/gw-mon.|
|00004a50| 6c 6f 67 0a 65 63 68 6f | 20 22 20 22 09 09 09 09 |log.echo| " "....|
|00004a60| 09 09 3e 3e 20 24 4c 4f | 47 44 49 52 2f 67 77 2d |..>> $LO|GDIR/gw-|
|00004a70| 6d 6f 6e 2e 6c 6f 67 0a | 24 42 49 4e 44 49 52 2f |mon.log.|$BINDIR/|
|00004a80| 64 65 6c 63 68 65 6b 20 | 24 2a 09 09 09 09 09 3e |delchek |$*.....>|
|00004a90| 3e 20 24 4c 4f 47 44 49 | 52 2f 67 77 2d 6d 6f 6e |> $LOGDI|R/gw-mon|
|00004aa0| 2e 6c 6f 67 0a 65 63 68 | 6f 20 22 20 22 09 09 09 |.log.ech|o " "...|
|00004ab0| 09 09 09 3e 3e 20 24 4c | 4f 47 44 49 52 2f 67 77 |...>> $L|OGDIR/gw|
|00004ac0| 2d 6d 6f 6e 2e 6c 6f 67 | 0a 65 63 68 6f 20 22 3d |-mon.log|.echo "=|
|00004ad0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004ae0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004af0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 22 09 3e 3e 20 24 |========|==".>> $|
|00004b00| 4c 4f 47 44 49 52 2f 67 | 77 2d 6d 6f 6e 2e 6c 6f |LOGDIR/g|w-mon.lo|
|00004b10| 67 0a 65 63 68 6f 20 22 | 20 22 09 09 09 09 09 09 |g.echo "| "......|
|00004b20| 3e 3e 20 24 4c 4f 47 44 | 49 52 2f 67 77 2d 6d 6f |>> $LOGD|IR/gw-mo|
|00004b30| 6e 2e 6c 6f 67 0a 2f 62 | 69 6e 2f 64 61 74 65 09 |n.log./b|in/date.|
|00004b40| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00004b50| 67 77 2d 6d 6f 6e 2e 6c | 6f 67 0a 0a 75 6e 73 65 |gw-mon.l|og..unse|
|00004b60| 74 20 42 49 4e 44 49 52 | 0a 75 6e 73 65 74 20 4c |t BINDIR|.unset L|
|00004b70| 4f 47 44 49 52 0a 0a 45 | 4c 4c 4f 2c 09 50 52 5f |OGDIR..E|LLO,.PR_|
|00004b80| 41 54 4f 4d 49 43 7c 50 | 52 5f 41 44 44 52 2c 0a |ATOMIC|P|R_ADDR,.|
|00004b90| 20 20 20 72 69 70 5f 69 | 6e 70 75 74 2c 09 72 69 | rip_i|nput,.ri|
|00004ba0| 70 5f 6f 75 74 70 75 74 | 2c 09 30 2c 09 30 2c 0a |p_output|,.0,.0,.|
|00004bb0| 20 20 20 72 61 77 5f 75 | 73 72 72 65 71 2c 0a 20 | raw_u|srreq,. |
|00004bc0| 20 20 30 2c 09 09 30 2c | 09 09 30 2c 09 09 30 2c | 0,..0,|..0,..0,|
|00004bd0| 0a 20 7d 2c 0a 20 7b 20 | 53 4f 43 4b 5f 52 41 57 |. },. { |SOCK_RAW|
|00004be0| 2c 09 50 46 5f 49 4e 45 | 54 2c 09 49 50 50 52 4f |,.PF_INE|T,.IPPRO|
|00004bf0| 54 4f 5f 45 47 50 2c 09 | 50 52 5f 41 54 4f 4d 49 |TO_EGP,.|PR_ATOMI|
|00004c00| 61 75 78 2f 63 68 65 6b | 00 00 00 00 00 00 00 00 |aux/chek|........|
|00004c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c60| 00 00 00 00 20 20 20 37 | 35 30 20 00 20 20 20 20 |.... 7|50 . |
|00004c70| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00004c80| 20 20 20 20 36 36 35 20 | 20 34 31 35 35 33 32 30 | 665 | 4155320|
|00004c90| 35 33 30 20 20 20 35 34 | 34 34 00 20 00 00 00 00 |530 54|44. ....|
|00004ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 61 77 6b 20 27 0a 42 45 | 47 49 4e 20 7b 20 70 72 |awk '.BE|GIN { pr|
|00004e10| 69 6e 74 66 20 22 5c 6e | 25 34 30 73 5c 6e 5c 6e |intf "\n|%40s\n\n|
|00004e20| 22 2c 22 52 4f 55 54 45 | 20 53 55 4d 4d 41 52 59 |","ROUTE| SUMMARY|
|00004e30| 22 0a 09 70 72 69 6e 74 | 66 20 22 25 32 30 73 20 |"..print|f "%20s |
|00004e40| 25 2d 31 35 73 20 25 2d | 31 35 73 20 25 2d 31 35 |%-15s %-|15s %-15|
|00004e50| 73 5c 6e 22 2c 22 20 22 | 2c 22 4d 45 54 52 49 43 |s\n"," "|,"METRIC|
|00004e60| 22 2c 22 47 41 54 45 57 | 41 59 22 2c 22 54 4f 54 |","GATEW|AY","TOT|
|00004e70| 41 4c 22 0a 09 70 72 69 | 6e 74 66 20 22 25 2d 32 |AL"..pri|ntf "%-2|
|00004e80| 30 73 20 25 2d 31 35 73 | 20 25 2d 31 35 73 20 25 |0s %-15s| %-15s %|
|00004e90| 2d 31 35 73 5c 6e 5c 6e | 22 2c 22 4e 45 54 57 4f |-15s\n\n|","NETWO|
|00004ea0| 52 4b 53 22 2c 22 43 48 | 41 4e 47 45 53 22 2c 22 |RKS","CH|ANGES","|
|00004eb0| 43 48 41 4e 47 45 53 22 | 2c 22 43 48 41 4e 47 45 |CHANGES"|,"CHANGE|
|00004ec0| 53 22 20 7d 0a 09 7b 20 | 69 66 20 28 24 31 20 3d |S" }..{ |if ($1 =|
|00004ed0| 3d 20 22 43 48 41 4e 47 | 45 22 29 0a 09 09 73 75 |= "CHANG|E")...su|
|00004ee0| 6d 5b 24 33 5d 2b 2b 0a | 09 09 69 66 20 28 67 61 |m[$3]++.|..if (ga|
|00004ef0| 74 65 77 61 79 5b 24 33 | 5d 20 3d 3d 20 24 35 29 |teway[$3|] == $5)|
|00004f00| 0a 09 09 09 6d 65 74 63 | 68 6e 67 5b 24 33 5d 2b |....metc|hng[$3]+|
|00004f10| 2b 0a 09 09 65 6c 73 65 | 20 7b 0a 09 09 09 67 61 |+...else| {....ga|
|00004f20| 74 65 63 68 6e 67 5b 24 | 33 5d 2b 2b 0a 09 09 09 |techng[$|3]++....|
|00004f30| 67 61 74 65 77 61 79 5b | 24 33 5d 20 3d 20 24 35 |gateway[|$3] = $5|
|00004f40| 0a 09 09 7d 0a 09 7d 0a | 45 4e 44 20 7b 20 66 6f |...}..}.|END { fo|
|00004f50| 72 20 28 6e 65 74 20 69 | 6e 20 73 75 6d 29 20 70 |r (net i|n sum) p|
|00004f60| 72 69 6e 74 66 20 22 25 | 2d 32 33 73 20 25 2d 31 |rintf "%|-23s %-1|
|00004f70| 35 73 20 25 2d 31 35 73 | 20 25 2d 31 35 73 5c 6e |5s %-15s| %-15s\n|
|00004f80| 22 2c 6e 65 74 2c 6d 65 | 74 63 68 6e 67 5b 6e 65 |",net,me|tchng[ne|
|00004f90| 74 5d 2c 67 61 74 65 63 | 68 6e 67 5b 6e 65 74 5d |t],gatec|hng[net]|
|00004fa0| 2c 73 75 6d 5b 6e 65 74 | 5d 20 7d 0a 20 20 20 20 |,sum[net|] }. |
|00004fb0| 27 20 24 2a 0a 2e 6c 6f | 67 0a 24 42 49 4e 44 49 |' $*..lo|g.$BINDI|
|00004fc0| 52 2f 72 65 64 63 68 65 | 6b 20 24 2a 09 09 09 09 |R/redche|k $*....|
|00004fd0| 09 3e 3e 20 24 4c 4f 47 | 44 49 52 2f 67 77 2d 6d |.>> $LOG|DIR/gw-m|
|00004fe0| 6f 6e 2e 6c 6f 67 0a 65 | 63 68 6f 20 22 20 22 09 |on.log.e|cho " ".|
|00004ff0| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00005000| 61 75 78 2f 64 65 6c 63 | 68 65 6b 00 00 00 00 00 |aux/delc|hek.....|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 20 20 20 37 | 35 30 20 00 20 20 20 20 |.... 7|50 . |
|00005070| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00005080| 20 20 20 20 33 30 36 20 | 20 34 31 35 35 33 32 30 | 306 | 4155320|
|00005090| 35 33 30 20 20 20 36 31 | 32 31 00 20 00 00 00 00 |530 61|21. ....|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 61 77 6b 20 27 0a 42 45 | 47 49 4e 20 7b 20 70 72 |awk '.BE|GIN { pr|
|00005210| 69 6e 74 66 20 22 5c 6e | 25 34 35 73 5c 6e 5c 6e |intf "\n|%45s\n\n|
|00005220| 25 2d 32 30 73 20 25 2d | 32 30 73 5c 6e 5c 6e 22 |%-20s %-|20s\n\n"|
|00005230| 2c 22 44 45 4c 45 54 49 | 4f 4e 20 53 55 4d 4d 41 |,"DELETI|ON SUMMA|
|00005240| 52 59 22 2c 22 4e 45 54 | 57 4f 52 4b 53 22 2c 22 |RY","NET|WORKS","|
|00005250| 44 45 4c 45 54 49 4f 4e | 53 22 20 7d 0a 09 7b 20 |DELETION|S" }..{ |
|00005260| 69 66 20 28 24 31 20 3d | 3d 20 22 44 45 4c 45 54 |if ($1 =|= "DELET|
|00005270| 45 22 29 20 73 75 6d 5b | 24 33 5d 2b 2b 20 7d 0a |E") sum[|$3]++ }.|
|00005280| 45 4e 44 20 7b 20 66 6f | 72 20 28 6e 65 74 20 69 |END { fo|r (net i|
|00005290| 6e 20 73 75 6d 29 20 70 | 72 69 6e 74 66 20 22 25 |n sum) p|rintf "%|
|000052a0| 2d 32 34 73 20 25 2d 32 | 30 73 5c 6e 22 2c 6e 65 |-24s %-2|0s\n",ne|
|000052b0| 74 2c 73 75 6d 5b 6e 65 | 74 5d 20 7d 0a 20 20 20 |t,sum[ne|t] }. |
|000052c0| 20 27 20 24 2a 0a 7b 20 | 69 66 20 28 24 31 20 3d | ' $*.{ |if ($1 =|
|000052d0| 3d 20 22 43 48 41 4e 47 | 45 22 29 0a 09 09 73 75 |= "CHANG|E")...su|
|000052e0| 6d 5b 24 33 5d 2b 2b 0a | 09 09 69 66 20 28 67 61 |m[$3]++.|..if (ga|
|000052f0| 74 65 77 61 79 5b 24 33 | 5d 20 3d 3d 20 24 35 29 |teway[$3|] == $5)|
|00005300| 0a 09 09 09 6d 65 74 63 | 68 6e 67 5b 24 33 5d 2b |....metc|hng[$3]+|
|00005310| 2b 0a 09 09 65 6c 73 65 | 20 7b 0a 09 09 09 67 61 |+...else| {....ga|
|00005320| 74 65 63 68 6e 67 5b 24 | 33 5d 2b 2b 0a 09 09 09 |techng[$|3]++....|
|00005330| 67 61 74 65 77 61 79 5b | 24 33 5d 20 3d 20 24 35 |gateway[|$3] = $5|
|00005340| 0a 09 09 7d 0a 09 7d 0a | 45 4e 44 20 7b 20 66 6f |...}..}.|END { fo|
|00005350| 72 20 28 6e 65 74 20 69 | 6e 20 73 75 6d 29 20 70 |r (net i|n sum) p|
|00005360| 72 69 6e 74 66 20 22 25 | 2d 32 33 73 20 25 2d 31 |rintf "%|-23s %-1|
|00005370| 35 73 20 25 2d 31 35 73 | 20 25 2d 31 35 73 5c 6e |5s %-15s| %-15s\n|
|00005380| 22 2c 6e 65 74 2c 6d 65 | 74 63 68 6e 67 5b 6e 65 |",net,me|tchng[ne|
|00005390| 74 5d 2c 67 61 74 65 63 | 68 6e 67 5b 6e 65 74 5d |t],gatec|hng[net]|
|000053a0| 2c 73 75 6d 5b 6e 65 74 | 5d 20 7d 0a 20 20 20 20 |,sum[net|] }. |
|000053b0| 27 20 24 2a 0a 2e 6c 6f | 67 0a 24 42 49 4e 44 49 |' $*..lo|g.$BINDI|
|000053c0| 52 2f 72 65 64 63 68 65 | 6b 20 24 2a 09 09 09 09 |R/redche|k $*....|
|000053d0| 09 3e 3e 20 24 4c 4f 47 | 44 49 52 2f 67 77 2d 6d |.>> $LOG|DIR/gw-m|
|000053e0| 6f 6e 2e 6c 6f 67 0a 65 | 63 68 6f 20 22 20 22 09 |on.log.e|cho " ".|
|000053f0| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00005400| 61 75 78 2f 72 65 64 63 | 68 65 6b 00 00 00 00 00 |aux/redc|hek.....|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 20 20 20 37 | 35 30 20 00 20 20 20 20 |.... 7|50 . |
|00005470| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00005480| 20 20 20 20 35 30 34 20 | 20 34 31 35 35 33 32 30 | 504 | 4155320|
|00005490| 35 33 30 20 20 20 36 31 | 32 37 00 20 00 00 00 00 |530 61|27. ....|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 61 77 6b 20 27 0a 42 45 | 47 49 4e 20 7b 20 70 72 |awk '.BE|GIN { pr|
|00005610| 69 6e 74 66 20 22 5c 6e | 25 34 35 73 5c 6e 5c 6e |intf "\n|%45s\n\n|
|00005620| 25 2d 32 30 73 20 25 2d | 31 30 73 20 25 2d 31 30 |%-20s %-|10s %-10|
|00005630| 73 20 25 2d 32 30 73 5c | 6e 5c 6e 22 2c 22 52 45 |s %-20s\|n\n","RE|
|00005640| 44 49 52 45 43 54 20 53 | 55 4d 4d 41 52 59 22 2c |DIRECT S|UMMARY",|
|00005650| 22 48 4f 53 54 22 2c 22 | 4e 45 54 22 2c 22 48 4f |"HOST","|NET","HO|
|00005660| 53 54 22 2c 22 54 4f 54 | 41 4c 22 20 7d 0a 09 7b |ST","TOT|AL" }..{|
|00005670| 20 69 66 20 28 24 32 20 | 3d 3d 20 22 52 45 44 49 | if ($2 |== "REDI|
|00005680| 52 45 43 54 22 29 0a 09 | 09 20 73 75 6d 5b 24 34 |RECT")..|. sum[$4|
|00005690| 5d 2b 2b 3b 0a 09 09 20 | 69 66 20 28 24 31 20 3d |]++;... |if ($1 =|
|000056a0| 3d 20 22 4e 45 54 22 29 | 0a 09 09 20 20 20 6e 65 |= "NET")|... ne|
|000056b0| 74 73 75 6d 5b 24 34 5d | 2b 2b 0a 09 09 20 65 6c |tsum[$4]|++... el|
|000056c0| 73 65 0a 09 09 20 20 20 | 68 6f 73 74 73 75 6d 5b |se... |hostsum[|
|000056d0| 24 34 5d 2b 2b 0a 09 7d | 0a 45 4e 44 20 7b 20 66 |$4]++..}|.END { f|
|000056e0| 6f 72 20 28 6e 65 74 20 | 69 6e 20 73 75 6d 29 20 |or (net |in sum) |
|000056f0| 70 72 69 6e 74 66 20 22 | 25 2d 32 31 73 20 25 2d |printf "|%-21s %-|
|00005700| 31 30 73 20 25 2d 31 31 | 73 20 25 2d 32 30 73 5c |10s %-11|s %-20s\|
|00005710| 6e 22 2c 6e 65 74 2c 6e | 65 74 73 75 6d 5b 6e 65 |n",net,n|etsum[ne|
|00005720| 74 5d 2c 68 6f 73 74 73 | 75 6d 5b 6e 65 74 5d 2c |t],hosts|um[net],|
|00005730| 73 75 6d 5b 6e 65 74 5d | 20 7d 0a 20 20 20 20 27 |sum[net]| }. '|
|00005740| 20 24 2a 0a 0a 09 7d 0a | 45 4e 44 20 7b 20 66 6f | $*...}.|END { fo|
|00005750| 72 20 28 6e 65 74 20 69 | 6e 20 73 75 6d 29 20 70 |r (net i|n sum) p|
|00005760| 72 69 6e 74 66 20 22 25 | 2d 32 33 73 20 25 2d 31 |rintf "%|-23s %-1|
|00005770| 35 73 20 25 2d 31 35 73 | 20 25 2d 31 35 73 5c 6e |5s %-15s| %-15s\n|
|00005780| 22 2c 6e 65 74 2c 6d 65 | 74 63 68 6e 67 5b 6e 65 |",net,me|tchng[ne|
|00005790| 74 5d 2c 67 61 74 65 63 | 68 6e 67 5b 6e 65 74 5d |t],gatec|hng[net]|
|000057a0| 2c 73 75 6d 5b 6e 65 74 | 5d 20 7d 0a 20 20 20 20 |,sum[net|] }. |
|000057b0| 27 20 24 2a 0a 2e 6c 6f | 67 0a 24 42 49 4e 44 49 |' $*..lo|g.$BINDI|
|000057c0| 52 2f 72 65 64 63 68 65 | 6b 20 24 2a 09 09 09 09 |R/redche|k $*....|
|000057d0| 09 3e 3e 20 24 4c 4f 47 | 44 49 52 2f 67 77 2d 6d |.>> $LOG|DIR/gw-m|
|000057e0| 6f 6e 2e 6c 6f 67 0a 65 | 63 68 6f 20 22 20 22 09 |on.log.e|cho " ".|
|000057f0| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00005800| 61 75 78 2f 67 61 74 65 | 64 2d 6d 6f 6e 00 00 00 |aux/gate|d-mon...|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 20 20 20 37 | 35 30 20 00 20 20 20 20 |.... 7|50 . |
|00005870| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00005880| 20 20 20 31 31 35 32 20 | 20 34 31 35 35 33 32 30 | 1152 | 4155320|
|00005890| 35 33 30 20 20 20 36 34 | 31 35 00 20 00 00 00 00 |530 64|15. ....|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 23 21 2f 62 69 6e 2f 63 | 73 68 0a 23 0a 23 20 73 |#!/bin/c|sh.#.# s|
|00005a10| 63 72 69 70 74 20 74 6f | 20 61 6e 61 6c 79 7a 65 |cript to| analyze|
|00005a20| 20 74 68 65 20 64 61 79 | 73 20 67 61 74 65 64 2e | the day|s gated.|
|00005a30| 6c 6f 67 20 61 6e 64 20 | 70 75 74 20 69 74 20 69 |log and |put it i|
|00005a40| 6e 20 61 20 72 65 61 64 | 61 62 6c 65 0a 23 20 66 |n a read|able.# f|
|00005a50| 6f 72 6d 61 74 2e 20 20 | 54 68 65 6e 20 6d 61 69 |ormat. |Then mai|
|00005a60| 6c 20 74 6f 20 61 70 70 | 72 6f 70 72 69 61 74 65 |l to app|ropriate|
|00005a70| 20 70 61 72 74 69 65 73 | 2e 0a 23 0a 73 65 74 20 | parties|..#.set |
|00005a80| 4c 4f 47 44 49 52 3d 2f | 6d 75 2f 66 65 64 6f 72 |LOGDIR=/|mu/fedor|
|00005a90| 2f 77 6f 72 6b 2f 6d 6f | 6e 69 74 6f 72 0a 73 65 |/work/mo|nitor.se|
|00005aa0| 74 20 47 41 54 45 44 4c | 4f 47 53 3d 2f 6d 75 2f |t GATEDL|OGS=/mu/|
|00005ab0| 66 65 64 6f 72 2f 67 61 | 74 65 6c 6f 67 0a 73 65 |fedor/ga|telog.se|
|00005ac0| 74 20 42 49 4e 44 49 52 | 3d 2f 6d 75 2f 66 65 64 |t BINDIR|=/mu/fed|
|00005ad0| 6f 72 2f 62 69 6e 0a 73 | 65 74 20 6e 6f 74 69 66 |or/bin.s|et notif|
|00005ae0| 79 3d 66 65 64 6f 72 0a | 23 0a 23 20 52 6f 74 61 |y=fedor.|#.# Rota|
|00005af0| 74 65 20 74 68 65 20 67 | 61 74 65 64 2e 6c 6f 67 |te the g|ated.log|
|00005b00| 20 66 69 6c 65 0a 23 0a | 24 42 49 4e 44 49 52 2f | file.#.|$BINDIR/|
|00005b10| 72 6f 74 61 74 65 6c 6f | 67 73 0a 23 0a 23 20 52 |rotatelo|gs.#.# R|
|00005b20| 75 6e 20 61 77 6b 20 73 | 63 72 69 70 74 73 20 6f |un awk s|cripts o|
|00005b30| 6e 20 74 68 65 20 6c 6f | 67 20 66 69 6c 65 20 66 |n the lo|g file f|
|00005b40| 6f 72 20 74 68 65 20 64 | 61 79 2e 0a 23 20 52 65 |or the d|ay..# Re|
|00005b50| 6d 65 6d 62 65 72 2c 20 | 61 66 74 65 72 20 72 6f |member, |after ro|
|00005b60| 74 61 74 69 6f 6e 20 74 | 68 65 20 64 61 79 27 73 |tation t|he day's|
|00005b70| 20 6c 6f 67 20 66 69 6c | 65 20 69 73 20 69 6e 20 | log fil|e is in |
|00005b80| 67 61 74 65 64 2e 6c 6f | 67 2e 30 0a 23 0a 24 42 |gated.lo|g.0.#.$B|
|00005b90| 49 4e 44 49 52 2f 67 77 | 2d 6d 6f 6e 20 24 47 41 |INDIR/gw|-mon $GA|
|00005ba0| 54 45 44 4c 4f 47 53 2f | 67 61 74 65 64 2e 6c 6f |TEDLOGS/|gated.lo|
|00005bb0| 67 2e 30 0a 23 0a 23 20 | 4d 61 69 6c 20 74 68 65 |g.0.#.# |Mail the|
|00005bc0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 70 61 72 | appropr|iate par|
|00005bd0| 74 69 65 73 20 74 68 65 | 20 69 6e 66 6f 72 6d 61 |ties the| informa|
|00005be0| 74 69 6f 6e 0a 23 0a 2f | 75 73 72 2f 75 63 62 2f |tion.#./|usr/ucb/|
|00005bf0| 4d 61 69 6c 20 2d 73 20 | 22 47 61 74 65 64 20 4c |Mail -s |"Gated L|
|00005c00| 6f 67 20 52 6f 75 74 69 | 6e 67 20 53 75 6d 6d 61 |og Routi|ng Summa|
|00005c10| 72 79 22 20 24 6e 6f 74 | 69 66 79 20 3c 20 24 4c |ry" $not|ify < $L|
|00005c20| 4f 47 44 49 52 2f 67 77 | 2d 6d 6f 6e 2e 6c 6f 67 |OGDIR/gw|-mon.log|
|00005c30| 0a 0a 75 6e 73 65 74 20 | 4c 4f 47 44 49 52 0a 75 |..unset |LOGDIR.u|
|00005c40| 6e 73 65 74 20 47 41 54 | 45 44 4c 4f 47 53 0a 75 |nset GAT|EDLOGS.u|
|00005c50| 6e 73 65 74 20 42 49 4e | 44 49 52 0a 75 6e 73 65 |nset BIN|DIR.unse|
|00005c60| 74 20 6e 6f 74 69 66 79 | 0a 0a 49 52 2f 67 77 2d |t notify|..IR/gw-|
|00005c70| 6d 6f 6e 2e 6c 6f 67 0a | 24 42 49 4e 44 49 52 2f |mon.log.|$BINDIR/|
|00005c80| 64 65 6c 63 68 65 6b 20 | 24 2a 09 09 09 09 09 3e |delchek |$*.....>|
|00005c90| 3e 20 24 4c 4f 47 44 49 | 52 2f 67 77 2d 6d 6f 6e |> $LOGDI|R/gw-mon|
|00005ca0| 2e 6c 6f 67 0a 65 63 68 | 6f 20 22 20 22 09 09 09 |.log.ech|o " "...|
|00005cb0| 09 09 09 3e 3e 20 24 4c | 4f 47 44 49 52 2f 67 77 |...>> $L|OGDIR/gw|
|00005cc0| 2d 6d 6f 6e 2e 6c 6f 67 | 0a 65 63 68 6f 20 22 3d |-mon.log|.echo "=|
|00005cd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005ce0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005cf0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 22 09 3e 3e 20 24 |========|==".>> $|
|00005d00| 4c 4f 47 44 49 52 2f 67 | 77 2d 6d 6f 6e 2e 6c 6f |LOGDIR/g|w-mon.lo|
|00005d10| 67 0a 65 63 68 6f 20 22 | 20 22 09 09 09 09 09 09 |g.echo "| "......|
|00005d20| 3e 3e 20 24 4c 4f 47 44 | 49 52 2f 67 77 2d 6d 6f |>> $LOGD|IR/gw-mo|
|00005d30| 6e 2e 6c 6f 67 0a 2f 62 | 69 6e 2f 64 61 74 65 09 |n.log./b|in/date.|
|00005d40| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00005d50| 67 77 2d 6d 6f 6e 2e 6c | 6f 67 0a 0a 75 6e 73 65 |gw-mon.l|og..unse|
|00005d60| 74 20 42 49 4e 44 49 52 | 0a 75 6e 73 65 74 20 4c |t BINDIR|.unset L|
|00005d70| 4f 47 44 49 52 0a 0a 45 | 4c 4c 4f 2c 09 50 52 5f |OGDIR..E|LLO,.PR_|
|00005d80| 41 54 4f 4d 49 43 7c 50 | 52 5f 41 44 44 52 2c 0a |ATOMIC|P|R_ADDR,.|
|00005d90| 20 20 20 72 69 70 5f 69 | 6e 70 75 74 2c 09 72 69 | rip_i|nput,.ri|
|00005da0| 70 5f 6f 75 74 70 75 74 | 2c 09 30 2c 09 30 2c 0a |p_output|,.0,.0,.|
|00005db0| 20 20 20 72 61 77 5f 75 | 73 72 72 65 71 2c 0a 20 | raw_u|srreq,. |
|00005dc0| 20 20 30 2c 09 09 30 2c | 09 09 30 2c 09 09 30 2c | 0,..0,|..0,..0,|
|00005dd0| 0a 20 7d 2c 0a 20 7b 20 | 53 4f 43 4b 5f 52 41 57 |. },. { |SOCK_RAW|
|00005de0| 2c 09 50 46 5f 49 4e 45 | 54 2c 09 49 50 50 52 4f |,.PF_INE|T,.IPPRO|
|00005df0| 54 4f 5f 45 47 50 2c 09 | 50 52 5f 41 54 4f 4d 49 |TO_EGP,.|PR_ATOMI|
|00005e00| 61 75 78 2f 72 6f 74 61 | 74 65 6c 6f 67 73 00 00 |aux/rota|telogs..|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 20 20 20 37 | 35 30 20 00 20 20 20 20 |.... 7|50 . |
|00005e70| 20 30 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 | 0 . |12 . |
|00005e80| 20 20 20 31 32 35 32 20 | 20 34 31 35 35 33 32 30 | 1252 | 4155320|
|00005e90| 35 33 31 20 20 20 36 37 | 32 37 00 20 00 00 00 00 |531 67|27. ....|
|00005ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 23 21 2f 62 69 6e 2f 63 | 73 68 0a 23 0a 23 09 73 |#!/bin/c|sh.#.#.s|
|00006010| 63 72 69 70 74 20 74 6f | 20 72 6f 74 61 74 65 20 |cript to| rotate |
|00006020| 6c 6f 67 20 66 69 6c 65 | 73 20 6f 66 20 67 61 74 |log file|s of gat|
|00006030| 65 64 2e 0a 23 0a 73 65 | 74 20 4c 4f 47 44 49 52 |ed..#.se|t LOGDIR|
|00006040| 3d 2f 6d 75 2f 66 65 64 | 6f 72 2f 67 61 74 65 6c |=/mu/fed|or/gatel|
|00006050| 6f 67 2f 0a 23 0a 23 20 | 20 67 6f 20 74 6f 20 74 |og/.#.# | go to t|
|00006060| 68 65 20 72 69 67 68 74 | 20 70 6c 61 63 65 0a 23 |he right| place.#|
|00006070| 0a 63 64 20 24 4c 4f 47 | 44 49 52 0a 23 0a 23 20 |.cd $LOG|DIR.#.# |
|00006080| 20 73 74 6f 70 20 74 68 | 65 20 67 61 74 65 64 20 | stop th|e gated |
|00006090| 6c 6f 67 67 69 6e 67 0a | 23 0a 2f 62 69 6e 2f 6b |logging.|#./bin/k|
|000060a0| 69 6c 6c 20 2d 48 55 50 | 20 60 63 61 74 20 2f 65 |ill -HUP| `cat /e|
|000060b0| 74 63 2f 67 61 74 65 64 | 2e 70 69 64 60 0a 23 0a |tc/gated|.pid`.#.|
|000060c0| 23 20 74 6f 20 62 65 20 | 73 61 66 65 2c 20 6c 65 |# to be |safe, le|
|000060d0| 74 20 6f 75 74 70 75 74 | 20 71 75 65 75 65 73 20 |t output| queues |
|000060e0| 64 72 61 69 6e 2e 0a 23 | 0a 73 6c 65 65 70 20 35 |drain..#|.sleep 5|
|000060f0| 0a 23 0a 23 20 20 72 6f | 74 61 74 65 20 74 68 65 |.#.# ro|tate the|
|00006100| 20 6c 6f 67 20 66 69 6c | 65 73 21 0a 23 0a 2f 62 | log fil|es!.#./b|
|00006110| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|00006120| 36 20 67 61 74 65 64 2e | 6c 6f 67 2e 37 0a 2f 62 |6 gated.|log.7./b|
|00006130| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|00006140| 35 20 67 61 74 65 64 2e | 6c 6f 67 2e 36 0a 2f 62 |5 gated.|log.6./b|
|00006150| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|00006160| 34 20 67 61 74 65 64 2e | 6c 6f 67 2e 35 0a 2f 62 |4 gated.|log.5./b|
|00006170| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|00006180| 33 20 67 61 74 65 64 2e | 6c 6f 67 2e 34 0a 2f 62 |3 gated.|log.4./b|
|00006190| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|000061a0| 32 20 67 61 74 65 64 2e | 6c 6f 67 2e 33 0a 2f 62 |2 gated.|log.3./b|
|000061b0| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|000061c0| 31 20 67 61 74 65 64 2e | 6c 6f 67 2e 32 0a 2f 62 |1 gated.|log.2./b|
|000061d0| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 2e |in/cp ga|ted.log.|
|000061e0| 30 20 67 61 74 65 64 2e | 6c 6f 67 2e 31 0a 2f 62 |0 gated.|log.1./b|
|000061f0| 69 6e 2f 63 70 20 67 61 | 74 65 64 2e 6c 6f 67 20 |in/cp ga|ted.log |
|00006200| 20 20 67 61 74 65 64 2e | 6c 6f 67 2e 30 0a 23 0a | gated.|log.0.#.|
|00006210| 23 20 20 72 65 6d 6f 76 | 65 20 74 68 65 20 6f 6c |# remov|e the ol|
|00006220| 64 20 6c 6f 67 20 66 69 | 6c 65 0a 23 0a 2f 62 69 |d log fi|le.#./bi|
|00006230| 6e 2f 72 6d 20 2d 66 20 | 67 61 74 65 64 2e 6c 6f |n/rm -f |gated.lo|
|00006240| 67 0a 23 0a 23 20 20 53 | 74 61 72 74 20 6c 6f 67 |g.#.# S|tart log|
|00006250| 67 69 6e 67 20 61 67 61 | 69 6e 0a 23 0a 2f 62 69 |ging aga|in.#./bi|
|00006260| 6e 2f 6b 69 6c 6c 20 2d | 48 55 50 20 60 63 61 74 |n/kill -|HUP `cat|
|00006270| 20 2f 65 74 63 2f 67 61 | 74 65 64 2e 70 69 64 60 | /etc/ga|ted.pid`|
|00006280| 0a 23 0a 23 20 20 62 61 | 63 6b 20 74 6f 20 77 68 |.#.# ba|ck to wh|
|00006290| 65 72 65 20 77 65 20 73 | 74 61 72 74 65 64 0a 23 |ere we s|tarted.#|
|000062a0| 0a 63 64 20 2f 0a 23 0a | 23 0a 22 20 22 09 09 09 |.cd /.#.|#." "...|
|000062b0| 09 09 09 3e 3e 20 24 4c | 4f 47 44 49 52 2f 67 77 |...>> $L|OGDIR/gw|
|000062c0| 2d 6d 6f 6e 2e 6c 6f 67 | 0a 65 63 68 6f 20 22 3d |-mon.log|.echo "=|
|000062d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000062e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000062f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 22 09 3e 3e 20 24 |========|==".>> $|
|00006300| 4c 4f 47 44 49 52 2f 67 | 77 2d 6d 6f 6e 2e 6c 6f |LOGDIR/g|w-mon.lo|
|00006310| 67 0a 65 63 68 6f 20 22 | 20 22 09 09 09 09 09 09 |g.echo "| "......|
|00006320| 3e 3e 20 24 4c 4f 47 44 | 49 52 2f 67 77 2d 6d 6f |>> $LOGD|IR/gw-mo|
|00006330| 6e 2e 6c 6f 67 0a 2f 62 | 69 6e 2f 64 61 74 65 09 |n.log./b|in/date.|
|00006340| 09 09 09 09 09 3e 3e 20 | 24 4c 4f 47 44 49 52 2f |.....>> |$LOGDIR/|
|00006350| 67 77 2d 6d 6f 6e 2e 6c | 6f 67 0a 0a 75 6e 73 65 |gw-mon.l|og..unse|
|00006360| 74 20 42 49 4e 44 49 52 | 0a 75 6e 73 65 74 20 4c |t BINDIR|.unset L|
|00006370| 4f 47 44 49 52 0a 0a 45 | 4c 4c 4f 2c 09 50 52 5f |OGDIR..E|LLO,.PR_|
|00006380| 41 54 4f 4d 49 43 7c 50 | 52 5f 41 44 44 52 2c 0a |ATOMIC|P|R_ADDR,.|
|00006390| 20 20 20 72 69 70 5f 69 | 6e 70 75 74 2c 09 72 69 | rip_i|nput,.ri|
|000063a0| 70 5f 6f 75 74 70 75 74 | 2c 09 30 2c 09 30 2c 0a |p_output|,.0,.0,.|
|000063b0| 20 20 20 72 61 77 5f 75 | 73 72 72 65 71 2c 0a 20 | raw_u|srreq,. |
|000063c0| 20 20 30 2c 09 09 30 2c | 09 09 30 2c 09 09 30 2c | 0,..0,|..0,..0,|
|000063d0| 0a 20 7d 2c 0a 20 7b 20 | 53 4f 43 4b 5f 52 41 57 |. },. { |SOCK_RAW|
|000063e0| 2c 09 50 46 5f 49 4e 45 | 54 2c 09 49 50 50 52 4f |,.PF_INE|T,.IPPRO|
|000063f0| 54 4f 5f 45 47 50 2c 09 | 50 52 5f 41 54 4f 4d 49 |TO_EGP,.|PR_ATOMI|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.