🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12062

Re: INN: Can I make reverse DNS lookups mandatory?

#12062
From: Steve Howie
Date: Mon, 04 Nov 1996 00:00
31 lines
1869 bytes
Dave Barr <barr@math.psu.edu> wrote:
: In article <55lg3q$58h@news.islandnet.com>,
: Mark Morley <mark@islandnet.com> wrote:
: >I am wondering if there is a way to require that incoming NNRP connections
: >have a valid host name.  I currently grant access to our news server to
: >entire blocks of class C addresses, but I want to reject any connections
: >that fail a reverse lookup (like you can do on an FTP server for example).
: >
: >Is this possible to do with INN1.4unoff4?

: Sure, if you're willing to hack the code.  It should be fairly
: easy.  See the Address2Name() function calls in nnrpd.c.

If you have NNRP_GETHOSTBYADDR  set to DO in your config file, nnrpd will 
log a message if the reverse lookup fails. As Dave said, hacking this 
subroutine should let you disallow these connections

-- 
Scotty
=================================================================
Steve Howie                             Email:  showie@uoguelph.ca
NetNews and Listserv Admin.             Phone:  (519) 824-4120 x2556
Computing and Communications Svcs.      Fax:    (519) 763-6143
University of Guelph

If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP
=================================================================


Technical Details
Message-ID: <55lnhv$g2c@ccshst05.cs.uoguelph.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <55lg3q$58h@news.islandnet.com> <55li8f$bqf@augusta.math.psu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <55lnhv$g2c@ccshst05.cs.uoguelph.ca>
Subject: Re: INN: Can I make reverse DNS lookups mandatory?
Date: Mon, 04 Nov 1996 00:00:00 +0000
From: Steve Howie <showie@uoguelph.ca>
References: <55lg3q$58h@news.islandnet.com> <55li8f$bqf@augusta.math.psu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 194413728
Distribution: inet
Organization: University of Guelph
Newsgroups: news.software.nntp