git: inet/inet6: Don't allow different users to bind to the same port

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Dec 26 23:49:07 PST 2014


commit 0323d5fde12a446383fba8545160f0da38ebd43e
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Dec 25 19:34:38 2014 +0800

    inet/inet6: Don't allow different users to bind to the same port
    
    It is really wrong to allow different users to bind to the same port,
    if the original 'reuseport' binding is using wildcard address and the
    new binding is also using wildcard address; this serves no purpose and
    imposes security risk (port theft).

Summary of changes:
 sys/netinet/in_pcb.c   | 3 ---
 sys/netinet6/in6_pcb.c | 3 ---
 2 files changed, 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0323d5fde12a446383fba8545160f0da38ebd43e


-- 
DragonFly BSD source repository



More information about the Commits mailing list