Received: with ECARTIS (v1.0.0; list gopher); Mon, 15 Mar 2004 00:13:59 -0600 (CST) Return-Path: X-Original-To: gopher@complete.org Delivered-To: gopher@complete.org Received: from localhost (localhost [127.0.0.1]) by glockenspiel.complete.org (Postfix) with ESMTP id 53C982DC for ; Mon, 15 Mar 2004 00:13:57 -0600 (CST) Received: from glockenspiel.complete.org ([127.0.0.1]) by localhost (glockenspiel [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 24094-01 for ; Mon, 15 Mar 2004 00:13:52 -0600 (CST) Received: from web60205.mail.yahoo.com (web60205.mail.yahoo.com [216.109.118.100]) by glockenspiel.complete.org (Postfix) with SMTP id 57E9B2D3 for ; Mon, 15 Mar 2004 00:13:51 -0600 (CST) Message-ID: <20040315061346.99985.qmail@web60205.mail.yahoo.com> Received: from [172.208.214.177] by web60205.mail.yahoo.com via HTTP; Sun, 14 Mar 2004 22:13:46 PST Date: Sun, 14 Mar 2004 22:13:46 -0800 (PST) From: "William G. Davis" Subject: [gopher] Re: "groxies" To: gopher@complete.org In-Reply-To: <200403150450.UAA13420@floodgap.com> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at complete.org Content-Transfer-Encoding: 8bit X-archive-position: 896 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: william_gordon_davis@yahoo.com Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher Hi Cameron. I like the concept very much. My only concern is over how you'd be able write a server that could act as both a "groxy" and as a normal content server at the same time on the same port. The protocol already has a variable number of tab delimited fields in the request line as it is, and choosing which ones to accept and which ones to ignore can be difficult (e.g., is that second field the search string or Gopher+ field?). Why not put the added information on a line by itself, then put the actual request on the lines after it? For example: groxy-host\tportCRLF slector\t+CRLF Or maybe—if you wanted to make things even easier to parse—prefix the hostname/port combo with some special character: #groxy-host\tportCRLF selector\t+CRLF --- Cameron Kaiser wrote: > Due to some research on a project I'm working on > (sssh! all will be revealed > very soon), I'm looking at methods of proxying > Gopher through today's > firewalls. Myself, I use SOCKS on my own internal > firewall (I get arguably > higher throughput than NAT with it), but I like the > simplicity of HTTP > proxies and how very little work has to be done for > the client. > > The scheme I'm proposing for a "groxy" is simple. > Instead of > > request\r\n > > a groxy accepts > > host\tport\trequest\r\n > > and does The Right Thing with it. This won't break > Gopher+, either, because > the idea scales right along: > > host\tport\g+request\t+\r\n > > Even if a data flag and block follow, you should be > able to see it won't > interfere with that either. > > Any concerns over an implementation like this for a > prototypical "groxy"? > > One other idea I had was allowing gopher to tunnel > through HTTP as a method > of getting around ignorant site administrators that > block port 70. A HTTP > groxy could accept GET requests to it in the same > form an HTTP *P*roxy would, > but would execute a gopher request on the other side > and return the document > with the right MIME type or application/gopher-menu > as appropriate. > > Comments? > > > -- > ---------------------------------- personal: > http://www.armory.com/~spectre/ -- > Cameron Kaiser, Floodgap Systems Ltd * So. Calif., > USA * ckaiser@floodgap.com > -- People who buy computers from TV commercials > *deserve* PCs. ---------------- > __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com