|
Prev: Recording BBC radio
Next: Wanadoo
From: philicorda on 3 Aug 2005 14:28 Does anyone know how to get hosts.deny to work? I can put ALL : ALL in there and it does nothing. I've tried restarting network, rebooting etc. I'm using Fedora Core 4.
From: Simon Waters on 3 Aug 2005 18:28 philicorda wrote: > Does anyone know how to get hosts.deny to work? > I can put ALL : ALL in there and it does nothing. > I've tried restarting network, rebooting etc. > I'm using Fedora Core 4. Whats in /etc/hosts.allow ? Suggest posting both files, and naming the service you are testing on.
From: Unruh on 4 Aug 2005 03:53 philicorda <philicorda(a)localhost.com> writes: >Does anyone know how to get hosts.deny to work? >I can put ALL : ALL in there and it does nothing. >I've tried restarting network, rebooting etc. >I'm using Fedora Core 4. It never does anything. Programs which are compiled with libwrappers read first hosts.allow and then hosts.deny. The first match is the operative one. Thus if the program does not use libwrapper, theose files are irrelevant. If the computer is listed in hosts.allow, the deny file is irrelevant.
From: philicorda on 4 Aug 2005 07:55 On Thu, 04 Aug 2005 07:53:09 +0000, Unruh wrote: > philicorda <philicorda(a)localhost.com> writes: > >>Does anyone know how to get hosts.deny to work? >>I can put ALL : ALL in there and it does nothing. >>I've tried restarting network, rebooting etc. >>I'm using Fedora Core 4. > > It never does anything. Programs which are compiled with libwrappers read > first hosts.allow and then hosts.deny. The first match is the operative > one. > Thus if the program does not use libwrapper, theose files are irrelevant. > If the computer is listed in hosts.allow, the deny file is irrelevant. Doh. Thanks the for the replys. I was trying to adblock sites with entries like this..... ALL : ALL ALL: .ad.doubleclick. ALL: .red.as-us.falkag. ALL: .m.2mdn. ALL: .m2.2mdn. ALL: .doubleclick. ALL: .amch.questionmarket. ALL: .creatives.doubleclick. ALL: .a.as-us.falkag. ALL: .slashdot. But I think I misunderstood what hosts.deny does. Do I need to be running a proxy server use hosts.deny to do blocking ads? The ALL : ALL does successfully stop ssh and ftp etc.
From: philicorda on 4 Aug 2005 07:56
> But I think I misunderstood what hosts.deny does. Do I need to be running > a proxy server use hosts.deny to do blocking ads? The ALL : ALL does > successfully stop ssh and ftp etc. Oh, and hosts.allow is empty. |