doc: fix tcpdump example
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")
Signed-off-by Georg Pfuetzenreuter <[email protected]>
--- doc/statements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
doc/statements.txt +1 -2
@@ -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
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")Signed-off-by Georg Pfuetzenreuter <[email protected]>--- doc/statements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Thank you Georg!
Reviewed-by Fernando Fernandez Mancera <[email protected]>
Quoted 3 lines · Fernando Fernandez Mancera
Quoted 2 lines
The expression needs to be enclosed in a single string and combined with a logical AND to have the desired effect.
Reviewed-by Fernando Fernandez Mancera <[email protected]>
Applied, thanks everyone.