Article View: news.software.nntp
Article #322NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3)
From: Farooq Butt
Date: Thu, 26 Oct 1989 21:55
Date: Thu, 26 Oct 1989 21:55
50 lines
2957 bytes
2957 bytes
Help!!!!
I am trying to run NNTP 1.5.6. on a sun 3/280s running SunOS
4.0.3 and am running into a totally bizarre problem: Clients
on my network wishing to run "rn" have to wait about 1.3
minutes before nntpd running on our server will start
dealing with them.
After much tracing, I saw that nntpd was spending about a
minute in the routine "host_access" in "access.c," after
which it would let me read, write or transfer files (my
access-file has the default being that everyone can
read/write/xfer and NO other rules). After the first 1.3
minute glitch, things would continue as normal (i.e.
articles came over as fast as I could handle). If I
short-circuit the "host_access" routine everything works
FAST but in "promiscous" mode (i.e no authentication).
I am concerned enough about security for this to be a
problem.
The specific line in the "host_access" module where I think all
the time is being spent in is the gethostbyaddr call (I
touch files before and after the gethostbyaddr call and the
second touch happens about a minute after the first) but I
have no clue why that could be. To add insult to injury, I
have tried to perform the same gethostbyaddr call in a
separate program and things seemed to fly right along. What
is it about NNTP's gethostbyaddr that is screwy. Please
remember that I can use nntp allright but only in "insecure"
mode (i.e. nntpd works nice and fast if and only if I do a
trivial return from "host_access" giving all access to the
host in question by setting the permission bits to 1. I am
about rip my hair out in frustration..what *could* be the
cause of all this. NNTP wizards here's
your chance to prove that it is I, not NNTP, at fault here!
Thanks in advance!
Farooq Butt
Stratus Computer (508) 460-2798
fmbutt@cloud9.UUCP
--
NOTHING in the above article has the slightest relationship to reality.
If any reality correspondences are found, please notify me IMMEDIATELY.
Any threats, abuse or stupidity of any kind are purely UNINTENTIONAL.
My employer does not know that I exist and is not responsible for anything.
Technical Details
Message-ID:
<8974@cloud9.Stratus.COM>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!cloud9!fmbuttReferences:
<32166@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Message-ID: <8974@cloud9.Stratus.COM> Subject: NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3) Date: Thu, 26 Oct 1989 21:55:35 +0000 From: fmbutt@cloud9.Stratus.COM (Farooq Butt) References: <32166@ucbvax.BERKELEY.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!cloud9!fmbutt Newsgroups: news.software.nntp,news.sysadmin Followup-To: pso oster Organization: Stratus Computer, Inc., Marlboro, MA Lines: 49