All of lore.kernel.org
 help / color / mirror / Atom feed
* Per site de-window-scaling
@ 2004-09-02 19:01 Stephen Hemminger
  2004-09-02 20:17 ` David S. Miller
  2004-09-02 21:09 ` Harald Welte
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2004-09-02 19:01 UTC (permalink / raw)
  To: David S. Miller, Harald Welte; +Cc: Netfilter Development Mailinglist

Is there a simple way with netfilter to do per-site TCP SYN mangling
to remove the window scale option?  That way sites that have window-scale
corrupting firewalls could be blacklisted.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Per site de-window-scaling
  2004-09-02 19:01 Per site de-window-scaling Stephen Hemminger
@ 2004-09-02 20:17 ` David S. Miller
  2004-09-02 21:09 ` Harald Welte
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-09-02 20:17 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: laforge, netfilter-devel

On Thu, 2 Sep 2004 12:01:44 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:

> Is there a simple way with netfilter to do per-site TCP SYN mangling
> to remove the window scale option?  That way sites that have window-scale
> corrupting firewalls could be blacklisted.

We could make this a routing metric, RTAX_MAX_WINDOW or something.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Per site de-window-scaling
  2004-09-02 19:01 Per site de-window-scaling Stephen Hemminger
  2004-09-02 20:17 ` David S. Miller
@ 2004-09-02 21:09 ` Harald Welte
  1 sibling, 0 replies; 3+ messages in thread
From: Harald Welte @ 2004-09-02 21:09 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: David S. Miller, Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

On Thu, Sep 02, 2004 at 12:01:44PM -0700, Stephen Hemminger wrote:
> Is there a simple way with netfilter to do per-site TCP SYN mangling
> to remove the window scale option?  That way sites that have window-scale
> corrupting firewalls could be blacklisted.

Yes, this is possible with a quite simple piece of code similar to what
I did with the 'ECN' target for known ECN blackholes. 

All you do is to iterate over the tcp options and NOP out the window
scaling options. 

Please don't copy any of the mistakes we did before, like the option
parsing signedness bug, or overwriting with '0' (end of options) instead
of NOP ;)

-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-02 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 19:01 Per site de-window-scaling Stephen Hemminger
2004-09-02 20:17 ` David S. Miller
2004-09-02 21:09 ` Harald Welte

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.