Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-04-2010, 06:11 AM   #1
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: debian
Posts: 215

Rep: Reputation: 31
Thumbs down trouble with hosts.deny

Yesterday everything went fine.
i was playing some whit webmin/usermin and squirrelmail and want to set this to fetchmail (still dont now if this is going to work)

but today??

when i go to one of my apache aliases set.

i end up whit my desktop
inside hosts.deny file every time..

i now a DENY can also set inside hosts.allow

so how do i get rid of this hosts.deny file.

i did remove the file. but hosts.deny ending up denying my desktop again
and my hosts.allow file perfectly stays on remove

also when i put my inside hosts.allow i end up inside hosts.deny perfectly deny'ing ME.

webpage saing NOT-ALLOWED.

its a fileserver whit webinterfaces as sabnzb, torrentflux

so it can deny every outside ip adresses only when is set hosts.allow to allow one ip.
but they also end up inside hosts.deny

i only want to use hosts.allow to deny a host? manualy inside webmin or nano can this be done?

Also when i put ALLOW in stead of DENY inside the hosts.deny file
i end up whit a seccond rule
and deny'ing myself?

its UBUNTU Server Edition 9.10
Linux server 2.6.31-17-server #54-Ubuntu SMP Thu Dec 10 18:06:56 UTC 2009 x86_64 GNU/Linux
i already did remove TCPD and all the PYTHON-TCPWRAP utilities
hosts.deny still is coming back?
so like i said its a fileserver for the internal network.
whit download capability's throug webinterfaces

can anyone help me whit thisone
Old 02-04-2010, 07:42 AM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Obviously something on your machine keeps updating the hosts.deny file, so deleting it or changing it isn't going to help. You need to figure out what software is doing this, and fix it.
Old 02-04-2010, 02:27 PM   #3
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: debian
Posts: 215

Original Poster
Rep: Reputation: 31
so i heard hosts.deny is overruling hosts.allow? :|

when i put my desktop inside hosts.allow that should overrule hosts.deny's entry to i understand but it doesn't?

and i hear this is normal!

i already solved this thing. by removing Bastille Linux.

why should i use bastile for an internal network server! iptables does it perfectly.


deny, desktop, fedora, hostsdeny, server, trouble, ubuntu910

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't restrict sshd access through hosts.allow and hosts.deny but was working earlier farhan Linux - Security 4 04-18-2008 08:41 AM
Feisty: hosts.allow hosts.deny not present Thane Ubuntu 1 07-08-2007 02:16 PM
/etc/hosts.deny/hosts.allow have no effect on sshd access bganesh Linux - Security 4 05-04-2006 09:06 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 10:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration