gVisor bot
2c2622b942
Merge pull request #1975 from nybidari:iptables
...
PiperOrigin-RevId: 300362789
2020-03-11 11:02:04 -07:00
Nayana Bidari
43abb24657
Fix panic caused by invalid address for Bind in packet sockets.
...
PiperOrigin-RevId: 298476533
2020-03-02 16:31:52 -08:00
Nayana Bidari
abf7ebcd38
Internal change.
...
PiperOrigin-RevId: 297638665
2020-02-27 11:00:41 -08:00
Kevin Krakauer
072af49059
Add check for proper settings to AF_PACKET tests.
...
As in packet_socket_raw.cc, we should check that certain proc files are set
correctly.
PiperOrigin-RevId: 276384534
2019-10-23 17:21:12 -07:00
Kevin Krakauer
12235d533a
AF_PACKET support for netstack (aka epsocket).
...
Like (AF_INET, SOCK_RAW) sockets, AF_PACKET sockets require CAP_NET_RAW. With
runsc, you'll need to pass `--net-raw=true` to enable them.
Binding isn't supported yet.
PiperOrigin-RevId: 275909366
2019-10-21 13:23:18 -07:00
Kevin Krakauer
543492650d
Make raw socket tests pass in environments with or without CAP_NET_RAW.
...
PiperOrigin-RevId: 271442321
2019-09-26 15:09:20 -07:00
Kevin Krakauer
ef045b914b
Add tests for "cooked" AF_PACKET sockets.
...
PiperOrigin-RevId: 263666789
2019-08-15 16:31:35 -07:00