Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 22:35:47 -0500
From:      Jason Hellenthal <jhellenthal@dataix.net>
To:        "<dteske@FreeBSD.org>" <dteske@FreeBSD.org>
Cc:        "<rc@freebsd.org>" <rc@freebsd.org>, Devin Teske <dteske@freebsd.org>
Subject:   Re: network.subr _aliasN handling
Message-ID:  <6D23F10D-14E0-4812-A0B5-3D3D4BE66953@dataix.net>
In-Reply-To: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org>
References:  <20131228055324.GA72764@aim7400.DataIX.local> <A7699871-A170-4AD5-B740-ED8BE17C7107@fisglobal.com> <9498BE8E-8090-4E7A-8317-18D29B1DDC08@dataix.net> <7DBA7D58-E925-47BC-967C-F653348426A6@fisglobal.com> <A15FAFBD-4597-4D8D-A014-0D486573894C@dataix.net> <AFFFCC9A-8C21-4C0B-A8D9-457E4C26DDA3@fisglobal.com> <7EAEF3AC-DB1B-4D3E-A156-E1E76B765990@jnielsen.net> <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I'll get on testing this on 10-STABLE in the morning.

Thanks Devin

-- 
 Jason Hellenthal
 Voice: 95.30.17.6/616
 JJH48-ARIN

> On Feb 21, 2014, at 20:17, <dteske@FreeBSD.org> wrote:
> 
> 
> 
>> -----Original Message-----
>> From: John Nielsen [mailto:lists@jnielsen.net]
>> Sent: Friday, February 21, 2014 9:06 AM
>> To: Devin Teske
>> Cc: Jason Hellenthal; rc@freebsd.org; net@freebsd.org
>> Subject: Re: network.subr _aliasN handling
>> 
>>> On Jan 4, 2014, at 4:25 AM, Teske, Devin <Devin.Teske@fisglobal.com>
>> wrote:
>> 
>>>> On Jan 4, 2014, at 2:59 AM, Jason Hellenthal wrote:
>>>> 
>>>> I believe I know what you mean by that but in a way scares me when
> you say
>> sort as in mixing up the original order they appear in which I would
> find to be
>> really unattractive to most.
>>> 
>>> It's not as scary as it sounds.
>>> 
>>> The issue is that the variables are sorted alphabetically, instead of
>>> numerically.
>>> 
>>> Let's take four words: foo1, foo2, foo10, and foo20.
>>> If you sort them alphabetically, you get:
>>> 
>>>    foo1
>>>    foo10
>>>    foo2
>>>    foo20
>>> 
>>> You'll notice this when doing a directory listing, as that too is
>>> sorted alphabetically.
>>> 
>>> This is why "alias14" is run before "alias8" and "alias9". Because
>>> they are processed in alphabetically sorted order. I didn't do
>>> anything to sort the values, they came pre-sorted in alphabetic order.
>>> 
>>> If I simply throw in a "| sort -n", then it will change it to
> numerically sorted.
>>> As you might expect, numerically sorting the above list would result
> in:
>>> 
>>>    foo1
>>>    foo2
>>>    foo10
>>>    foo20
>>> 
>>> Trivial really. I'll throw a patch at you when I get some cycles
> (soon).
>> 
>> Hi Devin, Jason-
>> 
>> I've been behind on my mailing list e-mail for a while, but I really
> like the idea
>> and the patch proposed here. I don't see anything like it in head yet,
> so ... Ping?
>> :)
>> 
>> JN
> [Devin Teske] 
> 
> *** this time with attached patch.txt ***
> 
> Hi JN, here's a new patch that incorporates numerical sorting as well as
> what
> the original patch set out to do ... make "gaps" possible (so that you
> could
> comment out an alias without having to renumber all the ones following).
> 
> Give it a look, let me know what you think.
> -- 
> Devin
> 
> _____________
> The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
> <patch.txt>

[-- Attachment #2 --]
0	*H
010	+0	*H
90000
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
130518085048Z
140519220947Z0H10Ujhellenthal@dataix.net1%0#	*H
	jhellenthal@dataix.net0"0
	*H
0
'`TmfkܨJ5u+c'Upb`zv)&ȸXZ*VN6JvLoVoh}g
pQDŽKf/tZA˳("4Ԅ˻'d2h|IBl'^v^;'e8S99ۿVm|k8_UQtC"5l!kjZ]އQGn\BŽh!FTsD%pV^Eӑd¨x͸"9
г"f00	U00U0U%0++0UڔfmVʢ$䟓0U#0Sr풜\|~5NԸQ0!U0jhellenthal@dataix.net0LU C0?0;+70*0.+"http://www.startssl.com/policy.pdf0+00' StartCom Certification Authority0This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.06U/0-0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://aia.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
{0Ӹ,52W{Ey8b[{7_+P"n["-,@ŽpJ-W$ݍjWA-6z(	RdIZ.KzXє[K6}{s+v.Qh0PͅKhTw0I73lz*Kv4Kkگ63;p1:ױ@)]ok>:W%XwC1þL/o8~#oP0400
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210155Z
171024210155Z010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0"0
	*H
0
	-).2AUGo#G
B|NDRpM-B=o-we5JQpa>O.#._<V
[~**pz~3WG.ᘟMlr[<Ce6fqO"uxfWN#uicgkv$Lb%y`_{`xK'GN00U00U0USr풜\|~5NԸQ0U#0N@[i04hCA0f+Z0X0'+0http://ocsp.startssl.com/ca0-+0!http://www.startssl.com/sfsca.crt0[UT0R0'%#!http://www.startssl.com/sfsca.crl0'%#!http://crl.startssl.com/sfsca.crl0U y0w0u+70f0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0
	*H

}x,\c^#wMq}>UK/^yX֏y	frMIŲB61ymQ󸟆ҨݬZ0&;@#13qۑ&	̢o	6r_;GO>*I(	74XS1r3)!LJy6Kotˆ#
_wSr
;B
ADp(fs䰷6%.W0J3:bC<8t X1<Cn=t==wST~\wkBf|15zUP)(IjVB!OfI=bb\4-*em/нSJm7N[]'@ڽD9Kr>R7/|o^I@ټ'Pa$ z9a'L)(
I}vcH]۸D*W}
m>Q|C.(,lQ000
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
060917194636Z
360917194636Z0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0"0
	*H
0
	lF|x{3rb6 "$^wC
d̎68#nm<r=3+/AYg}
tyL7z9RYFC҅qub4,4ǖR=3M;JK&/r5w<]&6v\t%x-0-ryF*I
cSb:̵fkt+v>mDsb;ľSV%lQ	ʿvmۿ=fVH:KߧXP8u[ClMp[)eݪ]̯1ҍ{n'fHnB?!>{
pclT\%zɢɋ,~^MXn
2n6IHi–Mi
y"H{ipz7
vOW`g:ԋr"Ɵƶ\R<*s
`z/ۣn&0݉W=+ŷv+*r3]	K߻tRKR0N0U00U0UN@[i04hCA0dU]0[0,*(&http://cert.startcom.org/sfsca-crl.crl0+)'%http://crl.startcom.org/sfsca-crl.crl0]U T0P0L+70;0/+#http://cert.startcom.org/policy.pdf05+)http://cert.startcom.org/intermediate.pdf0+00' Start Commercial (StartCom) Ltd.0Limited Liability, read the section *Legal Limitations* of the StartCom Certification Authority Policy available at http://cert.startcom.org/policy.pdf0	`HB08	`HB
+)StartCom Free SSL Certification Authority0
	*H
lf4Ѕ^}
N8^ߦ%K2;=D	[I)f%	<6+Kh9f=&9Q{~ZWpi^X
ߌE8
^Wbz)n(DÐ8<CMdE(\s{諱.\dns1:}Q;Mf{<ӚePu/CiyCFrd6%8w~kjDKx,KD4R'
]xS2݀fuٵh(a.8gd./pǖ|eCTݥ9`4ɖp,H{~k";*RKU"4N&",uJ}׸d6/#	;sIjWxřCcMw-eriG	V$yX.	~m>J9+u	U77Cb VKel$$4"}?eQ
0j
r^1o0k0010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0	+0	*H
	1	*H
0	*H
	1
140222033549Z0#	*H
	1ȽϬXGkʌi0	+710010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0*H
	1010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
	*H
|6уfk))sѱ?J	)51AJuէYt$܂
ZƼ Vj;	bĄҺ>s?%1
K<(E3Vth"Ё{'\	c3zj:]tP}+*Ynɒ0q}%HzIˇ/se̶}c\kt`7bgc"/Cԓ$*l7zl,:pLx(ZC
3k

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D23F10D-14E0-4812-A0B5-3D3D4BE66953>