wireguard-go/conn
Jason A. Donenfeld 8246d251ea conn: windows: do not error out when receiving UDP jumbogram
If we receive a large UDP packet, don't return an error to receive.go,
which then terminates the receive loop. Instead, simply retry.

Considering Winsock's general finickiness, we might consider other
places where an attacker on the wire can generate error conditions like
this.

Reported-by: Sascha Dierberg <sascha.dierberg@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-04-26 22:07:03 -04:00
..
bindtest all: make conn.Bind.Open return a slice of receive functions 2021-04-02 11:07:08 -06:00
winrio winrio: test that IOCP-based RIO is supported 2021-04-09 14:26:08 -06:00
bind_linux.go conn: reconstruct v4 vs v6 receive function based on symtab 2021-04-12 15:35:32 -06:00
bind_std.go conn: reconstruct v4 vs v6 receive function based on symtab 2021-04-12 15:35:32 -06:00
bind_windows.go conn: windows: do not error out when receiving UDP jumbogram 2021-04-26 22:07:03 -04:00
boundif_android.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
conn.go conn: reconstruct v4 vs v6 receive function based on symtab 2021-04-12 15:35:32 -06:00
default.go conn: implement RIO for fast Windows UDP sockets 2021-02-25 15:08:08 +01:00
mark_default.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
mark_unix.go conn: make binds replacable 2021-02-23 20:00:57 +01:00