The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/hosts via ssh KeesH AIX 23 02-26-2007 03:32 PM
Hosts.allow and hosts.deny huddlestonsnk UNIX for Dummies Questions & Answers 1 10-18-2006 08:34 AM
etc/hosts or something else?? amon IP Networking 5 02-20-2006 12:05 PM
etc/hosts amon Security 1 01-24-2006 01:55 AM
hosts.deny "mailing thing" beo UNIX for Advanced & Expert Users 2 10-05-2001 02:35 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2005
Registered User
 

Join Date: Aug 2005
Posts: 2
hosts.allow & hosts.deny

Hi!

Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is:

hosts.allow

ALL:127.0.0.1
ALL:xxx.xxx.xxx.xxx
ALL:xxx.xxx.xxx.xxx
ALL:xxx.xxx.xxx.xxx
ALL:xxx.xxx.xxx.xxx

hosts.deny

ALL:ALL

But i can access my server from anywhere in the intranet, what im doing wrong??

Iīm using Solaris9


Thanks!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-18-2005
Karma's Avatar
Registered User
 

Join Date: Jun 2003
Location: Canada
Posts: 142
iirc, the hosts.* files are for x/inetd control. If you are running your daemons in standalone mode, afaik, these files have no effect. Look into iptables or whatever solaris' equivalent may be.
Reply With Quote
  #3 (permalink)  
Old 08-18-2005
Registered User
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
Are you just putting the files there, or is tcp wrappers installed?
__________________
[url=http://chuckb.1le.net/]My website[/url]
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0