INN2.3, buffindexed...and nn?

The Hermit Hacker scrappy at hub.org
Thu Sep 9 14:12:17 UTC 1999


Hi...

	I'm not sure where I should post this, so I'm going to post it
here and the nn newsgroup...

	Using nn 6.5.3, recompiled today out of ports on FreeBSD 3.3-RC,
if I run nn, news.notice shows me:

Sep  9 11:02:21 athena nnrpd[11863]: SERVER perl filtering enabled
Sep  9 11:02:21 athena nnrpd[11863]: atelier.acadiau.ca connect
Sep  9 11:02:24 athena nnrpd[11863]: atelier.acadiau.ca group acadia.comp.misc 0
Sep  9 11:02:24 athena nnrpd[11863]: atelier.acadiau.ca group acadia.comp.unix 0
Sep  9 11:02:24 athena nnrpd[11863]: atelier.acadiau.ca times user 0.660 system 0.290 elapsed 3.108

	Notice the two acadia.comp.* groups that say "0"?  The
acadia.comp.unix one, at least, should have showed me one artile (number
176), which I can get at using a simple telnet session:

telnet athena.acadiau.ca nntp
Trying 131.162.200.51...
Connected to athena.acadiau.ca.
Escape character is '^]'.
200 acadiau.ca InterNetNews NNRP server INN 2.3experimental 27-Aug-1999 ready (posting ok).
group acadia.comp.unix
211 175 1 176 acadia.comp.unix
xover 175-176
224 175-176 fields follow
175     Re: Perl path   "Ian Brunton" <030741b at acadiau.ca>      Tue, 7 Sep 1999 11:54:45 -0300  <7r38vu$qfa$1 at athena.acadiau.ca>        <3698008E.6EC1554E at acadiau.ca> <77ej8q$mud$1 at hades.acadiau.ca>          23      Xref: acadiau.ca acadia.comp.unix:175
176     Re: Permissions for web pages   "Ian Brunton" <030741b at acadiau.ca>     Thu, 9 Sep 1999 10:32:04 -0300   <7r8csq$bgb$1 at athena.acadiau.ca>        <36c09381.3779724 at news.acadiau.ca> <36C0C24E.6FA24277 at acadiau.ca> <79s04d$4k1$1 at hades.acadiau.ca>       1159    14      Xref: acadiau.ca acadia.comp.unix:176
.
article 176
220 176 <7r8csq$bgb$1 at athena.acadiau.ca> article
Path: acadiau.ca!acadiau.ca!not-for-mail
From: "Ian Brunton" <030741b at acadiau.ca>
Newsgroups: acadia.comp.unix
Subject: Re: Permissions for web pages
Date: Thu, 9 Sep 1999 10:32:04 -0300
Organization: Acadia University, Wolfville, Nova Scotia
Lines: 14
Message-ID: <7r8csq$bgb$1 at athena.acadiau.ca>
References: <36c09381.3779724 at news.acadiau.ca> <36C0C24E.6FA24277 at acadiau.ca> <79s04d$4k1$1 at hades.acadiau.ca>
X-Trace: athena.acadiau.ca 936883930 11787 131.162.174.155 (9 Sep 1999 13:32:10 GMT)
X-Complaints-To: marc.fournier at acadiau.ca
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Xref: acadiau.ca acadia.comp.unix:176

>Minimum requirement is rwx--x--x ... with the read attribute turned off,
>nobody can do an 'ls' of his directory, but can still read files in it,
>and the web server only deals with explicitly referenced files...
>
>This way, ppl can't go to your directory and browse around...
>

Is this more secure than an .htaccess file with a DirectoryIndex statement,
which loads a specified document when a directory is accessed without a
filename?

ian


.

And I can get using tin...

If I go into my .newsrc and reset my pointers so that it says that
articles 1-174 are read (leaving two articles), I get both 175 and 176
listed...but if I reset it to 1-175, it comes back with a simple:

> nn
Connecting to NNTP server news.acadiau.ca ...
Connecting to NNTP server news.acadiau.ca ... ok (posting is allowed)
Release 6.5.3 (NOV)
  by Kim F. Storm, Peter Wemm, and Michael T Pins, 1998

No News (is good news)
>

I'm doubting its an INN related issue, but figured I'd be safe trying to
hit both sides, just in case its something I may be overlooking...but it
*seems* like its a 'if count > 1, provide index' sort of issue, where it
should be 'if count >= 1, provide index'...but I just want to make sure...




Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy at hub.org           secondary: scrappy@{freebsd|postgresql}.org 



More information about the inn-workers mailing list