From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (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 5732121F1F7 for ; Sun, 4 Jan 2015 18:37:26 -0800 (PST) Received: by mail-ob0-f182.google.com with SMTP id wo20so58991401obc.13 for ; Sun, 04 Jan 2015 18:37:26 -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=nkA0tHNqvXCDNpq13xKVFVrxsfD9IIf69JVyaoUamt8=; b=xRIRnjnOMlaXH9fI7qP0ZVXYw33/b/uqD/4AjueaXBYjLKEPCWSRncfA5ryjlSs4I9 ojvTABqz1FYRJzEqkbHE5p35EwHv2MgmtpAUVlc5U5d6zQmixXQWb0u8Xu2Ms/FaAS7M xXkRUoKk8u2gtGZySZapkgZDFH1xPtpjWHsFbkbtt2U2fXElUYONYUYXo6tuBdRKIGWS cFjn/DhjuOV/RRng/TEp1FCOxnua/CjRxMyWGuAMGy+0NPZWpUUF+F7xZirVLJ78nTNV DWwZSIa8Ur7x7TokpSvfbFInyuMcjd3lFhCCkgSn29Nt+brtW4YNJP64ncs/WXUM0IA9 QHxg== MIME-Version: 1.0 X-Received: by 10.182.148.41 with SMTP id tp9mr24640807obb.36.1420425446088; Sun, 04 Jan 2015 18:37:26 -0800 (PST) Received: by 10.202.169.209 with HTTP; Sun, 4 Jan 2015 18:37:26 -0800 (PST) In-Reply-To: <54A9F76F.60007@gmail.com> References: <54A9EE16.9020700@gmail.com> <54A9F76F.60007@gmail.com> Date: Sun, 4 Jan 2015 18:37:26 -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 02:37:55 -0000 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 th= ey >>> run automagically. >> >> >> My plan, such as it was, was to have a /etc/sqm dir with each device nam= ed >> 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 > **************************************** --=20 Dave T=C3=A4ht thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks