🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2842

Re: INN + SCO = can't post

#2842
From: Rashid Karimov
Date: Tue, 23 Aug 1994 07:47
50 lines
2864 bytes
	Hi netters

Seth Hettich (shettich@hydra.acs.uci.edu) wrote:
: I have been running INN on my SCO system for a while and it works fine for
: reading, but when I try to post, from the server or another machine it fails.
: I thought this might be related to the HAVE_UNIX_DOMAIN thing, I have it
: set to off, so I added all of the machines that I wanted to be able to post
: to my hosts.nntp file. When I post it starts off fine, they do a mode reader
: then a post and send the message. Then after a short pause nnrpd comes back
: with an error:
: 441 Can't send connect request to server
: What I need to know is: is this a configuration error, in one of the files in
: /usr/lib/news, or is there a problem with the way I compiled the software.
: For SCO you do Have to set HAVE_UNIX_DOMAIN to dont right?

	Well , about a week ago there was a discussion on the same
	topic at biz.sco.general.
	The answer is : yes, INN ( at least some versions/distributions)
	has a hole relating to Unices w/o UNIX_DOMAIN_SOCKETS.
	This bug is located at post.c at nnrpd source directory. In fact
	INN source does double check of DO_HAVE_UNIX_DOMAIN & due to last
	one ( in post.c) it ( reader ) never opens connection to INN daemon
	at localhost to post an article.
	I've spend almost a day trying to find this. CSCOPE is/was just incredible
	to do this kind of surgery.
	I've got a few letters from all around the globe with the same problem.

	The medicine is :

	go to nnrpd source direcrory
	find there post.c
	vi/joe/emacs/whatevereditoryouuse post.c
	find #ifdef DO_HAVE_UNIX_DOMAIN
	comment out surrounding block of code as follows :

/* #if  defined(DO_HAVE_UNIX_DOMAIN) */   
i = NNTPlocalopen(&FromServer, &ToServer, buff);
/* #else */
/*  i = NNTPremoteopen(&FromServer, &ToServer, buff); */
/* #endif  defined(DO_HAVE_UNIX_DOMAIN)  */

	to force it  to use localopen.

	Type make in nnrpd source ( the changes are local , so you don't
	need to recompile whole beast ) , and move binaries to the right place.
	Restart inn.

	SY
	RK
Technical Details
Message-ID: <1994Aug23.074759.9408@sarnode.saratov.su>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!meaddata!swiss.ans.net!howland.reston.ans.net!EU.net!news.eunet.fi!news.spb.su!satisfy.kiae.su!kiae!relcom!demos1!sarnod!root
References: <33ats1$fec@news.service.uci.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1994Aug23.074759.9408@sarnode.saratov.su>
Subject: Re: INN + SCO = can't post
Date: Tue, 23 Aug 1994 07:47:59 GMT
From: root@sarnode.saratov.su (Rashid Karimov)
References: <33ats1$fec@news.service.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!meaddata!swiss.ans.net!howland.reston.ans.net!EU.net!news.eunet.fi!news.spb.su!satisfy.kiae.su!kiae!relcom!demos1!sarnod!root
Newsgroups: news.software.nntp,biz.sco.general
Organization: sarnode
Distribution: inet
X-Newsreader: TIN [version 1.2 PL2]
Lines: 49