🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10980

bind 495t3b nnrpd solaris 2.5 getpeername connection refused

#10980
From: Mark Hittinger
Date: Wed, 18 Sep 1996 00:00
19 lines
1172 bytes
Hi guys -

I've been playing with 4.9.5-T3B on one of my news servers and noticed that
nnrpd can't do reverse lookups.  I get "connection refused" from the
getpeername call in libsocket.  Reverse lookups using other calls work ok.

It reminds me of a problem the linux guys were having awhile back :-)

I changed nnrpd to use gethostbyaddr instead and that seems to do the
trick, but I'm not sure what to do about getpeername().

FYI

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Technical Details
Message-ID: <51p5re$hcb@dfw-ixnews1.ix.netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.protocols.tcp-ip.domains.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <51p5re$hcb@dfw-ixnews1.ix.netcom.com>
Subject: bind 495t3b nnrpd solaris 2.5 getpeername connection refused
Date: Wed, 18 Sep 1996 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.protocols.tcp-ip.domains.mbox.zip!not-for-mail
X-Deja-AN: 181390414
Distribution: inet
Organization: Netcom
X-netcom-date: Wed Sep 18 10:52:16 AM CDT 1996
Newsgroups: news.software.nntp,comp.protocols.tcp-ip.domains