Article View: news.software.nntp
Article #49811Re: IP banning INN 2.2.3
From: uhlar
Date: Fri, 12 Jan 2001 08:17
Date: Fri, 12 Jan 2001 08:17
37 lines
2925 bytes
2925 bytes
Rich Skrenta <skrenta@textport.net> wrote: -> =?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 I'd recommend use REJECT instead of deny, will bring down incoming ip traffic a little (and brings up outgoing, but much less) and ppl will know thay don't have to try it. you can also use some.local.net/netmask of course. IF freeBSD use something like ipfw add 10000 allow tcp from local.net/mask to any 119 in ipfw add 10010 unreach port tcp from any to any 119 in -- Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk uhlar@fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/ I feel like I'm diagonally parked in a parallel universe. --- Odchoz� zpr�va obsahuje viry. Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz). Verze: 6.0.217 / Virov� b�ze: 102 - datum vyd�n�: 1/12/2000
Technical Details
Message-ID:
<979287435.112452@virtual.nextra.sk>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!newsfeed.mesh.ad.jp!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-ge.switch.ch!news.nextra.ch!newsfeed1.online.no!nextra.com!virtual.nextra.sk.MISMATCH!news.nextra.sk!not-for-mailReferences:
<Pine.HPX.4.21.0101110840590.14416-100000@ask.diku.dk> <93kca6$u8u$1@feed.textport.net>Show Full Headers
Complete Article Headers
Message-ID: <979287435.112452@virtual.nextra.sk>
Subject: Re: IP banning INN 2.2.3
Date: Fri, 12 Jan 2001 08:17:15 +0000
From: uhlar@fantomas.sk
References: <Pine.HPX.4.21.0101110840590.14416-100000@ask.diku.dk> <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!newsfeed.mesh.ad.jp!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-ge.switch.ch!news.nextra.ch!newsfeed1.online.no!nextra.com!virtual.nextra.sk.MISMATCH!news.nextra.sk!not-for-mail
Newsgroups: news.software.nntp
Organization: NEXTRA Slovakia
Lines: 36
NNTP-Posting-Host: localhost.nextra.sk
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-Trace: virtual.nextra.sk 979287435 40805 127.0.0.1 (12 Jan 2001 08:17:15 GMT)
X-Complaints-To: abuse@nextra.sk
NNTP-Posting-Date: 12 Jan 2001 08:17:15 GMT
X-Echelon: GRU NSA GCHQ KGB CIA mossad nuclear conspiration war weapon spy agent bomb
User-Agent: tin/1.5.6-20000803 ("Dust") (UNIX) (Linux/2.2.18 (i586))
Cache-Post-Path: virtual.nextra.sk!unknown@work.fantomas.sk
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)