From nobody Sat May 4 15:34:03 2024 X-Original-To: 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 4VWsCg51Vdz5J2KT; Sat, 4 May 2024 15:34:07 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VWsCf07FSz4YJ2; Sat, 4 May 2024 15:34:06 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=JGFD0lOw; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::11 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 223AFA7A9; Sat, 04 May 2024 15:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1714836844; bh=T27hUvi9TYpOX3x/thS7tDahhyH1NFoECU8kdTvdcc0=; h=Date:From:To:Cc:Subject; b=JGFD0lOw8PlsAV10RmJew69sySAPq2sYx2gJZl8n83IYk6PbQGPl85UyVWXTY/soa nOz6juc/ILlcoLqSKs32o5CpPbZ8q6JAem+mPt0lSNk3Z/2XPv5z+F7U583206Z+lA 1zppXGkV4S/ZwP2izD/2Wc8kt9fW4bm9W0ssGMMM= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 5488D2C0421; Sat, 04 May 2024 16:34:04 +0100 (BST) Date: Sat, 4 May 2024 16:34:03 +0100 From: Lexi Winter To: arch@freebsd.org Cc: net@freebsd.org Subject: review request: changing the default ifconfig(8) address format to CIDR Message-ID: Mail-Followup-To: arch@freebsd.org, net@freebsd.org 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="atEjnsVICxrcF9zt" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::11]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; ARC_NA(0.00)[]; DMARC_NA(0.00)[le-fay.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[arch@freebsd.org,net@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4VWsCf07FSz4YJ2 --atEjnsVICxrcF9zt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, i've just submitted this PR: https://github.com/freebsd/freebsd-src/pull/1216 which contains this commit: commit 57d273c90ee1c17446236aba25ed0bd291c4f126 (HEAD -> lf/main, hemlock/lf/main) Author: Lexi Winter Date: Sat May 4 16:11:21 2024 +0100 ifconfig(8): change default IP address format to 'cidr' 'netmasks' haven't been used in IP networking for decades. Change the default address format for both IPv4 and IPv6 addreses in ifconfig(8) to 'cidr', which prints addreses in the format most users will be more familiar with. The previous format is still available using -finet:hex or -finet6:numeric. imp@ suggested i should ask arch@ and net@ about this, so here i am! i understand there might be some backward-compat concerns with scripting here, but it's well past time this change was made, and anyone who really can't update their scripts can use ifconfig -f or $IFCONFIG_FORMAT to retain the old behaviour. --atEjnsVICxrcF9zt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmY2VWgACgkQDHqbqZ41 x5lJsgv8DYjMU6b/tyS5c4pKQnHQNvo9HuvHxZ5u0wj6ixPDyQl7zavO6VUEniEG f5vp1JEtYFDpdsBgwY5d8zBMDbJpudohcuEuqIotE6MFefYhDZRoCxewogb0HWXn V0leN/WcpURxctXppL/uH16Lbt2UL/GGfwX5YJqWqW+zzCWdDD+oyECFqljMhDGN B5Nqmgx0QvzU+nDUf0poNm2uCZYB5IIoOxbokC6nqD0edhOg3WWZqI4RHagcfAle bTHzq5ph+Az9b8iIB1N2vrSbWQj8sgoxew2BXbV6jccR4O8J/eqQppONAykqnSHZ OZennSeHJGLtCvm1BVIavTLoLwCQWkKsizV9k7yskETurg+n8K3qYTnYaAMr/utB qZ95ZR3xnvzUVjfOtPxKRS9CL41bQHqawGxBTIwAv+hD+s58U+wym87uhUT3xtXy UBctmped9iTBU7sBBiDbwaJoc0vFSoSEaYnsqkCr0VuloU5lX0CrLubehHqm9KqR 6R4U2LOV =j6VJ -----END PGP SIGNATURE----- --atEjnsVICxrcF9zt--