LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2001, 10:28 AM   #1
lrjaynes
LQ Newbie
 
Registered: Feb 2001
Location: Syracuse, NY
Posts: 1

Rep: Reputation: 0
Question


I'm rather new, but quickly becoming familiar with, Linux.

We recently had an issue with a server we had co-located at a local ISP. For 3 weeks people outside our LAN and the regional TW Roadrunner network were unable to connect to this server.

The problem turned out to be a problem with the hosts.allow file. Apparently, as the TS guy in our office eloquently put it, 'the first line in the hosts.allow file somehow got clobbered."

This line happened to be
in.ftp:All

Apparently the 'in.' portion was missing.

More lines below were set up to specifically allow access to our LAN and twcny.rr,com, explaining why we could access it but the rest of the world could not.

My question is this:

is there any way this line could accidentally be 'clobbered' unless you were logged in as root and specifically modifying the hosts.allow file?

TIA for any insight.
 
Old 02-06-2001, 05:38 PM   #2
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
You have to have root-permissions to do that!
Okay, there are programms like portsentry that can change your host.deny, but not your host.allow.
So, it looks to me like someone did some misconfiguration on that file ;-)



Quote:
Originally posted by lrjaynes
I'm rather new, but quickly becoming familiar with, Linux.

We recently had an issue with a server we had co-located at a local ISP. For 3 weeks people outside our LAN and the regional TW Roadrunner network were unable to connect to this server.

The problem turned out to be a problem with the hosts.allow file. Apparently, as the TS guy in our office eloquently put it, 'the first line in the hosts.allow file somehow got clobbered."

This line happened to be
in.ftp:All

Apparently the 'in.' portion was missing.

More lines below were set up to specifically allow access to our LAN and twcny.rr,com, explaining why we could access it but the rest of the world could not.

My question is this:

is there any way this line could accidentally be 'clobbered' unless you were logged in as root and specifically modifying the hosts.allow file?

TIA for any insight.
 
  


Reply


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
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 04:51 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
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 02:57 AM
hosts.allow / hosts.deny fistz Linux - Newbie 1 04-19-2001 08:00 PM


All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration