Rui Paulo 1cf6e4f5ff Change the default port range for outgoing connections by introducing
IPPORT_EPHEMERALFIRST and IPPORT_EPHEMERALLAST with values
10000 and 65535 respectively.
The rationale behind is that it makes the attacker's life more
difficult if he/she wants to guess the ephemeral port range and
also lowers the probability of a port colision (described in
draft-ietf-tsvwg-port-randomization-01.txt).

While there, remove code duplication in in_pcbbind_setup().

Submitted by:	Fernando Gont <fernando at gont.com.ar>
Approved by:	njl (mentor)
Reviewed by:	silby, bms
Discussed on:	freebsd-net
2008-03-04 19:16:21 +00:00
..
2008-03-03 10:12:46 +00:00
2007-12-02 13:00:47 +00:00
2007-03-24 22:15:02 +00:00
2008-03-02 08:40:47 +00:00
2007-09-24 05:26:24 +00:00
2007-07-10 09:30:46 +00:00