lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAA93jw5DQ7U_TU2SpJNEx4wHxcisb-Am8AHQJHk6hkJNV+w_RQ@mail.gmail.com>
Date:   Mon, 29 Aug 2022 09:18:19 -0700
From:   Dave Taht <dave.taht@...il.com>
To:     Thorsten Glaser <t.glaser@...ent.de>
Cc:     Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: inter-qdisc communication?

On Mon, Aug 29, 2022 at 9:08 AM Thorsten Glaser <t.glaser@...ent.de> wrote:
>
> On Mon, 29 Aug 2022, Thorsten Glaser wrote:
>
> > All references to ifb seem to cargo-cult the following filter…
> >
> >       protocol ip u32 match u32 0 0 flowid 1:1
> >        action mirred egress redirect dev ifb0
>
> > I require any and all traffic of all protocols to be redirected.
> > Not just IPv4, and not just traffic that matches anything. Can I
> > do that with the filter, and will this “trick” get me the effect
> > I want to have?
>
> https://wiki.gentoo.org/wiki/Traffic_shaping#Traffic_Shaping_Script
> has “protocol all” but there is still a filter required? Looking at
> net/sched/cls_u32.c this is _quite_ an amount of code involved; is
> there really no pass-all? Maybe it’s time to write one…

In general I would really like to simplify the ingress path within the
kernel for common cases. My dream has been, of course, to be able to
do this:

tc qdisc add dev eth0 ingress cake bandwidth 40Mbit.

without needing a filter, mirred, and especially, have it remain multicore.


> bye,
> //mirabilos
> --
> Infrastrukturexperte • tarent solutions GmbH
> Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
> Telephon +49 228 54881-393 • Fax: +49 228 54881-235
> HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
> Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
>
>                         ****************************************************
> /⁀\ The UTF-8 Ribbon
> ╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
>  ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
> ╱ ╲ header encryption!
>                         ****************************************************



-- 
FQ World Domination pending: https://blog.cerowrt.org/post/state_of_fq_codel/
Dave Täht CEO, TekLibre, LLC

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ