Files
gvisor/pkg
Kevin Krakauer 32b823fcdb netstack: parse incoming packet headers up-front
Netstack has traditionally parsed headers on-demand as a packet moves up the
stack. This is conceptually simple and convenient, but incompatible with
iptables, where headers can be inspected and mangled before even a routing
decision is made.

This changes header parsing to happen early in the incoming packet path, as soon
as the NIC gets the packet from a link endpoint. Even if an invalid packet is
found (e.g. a TCP header of insufficient length), the packet is passed up the
stack for proper stats bookkeeping.

PiperOrigin-RevId: 315179302
2020-06-07 13:38:43 -07:00
..
2020-05-29 11:52:22 -07:00
2020-01-27 12:21:00 -08:00
2020-05-28 14:49:06 -07:00
2020-01-27 12:21:00 -08:00
2020-04-01 10:00:03 -07:00
2020-01-27 12:21:00 -08:00
2020-01-27 12:21:00 -08:00
2020-02-25 13:37:34 -08:00
2020-02-25 13:37:34 -08:00
2020-05-13 04:35:47 -04:00
2020-04-03 18:35:55 -07:00
2020-01-27 12:21:00 -08:00
2020-04-21 09:36:43 -07:00
2020-02-06 10:07:45 -08:00
2020-05-29 15:44:07 -07:00
2020-01-27 12:21:00 -08:00
2020-01-27 12:21:00 -08:00
2020-05-29 15:44:07 -07:00
2020-05-29 15:44:07 -07:00
2020-05-29 15:44:07 -07:00
2020-01-27 12:21:00 -08:00
2020-01-27 12:21:00 -08:00
2020-01-27 12:21:00 -08:00
2020-01-27 12:21:00 -08:00