The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

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 amon Security 1 01-24-2006 01:55 AM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 06:25 PM
/etc/hosts tamemi UNIX for Dummies Questions & Answers 2 04-04-2003 01:42 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2006
Registered User
 

Join Date: Jan 2006
Posts: 71
etc/hosts or something else??

I was wondering where in UNIX is file where I can delete hosts that can or ca not access UNIX machine

thanks in advance
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-24-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
Try using /var/adm/inetd.sec. This will allow you to set access control to your system. Check the man page for details.
Reply With Quote
  #3 (permalink)  
Old 01-24-2006
Registered User
 

Join Date: Jan 2006
Posts: 71
thanks but I have inet in folder /etc/inet/inetd.conf and there is in this folder

also I am trying with /etc/inet/routes and can I just delete

/usr/sbin/route add net 192.168.129 164.48.156.166 1 # Customer LAN
/usr/sbin/route add net 192.168.128 164.48.156.166 1 # Customer LAN
/usr/sbin/route add net 192.168.131 164.48.156.166 1 # Customer LAN
/usr/sbin/route add net 172.16.0 164.48.156.181 1 # VOMS21 VOMS22

one line or am I on right place??

thanks
Reply With Quote
  #4 (permalink)  
Old 01-24-2006
Registered User
 

Join Date: Jan 2006
Posts: 71
or does anyone know how to forbid certain group of IP addresses to access my UNIX machine
Reply With Quote
  #5 (permalink)  
Old 02-18-2006
Registered User
 

Join Date: Mar 2004
Location: Boise, Idaho, United States
Posts: 23
have you tried looking for the manpages of hosts.allow and hosts.deny yet? It's not exactly pan-unix, but it's a good solution,

short of setting up some firewalls rules I think you're just going to have to use this and a couple different methods in order to achieve the desired results...
Reply With Quote
  #6 (permalink)  
Old 02-20-2006
Registered User
 

Join Date: Feb 2005
Posts: 52
Hi!

Try using firewall (iptables). Lines like:
iptables -A INPUT -d ?address? -j DROP
define rules you need.

Files hosts.allow/deny are related (only) to services started by inetd and therefore after "suitable" settings sshd and httpd could be still accessible...
And purpose of /etc/hosts is completely different - it is something like static DNS.

Regards
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:22 PM.


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

Content Relevant URLs by vBSEO 3.2.0