From nobody Fri Jun 25 00:55:17 2021 X-Original-To: freebsd-ipfw@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AAE0711CC77F for ; Fri, 25 Jun 2021 00:55:57 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9z8D1Q5sz4dc0 for ; Fri, 25 Jun 2021 00:55:55 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lj1-x229.google.com with SMTP id u11so10254298ljh.2 for ; Thu, 24 Jun 2021 17:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=537Cq0rvghNNrBG5mEtmtp4m5zQ5n78bOyl7tUhzk0E=; b=F6LQbIF/ABw6NPOMvDQyn0GHl8k4eNLBlGYvn0I1qO1m/NrIr1zFR1++CTNIMeYFyH yGFik8h1ut/0SvETbwH3iSQ93mRKKzd3iX/cm5vswKZXimcI9awKw9DdA5IC/I4ZMAXU X+c5WSRjrUrVlQp7MuV1zMsw7NtbU+epkNHpbj+hFyUr0c7qlhdMStubu7lqPRawEtEp tQPeLPJjiYp/sBxJsAqEdgTK2Llh0m/lmy9oLrRqRaVKidoGqDo8nmJ9EhIm/Md6OJSK 4U4tejGpQncd6cK40SwbMn20CaKfNrB42tZzP415fDyvmP54zbKDmB4fNYsWEiUYR1pr 0Ydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=537Cq0rvghNNrBG5mEtmtp4m5zQ5n78bOyl7tUhzk0E=; b=K4XUDj1dqBdCZNtLQpaVTR+j5+R6GHCEylCYRXSKw8MqzarBEN2RUozW8xAyXWYaqL LffLyJmPV+e6Fg0NvJr+HqOSbxdbQWdCdwnx0L5B4VObJIcNSNtaylS+P+AJgcG0oPHf nLdu59ZiC4UHtXZPbxLBPoisVqpaXiyPFHROxFFUP0REiQBcmqe8IbW/xNxpF5gbKOxF J0xc/SbcNOfBRob8kvcw4/S83SOACp94iYTBq8MPIH9oelM729dkfMN1A25mAdjDMNkS JwDY0UsBcdnDM5VprzyEKeB1RkjmDarTq3KNYwr1k0V73rI2P2RCY3szjKv11VtPjpYC w6iQ== X-Gm-Message-State: AOAM533Hk6xRBgJ6RR9XMQiaB6k6+AvX+DKziIIc0TaWOQYfNvgwLNyr zayV2DeUvsJmi0tun6dsmUt2sVmAzV82FiJhDWDX33J5kDFt6Yqj X-Google-Smtp-Source: ABdhPJyuGOAz+Wux8y8SyWhQEFpyZ50U8S+1Vk01aoBxayYt/Ms6wRufeFVXiomqQQ4gz1w+5H2EBljJAmfwn3LzvQ8= X-Received: by 2002:a2e:a546:: with SMTP id e6mr6067795ljn.255.1624582553338; Thu, 24 Jun 2021 17:55:53 -0700 (PDT) List-Id: IPFW Technical Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ipfw@freebsd.org MIME-Version: 1.0 From: Michael Sierchio Date: Thu, 24 Jun 2021 17:55:17 -0700 Message-ID: Subject: Dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 To: "freebsd-ipfw@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000001bf005c58c9a51" X-Rspamd-Queue-Id: 4G9z8D1Q5sz4dc0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=F6LQbIF/; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::229) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ipfw@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::229:from:127.0.2.255]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::229:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::229:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ipfw]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: Y --000000000000001bf005c58c9a51 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For numerous reasons, I've been building security appliances with a monolithic kernel for a long time. A recent git pull on the stable/12 branch from github has borked dummynet. *root@graviton-1:/etc/ipfw 242#* ipfw pipe 1 config gred 0.01/12/36/0.75 noerror ipfw: net.inet.ip.dummynet.red_lookup_depth must be greater than zero *root@graviton-1:/etc/ipfw 243#* sysctl net.inet.ip.dummynet.red_lookup_depth=3D256 sysctl: oid 'net.inet.ip.dummynet.red_lookup_depth' is read only Interesting, but inconvenient. Just happened upon reboot. Attempting to set in /boot/loader.conf doesn't work. Any advice? Many (if not all) of the dummynet sysctls are borked *root@graviton-1:~ 201#* sysctl net.inet.ip.dummynet.red_max_pkt_size=3D150= 0 sysctl: oid 'net.inet.ip.dummynet.red_max_pkt_size' is read only *michael.sierchio@graviton-1:~ 201>* sysctl net.inet.ip.dummynet net.inet.ip.dummynet.io_pkt_drop: 0 net.inet.ip.dummynet.io_pkt_fast: 0 net.inet.ip.dummynet.io_pkt: 0 net.inet.ip.dummynet.queue_count: 0 net.inet.ip.dummynet.fsk_count: 0 net.inet.ip.dummynet.si_count: 0 net.inet.ip.dummynet.schk_count: 0 net.inet.ip.dummynet.expire_cycle: 0 net.inet.ip.dummynet.expire: 0 net.inet.ip.dummynet.tick_lost: 0 net.inet.ip.dummynet.tick_diff: 0 net.inet.ip.dummynet.tick_adjustment: 0 net.inet.ip.dummynet.tick_delta_sum: 0 net.inet.ip.dummynet.tick_delta: 0 net.inet.ip.dummynet.red_max_pkt_size: 0 net.inet.ip.dummynet.red_avg_pkt_size: 0 net.inet.ip.dummynet.red_lookup_depth: 0 net.inet.ip.dummynet.debug: 0 net.inet.ip.dummynet.io_fast: 0 net.inet.ip.dummynet.pipe_byte_limit: 1048576 net.inet.ip.dummynet.pipe_slot_limit: 100 net.inet.ip.dummynet.hash_size: 64 net.inet.ip.dummynet.fqpie.limit: 10240 net.inet.ip.dummynet.fqpie.flows: 1024 net.inet.ip.dummynet.fqpie.quantum: 1514 net.inet.ip.dummynet.fqpie.beta: 1250 net.inet.ip.dummynet.fqpie.alpha: 125 net.inet.ip.dummynet.fqpie.max_ecnth: 99 net.inet.ip.dummynet.fqpie.max_burst: 150000 net.inet.ip.dummynet.fqpie.tupdate: 15000 net.inet.ip.dummynet.fqpie.target: 15000 net.inet.ip.dummynet.fqcodel.limit: 10240 net.inet.ip.dummynet.fqcodel.flows: 1024 net.inet.ip.dummynet.fqcodel.quantum: 1514 net.inet.ip.dummynet.fqcodel.interval: 100000 net.inet.ip.dummynet.fqcodel.target: 5000 net.inet.ip.dummynet.pie.beta: 1250 net.inet.ip.dummynet.pie.alpha: 125 net.inet.ip.dummynet.pie.max_ecnth: 99 net.inet.ip.dummynet.pie.max_burst: 150000 net.inet.ip.dummynet.pie.tupdate: 15000 net.inet.ip.dummynet.pie.target: 15000 net.inet.ip.dummynet.codel.interval: 100000 net.inet.ip.dummynet.codel.target: 5000 --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata --000000000000001bf005c58c9a51--