🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Paul D. Chapin Sat, 08 Mar 1997 00:00
news.error message
#15659
Author: Paul D. Chapin
Date: Sat, 08 Mar 1997 00:00
14 lines
788 bytes
Does anybody recognize what this error means?

Mar  7 07:15:09 tom nnrpd[27951]: ? cant gethostbyaddr 148.85.51.182 Not owner

--


Paul Chapin				
Unix Systems Manager			I'm too busy to have time
Amherst College				for anything important.
413-542-2144

Re: news.error message
#15646
Author: Graham Daveney
Date: Sat, 08 Mar 1997 00:00
28 lines
1662 bytes
Paul D. Chapin (pdchapin@unix.amherst.edu) wrote:
: Does anybody recognize what this error means?
: 
: Mar  7 07:15:09 tom nnrpd[27951]: ? cant gethostbyaddr 148.85.51.182 Not owner
: 

I think that what is happening is that a client is trying to hit your
newsserver. I could be wrong here but what I think is happening is the 
server will use the accept(2) routine to get the ip address of the incoming host
and then use the bind library gethostbyaddr routine to query your named for
the canonical hostname of the incoming connection.

I think that under inn there is a file that will control what feeds can pull 
what information from the server, it may even be to do with verification of
sites for control messages that come in.

So it could be that the name server is no good, or that it is getting the
canonical hostname from the server but maybe there needs to be a special
permission set for that host somewhere in one of those inn configuration files
that I havent quite worked out just yet.


Graham
graham@daveney.matra.com.au


Re: news.error message
#15716
Author: Paul Eggert
Date: Mon, 10 Mar 1997 00:00
22 lines
1460 bytes
barr@math.psu.edu (Dave Barr) writes:

>Paul D. Chapin <pdchapin@unix.amherst.edu> wrote:
>>Mar  7 07:15:09 tom nnrpd[27951]: ? cant gethostbyaddr 148.85.51.182 Not owner

>Your OS is screwed up.  "Not owner" is EPERM, error 1.  gethostbyaddr()
>sets h_errno to 1 on HOST_NOT_FOUND.  Something is misconfigured or
>broken.

Actually, it's more likely the case that his nnrpd is screwed up.
gethostbyaddr returns error codes in h_errno, not errno.
(This screwup is in INN 1.5.1.)

Furthermore, the nnrpd shipped with INN 1.5.1 can issue that message
even when gethostbyaddr succeeds.  It might be gethostbyname failing;
or it might that DNS is configured incorrectly for that host, so that
the official hostname for that IP address doesn't map to that IP address.

To work around the problem, rebuild INN with NNRP_GETHOSTBYADDR sent to DONT.

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