• Alexey Borzenkov's avatar
    syscall: workaround accept() bug on Darwin · 5197fa80
    Alexey Borzenkov authored
    Darwin kernels have a bug in accept() where error result from
    an internal call is not checked and socket is accepted instead
    of ECONNABORTED error. However, such sockets have no sockaddr,
    which results in EAFNOSUPPORT error from anyToSockaddr, making
    Go http servers running on Mac OS X easily susceptible to
    denial of service from simple port scans with nmap.
    Fixes #3849.
    
    R=golang-dev, adg, mikioh.mikioh
    CC=golang-dev
    https://golang.org/cl/6456045
    5197fa80
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...