Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3434242
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:40:28+00:00 2026-05-18T07:40:28+00:00

A Mac OSX network client I’m working on sometimes having trouble connecting to an

  • 0

A Mac OSX network client I’m working on sometimes having trouble connecting to an HTTPS port. Looking at the network trace, we’re seeing this:

T0.0 client:port -> server:443 SYN
T0.1 server:443 -> client:port SYN, ACK
T3.1 server:443 -> client:port SYN, ACK
T6.1 server:443 -> client:port RST

The 3 second delay matches the TCP timeout for retrying on a failed SYN/ACK, so that’s expected. But what is incredible here is that the client never responds with ACK or RST. When the client tries to login a second time, it is successful. This problem reproduces on many first attempts to connect. There are other HTTPS connections from this program going on at the same time, and they appear to be fine in the network traces.

My suspicion is that there is a race condition causing the socket to sometimes be incorrectly managed. But so far I’ve been unable to recreate this in any code but the impacted client (which is a very large and complicated piece of software). Even using nmap and hping3 to hand-craft the packets, the client always sends at least a RST.

Is there any way to configure (intentionally or by mistake) a socket like this in userland code so it doesn’t respond to SYN/ACK?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:40:28+00:00Added an answer on May 18, 2026 at 7:40 am

    No, there is no way to configure a TCP socket in user land to ignore a SYN/ACK except to close it, which would provoke an outgoing RST in response to the incoming SYN/ACK. It is sounding like a kernel bug to me. I’m wondering about all these connections though. You should be making maximum use of HTTP keep alive to minimize the number of new connections per unit time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on porting a windows-only application to Linux, and eventually to Mac OSX.
I'm looking to develop a small application on Mac OSX and it will need
Let me preface this question by saying I use TextMate on Mac OSX for
I'd like to start experimenting with Cocoa and programming for Mac OSX. I'm not
How do I set up a shell script to execute from the Mac OSX
I know there is an on-screen keyboard which you can access on Mac OSX,
I'm working on a network-related project and I am using DTLS (TLS/UDP) to secure
Mac OS X ships with apache pre-installed, but the files are in non-standard locations.
On Mac OS X 10.5 I downloaded the latest version of Apache 2.2.9. After
On Mac OS X, you can create a zip archive from the Finder by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.