The previous issues below turned out to be an upstream bug with 
IO::Socket::INET6. It 
can use either IPv4 or IPv6 wildcard but not both for some reason. It seems to 
think 
its already bound when ever the other protocol has an active socket.

I have filed a bug on IO::Socket::INET6, provided a small example, output, and 
netstat. 
Should be easy to replicate, and hopefully resolve.

Unable to listen on IPv4 and IPv6 wildcard addresses
https://rt.cpan.org/Public/Bug/Display.html?id=102409


On Friday, January 30, 2015 04:52:28 PM William L. Thomson Jr. wrote:
> On Thursday, January 29, 2015 12:22:46 PM William L. Thomson Jr. wrote:
> > Given I cannot let ASSP map port to wildcard IPv4 and IPv6. This is what I
> > am going with at the moment. But still no go on IPv6 for some reason.
> > 
> > 
> > SMTP Listen Port
> > 0.0.0.0:25|0.0.0.0:2525|[::]:25|[::]:2525
> > 
> > SMTP Destination
> > 127.0.0.1:125|[::1]:125
> > 
> > SMTP Secure Listen Port
> > 0.0.0.0:465|[::]:465
> > 
> > Disable AUTH support on listenPorts
> > 0.0.0.0:2525|[::]:2525
> 
> Turns out its an error with IPv6 wildcard addresses and I am not sure if it
> effects the shorthand for IPv6 localhost or not. ASSP and/or the
> IO::Socket::INET6 module or the format of how its being passed is off.
> 
> You cannot any IPv6 wildcard ( all are acceptable formats to the web gui )
> 
> :::25 or [::]:25 or 0:0:0:0:0:0:0:0:25
> 
> [init] Error: couldn't create server socket on port ':::25'
> [init] Error: couldn't create server socket on port ':::2525'
> [init] Listening for SMTP connections on 0.0.0.0:25 0.0.0.0:2525
> [init] Error: unable to create IPv6 socket to :::465
> [init] Error: couldn't create server SSL-socket on port ':::465'
> [init] Listening for SMTPS (SSL) connections on 0.0.0.0:465
> [init] Listening for admin HTTP connections on 0.0.0.0:55555
> [init] Listening for stat HTTP connections on 0.0.0.0:55553
> 
> [init] Error: couldn't create server socket on port '[::]:25'
> [init] Error: couldn't create server socket on port '[::]:2525'
> [init] Listening for SMTP connections on 0.0.0.0:25 0.0.0.0:2525
> [init] Error: unable to create IPv6 socket to [::]:465
> [init] Error: couldn't create server SSL-socket on port '[::]:465'
> [init] Listening for SMTPS (SSL) connections on 0.0.0.0:465
> [init] Listening for admin HTTP connections on 0.0.0.0:55555
> [init] Listening for stat HTTP connections on 0.0.0.0:55553
> 
> [init] Error: couldn't create server socket on port '0:0:0:0:0:0:0:0:25' --
> [init] Error: couldn't create server socket on port '0:0:0:0:0:0:0:0:2525'
> -- [init] Listening for SMTP connections on 0.0.0.0:25 0.0.0.0:2525
> [init] Error: unable to create IPv6 socket to 0:0:0:0:0:0:0:0:465 -
> [init] Error: couldn't create server SSL-socket on port
> '0:0:0:0:0:0:0:0:465' [init] Listening for SMTPS (SSL) connections on
> 0.0.0.0:465
> [init] Listening for admin HTTP connections on 0.0.0.0:55555
> [init] Listening for stat HTTP connections on 0.0.0.0:55553
> 
> 
> You can use the a full IPv6 address and that does work. But I would like to
> be able to use wildcards for more than one IP address. Thus ASSP needs to
> be modified to support such and/or IO::Socket::INET6 module, but more than
> likely its how ASSP is handling this.
> 
> For now I can live with providing the full IPv6 address. However given the
> length of IPv6 addresses and having more than one. This could get a bit
> unwieldy so would be best to get wildcards working ASAP IMHO.

-- 
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