roberts@edsews.eds.com (Ted Roberts) (07/10/90)
We are running bnews, connecting via uucp, and I have a configuration
question. We connect to several sites, getting our feed from uunet
and then passing it on to others. One of our sites, wanting to pass
on the favor, has another site to which they want to pass news. They
are a bit different in their configuration however, since they connect
to us with one machine (their news server) and connect to other sites
with a different machine. Therefore, we need to send news through
from their news server to their other local node, and then onward via
uucp to another site. The layout is basically:
our_site--->uucp--->them1--->tcp/ip--->them2--->uucp--->remote_site
our_site, them1, and them2 are all SUNs running OS4.0.3, I'm not sure
about the remote_site (I don't think it should matter anyway, to a
point).
I thought about perhaps using a uusend, although I don't know much
about running uucp over tcp/ip (although I've heard it can be done).
The problem here is I don't know if a uux can be made to work over
multiple hops. I figure there's got to be a fairly simple way to
do this. Maybe cnews has an easier method. Ideas/solutions would
be appreciated.
--
Ted Roberts | My opinions are not necessarily those
EDS Technical Systems Development | of my employer. Does that mean I'm
roberts@eds.com | wrong?
UUCP: {uunet|sun|sharkey}!edsews!robertsdce@smsc.sony.com (David Elliott) (07/12/90)
|> I thought about perhaps using a uusend, although I don't know much |> about running uucp over tcp/ip (although I've heard it can be done). |> The problem here is I don't know if a uux can be made to work over |> multiple hops. I figure there's got to be a fairly simple way to |> do this. Maybe cnews has an easier method. Ideas/solutions would |> be appreciated. This may or may not help you. We use MIPS as our news feed. Originally, we had our news machine talking directly to them over the phone, but then we added a new machine as an Internet gateway. We decided that we didn't want to use that machine as our news machine, but we did want to use it for news transfer. For security purposes, we don't allow rsh or smtp connections between our Internet gateway and our internal network, so we use UUCP over TCP/IP for mail and news forwarding (TCP/IP UUCP is very easy to set up). So, on our news machine (sonyusa), I changed the "mips" entry in the news/sys file to sonygate:comp,news,sci,rec,misc,soc,talk,alt,gnu,ca,ba,to.mips/all:L:uux - -z sonygate!netnews On sonygate (our Internet gateway), the command /bin/netnews is the shell script: #!/bin/sh PATH=/bin:/usr/bin:/usr/ucb # For debugging # date >> /tmp/netnews.out exec uux - -z mips!rnews This required adding "netnews" to /usr/lib/uucp/L.cmds. For incoming news, /bin/rnews is the shell script: #!/bin/sh PATH=/bin:/usr/bin:/usr/ucb #For tracing batches #date >> /tmp/rnews.in exec uux - -r -z -gd sonyusa!rnews So, news coming in from mips is sent on to sonyusa!rnews, and news coming from sonyusa is sent to sonygate!netnews which relays it to mips!rnews. ...David Elliott ...dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce ...(408)944-4073 ..."You know my motto: Forgive and uh... the other thing."