APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > foo-mac > Blocking outgoing internet connections
Printer Friendly Version






Blocking outgoing internet connections

Fortunately the Mac world doesn't see as much of this as the poor Windows users do, but any application can open up a connection back to its home base. That may be for legitimate reasons, but "phoning home" can have its darker side.

You can see what's happening with your internet connections by using "lsof":

 $ lsof -i
 COMMAND     PID USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
 firefox-b   935  apl    9u  IPv4 0x02cff7d4      0t0  TCP 10.1.3.203:60047->64.233.163.83:http (ESTABLISHED)
 firefox-b   935  apl   43u  IPv4 0x0288d50c      0t0  TCP 10.1.3.203:57001->94.70-84-79.reverse.theplanet.com:http (CLOSED)
 firefox-b   935  apl   50u  IPv4 0x0288ef58      0t0  TCP localhost:51780->localhost:51779 (TIME_WAIT)
 firefox-b   935  apl   52u  IPv4 0x02d00098      0t0  TCP 10.1.3.203:60119->63.146.109.92:http (ESTABLISHED)
 firefox-b   935  apl   54u  IPv4 0x02cb4c48      0t0  TCP 10.1.3.203:60121->64.233.167.147:http (ESTABLISHED)
 firefox-b   935  apl   57u  IPv4 0x02d0150c      0t0  TCP 10.1.3.203:60129->63.146.109.92:http (ESTABLISHED)
 pipedaemo  1026  apl    4u  IPv4 0x019f77f8      0t0  TCP *:9502 (LISTEN)
 ssh        4490  apl    3u  IPv4 0x02cb9ac0      0t0  TCP 10.1.3.203:59733->10.1.3.205:ssh (ESTABLISHED)
 ssh       11900  apl    3u  IPv4 0x02cb4f34      0t0  TCP 10.1.3.203:60114->unixish.com:ssh (ESTABLISHED)
 
 

Firefox has a few pages open and I have an ssh to another machine. Nothing to be concerned about here. But I'm not watching "lsof" all day long, so that's where a really good firewall good help. The built in Mac firewall could do this (though not from the GUI interface), as could a number of commercial external firewalls, but neither of those are convenient. Little Snitch from Objective Development ($ 24.95) is a GUI port blocker that can prevent undesired chats with other servers.


Technorati tags:


If this page was useful to you, please click to help others find it:  
Your +1's can help friends, contacts, and others on the web find the best stuff when they search.


Comments?




More Articles by Tony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.
Kerio Connect Mailserver

Kerio Control Firewall

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




Buy Kerio from a dealer who knows tech: I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals
pavatar.jpg

This post tagged:

       - MacOSX
       - Security




Unix/Linux Consultants

Skills Tests

Guest Post Here