From nobody Tue Feb 27 13:45:28 2024 X-Original-To: users-jp@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 4TkdzK2TG2z5BjND for ; Tue, 27 Feb 2024 13:45:33 +0000 (UTC) (envelope-from ev8csp@gmail.com) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 4TkdzJ3BJZz4L2d for ; Tue, 27 Feb 2024 13:45:32 +0000 (UTC) (envelope-from ev8csp@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=QYwUMFZ2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ev8csp@gmail.com designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=ev8csp@gmail.com Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-29a5f5ea920so270737a91.1 for ; Tue, 27 Feb 2024 05:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709041531; x=1709646331; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=H46Sqq4yp2nuXlkptBCSm5VGMSBpExsuEeHvbfkC/Gs=; b=QYwUMFZ2T15i/gWDAa2P5mBfpB9Fftygp8ltEevUm18tL7VCtOCuxrcbL7boos59SI NfRqN7xtBEj/3mURu8FTdYnXk+jHV/j2geglVm5nrnMvrQesZSwVW2OasHkJD7ferbDo lJtbtu6+qsWzdaKYzPLkxBCkrk6W+4zue7QgNKiYiWtaSzROreO4h9u8DdCMvkw/5/d+ oYtLa12spzC3EANJcyWBQ8+R9xcm0V6K5nn1emyTkPfD2gmZ4UWtTuJEB2oWU/Ra5Uev ekvXBMbZ98N3eZTnsGA6OSs+TdBWAMWXMQk3GwwrnLOPsImM998SNsPx+9ZVTp7Z1Bvk Rjsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709041531; x=1709646331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H46Sqq4yp2nuXlkptBCSm5VGMSBpExsuEeHvbfkC/Gs=; b=bQ2cKecLYsuI2LcKWyl0C5PY6Lex9AFRoR1+sHdRTksbHbUscVO7Cmfy+1fFa9zGep 26jqIxtXbzRMdNLk1RtRcKBUJEL3UWujuzbd3LFGUdMd0/h49c2c+AJT4l+/uu9i6PNS 5adXhORMcFzdsKge2dKUGtD/IoaS9x21O4Iy8QNFjNSoc69O9JwjJfjG0/E8D6J6uMvI 4pNtxAgOIzMBocD3V0/BUlx+qDxqDjDOHcpXWA0Q6fgCj3mIiF6XQOz3ER8j/+797uYV 0vDEccX5xY8YNqZ3htd4LRICFXmQq7RolBI65AaF2gzPXe0a6dmSur+on0t/typb64EW mXAQ== X-Gm-Message-State: AOJu0Yz0FRuIlclS+PpK+I3CcdcDpqYIheWINQwxwOKedw+LjNj2A/vd nAf1wwRlKlAb4M1Wc4FxOhA/VwTvvt1ARWe5+qs73f71O0VWeiIqMxpBjyQK X-Google-Smtp-Source: AGHT+IGV3SxrEWZ9Pk1MQ0zRdk8M0WxwpBtxBQtbgK0kQ8IICwWBYrIm8eDDbRiK5MYvAxu7aeHDsQ== X-Received: by 2002:a17:90a:7282:b0:299:2c43:cd96 with SMTP id e2-20020a17090a728200b002992c43cd96mr8272805pjg.0.1709041530812; Tue, 27 Feb 2024 05:45:30 -0800 (PST) Received: from mi-tx1310 ([240f:b1:a018:1:921b:eff:fe65:fe1e]) by smtp.gmail.com with ESMTPSA id q17-20020a639811000000b005dc4f9cecdcsm5665594pgd.86.2024.02.27.05.45.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 05:45:30 -0800 (PST) Date: Tue, 27 Feb 2024 22:45:28 +0900 From: ISHII To: users-jp@freebsd.org Subject: Re: sshd : hosts.allow Message-Id: <20240227224528.d58cbe894e329afcddf51b0f@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussion relevant to FreeBSD communities in Japan List-Archive: https://lists.freebsd.org/archives/freebsd-users-jp List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-users-jp@freebsd.org X-BeenThere: freebsd-users-jp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.26 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.76)[-0.764]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[users-jp@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[users-jp@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102f:from] X-Rspamd-Queue-Id: 4TkdzJ3BJZz4L2d 石井@広島と申します。 一応解決された様ですが、良く分からないながら念のため。 https://www.freebsd.org/releases/14.0R/relnotes/ のこの部分、 ”The VerifyHostKeyDNS option for ssh(1) now defaults to no, following the OpenSSH distribution. The X11Forwarding option also defaults to no. 41ff5ea22cb9 77934b7a1301 (Sponsored by The FreeBSD Foundation)” は関係していませんか? 私はその前にかかれている、”RSA/SHA-1 signatures are now disabled by default ~”のせいで、古いlinux-NASにSSH接続できなくなり、調べているうちに気づいただけなので当てずっぽうです。 On Thu, 22 Feb 2024 14:44:57 +0900 CAP00BhVL+UauePOO=0MpCL_dYAO0cjWySvdOxWj4OPepMoAn4g@mail.gmail.com : 鬼 生田浩一 wrote: > 鬼生田です。 > > 14.0-RELEASE-p3サーバを新規構築中ですが、/etc/hosts.allowが過去バー > ジョンの時と動作が異なります。 > > sshd: 192.168. : allow > sshd: .example.jp \ > : spawn (echo %d. | \ > /usr/bin/mail -s "tcpd\: %d-form-%u@%h[%a]!" root) & \ > : allow > > 192.168.X.YからのSSHアクセスは、問題ありませんが > .example.jp からのSSHアクセスは、2接続目が待ち状態となります。 > 2接続目のアクセスを示すメールは届きます。1番目の接続を終了す > るとログインプロセスへ移行します。(プロンプト表示) > > google検索で、以下のページがヒットし、同じ現象のようです。 > https://www.space-i.jp/wp/?m=glduoruwccke > > ftpd : では上記hosts.allowの記述で従来と同じ動作をしてくれます。 > この現象(仕様?)の、情報お持ちの方おられましたら、ご教示ください。 > > -- > ☆ 鬼生田浩一@Oni.gr.jp ★ > oniuda@oni.gr.jp > ★ ☆ ISHII