Re: rewrites.mfp and IPv6 addresses ... seems to not blow up
R A Lichtensteiger <[email protected]> Thu, 5 Jan 2012 15:25:18 -0500
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
[email protected] replied to my note: <> > So, setting up crm114 for someone else led me to a seriously overdue <> > cleanup of my own rewrites.mfp file. I decided that it's probably <> > just doing string replacements to normalize the data, so it should <> > deal just fine with an IPv6 colon separated address. <> > <> > So far, it seems to do so just fine, so, Bill, I think you can call <> > crm114 "IPv6 compliant" <> <> So - all those colons didn't get the knickers in a twist? :-) Apparently not <grin> <> I guess :*: and :+: don't appear much in IP6 addresses - or, if they <> do, then whatever follows it until the next colon doesn't map <> to a preexisting variable. Nope, those two strings will never appear in an address. A v6 address is comprised of eight units of four hex digits separated by colons: 2001:0470:1f07:61e:52e5:49ff:fe55:6731 Leading zeros can be dropped and units that are all zero can be dropped, ONCE, in an address: 2001:470:1f07:61e::3 (global address in the same block as above. same host, actually) fe80::52e5:49ff:fe55:6731 (link-local address - not routable) ::1 (loopback address) and that's about all the variation you can expect to see. For full gory details, the wikipedia entry for "IPv6 Address" is quite good. <> That's one bug in the syntax; I wrote CRM114's expansion syntax <> fifteen years ago and had no idea about IPV6. Then again, RFC <> 2460 only came out in 1998 which was about the same time. Yeah, well, I'm reasonably sure I babled at you about v6 at some point prior to 2000 seeing I was running early code in Waltham <laugh> Reto -- R A Lichtensteiger [email protected] In anything at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away. - Antoine de Saint-Exupery ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox