home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / ppp / 762 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  2.0 KB

  1. Path: sparky!uunet!pipex!unipalm!uknet!mcsun!sunic!seunet!sectra!aronsson
  2. From: aronsson@sectra.se (Lars Aronsson)
  3. Newsgroups: comp.protocols.ppp
  4. Subject: Re: PPP implemenation that executes in user space?
  5. Message-ID: <aronsson.716200896@jeeves>
  6. Date: 11 Sep 92 09:05:37 GMT
  7. References: <4970@balrog.ctron.com> <3779@randvax.rand.org>
  8. Distribution: comp
  9. Organization: SECTRA AB, Linkoping, SWEDEN
  10. Lines: 32
  11.  
  12. edhall@rand.org (Ed Hall) writes:
  13. >don't expect [KA9Q NOS] to interface with other network software.  To
  14. >do that, you need to either put PPP in the kernel, or use a "tunnel
  15. >driver" like MorningStar does with their PPP (a pseudo-device driver
  16. >which allows a user process to pump IP packets into and out of the
  17. >kernel).
  18.  
  19. If your computer already supports SLIP, you can do this with a PTY. I
  20. wrote a small user-level program that just tunnels bytes between a PTY
  21. and a TTY. Running SLIP through this "bridge" adds a few copy
  22. operations between kernel and user memory. This gave me no measurable
  23. decrease in throughput (using ftp), and only little longer response
  24. times (using ping). My TTY line does 9600 bit/s TTY line. The slow TTY
  25. line is the real bottleneck here, so you could probably do this on
  26. much slower computers than my HP 9000/400 running HP-UX 8.0 and
  27. IBM-compatible 486 PC running SCO UNIX.
  28.  
  29. I did this only for some experiments, and as an exercise, and didn't
  30. use it later. The problem I never solved was opening a PTY with a
  31. well-known name. The SLIP implementation used (HP-UX PPL) wants the
  32. name of the underlaying SLIP device to be written in a file, and I
  33. don't know the name of the PTY until I have successfully opened it. If
  34. a window system grabbed my favorite PTY, I would have to use another.
  35.  
  36. I never tried to translate between SLIP on the PTY and PPP on the TTY,
  37. so I cannot know how much overhead that would have caused.
  38.  
  39. Is anybody from Hewlett Packard out there? How long do we have to wait
  40. for HP's PPL product to implement the PPP protocol? It has been a
  41. promise for a long time now.
  42. -- 
  43. Lars Aronsson, SECTRA AB, Teknikringen 2, 583 30 Linkoping, Sweden
  44.