LinuxQuestions.org
Review your favorite Linux distribution.
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 06-03-2003, 07:39 AM   #1
Tigger
Member
 
Registered: May 2003
Posts: 168

Rep: Reputation: 30
hosts.allow


What should be in my hosts.allow file and what format should it be in eg. 192.168.1.6 mycomputername?

What does this file actually do?

I want to be able to receive mail from my linux red hat 8 box using outlook 2002 email client on a windows 2000 workstation which is on the lan

thanks again
 
Old 06-03-2003, 10:03 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Usually its in this format:

service: hostname: options

Basically its a way to allow particular hosts to perform certain services on your machine.

Say for instance if you wanted machineA with IP or 192.168.1.200 to be able to telnet on your machine you would have something like this:

in.telnetd: 192.168.1.200 : ALLOW

Or you can specify a whole domain if you wanted like:

in.telnetd: some-domain.org : ALLOW

This will probably lead to what does host.deny do, well, its just the opposite of basically this file does. You can deny certain hosts from services on your machine.

Hope this helps you understand a bit more about that file.
 
Old 06-03-2003, 06:02 PM   #3
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
thanks trickykid, it does help
 
Old 06-04-2003, 07:24 AM   #4
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
so, what would ipop3 be: in.ipop3d: 192.168.1.200 : ALLOW ??

thanks again
 
Old 06-04-2003, 07:38 AM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What distro do you use Tigger?
 
Old 06-04-2003, 07:41 AM   #6
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
sorry, what do yu mean by distro? Do you mean red hat 8.0 server?
 
Old 06-04-2003, 07:48 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
in.ipop3d: 192.168.1.200 : ALLOW
Syntax is <daemon>: <address|ranges listing>: <action>.
What you could do is read "man 5 hosts_access" first, because it gives a good description of what Libwrap/TCP Wrappers (that's /etc/hosts.{allow,deny} do.
 
Old 06-04-2003, 07:53 AM   #8
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
ok, thanks for that

This is of great help to me.
 
  


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 04:59 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