Re: How to intercept packets during handshake using Socket Filters in NKE?
Re: How to intercept packets during handshake using Socket Filters in NKE?
- Subject: Re: How to intercept packets during handshake using Socket Filters in NKE?
- From: eveningnick eveningnick <email@hidden>
- Date: Wed, 9 Feb 2011 15:31:06 +0200
>Is there any way to get the TCP parameters of a particular socket_t
>without using filters?
What is the problem with using filter in here?
>Is there any way of intercepting packets during handshake using
>Socket filters?
If you read the NKE doc, you would have noticed that "socket filters"
are high level entities, and they have callback functions like "on
connected" "on data received" "on attached". Recommend you to read it
again rather than just read code samples.
For low level things (like connection establishment details) you have
IP filters.
>But that could mean a ton of works and potentially buggy kernel extension.
Depends on you. Theres not so much mess there actually, apple provided
a neat wrapper around this stuff (unlike NDIS in windows).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden