On Wed, Jul 06, 2011 at 10:07:28AM -0500, Noel Jones wrote: > On 7/6/2011 8:45 AM, Duane Hill wrote: > > >> Yes, this should be added to the top of the file, except the > >> v6 bypass expression needs to be improved. > > > >> I would assume that no one else is using this with ipv6 since > >> the offending rule will match any address ending with > >> letter+number. > > > > A quick search on the web I found this for IPv6 (all on one line): > > > > /^(((?=(?>.*?::)(?!.*::)))(::)?(([0-9A-F]{1,4})::?){0,5}|((?5):){6})(\2((?5)(::? > > |$)){0,2}|((25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.|$)){4}|(?5):(?5))(?<![^:]:|\ > > .)\z/i > > > > > > Well, that certainly looks impressive. This is more in line > with what I was expecting; ipv6 syntax is considerably more > complex than v4. But does it work? I don't have time for > testing right now. > > If it seems to work reliably, just add that rule with a DUNNO > near the top of the file.
Are you implying that this monster is somehow more performing, elegant or readble than a simple colon check? Is it even possible to have a colon in a legal working DNS hostname? I think this is f***** the dot.. :)