Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Processing all TCP/UDP streams



On Wed, 31 Jan 2001, David Rehring wrote:

> Is there a clean way in Darwin/Mac OS X to process all TCP/UDP streams so
> all data sent/received by regular UNIX applications, as well as
> Cocoa/Carbon/Classic can be processed.

The Berkeley packet filter (bpf) may be what you are after. Here you
have access to ALL network traffic, not just TCP/IP.

% man bpf

NAME
bpf - Berkeley Packet Filter

SYNOPSIS
pseudo-device bpfilter 16

DESCRIPTION
The Berkeley Packet Filter provides a raw interface to
data link layers in a protocol independent fashion.

[....]


-john


References: 
 >Processing all TCP/UDP streams (From: David Rehring <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.