🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.openbsd-pf
Article #82

Re: Enforcing asymmetric TCP MSS?

#82
From: Henning Brauer
Date: Tue, 10 May 2011 13:16
21 lines
1745 bytes
* Eric Lee <elee25@gmail.com> [2011-05-10 10:30]:
> I'm trying to use scrub max-mss rules to create asymmetric MSS's.
> 
> Is this supported?  So far, I haven't got it to work (hence my post here).
> The machine is running OpenBSD 4.9 with 2 network cards.
> 
> I have been trying things like:
> match out on $ext proto tcp scrub(max-mss 1000) flags S/SA
> match in on $ext proto tcp scrub(max-mss 500) flags SA/SA

that doesn't work because only one of those two rules ever matches a
given connection, from then on the state decides.

using two match rules on different interfaces should work i think. the
only other option is stateless, but that is stupid for many many reasons.

-- 
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting
Technical Details
Message-ID: <20110510120414.GR15178@nudo.bsws.de>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
References: <BANLkTi=g-V5DdnpOhgSTCC4Na2RQZb47CA@mail.gmail.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,344061a51fc8e357
X-Google-NewGroupId: yes
X-Google-Attributes: gidbffa70e3,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: henning@openbsd.org (Henning Brauer)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: Enforcing asymmetric TCP MSS?
Date: 10 May 2011 06:16:02 -0700
Organization: None
Lines: 21
Message-ID: <20110510120414.GR15178@nudo.bsws.de>
References: <BANLkTi=g-V5DdnpOhgSTCC4Na2RQZb47CA@mail.gmail.com>
NNTP-Posting-Host: localhost.newsguy.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Date: 10 May 2011 13:16:02 GMT