LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 06: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, 09:03 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 05:02 PM   #3
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
thanks trickykid, it does help
 
Old 06-04-2003, 06: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, 06: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, 06: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, 06:48 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 06: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



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 03:51 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 01:57 AM
hosts.allow / hosts.deny fistz Linux - Newbie 1 04-19-2001 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

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
Open Source Consulting | Domain Registration