From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 160AB3BA8E for ; Fri, 8 Dec 2017 06:55:28 -0500 (EST) Received: by mail-wm0-x22a.google.com with SMTP id 64so2806111wme.3 for ; Fri, 08 Dec 2017 03:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=xjJi7REZYTuk/HK5njFAIPnrnMvzOdhkRnv6dh37Ht4=; b=i7TeDgGz1FJ3Y+QxiwAKmiGJUW/WruIv8hEjjwEP/kfkbGYsHLpFvvlSAz3hCY92UB iozYcoYspvftZI88/v72300zfgOIR2bAcTxLxTzaISJbUzx3wg9r1hktRs3I/Kgr2wVl vs3ienbEZGh1lKtY+9v9BCjXRY55rCrvWClj5RNnWCZYhQRgBknOYCrNsH/AKU70kOd7 99byJq/YGGtihcWNZbDN6r7YhnfZSY9aWCIlkdcNEMM9i5jAPt9AWMvqqRsqiIa+q/YJ HKqQw40n7URFTv9k4lstOLsPg0qjPs7CPpedpaB2hOWtoOkEtBOzMAaxx1OuNBF/b4Pr 4OXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=xjJi7REZYTuk/HK5njFAIPnrnMvzOdhkRnv6dh37Ht4=; b=KR/ScOU1OLByIebFN/G9P33vKlGTrfRBEY1SrkiX+mZcQ0q3RAW8fzcO/EXkyUVY7G XKW+IMC6IfZgGBrfpZie+ynZm1DNioCgNBlaGn97a1LUgr91CP2Uq1SLCBNqGLXDNP4H ONOL24DI48RdmY/aNit1vHTCWQzxRTBMWTdrQ6XxeGbSlR3UJ3ZfYAuPOyblpq1BF7dy bd6JRK2H+SRP0S2AK8NxT9Bd9Jj4w+cyOvNjxpuWgDcyTKigsVzVE3UvqCW379hUHisc fpBgE7u2ZyWg0ZookarHdmEOfJWuMfAaFVLWY/dkpQnnjpU+TIg6PWce987MGvNHtICz KQ9g== X-Gm-Message-State: AKGB3mKXfvEen8ithA3J1x+/NBS8jQXg+BxBa494UTmSbtv5dGdLwJb+ 8Jw4WRnyYrwKf+868LMH7P897A== X-Google-Smtp-Source: AGs4zMbbePe0E6D8r2x/iAD5hGqBhhsimhEGPsb12oGGNQseXEBJ4WR1WQAH4Z2f939EQTvgP5vc0g== X-Received: by 10.28.175.8 with SMTP id y8mr3987825wme.21.1512734127084; Fri, 08 Dec 2017 03:55:27 -0800 (PST) Received: from [192.168.0.3] ([31.185.218.36]) by smtp.gmail.com with ESMTPSA id n17sm744626wmd.22.2017.12.08.03.55.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 03:55:25 -0800 (PST) To: cake@lists.bufferbloat.net References: From: Andy Furniss Message-ID: Date: Fri, 8 Dec 2017 11:55:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 SeaMonkey/2.51a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Cake] (no subject) 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, 08 Dec 2017 11:55:28 -0000 Mark Captur wrote: > I am using cake on latest lede nightly. I'm using diffserv 4 which creates > 4 tins bulk, best effort, video and voice. > > Is there a way to change dscp markings on in comming traffic to place it in > te video tin. More specifically i would like all incoming traffic with > source port 23000 to be set to dscp class CS4. Maybe, I got it working using conntrack, but it was fragile in the sense that kernel/iptables/iproute versions needed some sort of lucky match. IIRC I took down my desktop PC messing around. From my router box it seems to work. You need cake on ifb with traffic redirected from ingress interface. https://lists.bufferbloat.net/pipermail/cake/2017-February/002491.html Is just a test to mark ipv4 icmp which worked. I did get conntrack to work, though you can just match the port anyway. The exact commands needed would depend on your precise setup. If your router is just routing then you could probably just have cake on egress and save the hassle.