Thread View: news.software.nntp
4 messages
4 total messages
Started by Andy Lieberman
Wed, 25 Oct 1989 23:20
pcrrn revisited
Author: Andy Lieberman
Date: Wed, 25 Oct 1989 23:20
Date: Wed, 25 Oct 1989 23:20
38 lines
2570 bytes
2570 bytes
I am tring to get pcrrn running on my PC (typical '386 DOS4 machine) and am having some problems that I wasn't expecting. I would like to hear from anyone who has gotten pcrrn and made it work and find out where you got the code and what you had to do to get it running (in general). I'm also wondering who is responsible for maintaining pcrrn and how I can contact him/her via e-mail. Background: I found pcrrn on ucbvax. I ftped it and found that there was source code, but no README file or other documentation. I posted asking if anyone knew anything about pcrrn and got no responses :( (at that point I was specifically worried about differences between the Exclan and Ungerman Bass TCP libraries, which turned out to be minor). So, I hacked around on the make files and configuration files and changed clientli.c so that it would work with my Ungerman Bass Ethernet board. This was all expected and fairly straightforward. After compiling, I manually created my own .newsrc. I can now use most of the reading features fairly well, but there are still a number of major problems. Problems: I made some other hacks to clean up problems I was having, but am wondering why I had to, since everyone must face these same problems. For example, -- I had to change the puts() commands in term.h() to fputs() so that the articles display correctly. -- I have to use ctrl-J instead of the return key when entering commands. -- I had to write my own makedir. -- Lines longer than 80 characters are truncated. -- The save commands don't seem to work. -- There doesn't seem to be any sign of Pnews or newsgrps... Somebody please clue me in. Thanks in advance, Andy Lieberman p.s. e-mail responses and (assuming I get some) I will post a summary to news.software.nntp
NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3)
Author: 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.
Re: NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3)
Author: Eric P. Scott
Date: Fri, 27 Oct 1989 00:07
Date: Fri, 27 Oct 1989 00:07
12 lines
1205 bytes
1205 bytes
(with any question of this type) Please provide the following additional information-- --are you using Yellow Pages? --are you using the libc provided with SunOS 4.0.3, or the fixed one available from uunet? --did you link with -lresolv? --does your name server provide correct PTR records for your network's IN-ADDR.ARPA domain? (You can check that with nslookup) -=EPS=-
Re: NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3)
Author: Mikel Lechner
Date: Fri, 27 Oct 1989 08:44
Date: Fri, 27 Oct 1989 08:44
35 lines
1993 bytes
1993 bytes
fmbutt@cloud9.Stratus.COM (Farooq Butt) writes: >Help!!!! > [...] 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 [...] > the time is being spent in is the gethostbyaddr call (I Oh yes. I remember this problem. I had these same symptoms with NNTP 1.5.6 when I installed it about 2 months ago. The time delay IS caused by the gethostbyaddr call. It is attempting to contact the nameserver network service. You are apparently not running the nameserver (neither do I). The fix is to remove "-lresolv" from the "LIBS=" line in the makefile for the NNTP server. This needs to be mentioned in the documention, for those sites which don't run the nameserver. -- Mikel Lechner UUCP: mikel@teraida.UUCP Teradyne EDA, Inc.
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