Re: [apps-discuss] IRC URIs to denote users
Melvin Carvalho <melvincarvalho@gmail.com> Thu, 25 September 2014 21:02 UTC
Return-Path: <melvincarvalho@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C7F11A03A0 for <apps-discuss@ietfa.amsl.com>; Thu, 25 Sep 2014 14:02:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, SPF_PASS=-0.001] autolearn=no
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 rem44xtLcxg3 for <apps-discuss@ietfa.amsl.com>; Thu, 25 Sep 2014 14:02:47 -0700 (PDT)
Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DE401A0394 for <apps-discuss@ietf.org>; Thu, 25 Sep 2014 14:02:47 -0700 (PDT)
Received: by mail-lb0-f179.google.com with SMTP id 10so12564581lbg.24 for <apps-discuss@ietf.org>; Thu, 25 Sep 2014 14:02:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vksd6w8zFmKY2ni5AFXuTsOcXs417aoRKfTmkk0rT+E=; b=jIheQxYxrnSDpFfd+zA5L+7nI4fArf1IpJ/OQ0RbmG30quy4/vEmYxgAX5Co/3msHj Ku72uoU1CyHqOrKkpq6LeV5xMXJqPL9oVVK51MmbRVwTUwegt9ZVFcdNNOgFP+XSJnzV GRv47WUnwRPhx48w/ql3IG3arpKMy26tBlU61yGoLM7sL1HWmmCr5K5uIAsWQKj7go5G w6+LhWHtM5+99QX9t1ljnjyOne9XR29s5bherLp6HF/E7GCXhH/ePy7q44eVXnki1viz HjBWNkP3dFXvcffxmD/HKCdtVJUkjwk5s59gf0iiNolQaC4LeX/Wwn+sIDz6OgdB8btv r8kg==
MIME-Version: 1.0
X-Received: by 10.112.75.233 with SMTP id f9mr5387442lbw.102.1411678965240; Thu, 25 Sep 2014 14:02:45 -0700 (PDT)
Received: by 10.112.13.99 with HTTP; Thu, 25 Sep 2014 14:02:45 -0700 (PDT)
In-Reply-To: <54224355.2070300@seantek.com>
References: <CAKaEYhL9PisQkN3rutxUOQyD7BFcL4W+eV_wXmj6MFePwTYbPg@mail.gmail.com> <54224355.2070300@seantek.com>
Date: Thu, 25 Sep 2014 23:02:45 +0200
Message-ID: <CAKaEYhLe=Gj1nqUVohjwUUNBxXFqXz-_a=yLpjDHvV+7eip_6Q@mail.gmail.com>
From: Melvin Carvalho <melvincarvalho@gmail.com>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: multipart/alternative; boundary="14dae9cfce76429ab60503ea1faa"
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/19C2Xl20FCBYP6SR9_Oc6ZNiIaY
Cc: Benjamin Young <byoung@bigbluehat.com>, Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] IRC URIs to denote users
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Sep 2014 21:02:49 -0000
On 24 September 2014 06:06, Sean Leonard <dev+ietf@seantek.com> wrote: > On 9/22/2014 1:50 PM, Melvin Carvalho wrote: > >> I was wondering if IRC URIs are standardized at all? >> >> The latest I found was : >> >> http://tools.ietf.org/html/draft-butcher-irc-url-04 >> >> I have a use case of marking reputation from one system (web chat room) >> to an IRC chat room, but I require an identifier for the user. >> >> The suggestions so far have been: >> >> irc://user@host >> irc://user@host/ -- trailing slash >> irc:user@host -- similar to xmpp >> irc://host/#user -- fragment could be problematic as per RFC 9386 >> >> I've gone with the second option for the moment >> >> Any pointers would be most welcome. >> > > Based on the options presented, I think the third one, irc:user@host, > best captures the spirit of the URI syntax. > > RFC 3986 Section 3 and 4.3 define absolute URIs as scheme : hier-part; > hier-part can be one of: > "//" authority path-abempty > path-absolute > path-rootless > path-empty > > The first one is usually used for identifying resources accessible via > some Internet-related protocol where the authority is a host:port (plus > optional userinfo to log in to the host:port), followed by some > server-specific path to the resource (usually hierarchical). The second one > is for some server-specific path (usually hierarchical), where the server's > host:port are "obvious". For example, <ldap:///o=University%20of%20Michigan,c=US> > means "an LDAP URL referring to the University of Michigan entry, available > from an LDAP server of the client's choosing" (RFC 4516 Section 4). > <file:///> URIs (URLs) refer to the local file system. > > The fourth one, path-empty, isn't used much...but the gist (I suppose) is > if you want to skip right to the ? query or # fragment parts. magnet: > (provisional) URIs use this. > > Thus, we arrive at path-rootless, which is basically "Everything Else". In > this case, you are trying basically to identify an IRC object (a user), and > tag it in such a way that it's not an e-mail address. <user@example.com> > looks like an e-mail address. <irc:user@example.com> looks the best to > me; it's obviously not an e-mail address. Similarly, it's obviously not an > address to an IRC channel. If you say irc://host/user, you're sharing the > channel namespace with the user namespace...not a great idea. If you say > irc://host/#user, you are saying that the path is "/", which (in the > context of users/nicknames) doesn't make a whole lot of sense since > users/nicknames are specific to servers/hosts, not to sub-parts of > servers/hosts. > > The telnet: URL/URI is the most analogous to irc URIs--and telnet URLs go > way back to Tim Berners-Lee's [original paper]. In the original, it's > telnet://userinfo@host:port -- with no trailing slash (i.e., authority > path-abempty). In RFC 1738 sec. 3.8, it's telnet://userinfo@host:port/ -- > with trailing slash (i.e., authority path-abempty). > > The ssh URI proposal (draft-ietf-secsh-scp-sftp-ssh-uri-04) has no > trailing slash...but it also says that the path part is irrelevant. In any > event, the overall gist is that "//" at the beginning is sufficient to > distinguish "network paths" from "other things". > Thank you <irc:user@example.com> I like this alot. I think it makes most sense for my implementation, at this point in time. > > Sean > > [original paper]: http://citeseerx.ist.psu.edu/ > viewdoc/summary?doi=10.1.1.45.1836 "Universal Document Identifiers on the > Network" > >
- [apps-discuss] IRC URIs to denote users Melvin Carvalho
- Re: [apps-discuss] IRC URIs to denote users Ira McDonald
- Re: [apps-discuss] IRC URIs to denote users Melvin Carvalho
- Re: [apps-discuss] IRC URIs to denote users Ira McDonald
- Re: [apps-discuss] IRC URIs to denote users Melvin Carvalho
- Re: [apps-discuss] IRC URIs to denote users Sean Leonard
- Re: [apps-discuss] IRC URIs to denote users Larry Masinter
- Re: [apps-discuss] IRC URIs to denote users Melvin Carvalho
- Re: [apps-discuss] IRC URIs to denote users Melvin Carvalho
- Re: [apps-discuss] IRC URIs to denote users Dave Thaler