Re: Tcp segment size in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2008-03-19, rigoberto perez <rigo666beast@xxxxxxxxx> wrote:
>
> In others Operating System like UNIX and WINDOWS, I
> can tell to TCP layer that not use the MTU to adjust
> packets size.
[...]
>
> My question is: Using netfilter or another system tool
> i can do the same or similar thing in Linux?
>
You can use TCPMSS target in mangle table of netfilter. It doesn't cut
the packets, it just changes advertised segment size of the TCP client's
SYN packet. However every compliant TCP stack should react on it. This
is usable on routers.

If you want to force the size already on end points, you can alter
routing table using "ip route ... advmss ..." command. See ip(8).

-- Petr


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux