• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TCP Socket Filter and SSL problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >TCP Socket Filter and SSL problem (From: Thorsten Kramp <email@hidden>)

  • Prev by Date: TCP Socket Filter and SSL problem
  • Next by Date: question about lo_unix_scall
  • Previous by thread: TCP Socket Filter and SSL problem
  • Next by thread: question about lo_unix_scall
  • Index(es):
    • Date
    • Thread