| ▲ | justinfrankel 11 hours ago | |||||||||||||||||||||||||||||||||||||
have multiple macOS machines with 600-1000+ day uptimes, which do TCP connections every minute or so at a minimum, they are still expiring their TIME_WAIT connections as normal. these kernel versions: Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_ARM64_T8101 arm64 Darwin Kernel Version 17.7.0: Wed Apr 24 21:17:24 PDT 2019; root:xnu-4570.71.45~1/RELEASE_X86_64 x86_64 so... wonder what that's about? | ||||||||||||||||||||||||||||||||||||||
| ▲ | justinfrankel 11 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
ah reading their analysis, there are errors that explain this. Particularly this:
timer wraps to a small number, they say
they forgot to wrap it there, it should be TSTMP_GEQ(4294960000, small_number)
wrong!There may be a short time period where this bug occurs, and if you get enough TCP connections to TIME_WAIT in that period, they could stick around, maybe. But I think the original post is completely overreacting and was probably written by a LLM, lol. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | comex 11 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
The bug was introduced only last year in macOS 26: https://github.com/apple-oss-distributions/xnu/blame/f6217f8... | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||