Thread View: news.software.nntp
7 messages
7 total messages
Started by Ryu
Sat, 02 Aug 2003 04:33
How to make a "BLACK-LIST" in innd 2.3.2 ?
Author: Ryu
Date: Sat, 02 Aug 2003 04:33
Date: Sat, 02 Aug 2003 04:33
14 lines
1976 bytes
1976 bytes
I want to block some IP
dont let them come in my news server.
Can anyone teach me how to edit in readers.conf ?
Thanks * 1000
* ~ let us linux ~ *
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: How to make a "BLACK-LIST" in innd 2.3.2 ?
Author: Innocenti Maresin
Date: Sun, 03 Aug 2003 20:14
Date: Sun, 03 Aug 2003 20:14
39 lines
1934 bytes
1934 bytes
Ryu wrote:
> I want to block some IP
> dont let them come in my news server.
> Can anyone teach me how to edit in readers.conf ?
You want to know how to use a text editor?
I'm afraid you posted to wrong group :)
About readers.conf:
man readers.conf
is quite useful ;-)
This is some example:
auth "abusers" {
hosts: "207.46.128.0/17, 216.250.140.112, *.rogue.cancel.org"
default: "<keepout>"
}
access "abusers" {
users: "<keepout>@*"
newsgroups: !*
}
This will deny access to all newsgroups from named subnet, host and domain,
so any postings will not be possible.
--
qq~~~~\ [ ЗА IP БЕЗ ЦЕНЗУРЫ ]
/ /\ \
\ /_/ /
\____/
Re: How to make a "BLACK-LIST" in innd 2.3.2 ?
Author: Ryu
Date: Mon, 04 Aug 2003 01:06
Date: Mon, 04 Aug 2003 01:06
54 lines
2795 bytes
2795 bytes
oh.
thanks~
"Innocenti Maresin" <av95@comtv.ru> wrote in message
news:3F2D6D39.F66ADCCB@comtv.ru...
> Ryu wrote:
>
> > I want to block some IP
> > dont let them come in my news server.
> > Can anyone teach me how to edit in readers.conf ?
>
> You want to know how to use a text editor?
> I'm afraid you posted to wrong group :)
>
> About readers.conf:
> man readers.conf
> is quite useful ;-)
>
> This is some example:
>
> auth "abusers" {
> hosts: "207.46.128.0/17, 216.250.140.112, *.rogue.cancel.org"
> default: "<keepout>"
> }
>
> access "abusers" {
> users: "<keepout>@*"
> newsgroups: !*
> }
>
>
> This will deny access to all newsgroups from named subnet, host and
domain,
> so any postings will not be possible.
>
>
>
> --
> qq~~~~\ [ úá IP âåú ãåîúõòù ]
> / /\ \
> \ /_/ /
> \____/
>
>
>
* ~ let us linux ~ *
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: How to make a "BLACK-LIST" in innd 2.3.2 ?
Author: Ryu
Date: Mon, 04 Aug 2003 01:25
Date: Mon, 04 Aug 2003 01:25
29 lines
2333 bytes
2333 bytes
This is my readers.conf
auth "abusers" {
hosts: "202.64.205.122"
default: "<keepout>"
}
access "abusers" {
users: "<keepout>@*"
newsgroups: !*
}
auth * {
hosts: "*"
default: <LOCAL>
}
access full {
newsgroups: "*,!control,!control.*,!junk"
}
202.64.205.122 is my IP
why I can still read/write news after I set these in the config file ?
Thanks
* ~ let us linux ~ *
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: How to make a "BLACK-LIST" in innd 2.3.2 ?
Author: Russ Allbery
Date: Mon, 04 Aug 2003 02:08
Date: Mon, 04 Aug 2003 02:08
31 lines
1977 bytes
1977 bytes
Ryu <kenny@kennyma.net> writes:
> This is my readers.conf
> auth "abusers" {
> hosts: "202.64.205.122"
> default: "<keepout>"
> }
So this assigns a user of <keepout>.
> access "abusers" {
> users: "<keepout>@*"
> newsgroups: !*
> }
And this looks for <keepout>@ something. Nothing is adding an @ sign or
anything else to the identiy, so this of course doesn't match.
Plus, as explained in readers.conf, the last matching entry is used, so
all of that is completely ignored because you have:
> auth * {
> hosts: "*"
> default: <LOCAL>
> }
--
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 make a "BLACK-LIST" in innd 2.3.2 ?
Author: Innocenti Maresin
Date: Mon, 04 Aug 2003 11:07
Date: Mon, 04 Aug 2003 11:07
47 lines
2107 bytes
2107 bytes
Russ Allbery wrote:
> And this looks for <keepout>@ something. Nothing is adding an @ sign or
> anything else to the identiy, so this of course doesn't match.
This is from readers.conf of working INN 2.3.2:
# other users
auth "external" {
hosts: "*"
default: "<external>"
}
# others (disabled)
access "external" {
users: "<external>@*"
newsgroups: "!*"
}
Of course, syntax is very obscure,
but @ seeems to be added automatically.
> Plus, as explained in readers.conf, the last matching entry is used, so
> all of that is completely ignored because you have:
>
> > auth * {
> > hosts: "*"
> > default: <LOCAL>
> > }
Yes, you are absolutely right here.
I said, reading man is good :-)
--
qq~~~~\ [ ЗА IP БЕЗ ЦЕНЗУРЫ ]
/ /\ \
\ /_/ /
\____/
Re: How to make a "BLACK-LIST" in innd 2.3.2 ?
Author: Russ Allbery
Date: Mon, 04 Aug 2003 17:29
Date: Mon, 04 Aug 2003 17:29
32 lines
2045 bytes
2045 bytes
Innocenti Maresin <av95@comtv.ru> writes:
> This is from readers.conf of working INN 2.3.2:
> # other users
> auth "external" {
> hosts: "*"
> default: "<external>"
> }
So all connections get assigned an identity of <external>.
> access "external" {
> users: "<external>@*"
> newsgroups: "!*"
> }
This block doesn't match so it's ignored.
There are now no matching access blocks, so connections are refused from
those hosts.
> but @ seeems to be added automatically.
No, it really isn't.
--
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.
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