From owner-freebsd-net@FreeBSD.ORG Tue May 27 18:14:14 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 23C9A106567A for ; Tue, 27 May 2008 18:14:14 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id EA0548FC18 for ; Tue, 27 May 2008 18:14:13 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3023371rvf.43 for ; Tue, 27 May 2008 11:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZhguixN9G2Hjy4Dpj1tHMgnSJ0+J5df+5clIh5E6iv4=; b=t2z7+wb8fp+KFWJy/bDAfYfwp8YGx+dcpRHIruuR3t+jPhECKpIciPuZhtE/n+YO0peFZHcMa5YVCjLB+7q6LXTkQHiGd4lRHPOnOVmFzVAcKEg1PDjqUNkZKJxSruWyze1NaBdnHL+PYH3ErVAHtARnUGWsPHYFIYa1UrvGlGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uzBfu832OrK6VaM9FdzXhd4RtLWK/twayMFOd8ymp7dUxkz8/joAhnxEGUsl+4UrdXbiEaWa/LrYNj9XTnScXxvxc2qntOrhTEqyAiqfNkBmkOQbT84fwkN7+t0Tkqvq77/TeZjb3oAV0n/EU4E9dmdfCq1v0QTDWvv3WTFD3x0= Received: by 10.141.177.2 with SMTP id e2mr665973rvp.268.1211912053639; Tue, 27 May 2008 11:14:13 -0700 (PDT) Received: by 10.140.135.3 with HTTP; Tue, 27 May 2008 11:14:13 -0700 (PDT) Message-ID: <9a542da30805271114w6ad82569m43d89c4cd03a76fc@mail.gmail.com> Date: Tue, 27 May 2008 20:14:13 +0200 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: "Stefan Lambrev" In-Reply-To: <483C4D48.6020106@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> <483C4D48.6020106@moneybookers.com> Cc: freebsd-net@freebsd.org 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:14:14 -0000 On Tue, May 27, 2008 at 8:04 PM, Stefan Lambrev wrote: > 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? :) > > -- Actually converting ng_tcpmss to pfil(9) should be easy. Ermal