From nobody Thu Jun 30 22:50:38 2022 X-Original-To: freebsd-net@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 3B27E875B74 for ; Thu, 30 Jun 2022 22:50:52 +0000 (UTC) (envelope-from ggm@algebras.org) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYtpg2TMQz3h7c for ; Thu, 30 Jun 2022 22:50:51 +0000 (UTC) (envelope-from ggm@algebras.org) Received: by mail-lf1-x129.google.com with SMTP id z21so771739lfb.12 for ; Thu, 30 Jun 2022 15:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=algebras-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7Y76qrSr9smTPQ6SmyfRJyJthAA9AQGza85NGkWpcIA=; b=6GFKP4oE9yR+sHlk4E3R4ZZaBivh4/tCdrcAy9QBUasm1YsXEybLKXWRwrGQb4QSgs hX3+Bjslj69941GMRM7kc/y5tOLhpXiBl2UTDW1gPMobzvKIzngVekuvaO1PxEiuWJif bQ7vzwuvOgJS+ouTE2qMvQUrYKfiIEPLKAxoKmgf1UK55NffXMvS3i0g6hfhkCDi19RY d0MaoXdHwXiOHQsBPt4tRAV/ewouZUu39E80GB9YkjOtxnZxNiJ0yrmkV9lE8gFMgAhF +yVQYuSO2IseefAgK27uWIzX05Fci9rG+ljAVXvh8WUX/2mAlxT3nsDoA4eIkANPu8pv YxKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7Y76qrSr9smTPQ6SmyfRJyJthAA9AQGza85NGkWpcIA=; b=QlSHnTuRzb4YlF2dj/PXaQ5dFOSJAMk3jfuy4Kj8VuiYTvtGzrZNbLDgD3+yujKee5 KXAN3kNE/GzUoelS+QEiQyk/M2wwZ2sKVvCpKIBe7Q0t/s55tzEnez+XjzAC/MwFQWAf tkRRIS70cPwjENVaFJlGR7HTKp3N50ivfZjktlRZxndB2XTyIhqByZp1BWXwdplQzvVD mCfSoj3/WhrhSK81+S3IdDKhlE400bRTMTySfLpisySfrhDiczp+ZeF9cs2bS2GmaPxs mp6aMr8ppTjAuWGgjrufqolExFKrVtmg9PcItyDPqwW4iwbJlx+QAk9x00FsGcwxDl0i A8mw== X-Gm-Message-State: AJIora/DV3yvwogIpOkXrkI2/+sR+ypLwEY+aMPElEmO8ugP3w/3zZf4 tadpQGHqPBFW/iFZ3Ek/oPFy9qoOF+vP3KAEPWLQrQ== X-Google-Smtp-Source: AGRyM1ss0834dN4aXPEht2AynrnruLQlxgASBEAiGqgPNL2EthEKqpQjRPQ40llPn/ButYecfUslYlwHrxsxPLRqZO0= X-Received: by 2002:a05:6512:31d0:b0:47f:92c6:99f1 with SMTP id j16-20020a05651231d000b0047f92c699f1mr7568946lfe.198.1656629449836; Thu, 30 Jun 2022 15:50:49 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: <0843509a-fe0c-ffe8-2cfe-534872bc33bd@sentex.net> <202206301516.25UFGSrM090126@gndrsh.dnsmgr.net> In-Reply-To: <202206301516.25UFGSrM090126@gndrsh.dnsmgr.net> From: George Michaelson Date: Fri, 1 Jul 2022 08:50:38 +1000 Message-ID: Subject: Re: Netstat -i 5-character interface name length? To: "Rodney W. Grimes" Cc: mike tancsa , Chris Ross , freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4LYtpg2TMQz3h7c X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=algebras-org.20210112.gappssmtp.com header.s=20210112 header.b=6GFKP4oE; dmarc=none; spf=pass (mx1.freebsd.org: domain of ggm@algebras.org designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=ggm@algebras.org X-Spamd-Result: default: False [-1.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[algebras-org.20210112.gappssmtp.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[algebras.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[algebras-org.20210112.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::129:from]; MLMMJ_DEST(0.00)[freebsd-net]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUSPICIOUS_RECIPS(1.50)[] X-ThisMailContainsUnwantedMimeParts: N Is there a reason (avoid bikeshedding) the field width can't be increased to allow the bgeXhexIsVeryLong0 names to work? I'm not saying "you can alias around this" is bad, but I sense we're walking into a world which is where Linux is, with every physical device called eth0/1/2 and then "which" device is eth0 becomes a question.. On Fri, Jul 1, 2022 at 1:17 AM Rodney W. Grimes wrote: > > [ Charset UTF-8 unsupported, converting... ] > > On 6/29/2022 10:56 AM, Chris Ross wrote: > > > Hello folks. ?I just noticed something that I?m sure has been true > > > forever, but I checked and it?s still true on my 12.3-STABLE system. > > > > > One of the first local mods I do is alias netstat to netstat -W for this > > reason. e.g. > > alias netstat?? netstat -W > > > > in /etc/csh.cshrc > > That only fixes it for your interactive csh processes, the > original poster had specifically mentioned output from > periodic scrips, aka daily iirc. > > One thing that can be done to mitigate the long vlan > dev name (imho the vlan driver should of just named > itself much short, like "vl", as most network devices > are 2 litter names anyway) is to use the "name" option > of ifconfig to give them a better name than the default. > > ifconfig vlan2 create vlandev em0 vlan 2 name v2 > > -- > Rod Grimes rgrimes@freebsd.org >