home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / infosyst / gopher / 1728 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  2.7 KB

  1. Path: sparky!uunet!mcsun!uknet!warwick!nott-cs!lut.ac.uk!
  2. From: M.T.Hamilton@lut.ac.uk ([*] M.T.Hamilton)
  3. Newsgroups: comp.infosystems.gopher,uk.net
  4. Subject: Proxy servers to interconnect JANET<->Internet
  5. Keywords: Gateway NIR CB Internet Proxy!
  6. Message-ID: <1992Dec23.105845.12981@lut.ac.uk>
  7. Date: 23 Dec 92 10:58:45 GMT
  8. Sender: comth@lut.ac.uk ([*] M.T.Hamilton)
  9. Followup-To: comp.infosystems.gopher
  10. Organization: Dept of Computer Studies, Loughborough University, UK
  11. Lines: 77
  12. Nntp-Posting-Host: suna.lut.ac.uk
  13.  
  14. I've recently become interested in gatewaying UK Coloured Book and 
  15. Internet services via proxy servers - by which I mean hosts which 
  16. appear on both networks and make services on each visible to the 
  17. other.
  18.  
  19. Gopher would make an interesting application to experiment with,
  20. given its simplicity (barely more complicated than finger!),
  21. popularity (some 650 'public' servers), and the fact that there 
  22. is currently nothing like it in the CB universe!
  23.  
  24. What do the rest of you think?  Is anyone doing this sort of thing 
  25. already?!?  A vague description of what I have in mind follows...
  26.  
  27. The 'path' field seems to be the natural place to stuff the proxy info
  28. into, e.g. if a regular gopher link looks like this:
  29.  
  30.   Name=Publications
  31.   Type=1
  32.   Port=70
  33.   Path=1/Publications
  34.   Host=hill.lut.ac.uk
  35.  
  36. ...to a Coloured Book host it might look something like this:
  37.  
  38.   Name=Publications
  39.   Type=1
  40.   Port=GOPHER
  41.   Path=proxy_gopher://hill.lut.ac.uk:70/1/Publications
  42.   Host=uk.ac.lut.proxy
  43.  
  44.  
  45. A Coloured Book host would have a link like this:
  46.  
  47.   Name=LUT_reports
  48.   Type=1
  49.   Port=70
  50.   Path=1/LUT_reports
  51.   Host=uk.ac.lut.hill
  52.  
  53. ...and appear to Internet users as:
  54.  
  55.   Name=LUT_reports
  56.   Type=1
  57.   Port=70
  58.   Path=proxy_gopher://uk.ac.lut.hill:GOPHER/1/LUT_reports
  59.   Host=proxy.lut.ac.uk
  60.  
  61.  
  62. All the proxy server has to do is relay gopher protocol messages
  63. between hosts on both networks, viz.
  64.  
  65.   (1) Open client's transport (implicit)
  66.   (2) Read gopher selector string
  67.   (3) Munge out the real host/port/path details
  68.   (4) Open real server's transport
  69.   (5) Pass on real selector string from (3)
  70.   (6) Retrieve results - if links, munge as appropriate
  71.   (7) Close real server's transport
  72.   (8) Pass results back to client
  73.   (9) Close client's transport
  74.  
  75.  
  76. I would envisage adding the code to implement gopher over the 
  77. Yellow Book transport to the current Unix distribution, and
  78. running the CB server from ybtsd.  
  79.  
  80. Comments welcome!
  81.  
  82.  
  83. Martin
  84.  
  85. PS I realise this could also be done with the ISODE, and I'll be
  86. looking into that later :-)
  87. --
  88. M.T.Hamilton@lut.ac.uk | cp141@freenet.cleveland.edu | mhamilto@nyx.cs.du.edu
  89. Dept of Computer Studies, Loughborough University of Technology, LE11 3TU, UK
  90. +44.(0)509.224151       "Merry Christmas you giant beetle, you!" - m lippert.
  91.