Skip to contentSkip to conversation

doc: fix tcpdump example

PATCH Applied [email protected] 3 participants 3 messages Oct 13, 2025 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix tcpdump example

From: Georg Pfuetzenreuter <[email protected]>

The expression needs to be enclosed in a single string and combined with a logical AND to have the desired effect.

Fixes 1188a69604c3 ("src: introduce SYNPROXY matching")
---
 doc/statements.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
doc/statements.txt +1 -2
index 6226713ba389..834f95fbb2a8 100644
@@ -691,8 +691,7 @@ needed for selective acknowledgement and window scaling).
 ---------------------------------------
 Determine tcp options used by backend, from an external system
 
-              tcpdump -pni eth0 -c 1 'tcp[tcpflags] == (tcp-syn|tcp-ack)'
-                  port 80 &
+              tcpdump -pni eth0 -c 1 'tcp[tcpflags] == (tcp-syn|tcp-ack) && port 80' &
               telnet 192.0.2.42 80
               18:57:24.693307 IP 192.0.2.42.80 > 192.0.2.43.48757:
                   Flags [S.], seq 360414582, ack 788841994, win 14480,
Signature · 1 line
2.50.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · On 10/13/25 7:17 PM, [email protected] wrote:

From: Georg Pfuetzenreuter <[email protected]>

The expression needs to be enclosed in a single string and combined with a logical AND to have the desired effect.

Fixes 1188a69604c3 ("src: introduce SYNPROXY matching")
---
  doc/statements.txt | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

Thank you Georg!