home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / libbsd / README < prev    next >
Encoding:
Text File  |  1993-01-25  |  4.8 KB  |  128 lines

  1.  
  2.             LINUX NET DISTRIBUTION
  3.  
  4.                 Version 0.03
  5.  
  6.         Fred N. van Kempen <waltje@uwalt.nl.mugnet.org>
  7.  
  8.         Ross Biro <bir7@leland.stanford.edu>
  9.  
  10.           Rick Sladkey <jrs@world.std.com>
  11.  
  12.  
  13. The NET distribution for LINUX is a complete set of executables,
  14. setup files, documentation and all the sources needed to rebuild
  15. the package.  It is intended as the `official' NET package for
  16. the LINUX operating system, mostly to get rid of the current
  17. situation of total chaos in NETland...
  18.  
  19. The first distribution has been done by Ross Biro, who wrote the
  20. TCP/IP stuff in the LINUX kernel to start with.  As usual, the
  21. Berkeley BSD UNIX software was taken as a base for this distri-
  22. bution.  Several `foreign' programs are included as well.
  23.  
  24. To make porting easy, a library has been built which contains the
  25. modules from BSD UNIX that were missing in the LINUX library. They
  26. are declared in the header files that go with it.  These files
  27. must be copied to the /usr/net/include/bsd directory and a symbolic
  28. link must be created from /usr/include/bsd.
  29.  
  30. This is a compliation of some net sources, mostly from bsd-net2.  I
  31. have made an effort to get the programs to compile with few or no
  32. changes except for a new Makefile.  This resulted in a bsd include
  33. directory and a bsd library.  Take a look at them to see what types of
  34. things are required to get BSD sources to compile correctly without
  35. changes.  Some of the tricks are pretty ugly.  Please don't laugh...
  36.  
  37. Everything should compile straight with the libc-4.2 libraries.  Just
  38. type "make" in this directory.  You may have to do some surgery on
  39. libbsd/libbsd.a to get things to compile with libc-4.1.
  40.  
  41. Notes
  42. =====
  43.  
  44. bsd: The directory "bsd" contains include files that, for the most
  45. part, just overload include files of the same name from /usr/include.
  46. It provides some BSD things like "union wait" and others.
  47.  
  48. libbsd: The libbsd.a archive is a small library of some functions that
  49. are not in our libc as well as some emulation support functions
  50. referenced in the bsd header files.  Notably, it includes a
  51. half-decent transparent sgtty emulation package.
  52.  
  53. inetd: Works.  Only pathname changes.
  54.  
  55. ftp: Works.  No changes.
  56.  
  57. ftpd: I find that ls with ftpd doesn't work very often.  It reports
  58. "Transport endpoint already connected" 9 times out of 10.  I think
  59. this is a bug in the kernel which will be fixed in a subsequent
  60. release.  There was a memory allocation bug in the original source,
  61. look for "#ifdef linux".  Also, the shadow password stuff is not
  62. compiled in as I haven't had a chance to mess with that.
  63.  
  64. telnet: Works but see the man page for info about the .telnetrc file
  65. and other new options.  This is a really nice telnet with rlogin
  66. emulation and lots of other stuff not present in older telnets.  The
  67. original Linux port of telnet/telnetd was done by Pete Chown.
  68.  
  69. telnetd: Several people have reported that the 0.1 telnetd sometimes
  70. disconnected before getting to the login prompt.  The 0.2 version
  71. omits the vhangup stuff which might have been causing the problem.
  72. Also fixed is the problem with /etc/wtmp not being updated correctly
  73. on logout.  It was trying to use /var/adm/wtmp.
  74.  
  75. finger: Works.  One minor change for POSIX timezone handling.
  76.  
  77. fingerd: Works, no changes.
  78.  
  79. ping: Works, no changes.  Must be suid to root.
  80.  
  81. named: Works.  A few changes for pathnames and net device
  82. configuration stuff.
  83.  
  84. nslookup: Works, but it's fussier than older nslookups about named
  85. being setup correctly.  Note the -I option is needed for flex -- that
  86. was a tough one to find.  No changes.
  87.  
  88. named-xfer: Not tested.
  89.  
  90. rcp: Works.  Must be suid to root.
  91.  
  92. rsh: Works.  Must be suid to root.
  93.  
  94. rshd: Works.
  95.  
  96. rlogin: Works OK but needs more testing.  This one depends pretty heavily
  97. on the sgtty emulation in libbsd which is not complete yet.  There is
  98. an odd timing bug with select and termio settings.  Look for "sleep(1)"
  99. to see what I mean.  Must be suid to root.
  100.  
  101. rlogind: Works with the URGENT stuff commented out.  There was a nasty
  102. bug with shared libraries because environ was redefined.
  103.  
  104. talk: Works.  This is the new byte-order independent talk, not the old
  105. talk that, e.g., native SunOS uses.  The old one wouldn't work with
  106. them anyway.  Not the fault of Linux.  Includes a one line patch for a
  107. bug in our curses and another for a bug in the original source dealing
  108. with select.
  109.  
  110. ntalkd: Works.  No changes.
  111.  
  112. tftp: Works.  No changes.
  113.  
  114. tftpd: Works.  No changes.
  115.  
  116. Sample Entries for inetd.conf
  117. =============================
  118. telnet    stream    tcp    nowait    root    /usr/etc/inet/telnetd    telnetd
  119. ntalk     dgram    udp    wait    root    /usr/etc/inet/ntalkd    ntalkd
  120. ftp    stream    tcp    nowait    root    /usr/etc/inet/ftpd    ftpd -l
  121. finger    stream    tcp    nowait    root    /usr/etc/inet/fingerd    finger
  122. shell    stream    tcp    nowait    root    /usr/etc/inet/rshd    rshd
  123. login    stream    tcp    nowait    root    /usr/etc/inet/rlogind    rlogind
  124. tftp    dgram    udp    wait    root    /usr/etc/inet/tftpd    tftpd
  125.  
  126. Rick Sladkey
  127. jrs@world.std.com
  128.