Article View: news.software.nntp
Article #50315Re: Linux7.0 innd/leafnode config
From: David E. Smith
Date: Tue, 30 Jan 2001 10:29
Date: Tue, 30 Jan 2001 10:29
37 lines
2335 bytes
2335 bytes
Last time, on the hit series news.software.nntp, miasmal shocked the world by saying: > Now, my next challenge is to restrict access.. From the examples you provided, I assume your goal is to prevent access from everywhere except 'localhost'? Just put something like this in /etc/hosts.allow: leafnode: LOCAL It's generally better to exclude everyone, and then only permit specific connections, than to try to go the other way round. Or, if you feel really ambitious (and enabled ipchains in your kernel), you could try something like this: ipchains -A input -p tcp -s localhost -d localhost nntp -j ACCEPT ipchains -A input -p tcp -s localhost nntp -d localhost -j ACCEPT ipchains -A input -l -p tcp -s any/0 -d any/0 nntp -j REJECT Mind you, I'm verging WAY off-topic for this group here. And the above might not work anyway, since I'm typing from memory... ...dave ---- David E. Smith, POB 515045, St. Louis MO 63151 http://www.technopagan.org/ dave@technopagan.org http://www.bureau42.com/ http://metadave.net/ "Retail gets weirder every year." -- Too Much Espresso Guy
Technical Details
Message-ID:
<v25659.0jj.ln@technopagan.org>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!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news-sjo.usenetserver.com!news-out.usenetserver.com!e420r-atl1.usenetserver.com.POSTED!not-for-mailReferences:
<952pjg$mfu$1@nic.com> <G7wtEy.MGn@presby.edu> <953sbb$oka$1@nic.com> <3li459.i3p.ln@technopagan.org> <955bli$141$1@dsl-64-192-239-157.telocity.com>Show Full Headers
Complete Article Headers
Message-ID: <v25659.0jj.ln@technopagan.org>
Subject: Re: Linux7.0 innd/leafnode config
Date: Tue, 30 Jan 2001 10:29:51 +0000
From: "David E. Smith" <dave@technopagan.org>
References: <952pjg$mfu$1@nic.com> <G7wtEy.MGn@presby.edu> <953sbb$oka$1@nic.com> <3li459.i3p.ln@technopagan.org> <955bli$141$1@dsl-64-192-239-157.telocity.com>
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!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news-sjo.usenetserver.com!news-out.usenetserver.com!e420r-atl1.usenetserver.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Bureau 42 Enterprises
User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (Linux/2.4.0 (i586))
Lines: 36
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Tue, 30 Jan 2001 06:20:05 EST