Thread View: news.software.nntp
9 messages
9 total messages
Started by Carfield Yim
Fri, 17 Aug 2001 11:53
How to allow everyone to post and read at my new server?
Author: Carfield Yim
Date: Fri, 17 Aug 2001 11:53
Date: Fri, 17 Aug 2001 11:53
20 lines
1378 bytes
1378 bytes
I have set my /etc/news/nnrp.access to # Default to no access #*:: -no- : -no- :!* *:Read Post:::* # Allow access from localhost localhost:Read Post:::* And I suppose it allow everyone to post and read, but it is not: [carfield@web2 upload]$ telnet news.host 119 Trying 202.x.x.x... Connected to news.host. Escape character is '^]'. 502 You have no permission to talk. Goodbye. Connection closed by foreign host. Why?
Re: How to allow everyone to post and read at my new server?
Author: Paul Tomblin
Date: Fri, 17 Aug 2001 12:36
Date: Fri, 17 Aug 2001 12:36
23 lines
1771 bytes
1771 bytes
In a previous article, Carfield Yim <carfield@programmer.net> said: ># Allow access from localhost >localhost:Read Post:::* >[carfield@web2 upload]$ telnet news.host 119 >Trying 202.x.x.x... >Why? Because you telnetted to news.host rather than localhost. "localhost" means 127.0.0.1, not 202.x.x.x. If you want to use localhost in your nnrp.access file, then set the environment variable NNTPSERVER to "localhost", not to news.host. Similarly, if you want to use "news.host" in your access file, then set the NNTPSERVER variable to "news.host". -- Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody Quality Control, n.: The process of testing one out of every 1,000 units coming off a production line to make sure that at least one out of 100 works.
Re: How to allow everyone to post and read at my new server?
Author: Carfield Yim
Date: Sat, 18 Aug 2001 03:31
Date: Sat, 18 Aug 2001 03:31
21 lines
1587 bytes
1587 bytes
> Because you telnetted to news.host rather than localhost. "localhost" > means 127.0.0.1, not 202.x.x.x. > > If you want to use localhost in your nnrp.access file, then set the > environment variable NNTPSERVER to "localhost", not to news.host. > Similarly, if you want to use "news.host" in your access file, then set the > NNTPSERVER variable to "news.host". > But I what to accept everyone to connect to my news server, so I edit the line: *:: -no- : -no- :!* to *:Read Post:::* Because every if I allow news.host to connect, I still can't let everyone on the internet read and post to my news server.
Re: How to allow everyone to post and read at my new server?
Author: Paul Tomblin
Date: Sat, 18 Aug 2001 04:15
Date: Sat, 18 Aug 2001 04:15
15 lines
1553 bytes
1553 bytes
In a previous article, Carfield Yim <c8133594@comp.polyu.edu.hk> said: >But I what to accept everyone to connect to my news server, so I edit >the line: >*:: -no- : -no- :!* >to >*:Read Post:::* Oh, I see. You're a spam haven. Forget that I tried to help you then. Hope your server crashes and burns. -- Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody The e-mail of the species is more deadly than the mail.
Re: How to allow everyone to post and read at my new server?
Author: Russ Allbery
Date: Sat, 18 Aug 2001 04:22
Date: Sat, 18 Aug 2001 04:22
19 lines
1681 bytes
1681 bytes
Carfield Yim <c8133594@comp.polyu.edu.hk> writes:
> But I what to accept everyone to connect to my news server, so I edit
> the line:
> *:: -no- : -no- :!*
> to
> *:Read Post:::*
That should do what you want, then. (Note that you don't want to do this
unless your server is both only carrying local hierarchies and doesn't
propagate posts to the rest of Usenet, or your server may be abused to
spam or cancel posts on Usenet proper.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: How to allow everyone to post and read at my new server?
Author: Russ Allbery
Date: Sat, 18 Aug 2001 04:23
Date: Sat, 18 Aug 2001 04:23
15 lines
1637 bytes
1637 bytes
Paul Tomblin <ptomblin@xcski.com> writes:
> Oh, I see. You're a spam haven. Forget that I tried to help you then.
> Hope your server crashes and burns.
Unless you already know something that isn't obvious just from his posts
here, there are lots of other reasons to allow read and post from any
computer. Support groups for a company's products, for example.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: How to allow everyone to post and read at my new server?
Author: madog
Date: Sat, 18 Aug 2001 04:28
Date: Sat, 18 Aug 2001 04:28
38 lines
2198 bytes
2198 bytes
"Carfield Yim" <c8133594@comp.polyu.edu.hk> wrote in message
news:Pine.GSO.4.21.0108181130110.3783-100000@cs-cs01...
| > Because you telnetted to news.host rather than localhost. "localhost"
| > means 127.0.0.1, not 202.x.x.x.
| >
| > If you want to use localhost in your nnrp.access file, then set the
| > environment variable NNTPSERVER to "localhost", not to news.host.
| > Similarly, if you want to use "news.host" in your access file, then set
the
| > NNTPSERVER variable to "news.host".
| >
| But I what to accept everyone to connect to my news server, so I edit
| the line:
| *:: -no- : -no- :!*
| to
| *:Read Post:::*
|
| Because every if I allow news.host to connect, I still can't let
| everyone on the internet read and post to my news server.
these are my setting of readers.conf, i don't quite understand it, but every
one can read and post to my server
hope it helps you
auth "localhost" {
hosts: "*"
default: "<localhost>"
}
access "localhost" {
users: "<localhost>"
newsgroups: "*,!junk,!control,!control.*"
}
Re: How to allow everyone to post and read at my new server?
Author: Jeffrey M. Vinocur
Date: Sat, 18 Aug 2001 05:06
Date: Sat, 18 Aug 2001 05:06
18 lines
1660 bytes
1660 bytes
In article <9lkqul$b8u$1@mail.cn99.com>, madog <madog@madogcc.myip.org> wrote: >"Carfield Yim" <c8133594@comp.polyu.edu.hk> wrote in message >news:Pine.GSO.4.21.0108181130110.3783-100000@cs-cs01... > >| *:Read Post:::* > >these are my setting of readers.conf, i don't quite understand it, but every >one can read and post to my server [...] Just so you know, this discussion is about nnrp.access which is the predecessor to readers.conf (which is new as of INN 2.3). They are extremely different. -- Jeffrey M. Vinocur jeff@litech.org
Re: How to allow everyone to post and read at my new server?
Author: Carfield Yim
Date: Sat, 18 Aug 2001 07:20
Date: Sat, 18 Aug 2001 07:20
34 lines
1748 bytes
1748 bytes
>
>
>these are my setting of readers.conf, i don't quite understand it, but every
>one can read and post to my server
>hope it helps you
>
>
>auth "localhost" {
> hosts: "*"
> default: "<localhost>"
>}
>
>access "localhost" {
> users: "<localhost>"
> newsgroups: "*,!junk,!control,!control.*"
>}
>
Thx very much, I just forget to man nnrp.access, if I do that, I will
know nnrp.access is not use any more:
NNRP.ACCESS(5) NNRP.ACCESS(5)
NAME
nnrp.access - access file for NNTP news readers.
DESCRIPTION
This file is obsolete. Please see the man page for readers.conf(5).
SEE ALSO
readers.conf(5).
NNRP.ACCESS(5)
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