Article View: gnu.epoch.misc
Article #2172Re: using gnuserv on multiple machines??
From: Steve Baumgarten
Date: Mon, 11 Mar 1991 13:12
Date: Mon, 11 Mar 1991 13:12
45 lines
2728 bytes
2728 bytes
In article <125003@uunet.UU.NET> ebersman@uunet.UU.NET (Paul Ebersman) writes:
I have poked a bit in the code and still cannot get gnuclient on one
machine to talk to the gnuserv on a different machine. I am using Epoch
3.2 and the gnuservX from uiuc.edu. I get a new buffer if I do gnuclient
on the machine that I start the serve on. However, when I do "gnuclient
-h hostname filename" on a different machine, I just get my prompt
back. I do get exit status 0...
If the server process is not running at all, I DO get the cannot connect
message.
What am I stupidly missing?
I wouldn't say "stupidly", since it's not the most obvious thing in
the world. Also, I missed it myself... :-)
This is from the man page, and I think it's what you're looking for:
SECURITY
Using Internet-domain sockets, a more robust form of security is
needed that wasn't necessary with either Unix-domain sockets or
SysV IPC.
gnuserv performs a limited form of security at the machine level.
By default only connections from the host where the server is
running will be allowed. All other server connections will be
rejected with a cryptic message (which is displayed only by
gnudoit ). Alternatively, if the variable GNU_SECURE can be found
in gnuserv 's environment, and it names a readable filename, then
this file is opened and assumed to be a list of hosts, one per
line, from which the server will allow requests. Note that a host
may be either a internet address, or a hostname. If this file
contains a lot of hostnames then the server may take quite a time
to start up.
I just created a file that contains all the hosts I'm likely to use,
set GNU_SECURE to that file, and now things work fine.
--
Steve Baumgarten | "New York... when civilization falls apart,
Davis Polk & Wardwell | remember, we were way ahead of you."
baumgart@esquire.dpw.com |
cmcl2!esquire!baumgart | - David Letterman
Technical Details
Message-ID:
<BAUMGART.91Mar11081220@info7.esquire.dpw.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!purdue!haven!adm!cmcl2!esquire!baumgartReferences:
<125003@uunet.UU.NET>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,12469c2a5981c504 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-03-11 06:37:33 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!purdue!haven!adm!cmcl2!esquire!baumgart From: baumgart@esquire.dpw.com (Steve Baumgarten) Newsgroups: gnu.epoch.misc Subject: Re: using gnuserv on multiple machines?? Message-ID: <BAUMGART.91Mar11081220@info7.esquire.dpw.com> Date: 11 Mar 91 13:12:20 GMT References: <125003@uunet.UU.NET> Sender: news@DPW.COM Organization: Davis Polk & Wardwell Lines: 45