Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 07:20:22 GMT
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re[2]: kern/71274: Frequent bind()/connect()'s assign same local ports to different sockets
Message-ID:  <200409020720.i827KMEb091939@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/71274; it has been noted by GNATS.

From: Maxim Konovalov <maxim@macomnet.ru>
To: Dmitry Dvoinikov <dmitry@targeted.org>
Cc: bug-followup@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409020720.i827KMEb091939>