Re: Tracking network traffic
Re: Tracking network traffic
- Subject: Re: Tracking network traffic
- From: Peter Sichel <email@hidden>
- Date: Tue, 3 Jun 2008 16:13:52 -0400
On Jun 3, 2008, at 12:31 PM, Vincent Lubet wrote:
dtrace enables access to private kernel data structures that
absolutely not part of a supported API. The private kernel data
structures may change with any build of the OS.
I read a similar warning recently about using Sysctl to access kernel
data structures such as the TCP PCB list. Is this also considered
private? Notice sysctl() is a common UNIX paradigm found in Stevens
"UNIX Network Programming".
If Sysctl() access to kernel data structures is also considered
private, what is the supported API to retrieve protocol and connection
statistics? [netstat?]
I'd appreciate any clarification around this.
- Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden