X-Loop: help-debbugs@HIDDEN Subject: [bug#49258] [PATCH] Add wondershaper package and service Resent-From: Aljosha Papsch <ep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Mon, 28 Jun 2021 15:29:01 +0000 Resent-Message-ID: <handler.49258.B.16248941157297 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 49258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49258 <at> debbugs.gnu.org X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16248941157297 (code B ref -1); Mon, 28 Jun 2021 15:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jun 2021 15:28:35 +0000 Received: from localhost ([127.0.0.1]:52284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lxtBb-0001td-FN for submit <at> debbugs.gnu.org; Mon, 28 Jun 2021 11:28:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:49808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ep@HIDDEN>) id 1lxtBX-0001tT-DC for submit <at> debbugs.gnu.org; Mon, 28 Jun 2021 11:28:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ep@HIDDEN>) id 1lxtBX-00081w-5Z for guix-patches@HIDDEN; Mon, 28 Jun 2021 11:28:31 -0400 Received: from mail-be0deu01on20728.outbound.protection.outlook.com ([2a01:111:f400:7e23::728]:64769 helo=DEU01-BE0-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ep@HIDDEN>) id 1lxtBV-0000sV-Bg for guix-patches@HIDDEN; Mon, 28 Jun 2021 11:28:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g49M1FwwDus1oMTKi538pzu/i06NGEQ9vZOxejLauuqAlRsX+XuC6rDmx+ahXzRuS2HEa2qhZCupHvEmrjv8stIepvl4NCJtT1g1wiKmHow3cUiGSlJFS/gheybqfrx1om9gpDBG7tB+cppELDqrqV388l0isGQtQtX9LDLXzLWDvG4UwCqCUp66bWPKqsm96ToIHiC7poddHvKm2TyuDO/nzjTmvNZ451L+3DNynl2Q9isPR2IRRsRxS0qKHJraO/EJ90JIhEnQxvf5djrIv1/DOxc8V7HjY4CBdS6DK8UW3vxI0HmeGioCwk9b9pQgBpKOgoOx6/Z4J4VxG1ysbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wvxW74fNoix3F7pWTA/maGhubq3hlJDbb4FL7DdlxbU=; b=fRTcjWzAsQa+F5k8ITKccU6wxyPCzwTYPqKjiCS1A/a86Ogkn7WDjFE3oD9WB4uyD6gMIYWp09kNMKyQ1KN8mSB9SN15510/May7kaqz5OY0ADOf2yUgvoa9veDkhiv34pwX4YBoYf6nr3mf9vIx14GtjsmdgW1PkyJuoNVqPoYRElOObq9D/UzByjMkDOzPsrmBJL8WJgjjMb8LtegcqBRsIAS7FnI5e8E9PlcTUoK8FPGKlGOksXWTUFRO/Tt/wExsqdiRzYWGmU9DKJDiDxgJY2RRkl0EKUQM0wthEObc8elDinZvXi1NWjsInPa16hHIX7EbK3djNiaHcwnqfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stern-data.com; dmarc=pass action=none header.from=stern-data.com; dkim=pass header.d=stern-data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sternasset.onmicrosoft.com; s=selector1-sternasset-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wvxW74fNoix3F7pWTA/maGhubq3hlJDbb4FL7DdlxbU=; b=DRz2qvQCjBwOmqhj3jKVYBKmPBt2gOstaPRV7dM9/NGXSMy31z5SGtnfo2Rjf0+b8aYdJHkQWFJAP0EFloZ47Tvy1kLF4DTR3r8REBrTPevljc2GDB24o4YP/L2N9AlkM0VL44aXt3MU8LAoGEKsWnOVqUA6rT0wwWsPcHwTJl5g6WNTJnP2TuwafH2uimdXnuJRXeuYedyGsv7dMNCA74ybSM3vw1pU1fV25p6zXT3w28ugvRXTXbE7y+/4rHvTAoGFZaRVhP7k21fFvL5skvz0dAyD6eiXEvxsqEvfMVUwKfny9crqEFc2bfTz64UTNe1X2poReldG1DMBTYGyKw== Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=stern-data.com; Received: from BE0P281MB0034.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:f::11) by BE0P281MB0257.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.14; Mon, 28 Jun 2021 15:23:24 +0000 Received: from BE0P281MB0034.DEUP281.PROD.OUTLOOK.COM ([fe80::b9ef:9f1:8c7c:cb72]) by BE0P281MB0034.DEUP281.PROD.OUTLOOK.COM ([fe80::b9ef:9f1:8c7c:cb72%7]) with mapi id 15.20.4287.021; Mon, 28 Jun 2021 15:23:23 +0000 From: Aljosha Papsch <ep@HIDDEN> Date: Mon, 28 Jun 2021 17:22:28 +0200 Message-Id: <20210628152232.31073-1-ep@HIDDEN> X-Mailer: git-send-email 2.32.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PR3P189CA0076.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:b4::21) To BE0P281MB0034.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:f::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2a02:908:c39:9d60:ec9b:bd9a:f3b7:625d) by PR3P189CA0076.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:b4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18 via Frontend Transport; Mon, 28 Jun 2021 15:23:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c9ee8f9-839f-42c8-12b7-08d93a48ab5b X-MS-TrafficTypeDiagnostic: BE0P281MB0257: X-Microsoft-Antispam-PRVS: <BE0P281MB02571F9C623FC2B21C4EE7B0E3039@HIDDEN> X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UxgKP1WjGWDdbFWLB+2ZdnI3Fy32JZuPEbGMHgPip7VS/roTod9YGk/0p2Q6+MXlAD7ufQF/8VhpdNUDV/gKdy7EEbIiVby94x0AsGWTdTFhsyT+fXh/ba+MeA5/2yeaalcF5zPJuxaRtQ1QqcAm53a7+fAgKjPreHXQLoyg8enHIo/5NEYRq6U/saaS/V0cJKfduCmDRHC0YPs461hz9fIz3Srg8wTGZZSyLnU8rdyEea8gnMwTjT6n9+SnOPj/gczcFKwXPRlOVjc9soaQXZUxkknY3yDpxa8REuyAMOJaNuNu2hLPkjXAp8H7TWE4vc+bK/DIEt3LoF+qBhVl4kmUAaf+shRTeKaee2VMn1YWONoP4M8aceryn+XDgAxisZUh1aFrVLCYOJpPDdDDZPexomYwh3HCpajbCttr9aIfhkn5ws0PEacUiYTzoHn5vvSLVDKzSq9rhTmLqGp+81YdAeC2EVlijeuIrloUtuV1w1SmMEtwFP7x2BfRy2Fww9K25KMS+W7tyKQCM8wRMZLzFpsU0HLgDb8MFxQQ8yqoRGqJqb4mwM4XuH0wpSHApaItaTT0Mu03yaDJoMAO8ZE31H7otbNQmI3EZYorsmZw8u17y9xSA2e36/tFRVrMxmG9cN/ZegYBAWVIp5aZC+0ZLuJ1+FKYnpg1jFUUDsOa448DQCvejnPKg+jmQLpUWddGY90TJp+Yv/jGre1DT6SA839CZKNKYbmf88UwpCWyFSaqdXSQ9wKMwNpay51w19hn1UMMg61cBxylQXvVTQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BE0P281MB0034.DEUP281.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(366004)(346002)(136003)(39830400003)(83380400001)(186003)(1076003)(6916009)(8936002)(6512007)(66476007)(66556008)(316002)(2906002)(66946007)(2616005)(36756003)(478600001)(52116002)(86362001)(6486002)(5660300002)(8676002)(38100700002)(6506007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FxP8HpgISt0AziZEjf86c8WHhOq3Id9azJlCU4+4WQnIYoMebeNmgooA+HsV5xR1MvvXFcO476pBToOfXnPEdA6QQuaisXkdw/VtnOM4a706L3LDgWgAPVn9+JZ7sEihBswC4Eo8ZFZVJHKxwirjdFbBVseaZoWJ8M0gLWiNA0SfgLB8IwGTapx439m4rNvn236dkwOR8ni31wcd9eQM3jcxBlXXMQD9i7nIHrla6WQg398URd/l7kAaxqjyILWoiogIYtkbQ94CwNTa3SKLYh0KlioddclQ3sfOxD5yeKjK0feyRUOEZY462Z/BL/9q0jRnh5eINz9p0Y1K2V2ihuUYlqWAw75Zz+R9zfBxueHFSybAXS/xJhYEEGZveMpRPRM9BQg4AX9hAzVvLZHmttBFILWWZcQvYOR+YftuSRenJoFqXqVIxWUWgZo+9uaBTwg+oi8Wm/FuwzqStV5Qjqw8b4bb+nCPpjyu6HKE3m/mcHieeW4wqn+PTng8xWF7sf9SJFfAgAELL2sGsJGP3bMlk/3kw78Tdt4PQZLOEzfajj9wxD4UahPFVEXDuchqzfCRfZRbkkpbmwXVyxobtTKPrQt5NLK9/o2vFD/WIBFZRrhLOVAbFBtjXwdkHbyHuk6f0IGjqHjvaNYVuDmBgHsBjrrSVWA19jWXK5ymS6ac92GyBSSjLYlm8utRri3c7TXPBfh06Fj6fNS57eed9crZ3BgtUtk7pUd6M99Jwg93zgmOQgiilin8CX2Yp+nE5msqTtPc4Dm3saBabZyBhCSvEtHxShgCHdmMA5Q3k5HtzAFA9BSjIheW39TDztTN65N1zj07KaCoHwhcbbbcrfmtVfRbazyTCnwRzTKoSJ0npXVWhoKEzcDKODeECm6so1Uf1GE2kW9Lkf+9/GAMit9KRMPr9P6k/rW292zhkIjCCaukUGbBF3HElmjd+qb1O6cDzj0/2HYOdzj3EWUyVRXAQd5yRsep9/nTmUI6nv9iOyGFPE8EfNkHuDmwicS2Kezd6Xb+7JHvKHm5b+FWCYYsSHky2lfIwwQkVmuf8E4KKU8kDEhJNIb+bQA8J8kuRRpk8a8oKJNfqrkPIxwaXKcnUaLxd1ls3he5ePU4g2LQzY9xlmLAWtSDjINOPrF+ZMezFeyxiB5r2/d/Y03A8SYoJnvDjIGFiWNLIxG+z1g8JHnRiJa5LbrJ7CDZIs4fYIfycGWnsWVPegZJuf7eHO1OrtHoSyrz0p33v62vowMx3mqFrI4yGhrw2OHZR0s6AjDDWcxPEK1KgKn9ygLAX0ufmfoG1og6DrUlyZ0JbT7SCV/ijQ20HTfEKLmBrZw3YPRm3JR411R2eFx3uWAstAB0u94yErvncgI4Lz9VNv9pIZm1Pb47auEcNhnSeI8n X-OriginatorOrg: stern-data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c9ee8f9-839f-42c8-12b7-08d93a48ab5b X-MS-Exchange-CrossTenant-AuthSource: BE0P281MB0034.DEUP281.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2021 15:23:23.8277 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e55b1d7b-b6d7-445f-a720-8de54d4464ac X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8FgeCYjbeuXBv2MJ/RKchFAIa3fawVrKdhacCcQsTKynlwsawXPUm0kOaevlThESxjrc8LVtrtBEni870BmE5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BE0P281MB0257 Received-SPF: pass client-ip=2a01:111:f400:7e23::728; envelope-from=ep@HIDDEN; helo=DEU01-BE0-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Hello Guix! These patches add a package and service for Wonder Shaper, a nice little tool configuring traffic control. The defaults should suffice for desktop usage, with the exception of download-speed and upload-speed, which must be chosen according to your actual speeds. I forked the upstream repository and the package uses the fork. It's not meant as a long lived fork. Currently the tool doesn't provide a way to specify the config file, users are expected to edit the script. A patch is pending upstream (https://github.com/magnific0/wondershaper/pull/68) to add a CLI option but in the meantime wondershaper-service would have to jump through some hoops to specify the options. While at it, I also added two other options for the maximum rate and burst rate for the lowest priority traffic class. My goal is to make data exfiltration harder in a server environment and a custom rate seems just right for that. I plan to send these options upstream as well. If you don't like exposing non-upstream options, an alternative could be to instead expose a list of pairs for arbitrary additional options which get pasted into the configuration file. Best regards Aljosha
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Aljosha Papsch <ep@HIDDEN> Subject: bug#49258: Acknowledgement ([PATCH] Add wondershaper package and service) Message-ID: <handler.49258.B.16248941157297.ack <at> debbugs.gnu.org> References: <20210628152232.31073-1-ep@HIDDEN> X-Gnu-PR-Message: ack 49258 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 49258 <at> debbugs.gnu.org Date: Mon, 28 Jun 2021 15:29:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 49258 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 49258: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49258 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 28 Jun 2021 15:36:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 28 11:36:38 2021 Received: from localhost ([127.0.0.1]:52289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lxtJO-00026m-B6 for submit <at> debbugs.gnu.org; Mon, 28 Jun 2021 11:36:38 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:33955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <leo.prikler@HIDDEN>) id 1lxtJI-00026a-Lc for control <at> debbugs.gnu.org; Mon, 28 Jun 2021 11:36:37 -0400 Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at [62.116.34.49]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GDBXs458Yz1LXsR for <control <at> debbugs.gnu.org>; Mon, 28 Jun 2021 17:36:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4GDBXs458Yz1LXsR DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1624894589; bh=sB0t++rnm+9m8/wuBAnvyWL8uk0wZJ/lC/9+6+TDTfA=; h=Subject:From:To:Date:From; b=MLS4CcrYuTMkfTH7av+DGw1hEcLpw+ZL6Sli4k0txceUABRPNULmToZqhK/iMmLra g48AY7hRDNr/CxCrcn9zZ3fd7wYCqLVuImf92uvvRHBrup70v/JLi6WNxgbd5FLwL/ 2VMx+oN1rwdr6KdJsEhmKcwpOp+GEAaEakkE1FdY= Message-ID: <d7c0e430e623075f514b77880fb0f8810493b39b.camel@HIDDEN> Subject: From: Leo Prikler <leo.prikler@HIDDEN> To: control <at> debbugs.gnu.org Date: Mon, 28 Jun 2021 17:36:28 +0200 Content-Type: text/plain User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.3 (-) merge 49254 49255 49256 49257 49258 thanks
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.