Article View: news.software.nntp
Article #49796Re: IP banning INN 2.2.3
From: Rich Skrenta
Date: Thu, 11 Jan 2001 13:26
Date: Thu, 11 Jan 2001 13:26
18 lines
1604 bytes
1604 bytes
=?iso-8859-1?Q?Rasmus_B=F8g_Hansen?= <moffe@diku.dk> writes: > I have setup a Redhat 7.0 machine with INN 2.2.3 for my subnet. However I > do not want people from outside to connect - I see lots of 'Curious NNTP > explorers' - and I want to disallow all connections from non-local IP's. In this case I would use ipchains to install firewall rules for the port, in addition to the protection that INN provides by itself. Something possibly like: /sbin/ipchains -A input -p tcp -s 127.0.0.1 -d 0/0 119 -j ACCEPT /sbin/ipchains -A input -p tcp -s some.local.host -d 0/0 119 -j ACCEPT /sbin/ipchains -A input -p tcp -s another.local.host -d 0/0 119 -j ACCEPT /sbin/ipchains -A input -p tcp -d 0/0 119 -j DENY installed in /etc/rc.d/rc.local prior to innd start should do it.
Technical Details
Message-ID:
<93kca6$u8u$1@feed.textport.net>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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!feed.textport.net!not-for-mailReferences:
<Pine.HPX.4.21.0101110840590.14416-100000@ask.diku.dk>Show Full Headers
Complete Article Headers
Message-ID: <93kca6$u8u$1@feed.textport.net> Subject: Re: IP banning INN 2.2.3 Date: Thu, 11 Jan 2001 13:26:30 +0000 From: skrenta@textport.net (Rich Skrenta) References: <Pine.HPX.4.21.0101110840590.14416-100000@ask.diku.dk> 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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!feed.textport.net!not-for-mail Newsgroups: news.software.nntp Organization: Textport Lines: 17 X-Trace: feed.textport.net 979219590 31006 127.0.0.1 (11 Jan 2001 13:26:30 GMT) X-Complaints-To: abuse@textport.net