Great Circle Associates Firewalls
(March 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: gopher(for SOCKS 4.1)
From: srusso @ mcdermott . com (Steve Russo)
Date: Wed, 30 Mar 94 15:45:04 PST
To: firewalls @ greatcircle . com
Cc: Ian Dunkin <imd1707 @ ggr . co . uk>
Reply-to: srusso @ mcdermott . com (Steve Russo)

	I am trying to SOCKsify my recently installed gopher, for SunOS,
(2.012 from boombox) for use with SOCKS 4.1. Can someone point me in the 
right direction? I noticed the below recommendation is specifically for 4.2.

	Any info. would be greatly appreciated.

Stephen Russo                       McDermott, Inc.
(504)587-4487                       srusso @
 mcdermott .
 com

---------------Original Message---------------
On Wed, 2 Mar 1994, Tom Limoncelli wrote:

> I'm trying to build a plain gopher client (curses-based)
> with SOCKS.  Anyone have patches?

Tom,

Well yes, I'd been using an older version I'd SOCKSized, but inspired by
your posting to get up to date, I just grabbed the latest version (2.011,
from boombox.micro.umn.edu) and tried building it with the new
`just-using-defines' method that's possible now with SOCKS 4.2, and it
seems to build and work fine.  Thus, for the client, the patches really
are trivial, but I append them here anyway just in case anyone is really
short of time.  (..if you just want to build the gopher CLIENT, this is
(`make client'): I wasn't interested in SOCKSizing gopherd.)

See how it works for you? 

       I.

--
Ian Dunkin <imd1707 @
 ggr .
 co .
 uk>
--

                            o /
-----------------------------x------------------------------------------
                            O \


diff -c -r gopher2.011/Makefile.config gopher2.011-SOCKS/Makefile.config
*** gopher2.011/Makefile.config	Thu Mar  3 19:05:21 1994
--- gopher2.011-SOCKS/Makefile.config	Thu Mar  3 19:26:30 1994
***************
*** 223,229 ****
  OTHERLIBS	=  $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \
  		   $(SVR4LIBS) $(AUXLIBS)
  
! CLIENTLIBS 	= -lcurses -ltermcap -lgopher $(OTHERLIBS)
  SERVERLIBS 	= -lm -lgopher $(OTHERLIBS) $(LOADLIBS)
  
  #
--- 223,232 ----
  OTHERLIBS	=  $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \
  		   $(SVR4LIBS) $(AUXLIBS)
  
! # Location of the SOCKS library
! SOCKSLIB = /attic/security/socks/4.2/lib/libsocks.a
! 
! CLIENTLIBS 	= -lcurses -ltermcap -lgopher $(SOCKSLIB) $(OTHERLIBS)
  SERVERLIBS 	= -lm -lgopher $(OTHERLIBS) $(LOADLIBS)
  
  #
diff -c -r gopher2.011/object/Makefile gopher2.011-SOCKS/object/Makefile
*** gopher2.011/object/Makefile	Tue Oct 19 21:45:16 1993
--- gopher2.011-SOCKS/object/Makefile	Thu Mar  3 18:44:53 1994
***************
*** 1,6 ****
  include ../Makefile.config
  
! CCFLAGS	= $(OPT) $(COMPAT) $(GSYSTYPE) $(DEBUGGING) -I. 
  
  OBJS	= STRstring.o GDgopherdir.o GSgopherobj.o \
  	  DAarray.o   VIews.o       BLblock.o \
--- 1,9 ----
  include ../Makefile.config
  
! SOCKSFLAGS = -Dconnect=Rconnect -Dbind=Rbind -Dgetsockname=Rgetsockname \
! 	-Dlisten=Rlisten -Daccept=Raccept -Dselect=Rselect
! 
! CCFLAGS	= $(OPT) $(COMPAT) $(GSYSTYPE) $(DEBUGGING) $(SOCKSFLAGS) 
-I. 
  
  OBJS	= STRstring.o GDgopherdir.o GSgopherobj.o \
  	  DAarray.o   VIews.o       BLblock.o \





Follow-Ups:
Indexed By Date Previous: Mosiac --
From: Marcus J Ranum <mjr @ tis . com>
Next: Re: Mosiac --
From: smb @ research . att . com
Indexed By Thread Previous: Re: Mosiac --
From: smb @ research . att . com
Next: Re: gopher(for SOCKS 4.1)
From: Ian Dunkin <imd1707 @ ggr . co . uk>

Google
 
Search Internet Search www.greatcircle.com