From 0743a862e5e90368291ad4ef9061f3c4ca3a065f Mon Sep 17 00:00:00 2001
From: Bhasker Hariharan <bhaskerh@google.com>
Date: Thu, 7 Oct 2021 16:29:09 -0700
Subject: Update compat list for tcpdump.

A libpcap change broke tcpdump support in gvisor. As a result tcpdump
w/ libpcap> 1.10 fails with gvisor.

Updates #6664, #6699

PiperOrigin-RevId: 401633061
---
 g3doc/user_guide/compatibility.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'g3doc/user_guide')

diff --git a/g3doc/user_guide/compatibility.md b/g3doc/user_guide/compatibility.md
index 76e879a01..ef50c0147 100644
--- a/g3doc/user_guide/compatibility.md
+++ b/g3doc/user_guide/compatibility.md
@@ -42,6 +42,9 @@ Most common utilities work. Note that:
 
 *   Some tools, such as `tcpdump` and old versions of `ping`, require explicitly
     enabling raw sockets via the unsafe `--net-raw` runsc flag.
+    *   In case of tcpdump the following invocations will work
+        *   tcpdump -i any
+        *   tcpdump -i \<device-name\> -p (-p disables promiscuous mode)
 *   Different Docker images can behave differently. For example, Alpine Linux
     and Ubuntu have different `ip` binaries.
 
@@ -82,7 +85,7 @@ Most common utilities work. Note that:
 | sshd       | Partially working. Job control [in progress](https://gvisor.dev/issue/154).                         |
 | strace     | Working.                                                                                            |
 | tar        | Working.                                                                                            |
-| tcpdump    | Working. [Promiscuous mode in progress](https://gvisor.dev/issue/3333).                             |
+| tcpdump    | Working [only with libpcap versions < 1.10](https://github.com/google/gvisor/issues/6699), [Promiscuous mode in progress](https://gvisor.dev/issue/3333).                             |
 | top        | Working.                                                                                            |
 | uptime     | Working.                                                                                            |
 | vim        | Working.                                                                                            |
-- 
cgit v1.2.3