Bug 45571
Summary: | The kernel disallows to reuse sockets which have TIME_WAIT pending connections | ||
---|---|---|---|
Product: | Networking | Reporter: | Artem S. Tashkinov (aros) |
Component: | IPV4 | Assignee: | Stephen Hemminger (stephen) |
Status: | RESOLVED DOCUMENTED | ||
Severity: | high | CC: | alan, manoj2patil, torvalds |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.winehq.org/show_bug.cgi?id=26031 | ||
Kernel Version: | 3.10 (all versions) | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Artem S. Tashkinov
2012-08-04 11:13:10 UTC
I don't think this is a bug - the re-use rules for an existing connection mean you can't re-use the same connection addressing for a time period. Should be discussed on netdev@vger.kernel.org if you think otherwise Linus, what do you think? I'm thinking that this bug is more than valid, since it's bolstered up by common sense. If nothing else is listening to incoming connections how can _old_ _stale_ connections prevent an application from listening on the port? Windows has no qualms about allowing that, why the Linux kernel works differently? I'm trying to think of any security implications (like a daemon died and another application reused its port, but 1) it's a rare situation 2) ports under 1024 are available for the root user only) and nothing comes to my mind. In short let me disagree. I will raise this topic on LKML if Linus doesn't reply here. The proper place for discussing this is netdev mailing list <netdev@vger.kernel.org>. LKML or Linus isn't going to care, and no one looks at bugzilla for discussion. The current socket API behavior is unlikely to be changed because so many applications expect it. i am using lentos 7.6 and wine 4.0 i have same issue please give solution |