kern/71274: Frequent bind()/connect()'s assign same local
ports to different sockets
Maxim Konovalov
maxim at macomnet.ru
Thu Sep 2 00:20:23 PDT 2004
The following reply was made to PR kern/71274; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Dmitry Dvoinikov <dmitry at targeted.org>
Cc: bug-followup at freebsd.org
Subject: Re[2]: kern/71274: Frequent bind()/connect()'s assign same local
ports to different sockets
Date: Thu, 2 Sep 2004 11:11:36 +0400 (MSD)
On Thu, 2 Sep 2004, 13:05+0600, Dmitry Dvoinikov wrote:
> # sysctl net.inet.ip.portrange.randomized
> net.inet.ip.portrange.randomized: 1
Does switching it off help?
From ip(4):
Ports are allocated at random within the specified port range in order to
increase the difficulty of random spoofing attacks. In scenarios such as
benchmarking, this behavior may be undesirable. In these cases,
net.inet.ip.portrange.randomized can be used to toggle randomization off.
--
Maxim Konovalov
More information about the freebsd-bugs
mailing list