Re: [v6ops] rfc8305 and apple iOS

Ted Lemon <mellon@fugue.com> Sat, 27 February 2021 18:00 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52F3B3A114B for <v6ops@ietfa.amsl.com>; Sat, 27 Feb 2021 10:00:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id slQsxlaBLUdr for <v6ops@ietfa.amsl.com>; Sat, 27 Feb 2021 10:00:19 -0800 (PST)
Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C0803A113F for <v6ops@ietf.org>; Sat, 27 Feb 2021 10:00:19 -0800 (PST)
Received: by mail-qk1-x729.google.com with SMTP id b130so877644qkc.10 for <v6ops@ietf.org>; Sat, 27 Feb 2021 10:00:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=YaSBF31av3ZRy6qNxSQM2PFpsWq4ikEOuCdYAP3Z5pw=; b=vTfCjl+bMEjUStdnrhk1iJ9xFZdMTES9CA02/ccC+O62u19EeSXRNrLUJAfnCBoSKO F1JnAaUz5k6svEBp6PIijnKeZ8G+um2FT556yTF4Ehgy+N4CizYcBBw0gSRuGa1rmIEH YnLModKUdEXWXoX1wYKbQgUa8a6OaVySkSrGPsoO6VBRXP6ftbWlRI+LzM5PbsgrwOTu c9PZKXY0uYjq+giqbrOdw/CE9IZrlv8AmDVEV/Hg7CmRH/bgv61cfllgkb34+oTsuWW5 X1G5Y9vvmfWolkE0UqZTWrpgD5jJ25ducqzsP887LQc/IMP/UWDLanczSn+LsSb/1Rsl gNGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=YaSBF31av3ZRy6qNxSQM2PFpsWq4ikEOuCdYAP3Z5pw=; b=bMQkIwRPHM6fYRQp+fpCTnxDj7keKjiX/CMbgJgE8I0picJMlR8mrqZexdVY+F/GTo xh4jA4l5N7uEQXMhZpWsnKlKnCz3Tqja2c0iF8eIvvpCIPwGrDCiLJcM4hj4byuxzlt8 Eqy2eIYzCUl27fP5jzDz5ld8xmpEEdUwkTWYTDoI/TD84fJSOaIBuF2wN16FDley0XX0 XNvmuqGnXWj5cuUG9hXo6s1Lbeew5bZjHroxHkerKFv7xvL3Q0dO9OqcqChy15NOotix mpYKMYtmCKn2PSPJoW6Yu/89RJOUhdix8z1nCGpzUtGQ8I6/dmDmxnvl8px3NL1vw2Pk SSgQ==
X-Gm-Message-State: AOAM532tkD2sxxp35TZWUKVCDHmXfHa3Y+ars9lpTWev5SGkuw+6H5o7 FzZpCBTTYkqusaMZ1rVSqJ4XBAwhwARJ1g==
X-Google-Smtp-Source: ABdhPJyDU2gEjYuFbT0F3fTKTtfbJKkGRr80hjdkxSYjjBvJzGXfzpNhiRLGH12FwOIljs9nN9K2AQ==
X-Received: by 2002:a37:4fcf:: with SMTP id d198mr8003277qkb.277.1614448818126; Sat, 27 Feb 2021 10:00:18 -0800 (PST)
Received: from smtpclient.apple (c-24-91-177-160.hsd1.ma.comcast.net. [24.91.177.160]) by smtp.gmail.com with ESMTPSA id s133sm7654636qke.1.2021.02.27.10.00.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Feb 2021 10:00:17 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail-30897053-604B-4DC8-8EDD-A4426B7D83AA"
Content-Transfer-Encoding: 7bit
From: Ted Lemon <mellon@fugue.com>
Mime-Version: 1.0 (1.0)
Date: Sat, 27 Feb 2021 13:00:16 -0500
Message-Id: <C9F786E3-5F19-4E2C-BD6A-EC9C01125728@fugue.com>
References: <bb46b74a-bad2-8a11-6b35-6093d54fc4bf@otenet.gr>
Cc: v6ops@ietf.org
In-Reply-To: <bb46b74a-bad2-8a11-6b35-6093d54fc4bf@otenet.gr>
To: Yannis Nikolopoulos <yanodd@otenet.gr>
X-Mailer: iPhone Mail (18E156)
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/vAtfJ8Zw_O3xR8-MrDIpImbBGP8>
Subject: Re: [v6ops] rfc8305 and apple iOS
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Feb 2021 18:00:21 -0000

Okay, that’s the information I was looking for. I don’t know the answer. My point was that how a particular application behaves isn’t really embedded in the operating system. It would be interesting to see if the different APIs all behave the same. 

> On Feb 27, 2021, at 12:42, Yannis Nikolopoulos <yanodd@otenet.gr> wrote:
> 
>  Hi,
> 
> I'm not sure, but the setup is an iphone 11 connected (via USB) to a macbook laptop, where tcpdump traces are taken from the iphone's 4g radio (attached to the laptop as a remote virtual interface). So, the client is Safari 14 and I'm guessing the web api is used
> 
>> On 27/2/21 7:23 PM, Ted Lemon wrote:
>> Do you know which api the client uses?
>> 
>>> On Feb 27, 2021, at 12:17, Yannis Nikolopoulos <yanodd@otenet.gr> wrote:
>>> 
>>>  Hello,
>>> 
>>> It's been a while, but I was under the impression that Apple's iOS honors rfc8305, section 3:
>>> 
>>> "When a client has both IPv4 and IPv6 connectivity and is trying to
>>>    establish a connection with a named host, it needs to send out both
>>>    AAAA and A DNS queries.  Both queries SHOULD be made as soon after
>>>    one another as possible, with the AAAA query made first and
>>>    immediately followed by the A query.
>>> 
>>>    Implementations SHOULD NOT wait for both families of answers to
>>>    return before attempting connection establishment"
>>> 
>>> I was running some tests on an iphone 11 w/ safari and realized that the client waits for both DNS replies before sending the 
>>> first SYN packet (got several captures). Has anybody got any insights on this?
>>> 
>>> Yannis
>>> _______________________________________________
>>> v6ops mailing list
>>> v6ops@ietf.org
>>> https://www.ietf.org/mailman/listinfo/v6ops
>