From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id EF8C73B260 for ; Thu, 10 Nov 2016 21:06:59 -0500 (EST) Received: by mail-it0-x236.google.com with SMTP id e187so57078684itc.0 for ; Thu, 10 Nov 2016 18:06:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xdGj/CtEUI42l8ndVsxRsVpp/G8aM3D0NDGG8FP2Y/E=; b=ZSOG5+2f+phIj9wCej57bHrg01tK8m9uogDzXLbocaDMc4gttwrAC6R9L7qYGJ9CgN yFQGNGZD6T+kDqOEqP7Kv4dI33Zj7MnBHE8lBXUlvC+tkoGUJGYldCGQprv0V9zDbmRQ dgLqMuDveOFx64YvHXgL5cvQX7sJ0FJZWV4J398QKHbcdzMLcvI7+wL7LRFzb142Glls AsupNTsYefzSWNrlMQo8RlDA5bXH8aLuVS/3yqH7lCW0bRfPItQDK1gP9MVBbUw10YT2 iWtPpa+dteSb3maP+yROm7/bst3mGQ6LzoByFPmf/Z/ZzTXKlIvVbRqh/hHvRAIMU3RD zLxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xdGj/CtEUI42l8ndVsxRsVpp/G8aM3D0NDGG8FP2Y/E=; b=UG6zz+qvAStGOpn2GyisFBhxb3a8BTOxqEcbsvHYaOQrWXwKRAreVKlFzKW//7SdNp RymrG8UnDInIm5eNmqXLvS07ZNw9tNbT+Oliup+qUQhZiJ7TrCdoF7H2mOV9MFgYlFux Du3hDj5czElcsFoM7Tk2xGqq1tYWy/ccg5JBJIGy33xOQKACZKY0TS69BjziVJvnLLnu eRtUGkNiCxWVAOKLkhtmlum5nFRBta5McJjVesMX/fH790M7T7dqoWM8z4cf2Mc9F06T dTwYg4e2DnuZmM+Fs6u3HMCWcr9il0MX5blOcgdrCTim6d4P3KUW/Q5NSxVhjHsyWEe2 yRHw== X-Gm-Message-State: ABUngvf3USWZQu5SFDnE3nLPlr/bDlfG18bSVvksG/JrhRC6BscOC0f2lRt+S5DqGVY4dg/221Gb1MYruPbhPA== X-Received: by 10.36.46.204 with SMTP id i195mr6434866ita.91.1478830019294; Thu, 10 Nov 2016 18:06:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.22.80 with HTTP; Thu, 10 Nov 2016 18:06:18 -0800 (PST) In-Reply-To: <3e5942d2-6d6b-0e01-8aa6-98c3535c26ef@gmail.com> References: <3e5942d2-6d6b-0e01-8aa6-98c3535c26ef@gmail.com> From: Outback Dingo Date: Fri, 11 Nov 2016 10:06:18 +0800 Message-ID: To: Noah Causin Cc: cake@lists.bufferbloat.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [Cake] Cake with Deep Packet Inspection X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 02:07:00 -0000 On Fri, Nov 11, 2016 at 9:55 AM, Noah Causin wrote: > I finally got my project working. > > I integrated the NDPI Deep Packet Inspection engine into my LEDE build, so I > could prioritize applications using Cake. > > http://www.ntop.org/products/deep-packet-inspection/ndpi/ > > NDPI integrates into IPTables, which allows me to DSCP mark packets. Cake > reads the DiffServ markings and puts the traffic into appropriate classes. > > I found a Makefile which successfully compiles: > https://github.com/981213/lede_src/blob/0d344bc2958838dcbc547a8f0a3d8842e6f6d2f8/package/my_package/ndpi-netfilter/Makefile > > The system works very well. Steam traffic is deprioritized to allow > applications like YouTube, Netflix, and Skype to receive higher amounts of > the available bandwidth. > > What I do for ingress is bridge two ports on an extra router, enable bridge > firewalling, and create IPTables rules to mark downstream packets. The > router I use is a D-Link DGL-5500, which is comparable to an Archer C7. > > IPv6 support is not available in this netfilter module, but the IPv4 support > is great. > > Noah Causin very nice.... however, can you describe a bit better how you configured for ingress ? a second router? configuration file ? your high level description seems a bit confusing to me > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake