Re: [radext] Confirmation of discussions on RADIUS/(D)TLS at IETF117
Alexander Clouter <alex+ietf@coremem.com> Thu, 03 August 2023 12:37 UTC
Return-Path: <alex+ietf@coremem.com>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C32AC169521 for <radext@ietfa.amsl.com>; Thu, 3 Aug 2023 05:37:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.807
X-Spam-Level:
X-Spam-Status: No, score=-2.807 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=coremem.com header.b="omp2ya5V"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="iovpSUxV"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q4m30VxpoytZ for <radext@ietfa.amsl.com>; Thu, 3 Aug 2023 05:37:15 -0700 (PDT)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A12EAC169518 for <radext@ietf.org>; Thu, 3 Aug 2023 05:37:15 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 2576E32009CF; Thu, 3 Aug 2023 08:37:06 -0400 (EDT)
Received: from imap46 ([10.202.2.96]) by compute5.internal (MEProxy); Thu, 03 Aug 2023 08:37:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coremem.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1691066225; x=1691152625; bh=6CTF3XLKtN4kAbCjmd/PCAjCA/Qb2MR5qM0 KVWuBUb0=; b=omp2ya5VpQPU7HrKKzjjNw4O5/hTJK6HjC/5OBvEoev1EdM6phW 8PLoPtAJ//XlOYoYXxmobWhIGbwy6j9IIGO57WZ/0X0Xj0iZLaPFEK28xPHpag51 lNp0a7CQ+oLqsJYK2w2XEnlP82jQaTHDetgk2K1Fk6UIEyxd5lsBeCYdB46nZz7u 2I2LLzQnsrI0DHWa42QsSmw4HzOUtdawhA1Ovr9/ccCaYb2KYW4YpBPt+UQ3Mzku okMQ9HXDAW6iI24Kjz1moEi+7MamRC83alKqqAHXHe/TGFD6MSh4nhgorOMYb1rp yorP8pgL9P9tYN+6LPQHQjg3p+kEbC3biaA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1691066225; x=1691152625; bh=6CTF3XLKtN4kAbCjmd/PCAjCA/Qb2MR5qM0 KVWuBUb0=; b=iovpSUxV/IsSN0+p4r1nHn8QG8cxyty0LFmZxf5YYMg/vtEG264 41iC4LBqrlHj2sluB3d8Cdt/NjA/n4mNRxSoPP+0n3MGxrdAMNZh3IgGH9u5+4ZX ah4L9UPKf35SwGmWTuIkd7YGO2ro0fEmA8ViRNdyG4GRt8SxIwv5xdIRSUhcp6Xs I9Ox8SCM++nOHmHZ73RE5ZwTuXj1DjopzjCFcG64qpy7lbaAyWB8PzXsIJvUvoY+ YFWF9Ya5x0pZnmVfl63mYqvVYICoJ9QnluZg8f16yJ1oEL/8Z0xKJr3k8DYBBHuh Lr8G8adL2k1p1NZ5hzfl6pI9XOFxHOZ5EyA==
X-ME-Sender: <xms:cZ_LZMpp4M7uxaNOBpoto2HvO0YabP1rjrnqUBgxUKgIMu0QuGbq2A> <xme:cZ_LZCqjxq60HXNJwJ7gNBwihQmUBxQ9hahxMLPbpISCjRxJda40-Juuu_qinT7bE hE0lax6wCzXQAKgsg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrkedvgdehvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedftehl vgigrghnuggvrhcuvehlohhuthgvrhdfuceorghlvgigodhivghtfhestghorhgvmhgvmh drtghomheqnecuggftrfgrthhtvghrnhepledtveethfffleelffeludeflefgjeefgeeu heehvedvgeeltedvudelgeelgfdvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprghlvgigodhivghtfhestghorhgvmhgvmhdrtghomh
X-ME-Proxy: <xmx:cZ_LZBONQ68B3mMN5TXqv1gaRj5yEmbD5_0Hgpw0jVOlW3foLvB2Ig> <xmx:cZ_LZD6P6RyUS_Cjwx8GvkXNEuPrzBJCOKOr-RPAmnqr3DgV62HulA> <xmx:cZ_LZL51jzOeazASP_OZDyNQ7f9S1-wcy-SyxgKutFR2mPDfSOSYIA> <xmx:cZ_LZEVRyAHMcPZ272JFssuDUNY6fc9GVvPoATglK0BOtGPa90nUaw>
Feedback-ID: ie3614602:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4D5BC2A20085; Thu, 3 Aug 2023 08:37:05 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.9.0-alpha0-624-g7714e4406d-fm-20230801.001-g7714e440
Mime-Version: 1.0
Message-Id: <00148d46-f7f2-4774-8728-0a2c2effbf0b@app.fastmail.com>
In-Reply-To: <60F56CCB-A7B1-4AE7-A113-0AB3ACB1E032@gmail.com>
References: <997852b9-f33a-46ad-8b16-f5749351947b@app.fastmail.com> <60F56CCB-A7B1-4AE7-A113-0AB3ACB1E032@gmail.com>
Date: Thu, 03 Aug 2023 13:36:45 +0100
From: Alexander Clouter <alex+ietf@coremem.com>
To: Margaret Cullen <mrcullen42@gmail.com>
Cc: radext@ietf.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/t-NKvXtHT22ZVsrqiTlKnPnmN-I>
Subject: Re: [radext] Confirmation of discussions on RADIUS/(D)TLS at IETF117
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/radext/>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Aug 2023 12:37:21 -0000
On Thu, 3 Aug 2023, at 12:52, Margaret Cullen wrote:
> I’m not 100% sure that we need watchdogs for RADIUS/TLS, at all,
> because the TCP connection will time out and close if data is sent and
> not acknowledged, but I don’t object to sending Status-Server messages
> for RADIUS TLS (when there has been no response to real traffic) to
> keep the RADIUS layer consistent across the TLS and DTLS transports.
TCP can stall for a very long time without the application knowing about it; north of 90 seconds is common.
>From the perspective of the application the bytes have been sent whilst back in the real world they are sitting in the socket buffer waiting to be dispatched. Even once sent, until that ACK comes back you do not really know if it has arrived...none of which the application sees.
There are ways to tickle out what is going on closer to the wire[1], but it is non-trivial and IIRC not 100% portable between OSs in matching behaviour.
This is why application based watchdog is necessary. Without it, your socket may have stalled and you will not know until you push a live request over it.
Cheers
[1] SO_{RCV,SND}BUF, SO_{RCV,SND}LOWAT and SO_{SND,RCV}TIMEO
- [radext] Confirmation of discussions on RADIUS/(D… Jan-Frederik Rieckers
- Re: [radext] Confirmation of discussions on RADIU… Alan DeKok
- Re: [radext] Confirmation of discussions on RADIU… Bernard Aboba
- Re: [radext] Watchdog behaviour (was: Confirmatio… Jan-Frederik Rieckers
- Re: [radext] Watchdog behaviour (was: Confirmatio… Alexander Clouter
- Re: [radext] Watchdog behaviour (was: Confirmatio… Bernard Aboba
- Re: [radext] Watchdog behaviour (was: Confirmatio… Mark Grayson (mgrayson)
- Re: [radext] Watchdog behaviour (was: Confirmatio… Heikki Vatiainen
- Re: [radext] Watchdog behaviour (was: Confirmatio… Alexander Clouter
- Re: [radext] Watchdog behaviour (was: Confirmatio… Jan-Frederik Rieckers
- Re: [radext] Watchdog behaviour (was: Confirmatio… Heikki Vatiainen
- Re: [radext] Watchdog behaviour (was: Confirmatio… Margaret Cullen
- Re: [radext] Watchdog behaviour (was: Confirmatio… Alan DeKok
- Re: [radext] Watchdog behaviour (was: Confirmatio… Margaret Cullen
- Re: [radext] Confirmation of discussions on RADIU… Alexander Clouter
- Re: [radext] Confirmation of discussions on RADIU… Margaret Cullen
- Re: [radext] Confirmation of discussions on RADIU… Alexander Clouter
- Re: [radext] Confirmation of discussions on RADIU… Michael Richardson
- Re: [radext] Confirmation of discussions on RADIU… Heikki Vatiainen
- Re: [radext] Confirmation of discussions on RADIU… Peter Deacon
- Re: [radext] Confirmation of discussions on RADIU… Alan DeKok
- Re: [radext] Confirmation of discussions on RADIU… Peter Deacon
- Re: [radext] Confirmation of discussions on RADIU… Alan DeKok
- Re: [radext] Confirmation of discussions on RADIU… josh.howlett
- Re: [radext] Confirmation of discussions on RADIU… Jan-Frederik Rieckers
- Re: [radext] Confirmation of discussions on RADIU… Margaret Cullen
- Re: [radext] Confirmation of discussions on RADIU… Alan DeKok
- Re: [radext] Confirmation of discussions on RADIU… Michael Richardson
- Re: [radext] Confirmation of discussions on RADIU… Heikki Vatiainen
- Re: [radext] Confirmation of discussions on RADIU… Alexander Clouter