🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Seth Hettich Mon, 22 Aug 1994 19:21
INN + SCO = can't post
#2840
Author: Seth Hettich
Date: Mon, 22 Aug 1994 19:21
14 lines
1460 bytes
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?

Seth Hettich
Re: INN + SCO = can't post
#2842
Author: 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
Re: INN + SCO = can't post
#2843
Author: Frank Hoffmann
Date: Tue, 23 Aug 1994 11:42
36 lines
2157 bytes
root@sarnode.saratov.su (Rashid Karimov) writes:

>	Hi netters

>	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.

Hmm.

>/* #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.

I didn't have this kind of problem. There was nothing like it on our systems.
We compiled it on both ODT 2.0 and ODT 3.0 and never changed a single line
of code.

Well, I don't intend to start a flame or something alike, I just say that
my INN compiled flawlessly here ...

Anyway, good luck.

+frank
 ------------------------------------------------------------------------------
		   Frank Hoffmann +++ Siemens Nixdorf Germany
		Voice: +49-894-144-7615 +++ Fx: +49-894-144-7746
	       Senior network controller +++ System administrator
		  E-Mail: fh.muc@sni-usa.com +++ fh.muc@sni.de
 ------------------------------------------------------------------------------
	     How can you tell a marketing guy is lying? - His lips are moving.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads