From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 20BC121F1EE for ; Sun, 4 Jan 2015 19:02:25 -0800 (PST) Received: by mail-oi0-f47.google.com with SMTP id v63so46245024oia.6 for ; Sun, 04 Jan 2015 19:02:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=DfYO4mQBEji4D6PxQBI1ZHbk+SNJBy41vV5khVuwDK4=; b=W0nVjG0Aq9/o2yzyPQyjw01QFA4ECoOkr268sCr1VH2Mz+PEgWxn5zZk4nwFbDhJXE +RmtOXjmFP2RFsPOmUxtEJOkZP3FDTKRYLnicNIyF5HO6+E8N16VmbAM2vppe8mAVf80 b1rjT4CoKJicHBRBHJMRHaFpeC1CFP63CDoNkx5Sd0f9ffBJKO+A/WPMfLrwg9qgdeiu ysSH0nXiyIeOFD5rkZthDQwJfPSje2zQJN0DSrYW1jNQ7/gQZyYsE6cjGxkwKRik6vvw kPmzPThrQZoBb3wNiEklSM8t4WXYobmLl14iLQz39BY5Rp7dUwAX8t4wgVpYZcbfQZEb X3PQ== MIME-Version: 1.0 X-Received: by 10.182.241.133 with SMTP id wi5mr51628599obc.10.1420426944926; Sun, 04 Jan 2015 19:02:24 -0800 (PST) Received: by 10.202.169.209 with HTTP; Sun, 4 Jan 2015 19:02:24 -0800 (PST) In-Reply-To: <54A9FD1B.4030704@gmail.com> References: <54A9EE16.9020700@gmail.com> <54A9F76F.60007@gmail.com> <54A9FD1B.4030704@gmail.com> Date: Sun, 4 Jan 2015 19:02:24 -0800 Message-ID: From: Dave Taht To: William Katsak , "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cerowrt-devel] sqm-scripts for debian/ubuntu X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 03:02:54 -0000 On Sun, Jan 4, 2015 at 6:55 PM, William Katsak wrote: > I think I got all the settings duplicated from cero now. > > One more question (sorry!). Is there anything else that is run on the Well, push your patches somewhere... having a .deb and/or .rpm installable package would be good in the end. > interfaces on cero? Is the debloat script still a thing? debloat is not needed on a modern debian/ubuntu. Of course, everyone should be putting something like this, also, at this point, in /etc/sysctl.conf or in a file in /etc/sysctl.d/ with: net.ipv4.tcp_ecn=3D1 net.core.default_qdisc=3Dfq_codel > > Thanks, > -Bill > > > > On 01/04/2015 09:37 PM, Dave Taht wrote: >> >> On Sun, Jan 4, 2015 at 6:31 PM, William Katsak wrote= : >>> >>> Thanks, I was thinking something with if-pre-up.d and if-post-down.d as >>> well. >>> >>> Are all the params (other than the speeds, obviously) that are set to >>> defaults in functions.sh correct? I notice that SQUASH_INGRESS is 1 by >>> default. Is this right? >> >> >> Well, I wouldn't mind a world where classification was preserved e2e, >> but that is >> generally not the case. >> >> I can imagine a few use cases for trying to not squash ingress, >> notably where you >> would be rate limiting a device inside the home behind, say, a homeplug. >> >> another item that is wrong is that the INSMOD variable should be >> mapped to modprobe in >> debian systems, and there may be other modules that need to be probed. >> (ifb?). I've not come up with a way to reliably detect if you are on >> openwrt however.... >> >> Aside from that I pretty regularly use sqm thusly on ubuntu... >> >> UPLINK=3D10000 DOWNLINK=3D40000 QDISC=3Dfq_codel /usr/lib/sqm/simple.qos >> >> but, yea, it would be nice to have a version that abstracted out to >> debian mo better. A concern was whether we could interface with common >> firewall scripts in that world (ufw, shorewall).... >> >>> >>> Thanks, >>> -Bill >>> >>> >>> >>> On 01/04/2015 09:09 PM, Dave Taht wrote: >>>> >>>> >>>> On Sun, Jan 4, 2015 at 5:51 PM, William Katsak >>>> wrote: >>>>> >>>>> >>>>> Hello all, >>>>> >>>>> Before I take the time to set something up, does anyone already have = a >>>>> nice >>>>> wrapper for sqm-scripts on debian/ubuntu (or really any non-openwrt >>>>> distro)? >>>>> I've already gotten them to work, but want to do something "nice" so >>>>> they >>>>> run automagically. >>>> >>>> >>>> >>>> My plan, such as it was, was to have a /etc/sqm dir with each device >>>> named >>>> there >>>> explicitly (e.g.) eth0.conf, br0.conf, etc. >>>> >>>> and in there have the configuration variables currently set by run.sh >>>> in /usr/lib/sqm (or in the >>>> openwrt sqm config file) in shell syntax. >>>> >>>> then have a sqm script in /etc/network/if-pre-up.d and if-post-down.d >>>> source those, then run the right qos script from that. >>>> >>>> I have never got around to it. And I'm not sure if that is the right >>>> thing for NetworkManager. >>>> >>>>> >>>>> Thanks, >>>>> Bill >>>>> >>>>> -- >>>>> **************************************** >>>>> William Katsak >>>>> **************************************** >>>>> _______________________________________________ >>>>> Cerowrt-devel mailing list >>>>> Cerowrt-devel@lists.bufferbloat.net >>>>> https://lists.bufferbloat.net/listinfo/cerowrt-devel >>>> >>>> >>>> >>>> >>>> >>> >>> -- >>> **************************************** >>> William Katsak >>> **************************************** >> >> >> >> > > -- > **************************************** > William Katsak > **************************************** --=20 Dave T=C3=A4ht thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks