Yaroslav Tykhiy
4658dc8325
When checking for possible port theft, skip over a TCP inpcb
...
unless it's in the closed or listening state (remote address
== INADDR_ANY).
If a TCP inpcb is in any other state, it's impossible to steal
its local port or use it for port theft. And if there are
both closed/listening and connected TCP inpcbs on the same
localIP:port couple, the call to in_pcblookup_local() will
find the former due to the design of that function.
No objections raised in: -net, -arch
MFC after: 1 month
2004-05-20 06:35:02 +00:00
..
2004-04-02 17:57:57 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2003-11-08 23:36:32 +00:00
2004-04-25 15:00:17 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-14 01:13:14 +00:00
2003-10-07 17:46:18 +00:00
2004-05-20 06:35:02 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2003-11-20 20:07:39 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-02-25 19:55:29 +00:00
2004-03-03 01:33:22 +00:00
2004-02-25 19:55:29 +00:00
2003-10-29 15:07:04 +00:00
2003-10-29 15:07:04 +00:00
2004-03-10 02:48:50 +00:00
2004-05-06 18:46:03 +00:00
2004-04-23 14:28:38 +00:00
2004-04-23 14:28:38 +00:00
2004-03-22 16:04:43 +00:00
2004-05-07 01:24:53 +00:00
2004-04-07 20:46:16 +00:00
2004-02-26 03:53:54 +00:00
2004-05-06 18:46:03 +00:00
2004-03-08 07:47:27 +00:00
2004-04-07 20:46:16 +00:00
2004-05-11 19:14:44 +00:00
2004-05-06 18:46:03 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2003-08-07 18:17:43 +00:00
2004-03-08 07:45:32 +00:00
2004-05-04 02:11:47 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-23 13:54:28 +00:00
2004-05-02 15:10:17 +00:00
2004-05-04 02:11:47 +00:00
2004-05-02 15:10:17 +00:00
2004-04-07 20:46:16 +00:00
2004-05-04 02:11:47 +00:00
2004-05-04 02:11:47 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-05-04 02:11:47 +00:00
2004-04-07 20:46:16 +00:00
2004-04-26 02:56:31 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-05-04 02:11:47 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00