Re: TCP Socket Filter and SSL problem
Re: TCP Socket Filter and SSL problem
- Subject: Re: TCP Socket Filter and SSL problem
- From: Terry Lambert <email@hidden>
- Date: Thu, 5 Jun 2008 16:25:56 -0700
On Jun 5, 2008, at 7:43 AM, Thorsten Kramp wrote:
Hello all,
I've written a TPC socket filter that I'm currently using only to
pass all incoming data to the user space and back without any
modifications. That is,
(1) the sf_data_in function copies the data from the mbufs (via
mbuf_copydata) and enqueues them into the control socket,
(2) the user-level process reads the data from the control socket
and simply writes them back,
(3) the ctl_send callback finally injects the data packet in new
mbufs back into the TCP stack.
This seems to work fine most of the time but fails with some SSL
(https) connections (even though it works fine with others). Can
anyone imagine why? Any help would be highly appreciated -- thanks
a lot in advance!
My guess would be a botched packet checksum or a difference in the
option bits.
The easiest way to find out for sure would be to compare the data you
got back with the data you sent up, including all portions of the
packet.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden