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: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| NeoPaint Pattern (image/neoPaintPattern)
| ext
| Unsupported |
1%
| dexvert
| BNUPORT Patch Table (other/bnuportPatchTable)
| ext
| Unsupported |
1%
| dexvert
| Mission Patch (other/missionPatch)
| ext
| Unsupported |
1%
| dexvert
| PaintShow Pattern (other/paintShowPattern)
| ext
| Unsupported |
1%
| dexvert
| PPrint Pattern (other/pPrintPattern)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From terminator!caen!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!gmc Fri Jan 10 10:39:33 1992", ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| application/mbox
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 74 65 72 | 6d 69 6e 61 74 6f 72 21 |From ter|minator!|
|00000010| 63 61 65 6e 21 73 64 64 | 2e 68 70 2e 63 6f 6d 21 |caen!sdd|.hp.com!|
|00000020| 65 6c 72 6f 79 2e 6a 70 | 6c 2e 6e 61 73 61 2e 67 |elroy.jp|l.nasa.g|
|00000030| 6f 76 21 6e 6e 74 70 2d | 73 65 72 76 65 72 2e 63 |ov!nntp-|server.c|
|00000040| 61 6c 74 65 63 68 2e 65 | 64 75 21 67 6d 63 20 46 |altech.e|du!gmc F|
|00000050| 72 69 20 4a 61 6e 20 31 | 30 20 31 30 3a 33 39 3a |ri Jan 1|0 10:39:|
|00000060| 33 33 20 31 39 39 32 0a | 41 72 74 69 63 6c 65 3a |33 1992.|Article:|
|00000070| 20 33 39 36 20 6f 66 20 | 63 6f 6d 70 2e 70 72 6f | 396 of |comp.pro|
|00000080| 74 6f 63 6f 6c 73 2e 70 | 70 70 0a 4e 65 77 73 67 |tocols.p|pp.Newsg|
|00000090| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 70 72 6f 74 |roups: c|omp.prot|
|000000a0| 6f 63 6f 6c 73 2e 70 70 | 70 0a 50 61 74 68 3a 20 |ocols.pp|p.Path: |
|000000b0| 74 65 72 6d 69 6e 61 74 | 6f 72 21 63 61 65 6e 21 |terminat|or!caen!|
|000000c0| 73 64 64 2e 68 70 2e 63 | 6f 6d 21 65 6c 72 6f 79 |sdd.hp.c|om!elroy|
|000000d0| 2e 6a 70 6c 2e 6e 61 73 | 61 2e 67 6f 76 21 6e 6e |.jpl.nas|a.gov!nn|
|000000e0| 74 70 2d 73 65 72 76 65 | 72 2e 63 61 6c 74 65 63 |tp-serve|r.caltec|
|000000f0| 68 2e 65 64 75 21 67 6d | 63 0a 46 72 6f 6d 3a 20 |h.edu!gm|c.From: |
|00000100| 67 6d 63 40 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 20 |gmc@Quot|ron.COM |
|00000110| 28 47 72 65 67 20 43 68 | 72 69 73 74 79 29 0a 53 |(Greg Ch|risty).S|
|00000120| 75 62 6a 65 63 74 3a 20 | 52 65 3a 20 50 50 50 20 |ubject: |Re: PPP |
|00000130| 6f 6e 20 53 70 61 72 63 | 20 65 61 74 73 20 75 70 |on Sparc| eats up|
|00000140| 20 6d 65 6d 6f 72 79 0a | 4d 65 73 73 61 67 65 2d | memory.|Message-|
|00000150| 49 44 3a 20 3c 67 6d 63 | 2e 36 39 35 30 30 36 31 |ID: <gmc|.6950061|
|00000160| 34 36 40 51 75 6f 74 72 | 6f 6e 2e 43 4f 4d 3e 0a |46@Quotr|on.COM>.|
|00000170| 53 65 6e 64 65 72 3a 20 | 6e 65 77 73 40 63 63 6f |Sender: |news@cco|
|00000180| 2e 63 61 6c 74 65 63 68 | 2e 65 64 75 0a 4e 6e 74 |.caltech|.edu.Nnt|
|00000190| 70 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |p-Postin|g-Host: |
|000001a0| 70 72 65 6d 69 73 65 73 | 31 2e 71 75 6f 74 72 6f |premises|1.quotro|
|000001b0| 6e 2e 63 6f 6d 0a 52 65 | 70 6c 79 2d 54 6f 3a 20 |n.com.Re|ply-To: |
|000001c0| 67 6d 63 40 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 0a |gmc@Quot|ron.COM.|
|000001d0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 51 75 |Organiza|tion: Qu|
|000001e0| 6f 74 72 6f 6e 20 53 79 | 73 74 65 6d 73 2c 20 49 |otron Sy|stems, I|
|000001f0| 6e 63 2e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |nc..Refe|rences: |
|00000200| 3c 31 39 39 32 4a 61 6e | 34 2e 31 39 30 36 34 36 |<1992Jan|4.190646|
|00000210| 2e 31 32 30 33 30 40 62 | 6e 72 6d 74 6c 2e 62 6e |.12030@b|nrmtl.bn|
|00000220| 72 2e 63 61 3e 0a 44 61 | 74 65 3a 20 54 68 75 2c |r.ca>.Da|te: Thu,|
|00000230| 20 39 20 4a 61 6e 20 39 | 32 20 32 30 3a 31 35 3a | 9 Jan 9|2 20:15:|
|00000240| 34 36 20 45 53 54 0a 0a | 49 6e 20 3c 31 39 39 32 |46 EST..|In <1992|
|00000250| 4a 61 6e 34 2e 31 39 30 | 36 34 36 2e 31 32 30 33 |Jan4.190|646.1203|
|00000260| 30 40 62 6e 72 6d 74 6c | 2e 62 6e 72 2e 63 61 3e |0@bnrmtl|.bnr.ca>|
|00000270| 20 70 69 65 63 40 62 6e | 72 6d 74 6c 2e 62 6e 72 | piec@bn|rmtl.bnr|
|00000280| 2e 63 61 20 28 50 69 65 | 72 72 65 20 43 6f 72 72 |.ca (Pie|rre Corr|
|00000290| 69 76 65 61 75 29 20 77 | 72 69 74 65 73 3a 0a 0a |iveau) w|rites:..|
|000002a0| 3e 49 20 61 6d 20 75 73 | 69 6e 67 20 70 70 70 2d |>I am us|ing ppp-|
|000002b0| 73 75 6e 6f 73 34 2e 31 | 2e 70 6c 36 20 6f 6e 20 |sunos4.1|.pl6 on |
|000002c0| 61 20 53 70 61 72 63 20 | 32 20 72 75 6e 6e 69 6e |a Sparc |2 runnin|
|000002d0| 67 20 53 75 6e 4f 53 20 | 34 2e 31 2e 31 2e 20 20 |g SunOS |4.1.1. |
|000002e0| 49 66 20 49 20 74 75 72 | 6e 20 6f 6e 0a 3e 50 50 |If I tur|n on.>PP|
|000002f0| 50 20 61 6e 64 20 6c 65 | 74 20 69 74 20 73 69 74 |P and le|t it sit|
|00000300| 20 66 6f 72 20 77 68 69 | 6c 65 2c 20 69 74 20 73 | for whi|le, it s|
|00000310| 6c 6f 77 6c 79 20 65 61 | 74 73 20 75 70 20 6d 65 |lowly ea|ts up me|
|00000320| 6d 6f 72 79 20 6f 6e 20 | 74 68 65 20 53 70 61 72 |mory on |the Spar|
|00000330| 63 2c 20 75 6e 74 69 6c | 20 69 74 20 0a 3e 65 76 |c, until| it .>ev|
|00000340| 65 6e 74 75 61 6c 6c 79 | 20 72 75 6e 73 20 6f 75 |entually| runs ou|
|00000350| 74 29 2e 0a 0a 3e 54 68 | 65 20 69 6e 63 72 65 6d |t)...>Th|e increm|
|00000360| 65 6e 74 73 20 69 6e 20 | 73 69 7a 65 20 73 65 65 |ents in |size see|
|00000370| 6d 73 20 74 6f 20 62 65 | 20 69 6e 20 38 4b 20 63 |ms to be| in 8K c|
|00000380| 68 75 6e 6b 73 20 61 6e | 64 20 74 68 65 79 20 6f |hunks an|d they o|
|00000390| 63 63 75 72 73 20 65 76 | 65 72 79 20 6e 6f 77 0a |ccurs ev|ery now.|
|000003a0| 3e 61 6e 64 20 74 68 65 | 6e 20 77 68 65 6e 20 74 |>and the|n when t|
|000003b0| 68 65 20 6c 69 6e 6b 20 | 69 73 20 69 6e 61 63 74 |he link |is inact|
|000003c0| 69 76 65 20 28 62 75 74 | 20 75 70 29 2e 20 20 49 |ive (but| up). I|
|000003d0| 66 20 79 6f 75 20 6c 6f | 6f 6b 20 61 74 20 79 6f |f you lo|ok at yo|
|000003e0| 75 72 20 6d 6f 64 65 6d | 20 0a 3e 6c 69 67 68 74 |ur modem| .>light|
|000003f0| 73 2c 20 64 75 72 69 6e | 67 20 6c 69 6e 6b 20 69 |s, durin|g link i|
|00000400| 6e 61 63 74 69 76 69 74 | 79 20 50 50 50 20 69 73 |nactivit|y PPP is|
|00000410| 20 65 78 63 68 61 6e 67 | 69 6e 67 20 70 61 63 6b | exchang|ing pack|
|00000420| 65 74 73 20 65 76 65 72 | 79 20 6e 6f 77 20 61 6e |ets ever|y now an|
|00000430| 64 20 74 68 65 6e 3a 0a | 3e 74 68 61 74 27 73 20 |d then:.|>that's |
|00000440| 77 68 65 6e 20 74 68 65 | 20 69 6e 63 72 65 61 73 |when the| increas|
|00000450| 65 20 69 6e 20 6d 65 6d | 6f 72 79 20 75 73 61 67 |e in mem|ory usag|
|00000460| 65 20 6f 63 63 75 72 73 | 2e 0a 0a 3e 54 68 65 20 |e occurs|...>The |
|00000470| 6f 74 68 65 72 20 65 6e | 64 20 6f 66 20 6d 79 20 |other en|d of my |
|00000480| 50 50 50 20 6c 69 6e 6b | 20 69 73 20 4d 53 54 2d |PPP link| is MST-|
|00000490| 50 50 50 20 55 6c 74 72 | 69 78 20 31 2e 32 42 65 |PPP Ultr|ix 1.2Be|
|000004a0| 74 61 2e 0a 0a 3e 41 6e | 79 20 69 64 65 61 73 20 |ta...>An|y ideas |
|000004b0| 77 68 79 3f 0a 0a 3e 2d | 2d 20 0a 3e 50 69 65 72 |why?..>-|- .>Pier|
|000004c0| 72 65 20 43 6f 72 72 69 | 76 65 61 75 0a 3e 42 65 |re Corri|veau.>Be|
|000004d0| 6c 6c 2d 4e 6f 72 74 68 | 65 72 6e 20 52 65 73 65 |ll-North|ern Rese|
|000004e0| 61 72 63 68 2c 20 4d 6f | 6e 74 72 65 61 6c 2c 20 |arch, Mo|ntreal, |
|000004f0| 43 61 6e 61 64 61 0a 3e | 70 69 65 63 40 62 6e 72 |Canada.>|piec@bnr|
|00000500| 2e 63 61 20 20 0a 0a 0a | 54 68 65 20 66 6f 6c 6c |.ca ...|The foll|
|00000510| 6f 77 69 6e 67 20 70 61 | 74 63 68 20 77 69 6c 6c |owing pa|tch will|
|00000520| 20 70 6c 75 67 20 61 20 | 63 6f 75 70 6c 65 20 6f | plug a |couple o|
|00000530| 66 20 74 68 65 20 6e 61 | 73 74 69 65 72 20 6d 65 |f the na|stier me|
|00000540| 6d 6f 72 79 20 6c 65 61 | 6b 73 20 69 6e 0a 74 68 |mory lea|ks in.th|
|00000550| 65 20 70 61 74 63 68 2d | 6c 65 76 65 6c 20 36 20 |e patch-|level 6 |
|00000560| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 70 |version |of the p|
|00000570| 75 62 6c 69 63 20 53 75 | 6e 4f 53 20 50 50 50 20 |ublic Su|nOS PPP |
|00000580| 63 6f 64 65 2e 20 20 49 | 20 61 6d 20 6d 61 6b 69 |code. I| am maki|
|00000590| 6e 67 20 74 68 69 73 0a | 61 76 61 69 6c 61 62 6c |ng this.|availabl|
|000005a0| 65 20 62 65 66 6f 72 65 | 20 74 68 65 20 6e 65 78 |e before| the nex|
|000005b0| 74 20 72 65 6c 65 61 73 | 65 20 64 75 65 20 74 6f |t releas|e due to|
|000005c0| 20 74 68 65 20 72 61 74 | 68 65 72 20 69 72 72 69 | the rat|her irri|
|000005d0| 74 61 74 69 6e 67 20 6e | 61 74 75 72 65 0a 6f 66 |tating n|ature.of|
|000005e0| 20 74 68 65 20 62 75 67 | 20 61 6e 64 20 49 20 77 | the bug| and I w|
|000005f0| 61 6e 74 65 64 20 74 6f | 20 70 72 6f 76 69 64 65 |anted to| provide|
|00000600| 20 61 20 74 69 6d 65 6c | 79 20 66 69 78 20 61 73 | a timel|y fix as|
|00000610| 20 74 68 65 20 6e 65 77 | 20 72 65 6c 65 61 73 65 | the new| release|
|00000620| 0a 69 73 6e 27 74 20 71 | 75 69 74 65 20 72 65 61 |.isn't q|uite rea|
|00000630| 64 79 20 74 6f 20 75 6e | 6c 65 61 73 68 20 79 65 |dy to un|leash ye|
|00000640| 74 2e 20 20 54 68 65 20 | 6d 65 6d 6f 72 79 20 61 |t. The |memory a|
|00000650| 6c 6c 6f 63 61 74 69 6f | 6e 20 73 63 68 65 6d 65 |llocatio|n scheme|
|00000660| 20 69 73 0a 63 75 72 72 | 65 6e 74 6c 79 20 62 65 | is.curr|ently be|
|00000670| 69 6e 67 20 72 65 64 65 | 73 69 67 6e 65 64 20 66 |ing rede|signed f|
|00000680| 6f 72 20 74 68 65 20 6e | 65 77 20 72 65 6c 65 61 |or the n|ew relea|
|00000690| 73 65 2e 20 20 0a 0a 0a | 54 68 69 73 20 70 61 74 |se. ...|This pat|
|000006a0| 63 68 20 69 73 20 61 6c | 73 6f 20 61 76 61 69 6c |ch is al|so avail|
|000006b0| 61 62 6c 65 20 76 69 61 | 20 61 6e 6f 6e 79 6d 6f |able via| anonymo|
|000006c0| 75 73 20 46 54 50 20 61 | 73 0a 66 74 70 2e 71 75 |us FTP a|s.ftp.qu|
|000006d0| 6f 74 72 6f 6e 2e 63 6f | 6d 3a 70 75 62 2f 70 70 |otron.co|m:pub/pp|
|000006e0| 70 2d 73 75 6e 6f 73 34 | 2e 31 2e 70 6c 36 2e 6d |p-sunos4|.1.pl6.m|
|000006f0| 65 6d 5f 6c 65 61 6b 2e | 70 61 74 63 68 20 0a 0a |em_leak.|patch ..|
|00000700| 47 72 65 67 0a 4b 65 65 | 70 65 72 20 6f 66 20 74 |Greg.Kee|per of t|
|00000710| 68 65 20 50 75 62 6c 69 | 63 20 53 75 6e 4f 53 20 |he Publi|c SunOS |
|00000720| 50 50 50 0a 0a 0a 2a 2a | 2a 20 70 70 70 2e 63 2e |PPP...**|* ppp.c.|
|00000730| 6f 6c 64 09 54 68 75 20 | 4a 61 6e 20 20 39 20 31 |old.Thu |Jan 9 1|
|00000740| 37 3a 31 36 3a 34 36 20 | 31 39 39 32 0a 2d 2d 2d |7:16:46 |1992.---|
|00000750| 20 70 70 70 2e 63 09 54 | 68 75 20 4a 61 6e 20 20 | ppp.c.T|hu Jan |
|00000760| 39 20 31 37 3a 31 36 3a | 34 30 20 31 39 39 32 0a |9 17:16:|40 1992.|
|00000770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|00000780| 2a 2a 2a 20 38 33 39 2c | 38 34 35 20 2a 2a 2a 2a |*** 839,|845 ****|
|00000790| 0a 20 20 76 6f 69 64 20 | 69 6f 28 29 0a 20 20 7b |. void |io(). {|
|000007a0| 0a 20 20 20 20 20 20 69 | 6e 74 20 6c 65 6e 2c 20 |. i|nt len, |
|000007b0| 69 3b 0a 21 20 20 20 20 | 20 75 5f 63 68 61 72 20 |i;.! | u_char |
|000007c0| 2a 70 3b 0a 20 20 20 20 | 20 20 75 5f 73 68 6f 72 |*p;. | u_shor|
|000007d0| 74 20 70 72 6f 74 6f 63 | 6f 6c 3b 0a 20 20 23 69 |t protoc|ol;. #i|
|000007e0| 66 64 65 66 09 53 54 52 | 45 41 4d 53 0a 20 20 20 |fdef.STR|EAMS. |
|000007f0| 20 20 20 73 74 72 75 63 | 74 20 73 74 72 62 75 66 | struc|t strbuf|
|00000800| 20 73 74 72 3b 0a 2d 2d | 2d 20 38 33 39 2c 38 34 | str;.--|- 839,84|
|00000810| 35 20 2d 2d 2d 2d 0a 20 | 20 76 6f 69 64 20 69 6f |5 ----. | void io|
|00000820| 28 29 0a 20 20 7b 0a 20 | 20 20 20 20 20 69 6e 74 |(). {. | int|
|00000830| 20 6c 65 6e 2c 20 69 3b | 0a 21 20 20 20 20 20 75 | len, i;|.! u|
|00000840| 5f 63 68 61 72 20 2a 70 | 2c 20 2a 70 73 74 61 72 |_char *p|, *pstar|
|00000850| 74 3b 0a 20 20 20 20 20 | 20 75 5f 73 68 6f 72 74 |t;. | u_short|
|00000860| 20 70 72 6f 74 6f 63 6f | 6c 3b 0a 20 20 23 69 66 | protoco|l;. #if|
|00000870| 64 65 66 09 53 54 52 45 | 41 4d 53 0a 20 20 20 20 |def.STRE|AMS. |
|00000880| 20 20 73 74 72 75 63 74 | 20 73 74 72 62 75 66 20 | struct| strbuf |
|00000890| 73 74 72 3b 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |str;.***|********|
|000008a0| 2a 2a 2a 2a 0a 2a 2a 2a | 20 38 35 30 2c 38 35 35 |****.***| 850,855|
|000008b0| 20 2a 2a 2a 2a 0a 2d 2d | 2d 20 38 35 30 2c 38 35 | ****.--|- 850,85|
|000008c0| 36 20 2d 2d 2d 2d 0a 20 | 20 0a 20 20 20 20 20 20 |6 ----. | . |
|000008d0| 66 6f 72 20 28 3b 3b 29 | 20 7b 09 09 09 2f 2a 20 |for (;;)| {.../* |
|000008e0| 52 65 61 64 20 61 6c 6c | 20 61 76 61 69 6c 61 62 |Read all| availab|
|000008f0| 6c 65 20 70 61 63 6b 65 | 74 73 20 2a 2f 0a 20 20 |le packe|ts */. |
|00000900| 09 70 20 3d 20 28 75 5f | 63 68 61 72 20 2a 29 20 |.p = (u_|char *) |
|00000910| 6d 61 6c 6c 6f 63 28 4d | 54 55 20 2b 20 44 4c 4c |malloc(M|TU + DLL|
|00000920| 48 45 41 44 45 52 4c 45 | 4e 29 3b 0a 2b 20 09 70 |HEADERLE|N);.+ .p|
|00000930| 73 74 61 72 74 20 3d 20 | 70 3b 09 09 2f 2a 20 73 |start = |p;../* s|
|00000940| 61 76 65 20 73 74 61 72 | 74 20 6f 66 20 70 61 63 |ave star|t of pac|
|00000950| 6b 65 74 20 2a 2f 0a 20 | 20 23 69 66 64 65 66 09 |ket */. | #ifdef.|
|00000960| 53 54 52 45 41 4d 53 0a | 20 20 09 73 74 72 2e 6d |STREAMS.| .str.m|
|00000970| 61 78 6c 65 6e 20 3d 20 | 4d 54 55 2b 44 4c 4c 48 |axlen = |MTU+DLLH|
|00000980| 45 41 44 45 52 4c 45 4e | 3b 0a 20 20 09 73 74 72 |EADERLEN|;. .str|
|00000990| 2e 62 75 66 20 3d 20 28 | 63 61 64 64 72 5f 74 29 |.buf = (|caddr_t)|
|000009a0| 20 70 3b 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | p;.****|********|
|000009b0| 2a 2a 2a 0a 2a 2a 2a 20 | 38 35 39 2c 38 36 34 20 |***.*** |859,864 |
|000009c0| 2a 2a 2a 2a 0a 2d 2d 2d | 20 38 36 30 2c 38 36 36 |****.---| 860,866|
|000009d0| 20 2d 2d 2d 2d 0a 20 20 | 09 09 69 66 28 65 72 72 | ----. |..if(err|
|000009e0| 6e 6f 20 3d 3d 20 45 41 | 47 41 49 4e 20 7c 7c 20 |no == EA|GAIN || |
|000009f0| 65 72 72 6e 6f 20 3d 3d | 20 45 57 4f 55 4c 44 42 |errno ==| EWOULDB|
|00000a00| 4c 4f 43 4b 29 20 7b 0a | 20 20 09 09 09 69 66 28 |LOCK) {.| ...if(|
|00000a10| 64 65 62 75 67 20 3e 20 | 32 29 0a 20 20 09 09 09 |debug > |2). ...|
|00000a20| 09 70 65 72 72 6f 72 28 | 22 70 70 70 3a 20 67 65 |.perror(|"ppp: ge|
|00000a30| 74 6d 73 67 28 66 64 29 | 22 29 3b 0a 2b 20 09 09 |tmsg(fd)|");.+ ..|
|00000a40| 09 66 72 65 65 28 70 73 | 74 61 72 74 29 0a 20 20 |.free(ps|tart). |
|00000a50| 09 09 09 72 65 74 75 72 | 6e 3b 0a 20 20 09 09 7d |...retur|n;. ..}|
|00000a60| 0a 20 20 09 09 70 65 72 | 72 6f 72 28 22 70 70 70 |. ..per|ror("ppp|
|00000a70| 3a 20 67 65 74 6d 73 67 | 28 66 64 29 22 29 3b 0a |: getmsg|(fd)");.|
|00000a80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|00000a90| 2a 2a 2a 20 38 37 31 2c | 38 37 36 20 2a 2a 2a 2a |*** 871,|876 ****|
|00000aa0| 0a 2d 2d 2d 20 38 37 33 | 2c 38 37 39 20 2d 2d 2d |.--- 873|,879 ---|
|00000ab0| 2d 0a 20 20 09 09 69 66 | 28 64 65 62 75 67 20 3e |-. ..if|(debug >|
|00000ac0| 20 32 29 0a 20 20 09 09 | 09 66 70 72 69 6e 74 66 | 2). ..|.fprintf|
|00000ad0| 28 73 74 64 65 72 72 2c | 20 22 70 70 70 3a 20 67 |(stderr,| "ppp: g|
|00000ae0| 65 74 6d 73 67 20 73 68 | 6f 72 74 20 72 65 74 75 |etmsg sh|ort retu|
|00000af0| 72 6e 20 6c 65 6e 67 74 | 68 20 25 64 5c 6e 22 2c |rn lengt|h %d\n",|
|00000b00| 0a 20 20 09 09 09 09 73 | 74 72 2e 6c 65 6e 29 3b |. ....s|tr.len);|
|00000b10| 0a 2b 20 09 09 66 72 65 | 65 28 70 73 74 61 72 74 |.+ ..fre|e(pstart|
|00000b20| 29 3b 0a 20 20 09 09 72 | 65 74 75 72 6e 3b 0a 20 |);. ..r|eturn;. |
|00000b30| 20 09 7d 0a 20 20 09 09 | 0a 2a 2a 2a 2a 2a 2a 2a | .}. ..|.*******|
|00000b40| 2a 2a 2a 2a 2a 2a 2a 2a | 0a 2a 2a 2a 20 38 38 30 |********|.*** 880|
|00000b50| 2c 38 38 35 20 2a 2a 2a | 2a 0a 2d 2d 2d 20 38 38 |,885 ***|*.--- 88|
|00000b60| 33 2c 38 38 39 20 2d 2d | 2d 2d 0a 20 20 09 20 20 |3,889 --|--. . |
|00000b70| 20 20 69 66 20 28 65 72 | 72 6e 6f 20 3d 3d 20 45 | if (er|rno == E|
|00000b80| 57 4f 55 4c 44 42 4c 4f | 43 4b 29 20 7b 0a 20 20 |WOULDBLO|CK) {. |
|00000b90| 09 09 69 66 20 28 64 65 | 62 75 67 20 3e 20 32 29 |..if (de|bug > 2)|
|00000ba0| 0a 20 20 09 09 20 20 20 | 20 70 65 72 72 6f 72 28 |. .. | perror(|
|00000bb0| 22 70 70 70 3a 20 72 65 | 61 64 28 66 64 29 22 29 |"ppp: re|ad(fd)")|
|00000bc0| 3b 0a 2b 20 09 09 66 72 | 65 65 28 70 73 74 61 72 |;.+ ..fr|ee(pstar|
|00000bd0| 74 29 3b 0a 20 20 09 09 | 72 65 74 75 72 6e 3b 0a |t);. ..|return;.|
|00000be0| 20 20 09 20 20 20 20 7d | 0a 20 20 09 20 20 20 20 | . }|. . |
|00000bf0| 65 6c 73 65 20 7b 0a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |else {.*|********|
|00000c00| 2a 2a 2a 2a 2a 2a 0a 2a | 2a 2a 20 38 39 37 2c 39 |******.*|** 897,9|
|00000c10| 30 32 20 2a 2a 2a 2a 0a | 2d 2d 2d 20 39 30 31 2c |02 ****.|--- 901,|
|00000c20| 39 30 37 20 2d 2d 2d 2d | 0a 20 20 09 69 66 20 28 |907 ----|. .if (|
|00000c30| 6c 65 6e 20 3c 20 44 4c | 4c 48 45 41 44 45 52 4c |len < DL|LHEADERL|
|00000c40| 45 4e 29 20 7b 0a 20 20 | 09 20 20 20 20 69 66 20 |EN) {. |. if |
|00000c50| 28 64 65 62 75 67 29 0a | 20 20 09 09 66 70 72 69 |(debug).| ..fpri|
|00000c60| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 70 70 70 |ntf(stde|rr, "ppp|
|00000c70| 3a 20 69 6e 70 75 74 3a | 20 52 65 63 65 69 76 65 |: input:| Receive|
|00000c80| 64 20 73 68 6f 72 74 20 | 70 61 63 6b 65 74 2e 5c |d short |packet.\|
|00000c90| 6e 22 29 3b 0a 2b 20 09 | 20 20 20 20 66 72 65 65 |n");.+ .| free|
|00000ca0| 28 70 73 74 61 72 74 29 | 3b 0a 20 20 09 20 20 20 |(pstart)|;. . |
|00000cb0| 20 72 65 74 75 72 6e 3b | 0a 20 20 09 7d 0a 20 20 | return;|. .}. |
|00000cc0| 0a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*******|********|
|00000cd0| 0a 2a 2a 2a 20 39 30 39 | 2c 39 31 35 20 2a 2a 2a |.*** 909|,915 ***|
|00000ce0| 2a 0a 20 20 09 20 2a 2f | 0a 20 20 09 69 66 20 28 |*. . */|. .if (|
|00000cf0| 70 72 6f 74 6f 63 6f 6c | 20 21 3d 20 4c 43 50 20 |protocol| != LCP |
|00000d00| 26 26 0a 20 20 09 20 20 | 20 20 6c 63 70 5f 66 73 |&&. . | lcp_fs|
|00000d10| 6d 5b 30 5d 2e 73 74 61 | 74 65 20 21 3d 20 4f 50 |m[0].sta|te != OP|
|00000d20| 45 4e 29 20 7b 0a 21 20 | 09 20 20 20 20 66 72 65 |EN) {.! |. fre|
|00000d30| 65 28 70 20 2d 20 44 4c | 4c 48 45 41 44 45 52 4c |e(p - DL|LHEADERL|
|00000d40| 45 4e 29 3b 0a 20 20 09 | 20 20 20 20 72 65 74 75 |EN);. .| retu|
|00000d50| 72 6e 3b 0a 20 20 09 7d | 0a 20 20 0a 2d 2d 2d 20 |rn;. .}|. .--- |
|00000d60| 39 31 34 2c 39 32 32 20 | 2d 2d 2d 2d 0a 20 20 09 |914,922 |----. .|
|00000d70| 20 2a 2f 0a 20 20 09 69 | 66 20 28 70 72 6f 74 6f | */. .i|f (proto|
|00000d80| 63 6f 6c 20 21 3d 20 4c | 43 50 20 26 26 0a 20 20 |col != L|CP &&. |
|00000d90| 09 20 20 20 20 6c 63 70 | 5f 66 73 6d 5b 30 5d 2e |. lcp|_fsm[0].|
|00000da0| 73 74 61 74 65 20 21 3d | 20 4f 50 45 4e 29 20 7b |state !=| OPEN) {|
|00000db0| 0a 21 20 09 20 20 20 20 | 69 66 20 28 64 65 62 75 |.! . |if (debu|
|00000dc0| 67 29 0a 21 20 09 09 66 | 70 72 69 6e 74 66 28 73 |g).! ..f|printf(s|
|00000dd0| 74 64 65 72 72 2c 20 22 | 70 70 70 3a 20 69 6e 70 |tderr, "|ppp: inp|
|00000de0| 75 74 3a 20 52 65 63 65 | 69 76 65 64 20 6e 6f 6e |ut: Rece|ived non|
|00000df0| 2d 4c 43 50 20 70 61 63 | 6b 65 74 20 61 6e 64 20 |-LCP pac|ket and |
|00000e00| 4c 43 50 20 69 73 20 6e | 6f 74 20 69 6e 20 6f 70 |LCP is n|ot in op|
|00000e10| 65 6e 20 73 74 61 74 65 | 2e 5c 6e 22 29 3b 0a 21 |en state|.\n");.!|
|00000e20| 20 09 20 20 20 20 66 72 | 65 65 28 70 73 74 61 72 | . fr|ee(pstar|
|00000e30| 74 29 3b 0a 20 20 09 20 | 20 20 20 72 65 74 75 72 |t);. . | retur|
|00000e40| 6e 3b 0a 20 20 09 7d 0a | 20 20 0a 2d 2d 0a 47 72 |n;. .}.| .--.Gr|
|00000e50| 65 67 20 43 68 72 69 73 | 74 79 20 20 20 20 20 20 |eg Chris|ty |
|00000e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e70| 20 20 20 20 20 49 6e 74 | 65 72 6e 65 74 3a 20 20 | Int|ernet: |
|00000e80| 67 6d 63 40 71 75 6f 74 | 72 6f 6e 2e 63 6f 6d 0a |gmc@quot|ron.com.|
|00000e90| 51 75 6f 74 72 6f 6e 20 | 53 79 73 74 65 6d 73 2c |Quotron |Systems,|
|00000ea0| 20 49 6e 63 2e 0a 31 32 | 37 33 31 20 57 2e 20 4a | Inc..12|731 W. J|
|00000eb0| 65 66 66 65 72 73 6f 6e | 20 42 6c 76 64 2e 2c 20 |efferson| Blvd., |
|00000ec0| 4d 2f 53 20 46 31 2d 31 | 30 20 20 20 20 56 6f 69 |M/S F1-1|0 Voi|
|00000ed0| 63 65 3a 20 28 33 31 30 | 29 20 33 30 32 2d 34 32 |ce: (310|) 302-42|
|00000ee0| 35 33 0a 4c 6f 73 20 41 | 6e 67 65 6c 65 73 2c 20 |53.Los A|ngeles, |
|00000ef0| 43 41 20 39 30 30 36 36 | 20 20 20 20 20 20 20 20 |CA 90066| |
|00000f00| 20 20 20 20 20 20 20 20 | 20 20 46 41 58 3a 20 20 | | FAX: |
|00000f10| 20 28 33 31 30 29 20 33 | 30 32 2d 34 34 39 39 0a | (310) 3|02-4499.|
|00000f20| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+