🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Toni Maatta Mon, 03 Apr 2000 00:00
nnrp.access, ip-num and resolving
#45491
Author: Toni Maatta
Date: Mon, 03 Apr 2000 00:00
14 lines
1118 bytes
Hello,

Correct if I am wrong.
if I define eg. *.domain.com to nnrp.access, inn wants to resolve ip-address 
before making connection. This is the way how this works now in our news-
server.

if I want to accept connections by defining ip-address range to nnrp.access
does resolving still works? if not, can I make it work somehow? 

Thanks.
 - Toni Maatta 

Re: nnrp.access, ip-num and resolving
#45484
Author: Brad Knowles
Date: Mon, 03 Apr 2000 00:00
19 lines
1558 bytes
In article <8c9f2o$iv4$1@nntp.teliafi.net>, Toni Maatta 
<toni@teliafi.net> wrote:

> if I want to accept connections by defining ip-address range to 
> nnrp.access does resolving still works? if not, can I make it
> work somehow?

    If you list IP addresses, nnrpd will make no attempt to do reverse 
name resolution on the IP address.  If you want that, then list the 
sites to be allowed by domain name.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: nnrp.access, ip-num and resolving
#45488
Author: Russ Allbery
Date: Mon, 03 Apr 2000 00:00
21 lines
1426 bytes
Toni Maatta <toni@teliafi.net> writes:

> Correct if I am wrong.  if I define eg. *.domain.com to nnrp.access, inn
> wants to resolve ip-address before making connection. This is the way
> how this works now in our news-server.

Yes.

> if I want to accept connections by defining ip-address range to
> nnrp.access does resolving still works? if not, can I make it work
> somehow?

I'm not sure what you mean by "does resolving still work", but the answer
is almost certainly yes since nnrpd does all the hostname resolution
before ever starting to check permissions and always does the reverse
lookup.  It will log a warning message if the reverse lookup fails.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: nnrp.access, ip-num and resolving
#45500
Author: Russ Allbery
Date: Mon, 03 Apr 2000 00:00
15 lines
1304 bytes
Brad Knowles <brad@shub-internet.org> writes:

> If you list IP addresses, nnrpd will make no attempt to do reverse name
> resolution on the IP address.

This is not correct, so far as I can tell from reading the source.  nnrpd
does the reverse name resolution in StartConnection() before it ever calls
PERMinfile(), and PERMinfile() is what reads and parses nnrp.access.  So
there's no way for nnrpd to even know whether or not you've listed IP
addresses at the time it's doing the reverse DNS lookup.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

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