New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.3 - Block host?


Post Reply New Thread Subscribe

 
Thread Tools
Rabbit

 
Rabbit's Avatar
 
Member Since: Aug 13, 2007
Posts: 91
Rabbit is an unknown at this point

Rabbit is offline
So I have this weird host from Germany connecting to me after looking at StreamWatcher for a bit. I googled it and it seems to be a vhost for a shell hosting company. How could I block that host? My software firewall is on by the way. I also use IRC, but that isn't the same host.

QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
What are they trying to do?
The built in firewall should handle that... or are you behind a router?
QUOTE Thanks
Rabbit

 
Rabbit's Avatar
 
Member Since: Aug 13, 2007
Posts: 91
Rabbit is an unknown at this point

Rabbit is offline
I was trying to block a certain host from connecting to me. I found a solution though:

Open up Terminal (Apps --> Utilites folder)
Type sudo cp /etc/hosts /etc/hosts.backup
sudo pico /etc/hosts
Add a line similar to this for each host you want to block (excellent for ads): 127.0.0.1 Host.You.Want.To.Block.td
Press Ctrl + x
Press Y to save
Press enter to confirm file name
Exit terminal and try it out

QUOTE Thanks
wytey

 
Member Since: Sep 25, 2007
Location: UK
Posts: 61
wytey is on a distinguished road
Mac Specs: MBP 15" 2.4GHz 4Gb OCZ RAM

wytey is offline
excellent

custom hosts file on XP was great for just that purpose , so looks like I can just migrate it from XP to OSX

for the curious

http://www.mvps.org/winhelp2002/hosts.htm
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
Editing your hosts file doesn't block a host from contacting you (inbound)... that edits the outbound behavior.

After editing your hosts file, remember to flush the computer's dns cache. In Terminal:

Code:
lookupd -flushcache
QUOTE Thanks
wytey

 
Member Since: Sep 25, 2007
Location: UK
Posts: 61
wytey is on a distinguished road
Mac Specs: MBP 15" 2.4GHz 4Gb OCZ RAM

wytey is offline
was referring to the ads part

sorry :p

the router and firewall handles the inbound fine
QUOTE Thanks

Post Reply New Thread Subscribe


« Possible to set the output lower then 60hz? | Battery Update 1.3 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to Block a Sender (email)? txind76 OS X - Apps and Games 6 01-19-2009 10:12 AM
How to block programs? drinkayard OS X - Apps and Games 3 07-17-2007 05:05 PM
How can I block certain websites? deathtolife04 OS X - Apps and Games 1 05-29-2007 06:59 PM
Host File egandolfi Internet, Networking, and Wireless 5 01-25-2007 11:06 PM
Looking for a new host Slokunshialgo Web Design and Hosting 14 01-06-2007 12:02 PM

All times are GMT -4. The time now is 05:32 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?