• 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: ifnet_input problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ifnet_input problem


  • Subject: Re: ifnet_input problem
  • From: Kevin Brock <email@hidden>
  • Date: Fri, 24 Apr 2009 09:30:04 -0700

Michael Smith wrote:

On Apr 23, 2009, at 3:14 PM, Kevin Brock wrote:

If I do the same thing, but modify the TCP destination port so that it is headed for a different application, it fails.

Your description here is a bit brief, but I did want to ask the obvious; are you redirecting *all* of the TCP session to the new port, i.e. including the handshake?

Yes. The big problem is that even the SYN doesn't get there. I've debugged up to tcp_input(), but it doesn't make it as far as the call to tcp_output() which would generate the SYN ACK response.



As far as it's made it I can see that a) all of the IP header information was verified, and b) all of the TCP header information was verified.



If not, you might be having issues with the sequence numbers...

Since it starts from the SYN and I'm not changing packet sizes the sequence numbers won't be changing.



Kevin

_______________________________________________
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


  • Follow-Ups:
    • Re: ifnet_input problem
      • From: Terry Lambert <email@hidden>
References: 
 >ifnet_input problem (From: Kevin Brock <email@hidden>)
 >Re: ifnet_input problem (From: Michael Smith <email@hidden>)

  • Prev by Date: Re: ifnet_input problem
  • Next by Date: Re: ifnet_input problem
  • Previous by thread: Re: ifnet_input problem
  • Next by thread: Re: ifnet_input problem
  • Index(es):
    • Date
    • Thread