LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-04-2010, 06:11 AM   #1
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

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 192.168.2.102
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 192.168.2.102 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
ALL : 192.168.2.102 DENY
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
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

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

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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 10:01 AM.

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