image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 1st, 2005, 01:49 PM
Registered User
 
Join Date: May 2001
Location: Italy
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Zeus is on a distinguished road
Question TCP Wrappers Question

HI ALL,

i 'm trying to set up TCP wrappers on mac os x.
I've a script that periodically scan my system.log looking for ssh illegal login attempt. It works fine.
Now i'd like to put blacklisted IPs in /etc/hosts.deny so that they can't login.

In /etc/hosts.allow i'd like to put the dyndns.org name of my ibook so that i'm sure i always can login.

----------HERE IS THE QUESTION. ----------------
What append if my IP is in the blacklist ? Will i be able to login ?
The unix man_page for host_access
(http://www.hmug.org/man/5/hosts_access.html) says:
"...The search stops at the first match..." But it don't tell wich file read for first.


Thanks a million for any one can help me !
__________________
Zeus
(filippo_zeus <at> tin <dot> it)
----------------
iBook G4 1000, 768 Ram, 40 Gb
(OSx 10.3.9 and OSx 10.4.2)
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:33 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.