From owner-freebsd-net@FreeBSD.ORG Tue May 27 18:05:00 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD978106566B for ; Tue, 27 May 2008 18:05:00 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 947F48FC18 for ; Tue, 27 May 2008 18:05:00 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 1F8981B10EE8; Tue, 27 May 2008 20:04:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on malcho.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 876101B10EE7 for ; Tue, 27 May 2008 20:04:56 +0200 (CEST) Message-ID: <483C4D48.6020106@moneybookers.com> Date: Tue, 27 May 2008 21:04:56 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.14 (X11/20080503) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <1211891010.00075594.1211880013@10.7.7.3> <1211894613.00075634.1211884201@10.7.7.3> <1211901827.00075710.1211890802@10.7.7.3> <483C4636.7080608@mavhome.dp.ua> In-Reply-To: <483C4636.7080608@mavhome.dp.ua> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on blah.cmotd.com X-Virus-Status: Clean Subject: Re: Adjust Maximum Segment Size? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2008 18:05:01 -0000 Greetings, Alexander Motin wrote: > Stefan Lambrev wrote: >>> Yes, You can with ng_tcpmss >> Isn't it doable only with ipfw/divert when using ng_tcpmss? >> I have and some concerns about performance too .. > > There are several ways to inject packet to ng_tcpmss: > - ipfw + divert + ng_ksocket. It should be faster then usual > user-level implementation > - ipfw + netgraph as described in ng_tcpmss(4) > - use ng_tcpmss directly in some complicated netgraph setup. For > example, mpd is able to use it. This is probably the fastest and > easiest way, but only for some setups. > Thanks for all ideas. I think I'll try the route -mtu feature. Looks like easier for implementation and testing. :) Anyway it will be good if we have such feature in the base system. It shouldn't be very difficult? :) -- Best Wishes, Stefan Lambrev ICQ# 24134177