All of lore.kernel.org
 help / color / mirror / Atom feed
From: Filip Sneppe <filip.sneppe@cronos.be>
To: Michael Glaum <mglaum@kvh.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: mangle MSS via tcp_manip_pkt() in ip_nat_proto_tcp.c [patch]
Date: 18 Jul 2003 19:16:18 +0200	[thread overview]
Message-ID: <1058548579.616.2.camel@sloth> (raw)
In-Reply-To: <BE229ADC976AC343830DFF9BC159FAEB011E46AA@KUEXCHANGE.kvhinternal.kvhi>

On Fri, 2003-07-18 at 16:57, Michael Glaum wrote:
[...] 
> I tried several things, e.g. pathMTU, etc but in view of severe time
> constraints I decided to HACK tcp_manip_pkt() in ip_nat_proto_tcp.c
> so that when it does source and destination address translation it also
> drops the MSS on outgoing and incoming packets to be below 1360. This
> appears to work. I didn't even bother to check if the packets had
> tcphdr->syn ==1 set.
> 
> Please advise if there is a more elegant way to do this!

Hi Michael,

The easiest way to achieve your goal is to use the TCPMSS target
(that exists in the standard kernel for a long time now) to set
the MSS of the packets going out via the satellite link.

Regards,
Filip

  reply	other threads:[~2003-07-18 17:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 14:57 mangle MSS via tcp_manip_pkt() in ip_nat_proto_tcp.c [patch] Michael Glaum
2003-07-18 17:16 ` Filip Sneppe [this message]
2003-07-25 20:50 ` Harald Welte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1058548579.616.2.camel@sloth \
    --to=filip.sneppe@cronos.be \
    --cc=mglaum@kvh.com \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.