home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher+1.2b4 / doc / server.changes < prev    next >
Encoding:
Text File  |  1993-04-15  |  19.0 KB  |  584 lines

  1. server.changes,v 3.4 1993/04/15 22:21:54 lindner Exp
  2.  
  3. * .cap files are back if you want them...  Look in Makefile.config
  4.  
  5. * Fixed problems with Data directories with a space in them in gopherindex
  6.  
  7. * Fixed problems with seteuid() on hpux
  8.  
  9. * Fixed link processing, code is much easier to read and less buggy.
  10.  
  11. * Added DEBUG mods from Mitra (you really get a lot of debug stuff
  12.   now!)
  13.  
  14. * Fixes for ask shell scripts, ensure that they're run in the current
  15.   directory of the script.
  16.  
  17. * Better error checking on getpeername() calls.
  18.  
  19. * Fixed dreaded .mindex things on certain searches, including super bogus
  20.   code in AddExtension()
  21.  
  22. * Fixed bug where links might not be sent out.
  23.  
  24. * First public Admit1 server, supports partitioning the server into
  25.   public/private areas.  Funky.....  Minimal docs on this so far.
  26.  
  27. * Group id gets set in addition to the UID of the given username.
  28.  
  29.  
  30. Changes from 1.2b2 to 1.2b3
  31. ---------------------------
  32.  
  33. * Fixed wais->gopher gateway.
  34.  
  35. * Minimal gopher+ support for Index queries, supports '$' command.
  36.  
  37. * Support for recursive directory listings from the top-level.
  38.   Should be much better for fetching veronica data.
  39.  
  40. * More fixes for behavior that depends on the order of files inside of
  41.   a directory.  (Shows up most often as a path with a space in it)
  42.  
  43. * Socket REUSE and LINGER ought to work much better now. (Pekka
  44.   Kyt|laakso)
  45.  
  46. * ftp gateway works again, it now also gets filetypes from gopherd.conf
  47.  
  48. * Cleaned up parsing of client commands, much easier to read.
  49.  
  50. * Added an simple shell script "gopherindex" that automagically makes
  51.   full text indexes.
  52.  
  53. * Filtering as per gopher+ spec now implemented partially.
  54.  
  55. * Gopherd now deals with compressed files more effectively. (Mitra)
  56.  
  57. * Better replacement for tempnam(), no more crashes on NeXTs with "bad zone".
  58.  (John Ladwig)
  59.  
  60. * FTP gateway now uses the filename extensions defined in gopherd.conf
  61.   to do translation of ftp listings.
  62.  
  63.  
  64. Changes from 1.2b1 to 1.2b2
  65. --------------------------
  66.  
  67. * Fixed some signal problems with Crays (Hal Peterson)
  68.  
  69. * Changed the -I behavior to use stdout.
  70.  
  71. * Fixed error in gethostbyaddr() call (Hal Peterson)
  72.  
  73. * Fixed inconsistent behavior that caused GDfromUFS to be dependent on
  74.   the order of the files on the disk.
  75.  
  76. * Fixed problems with compilation of HP-UX and others that died on the
  77.   use of signal() is gopherd.h
  78.  
  79. * Fixed problems with not using -c and the infamous '//' directory.
  80.  
  81. * Server now deals with compressed files much more effectively (Mitra)
  82.  
  83.  
  84. Changes from 1.12 to 1.2b1
  85. ---------------------------
  86.  
  87. * Added support for gopher+ to the server. It's not everywhere... yet.
  88.  
  89. * Changed the format of the gopherd.conf file.
  90.  
  91. Changes from 1.11 to 1.12
  92. -------------------------
  93. * No changes.
  94.  
  95. Changes from 1.1 to 1.11
  96. ------------------------
  97.  
  98. * FTP gateway transactions are now logged.  Also, the password sent
  99.   by the gateway to the remote ftp site now contains the hostname of
  100.   the remote gopher client.
  101.  
  102. * Fixed problem with files that contain a period on a line all by
  103.   itself.
  104.  
  105. * Using the -u flag and not using -c actually works now.
  106.  
  107. * mindexd is gone, long live gopherd :-) Place your mindexd
  108.   configuration files inside your gopher-data directory with the
  109.   extension ".mindex".
  110.  
  111. * Moved all kernel specific code into kernutils.c
  112.  
  113. * .cap files are ignored by the WAIS searching engine.
  114.  
  115. * Fixed endless loop bug with shell-script index queries.  Added more
  116.   special character filtering to GrepIndexQuery()
  117.  
  118.  
  119. Changes from 1.03 to 1.1
  120. ------------------------
  121.  
  122. * Fixed error processing results when using ANSI varargs.
  123.   <asc@uci.edu>
  124.  
  125.  * WAIS search results will now get the name from a "Sidefile" (i.e.
  126.   .cap entry)  if it exists.  Note that the indexes and the files
  127.   must reside on the same host if this is to work.
  128.   <Mike_Macgirvin@MED.Stanford.EDU>
  129.  
  130. * The security file has been replaced with a gopherd.conf file.
  131.   For info on configuration see the example gopherd.conf file, or
  132.   the soon to be written gopherd.conf man page.  Use the -o option to
  133.   gopherd to specify an option file
  134.  
  135. * Object type mapping from filename extensions is now implemented
  136.   in the gopherd.conf file as well.
  137.  
  138. * exec:args:/scriptname may now contain an empty argument list, so
  139.   this is now valid:
  140.  
  141.         Path=exec::finger @moocow
  142.  
  143. * Changed the way the WAIS code is linked in.  You'll have to make a
  144.   symbolic link for the WAIS bin directory now. (Read the updated
  145.   INSTALL documentation.
  146.  
  147. * Fixed problem with mail spool files with addresses longer than 64
  148.   characters.  (Greg Smith smith@bucknell.edu)
  149.  
  150. * WSRC objects found through the WAIS gateway are interpreted as gopher
  151.   search items instead of text files.
  152.  
  153. * Logging when using chroot() will no longer give GMT times.  It will give
  154.   the local time instead. (Rob.Montjoy@uc.edu)
  155.  
  156. * Reverted to old cache method that doesn't fail when you change the
  157.   name of a parent directory.
  158.  
  159. * Turned off linger option on sockets.  The server shouldn't leave
  160.   sockets in the CLOSING state anymore (well we can hope :-)
  161.   (edmoy@violet.berkeley.edu)
  162.  
  163.   Also added SOREUSEADDR option on the socket.
  164.  
  165. * Logfile now gets created with mode 644 permissions.
  166.   (mark@sarek.plk.af.mil)
  167.  
  168. * Fixed core dump problems with core dumps inside of waisgopher.c.
  169.   The problem was with an incorrect AbortOutput() call that had the
  170.   wrong parameters [buchali@sun8.ruf.uni-freiburg.de (Christine
  171.   Buchali)] 
  172.  
  173. * Fixed all known problems with numbering.  Numbering directories is
  174.   different now. Instead of putting an item in the nth place, it sorts
  175.   the directory as follows:
  176.   -    All numbered entries are first, sorted by number.  If two items
  177.        have the smme number, then sorting is done alphabetically
  178.   -    All remaining entries are then added at the end, sorted in
  179.        alphabetical order.
  180.  
  181. * Fixed problem with Wais gateway and munged characters.  The wais
  182.   gateway now obeys the protocol and transmits CR-LF pairs at the end of
  183.   lines like it's supposed to.
  184.  
  185. * Fixed problem with tmp files from ftp gateway..  Also, rewrote the
  186.   ftp-gateway to talk ftp-protocol directly instead of relying on the
  187.   ftp executable.
  188.  
  189. * Directory listings are now generated with NLST -LF instead of -F, this
  190.   should fix some problems with symbolicly linked directories. 
  191.   (valke@cca.vu.nl (Peter Valkenburg))
  192.  
  193. * Audio files should transer across the ftp gateway properly now.
  194.   (valke@cca.vu.nl (Peter Valkenburg))
  195.  
  196.  
  197. Changes from v1.02 to v1.03
  198. ---------------------------
  199.  
  200. Added lost+found and lib to the list of directories mapped out.
  201. Eventually this will be replaced by a gopherd.conf file.
  202.  
  203. gopherls will now list out the correct host, instead of NULL.
  204.  
  205. Binary files now work for the ftp-gateway in the server.
  206. (mahilata@vogon.mathi.uni-heidelberg.de) Added Image and sound support
  207. to the gateway as well.
  208.  
  209. You no longer have to play with the Path= portion in a .cap entry if
  210. you want something to be treated as a binary (9) or Search (7).
  211. The server does it right.
  212.  
  213. Server recognizes gifs as Type I irregardless of extension.
  214.  
  215. WAIS searches can now return binary type data.  For now it's just
  216. returned as Type 9.  However Type I and s can be hacked in pretty
  217. easily.
  218.  
  219.  
  220. Changes from v1.01 to v1.02
  221. ---------------------------
  222.  
  223. Tweaked error.c so that it will work with ANSI varargs.  (Pekka
  224. Kyt|laakso)
  225.  
  226. Fixed problem with gopherls.  Output was being sent to stdin, ugh!
  227.  
  228. Fixed problem in server when returning error messages.  Should get rid
  229. of a few more core files :-) (Doug Shales)
  230.  
  231. Fixed problem with the Path=exec server type. Added a missing break..
  232. (Doug Schales)
  233.  
  234. Fixed compilation problems of waisgopher.c underneath Ultrix.
  235.  
  236. Changed Waisindex.c so that long pathnames of the type:
  237.  
  238.     ACT III  /home/mudhoney/gopher-data/Gutenberg/shake/Henry III
  239.  
  240. are emitted as:
  241.  
  242.    ACT III /Gutenberg/shake/Henry III
  243.  
  244.  
  245. Removed statements that could never be reached.
  246.  
  247. special.c doesn't recognize compressed files correctly. This fix
  248. should work on all machines regardless of their bit size.  (David
  249. Datta) datta@cs.uwp.edu
  250.  
  251. Fixed problem with extra output from stdout/stderr. This is most 
  252. frequently seen as server messages appearing on NeXT clients. 
  253. (Steven Jones) noyd@cac.washington.edu
  254.  
  255. Fixed problem with client truncating directories with types it doesn't
  256. understand. (Dennis Boone) 
  257.  
  258. Removed extra period at the end of http transactions.
  259.  
  260. Fixed bug in parsing WWW ids.
  261.  
  262. Fixed bug in sending cached html pages.
  263.  
  264.  
  265. Changes from v1.0 to v1.01
  266. --------------------------
  267.  
  268. Fixed problem with load limiting code.  It didn't work as advertised.
  269. <mtm>
  270.  
  271. Added test to filter out unreadable directories. <mtm>
  272.  
  273. The exec: type path now can have arguments with a colon in them. <mtm>
  274.  
  275. Allow whitespace in command names in ShellIndexQuery.  Also fixed
  276. error in calling GDfromNet() and added a missing pclose() <mtm>
  277.  
  278. Fixed Makefile so that installation works correctly.
  279.  
  280. Fixed ftp.c so that it now puts out the proper paths. <gilbertd>,<Lange>
  281.  
  282.  
  283. Changes from v0.9 to v1.0
  284. -------------------------
  285.  
  286. Gopherd now moonlights as gindexd as well.  Usage is slightly
  287. different though.  Instead of a -d flag, just add the database name to
  288. the index_directory.
  289.  
  290. .cache files are ignored by the search engine routines.
  291.  
  292. Added utility "gopherls".  It's really just a link to gopherd.  But it
  293. easily allows you to see what all the .Links, .caps, etc. will look
  294. like, without constantly running a client.
  295.  
  296. Added the wais gateway functionality directly into the server.
  297. To add a wais database put a link like this:
  298.  
  299.   Name=Whatever
  300.   Path=waissrc:/the/path/here
  301.   Type=7
  302.   Host=+
  303.   Port=+
  304.  
  305. The server will automagically turn files ending in .src into
  306. wais databases...  Mondo cool.
  307.  
  308. Made the server more agressive wrt caching. It will check the
  309. modification times on the files in the directory and the .cap
  310. directory before remaking the .cache file.  Mods from Earl Fogel.
  311.  
  312. Now linking in the swanky gopher library.  Now we can really have
  313. shared code!
  314.  
  315. Added HTML support.  A gopher server can be now queried with a WWW
  316. (World wide Web) client.  The server also understands html files and
  317. can serve them up to WWW clients.  Note that this is different from
  318. the built in support that WWW has for gopher servers, in that you can
  319. add descriptive text to a directory listing by putting a .about.html
  320. file in the directory.
  321.  
  322. Added an ftp gateway to the server.  Make a link with a path like
  323. ftp:hostname@pathname.  This may not work on all systems...
  324.  
  325. When retrieving ranges of files the server outputs from which file
  326. it's getting the data from..
  327.  
  328. Fixed bug with the variable inline in index.c
  329.  
  330. Changed behavior of logfiling...  When running non-inetd, the server
  331. would hold the logfile open.  Deleting the logfile wouldn't free the
  332. space.  The server now reopens the logfile for every request..
  333.  
  334. Added better hostdata support.  The server will now look for
  335. <dbname>.hostdata before just the plain vanilla "hostdata".  Thus it
  336. is now possible to have multiple indices in the same directory. (mic)
  337.  
  338.  
  339. Changes from v0.8 to v0.9
  340. -------------------------
  341.  
  342. Added code from Mike MacGavrin that restricts access based on load
  343. average.  Right now it works on SunOS 4.1.1.  It may work on others
  344. too.  To use this option look in the conf.h file and define
  345. LOADRESTRICT.
  346.  
  347. Added server directory caching!!  I took the digest idea of John
  348. Sellens and incorporated it into the server.  When a directory is
  349. transmitted a .cache file is created.  This file contains the raw
  350. gopher directory information.  You can set the cache timeout value in
  351. conf.h (Currently it's set to three minutes)
  352.  
  353. Added dynamic data structure allocation.  No more limits to the size
  354. of directories or lengths of strings!
  355.  
  356. Bolstered the builtin mailfile processing with code taken from nn.
  357. Mail articles are now strictly sorted by legal from lines instead of
  358. just checking the first five characters.
  359.  
  360. Changed index searches so that they use the built in headlines that
  361. the indexes provide.  Much prettier looking and less code grokking for
  362. me :-)
  363.  
  364. Changed the getcommand readline() error call to not dump core.  This
  365. happens fairly regularly with the 0.7 client.  (0.8 doesn't cause this
  366. problem)
  367.  
  368. Changed Makefile so that install depends on $(TARGET), not all.
  369. (Pointed out by Edward Symanzik)
  370.  
  371. Changed daemon.c so that HPs use setsid() to disassociate from the
  372. controlling tty. (fix from Jim Garlick)
  373.  
  374. Added -lm to the LIBS in the Makefile.  Some systems don't have ceil()
  375. and floor() in libc.  Pointed out by Jim McCoy
  376.  
  377. Updated conf.h with instructions on defining NOSTRSTR for machines
  378. that don't have strstr().  Suggested by Benjamin Littman.
  379.  
  380. Removed duplicate period that was being transmitted at the end of each
  381. directory...
  382.  
  383. Added patch from Edward Symanzik that fixes GDaddGS for once and all.
  384. Some strange sorting behavior was still being seen.
  385.  
  386. Fixed problems with subject lines in mailfiles being set incorrectly.
  387. (Fix from Mike Macgirvin)
  388.  
  389. Fixed problems logging Ranges.  Filename wasn't being appended correctly. 
  390.  
  391. Fixed problem with munged logfiles with many simultaneous gopher
  392. connections.  The server uses fcntl to do its locking.  Patch
  393. submitted by Edward Symanzik.
  394.  
  395. The Waterloo'isms for setting the UID to a "safe" person are only in
  396. place for the spawned server. The code to setuid comes after the inet
  397. server runs, and in fact, a "-u" or "-U" option is ignored for inet
  398. operation. Sure it's an inet config option, but the man page says that
  399. "-u" sets it, and it doesn't in this case. This might lead people to a
  400. false sense of security... (Fix from Mike Macgirvin)
  401.  
  402. Fixed problems with compressed files under the -c option.  Now works
  403. correct. Fix from Billy Barron.
  404.  
  405. Fixed logging of built in search requests.  The query wasn't logged
  406. before.
  407.  
  408. Added small feature from John Sellens that allows you to use a plus
  409. (+) in the Host= and Port= lines of a link file.  When the server
  410. comes across these it substitutes the current hostname and port of the
  411. current server.
  412.  
  413.  
  414. Changes from v0.7 to v0.8
  415. -------------------------
  416.  
  417. Added patches from John Sellens to make it possible to run gopherd in
  418. a non-chroot() fashion.  Look in the modified gopherd man page for
  419. more information.
  420.  
  421. Fixed problems with -I option and improper port numbers.  Fix from
  422. many people.
  423.  
  424. Fixed problems with Titles and sidefiles.  Should work properly now.
  425.  
  426. Fixed problems with domain names not being properly appended when DNS
  427. routines don't seem to return the proper hostname.  (Fix from John
  428. Ladwig).
  429.  
  430. Fixed small problem with mailfile processing from Mike Macgirvin
  431. <mtm@SUMEX-AIM.Stanford.EDU>
  432.  
  433. Fixed another problem with mailfile processing, the last letter had
  434. the same startbyte and endbyte.  Fix from Ed Symanzik.
  435. <zik@convex.cl.msu.edu>
  436.  
  437. Added new protocol change/extension for multiple indexes on a single
  438. daemon.  Gopherd can now serve up full text indexes!  The Makefile is
  439. quite a bit different now.  Look in the man page for info on setting
  440. up indexes.
  441.  
  442. Added support for type 9 binary files.
  443.  
  444. Added support for type 4 macintosh hqx files.
  445.  
  446. Everything is now logged, previously ranges and mailfiles weren't logged.
  447.  
  448.  
  449. Changes from v0.6 to v0.7
  450. -------------------------
  451.  
  452. Fixed bug that causes server to core dump when reading in directories
  453. with more than 256 entries.
  454.  
  455. Fixed bug which caused core dumps on non-sparc machines.  (Man are
  456. those Sparcs forgiving!)
  457.  
  458. Added fixes from Craig Rice <cdr@stolaf.edu>
  459.  
  460.    Shell scripts with spaces in them would not work.
  461.  
  462.    Fixed strange problem with user defined numbering appearing in
  463.    the wrong place.
  464.  
  465.  
  466. Added fixes from John Sellens <jmsellen@watmath.waterloo.edu>
  467.  
  468.    Fixed problem with error handling, and improper argument passing in
  469.    Getfiletypes();  
  470.  
  471.    Fixed problem with error handling when dealing with older paths.
  472.    The server now handles abnormal conditions better.
  473.  
  474. Added fix from Mic 
  475.  
  476.    It's no longer necessary to specify the port number when running
  477.    from inetd.  The server will figure it out automatically.
  478.  
  479.    Also, when running from inetd the message "Starting Gopher Daemon"
  480.    is no longer logged
  481.  
  482.  
  483. Changes from v0.5 to v0.6
  484. -------------------------
  485.  
  486. There's now a man page!  Yeah!
  487.  
  488. The server can now be started from inetd.  Use the -I switch.
  489.  
  490. Alphabetizing/Ordering of items within a directory now works.  I took
  491. the ideas of Craig Rice and modified the heck out of them.
  492.  
  493. Added enhancements from Craig Rice to allow shell scripts to be
  494. placed inside of a gopher-data directory.  
  495.  
  496. The server now recognizes mail spool files.  It makes them into
  497. directories that the user can browse.
  498.  
  499. Added code cleanups from William Roberts <liam@dcs.qmw.ac.uk>.
  500.    Eliminated multiple gethostbyname() calls.
  501.    Item Names can be put in the .cap/ files.
  502.  
  503. Added changes from Mic Kaczmarczik <mic@emx.utexas.edu>
  504.    Allow the Data Directory and Domain Name to be changed in the Makefile.
  505.    Automagically define __STRICT_BSD__ on NeXTs
  506.    Automagically define BROKENDIRS on the Next and Umax
  507.    Include <ctype.h>  for systems that need it.
  508.  
  509.  
  510. Changes from v0.4 to v0.5
  511. -------------------------
  512.  
  513. The server can automatically determine the types of certain files.  It
  514. now recognizes sounds and uuencoded files.  (It actually looks at the
  515. file, not the extension.)
  516.  
  517. Improved logging.  All transactions are now logged with the name of
  518. the file/directory that was retrieved.  Logging now gets done *after* the 
  519. transaction takes place.  This will speed things up a little bit.
  520.  
  521. Portability fixes.  Now compiles cleanly on HPUX 7.0 (and others too
  522. perhaps...)
  523.  
  524. Added directory mask for /etc.  (Forgot about that one!)
  525.  
  526. Gopherd can now serve ranges of files.  This is especially useful if
  527. you have big mail spools and are using the wais indexer.  The format
  528. for a range in the selector string is "R<startbyte>-<endbyte>-<Filename>". 
  529. Look in the shell-scripts directory for utilities to make link trees
  530. out of these big files.
  531.  
  532. Made sure that the server always returns a line with a dot.  (to
  533. successfully terminate the connection).
  534.  
  535. Added change from Craig Rice (cdr@stolaf.edu) that fixes the problem
  536. with compressed files.  (The zcat was opened for writing...  oops!)
  537.  
  538. Gopherd now checks to see if it's being run by root before it starts
  539. (suggested by Russell Fulton <russell@ccu1.ak.nz>)
  540.  
  541. Fixed type problem with getopt().  (c should have been an int not a
  542. char) Thanks go to BugStomper Russell Fulton <rj_fulton@aukuni.ac.nz>.
  543.  
  544.  
  545. Changes from v0.32 to v0.4
  546. --------------------------
  547.  
  548. Changed argument processing over to getopt() Phew, what a relief.  Of
  549. course this means that arguments must have single letters now, so -sec
  550. becomes -s, -log becomes -l and -DEBUG becomes -D.
  551.  
  552.  
  553. Changes from v0.31 to v0.32
  554. ---------------------------
  555. Added a chdir("/") so that relative paths (i.e. paths that don't have a "/"
  556. in front of them) work.
  557.  
  558.  
  559. Changes from v0.3 to v0.31
  560. --------------------------
  561.  
  562. Fixed bug where -sec was always required.
  563.  
  564.  
  565. Changes from v0.2 to v0.3
  566. -------------------------
  567.  
  568. Added logging for the server along with a new command line switch -l <logfile>.
  569.  
  570. Added option to filter connections based on hostname/internet
  571. addresses.   The new command line switch is -sec <secfile>.
  572.  
  573. Changes from v0.1 (The original unversioned release) to v0.2
  574. -------------------------------------------------------------------
  575.  
  576. Added support for sound types.
  577.  
  578. Changed the types of paths generated so we can save a directory lookup
  579. in a couple of places
  580.  
  581. Added the .cap/ method of changing object types and making links.
  582.  
  583. Changed Makefile around a bit
  584.