Nayana Bidari and gVisor bot
51723ede44
Support the SO_MARK socket option and Netfilter mark matching.
...
- This change enables sockets to set and get the `SO_MARK` option, which marks
outgoing packets.
- It also implements Netfilter (iptables) support for matching
packet marks using the `mark` match extension.
- Added unit and E2E tests to verify mark match and capabilities.
PiperOrigin-RevId: 938123591
2026-06-25 12:16:10 -07:00
Andrei Vagin
67266e9403
Fix a few typos
2025-01-29 21:16:51 -08:00
Ayush Ranjan and gVisor bot
f6263c38df
Remove VFS1 special handling in tests.
...
Also clean up usage of GVISOR_VFS environment variable.
Updates #1624
PiperOrigin-RevId: 429100450
2022-02-16 11:41:51 -08:00
Ghanan Gowripalan and gVisor bot
129cc47c63
Move socket_test_util to //test/util
...
...and rename the library to socket_util.
PiperOrigin-RevId: 386348306
2021-07-22 16:37:15 -07:00
Fabricio Voznika and gVisor bot
3fe6a879b2
Remove side effect from test cases
...
Restore capabilities for tests that need to change them.
PiperOrigin-RevId: 371007047
2021-04-28 16:22:24 -07:00
Rahat Mahmood and gVisor bot
015d0a94c7
Correctly set the test VFS environment variable.
...
Also fix test bugs uncovered now that they aren't silently skipped on
VFS2.
Updates #1487 .
PiperOrigin-RevId: 316415807
2020-06-15 01:09:38 -07:00