Confirmed bug see below previous reported error

On Thursday, January 29, 2015 12:28:27 PM William L. Thomson Jr. wrote:
> Does ASSP have a problem with IPv6 DNS servers?
> 
> I keep seeing this in the log file, several times a second
> 
> Warning: can't get numeric address for 2600:3c02::2
> 
> Like
> 
> Jan 29 12:21:23 mail assp.pl[25253]: [Worker_1] Warning: can't get numeric
> address for 2600:3c02::2
> Jan 29 12:21:23 mail assp.pl[25253]: [Worker_1] Warning: can't get numeric
> address for 2600:3c02::2
> Jan 29 12:21:23 mail assp.pl[25253]: [Worker_1] Warning: can't get numeric
> address for 2600:3c02::2
> Jan 29 12:21:23 mail assp.pl[25253]: [Worker_1] Warning: can't get numeric
> address for 2600:3c02::2
> Jan 29 12:21:23 mail assp.pl[25253]: [Worker_1] Warning: can't get numeric
> address for 2600:3c02::2

Looks like this is a bug with the regex or something. I added some debug code. 
its 
ripping apart the IPv6 DNS server address and using part of that for the port 
instead 
of 53.

The DNS server IPv6 address is 2600:3c02::2

By the time the IP and prot are passed to getaddrinfo is getting 2600:3c02:, 2

assp.pl[17658]: [Worker_1] Warning: Socket6::getaddrinfo(75.127.97.6, 53,....
assp.pl[17658]: [Worker_1] Warning: Socket6::getaddrinfo(2600:3c02:, 2,....
assp.pl[17658]: [Worker_1] Warning: can't get numeric address for 2600:3c02::2

I am not very familiar with ASSP or the regex stuff. Seems the PortRe might 
have 
something to do with this.

my ($addr,$port) = $ns =~ /^(.+?)(?::($PortRe))?$/io;

When I log $PortRe this is its current value. One or the other is messing 
things up.

"PortRe=(?^u:(?:(?:[1-6][0-9]{4})|(?:[1-9][0-9]{0,3})))"

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law. If you are not the intended recipient, you should
delete this message.

Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to