[Pythonmac-SIG] Python solution to monitor your internet connection?

W.T. Bridgman wtbridgman at radix.net
Thu Jan 22 17:41:10 EST 2004


Bob,

Then could I assume that you regard 'LittleSnitch' as a worthwhile 
program for such a task?

Tom
On Tuesday, January 20, 2004, at 08:07  AM, Bob Ippolito wrote:
> On Jan 20, 2004, at 7:34 AM, Jack Jansen wrote:
>> I don't think you have to be *that* gross. The ipfirewall device (see 
>> man 4 firewall) can probably be used to make all packets be given to 
>> your code for inspection. But still I don't think I'd want to do this 
>> in Python because of the overhead.
>
> It's extremely important to know the pid the packet came from in this 
> sort of application, so that interface won't cut it.  Little Snitch 
> uses a kext.
>
> (kextstat output -- little snitch isn't even active at the moment, I 
> guess it stays resident)
>    86    0 0x2fa51000 0xe000     0xd000     at.obdev.KUC (1.1.1) <10>
>
> (the startup item is probably a replicant of what is in the pref 
> pane..)
> /Library/StartupItems/LittleSnitch/Resources/ODKUControl.kext
> /Library/PreferencePanes/Little 
> Snitch.prefPane/Contents/Resources/ODKUControl.kext
>
>
> -bob
> <smime.p7s>




More information about the Pythonmac-SIG mailing list