How to overwrite MSS value in SYN packets?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Suslikov
Date: Tuesday, June 3, 2008 - 12:13 am

B A <openbsd-ab@ya.ru> wrote:


max-mss does exactly what it says. See man 6 pf.conf

TRAFFIC NORMALIZATION
     Traffic normalization is used to sanitize packet content in such a way
     that there are no ambiguities in packet interpretation on the receiving
     side.  The normalizer does IP fragment reassembly to prevent attacks that
     confuse intrusion detection systems by sending overlapping IP fragments.
     Packet normalization is invoked with the scrub directive.

     scrub has the following options:
...
     max-mss <number>
           Enforces a maximum MSS for matching TCP packets.
...

Also, I see the rule above omits interface name so maybe you need to
explicitly specify an interface where you need to scrub.

Can you show tcpdump output to see how SYN and SYN-ACK packets
looks like?

- Alexey.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How to overwrite MSS value in SYN packets?, Alexey Suslikov, (Tue Jun 3, 12:13 am)