TCP traffic SYN/ACK packets that contain window scaling options
Hello, in your opinion how can I filter TCP traffic SYN/ACK packets that does contain window scaling options?
Can I use !(window_size_scalefactor == -2)?
(tcp.flags.syn==1 && tcp.flags.ack==1) && !(tcp.window_size_scalefactor == -2)
Window size scaling factor: -1 (unknown, start of session not captured) Window size scaling factor: -2 (no window scaling used)
Is Window Scale Kind 3? Can I filter TCP traffic SYN/ACK packets that does contain window scaling options this way?
tcp.option_kind == 3 && tcp.flags.syn==1 && tcp.flags.ack==1
dfilter: Add bitwise masking of bits
When complete, you could streamline the flag check into
tcp.flags & 0x012 == 0x012
.I'm not sure that's easier to read but more compact.
@Chuckc
tcp.flags&18==18
is even more compact! ;-) I'm looking forward to this filter functionality in the next (major) release!