Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Mechanism of "Little Snitch's" Operation

Mechanism of "Little Snitch's" Operation
Thread Tools
dstaudigel
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Dec 20, 2005, 02:12 AM
 
I was just wondering where to start reading about how to implement a utility similar to Little Snitch... I want to be able to see incoming and outgoing network connections, and possibly be able to stop/reroute/etc them. Does this involve hard-core KEXT stuff? Does this involve some ettercap-style hacking?

Also, how can I get a list of SSH users, and the ability to boot them individually? How about similar services, HTTP, AFP, etc?

Thanks,

Daniel Staudigel
     
arcticmac
Dedicated MacNNer
Join Date: Apr 2004
Status: Offline
Reply With Quote
Dec 22, 2005, 04:29 PM
 
try tcpdump (command-line util) to get network info... I dunno if you want to write a gui for that or try to figure out how it does it's stuff (hey, it's opensource, right?), but that's probably a good starting point.
     
[APi]TheMan
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status: Offline
Reply With Quote
Jan 4, 2006, 12:59 PM
 
Originally Posted by dstaudigel
Also, how can I get a list of SSH users, and the ability to boot them individually? How about similar services, HTTP, AFP, etc?
Look into `last` and `lsof`...

tcpdump, as the previous poster commented, is a nice tool, however there are others like it that are more robust. Tools of that nature tune into a packet filtering device through the use of libpcap (I like `ngrep` and `ethereal`). I'm not sure if LittleSnitch does this too.
"In Nomine Patris, Et Fili, Et Spiritus Sancti"

     
   
Thread Tools
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 08:49 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,