|
|
Eh, sure it does.
Hmm...on OS X 10.3, that statement is misleading. I've been using the hosts file ever since installation of Panther to block ads, etc, and it's worked fine. I believe in prior system versions you had to run some terminal magic to detach hosts from NetInfo, but now it's definitely a part of the check sequence.
Eh, sure it does.
Hm. Even after I "lookupd -flushcache", "host" still resolves to a real IP. Do I need to do something else to get the /etc/hosts config loaded? I seem to recall something about NetInfo too--maybe not applicable to Pantherl, but in any case it's not working.
other option? re: Eh, sure it does.
try adding to
'/etc/hosts.deny'I read this comment previously but gave it little attention as I keep 'load images' off anyway. However, using Webmin and playing around with PortSentry I excluded my test machine with the rule I had and ended up doing a web search to find where I was getting blocked. PortSentry with the config I chose (FreeBSD/Mac OS X) had added the IP to the 'hosts.deny' file and it did block all but file sharing and web access (not sure why those worked). This is the command to Kill the host from PortSentry KILL_ROUTE="route add -net $TARGET$ -netmask 255.255.255.255 127.0.0.1 -blackhole"However, please use only at your own risk NOT as recommendation. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.32 seconds |
|